/* MeteoFlash France — Orages V2 : couche graphique dédiée ; contenu V1 inchangé */
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{background:linear-gradient(180deg,#f1f2ff 0%,#f8f9fe 30%,#fff 100%)}
.orage-page{max-width:1500px}
.orage-skip{position:fixed;left:16px;top:-100px;z-index:9999;background:#2c205e;color:white;padding:.85rem 1rem;border-radius:0 0 12px 12px;font-weight:750;text-decoration:none}
.orage-skip:focus{top:0;outline:3px solid #ffc76b;outline-offset:2px}
.orage-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:285px;color:#fff;overflow:hidden;border-bottom:5px solid #aa88fa;background:linear-gradient(90deg,rgba(22,20,59,.96) 0%,rgba(41,32,89,.88) 49%,rgba(50,54,122,.28) 100%),url('images/guides/orage/orage-bandeau-hd.jpg') center 48%/cover no-repeat}
.orage-hero::before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(19,11,53,.35),transparent 75%)}
.orage-hero-inner{width:min(1500px,100%);margin:auto;padding:34px max(22px,calc((100vw - 1450px)/2))}
.orage-hero-eyebrow{font-size:.8rem;letter-spacing:.15em;font-weight:800;text-transform:uppercase;color:#ded5ff;margin-bottom:.75rem}
.orage-hero-title{font-size:clamp(2rem,3.8vw,3.65rem);font-weight:850;line-height:1.12;letter-spacing:-.025em;max-width:1070px;text-shadow:0 2px 12px #120d3573}
.orage-hero-desc{max-width:930px;font-size:clamp(.98rem,1.45vw,1.16rem);line-height:1.65;color:#faf7ff;margin-top:.75rem}
.orage-hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.35rem}
.orage-hero-actions a{display:inline-flex;align-items:center;gap:.55rem;border-radius:999px;padding:.72rem 1rem;font-weight:750;text-decoration:none;transition:transform .2s,background .2s,color .2s;min-height:44px}
.orage-hero-primary{background:#bdacff;color:#21134c}.orage-hero-secondary{color:white;background:#1f205d9c;border:1px solid #e6deffd1}
.orage-hero-actions a:hover{transform:translateY(-2px);background:#e9e1ff;color:#231849}
.orage-hero-actions a:focus-visible,.orage-page a:focus-visible{outline:3px solid #e59c27;outline-offset:3px}
.orage-article{padding:clamp(1rem,3vw,2.25rem);background:rgba(255,255,255,.97);border-color:#deddf1;border-radius:26px;box-shadow:0 18px 42px #32226814;color:#3d4357;line-height:1.76;min-width:0}
.orage-article>h1{display:none}
.orage-article>.flex.flex-wrap{margin-bottom:1.55rem}
.orage-main-figure{border-radius:22px;overflow:hidden;border-color:#e2dcfb;box-shadow:0 14px 30px #372d6d14}
.orage-main-figure img{display:block;width:100%;height:auto;max-height:560px;object-fit:cover}
.orage-main-figure figcaption{line-height:1.65;font-size:.88rem;color:#51546b}
.orage-keypoint{border-radius:0 18px 18px 0;border-left-width:5px;background:linear-gradient(95deg,#f0edff,#faf8ff);box-shadow:0 8px 22px #3724770c}
.orage-toc{scroll-margin-top:110px;background:linear-gradient(145deg,#f8f6ff,#efebff);border-color:#dfd7f7;border-radius:25px;padding:1.5rem;box-shadow:0 12px 30px #38246c12}
.orage-toc h2{color:#35215e;font-size:clamp(1.4rem,2vw,1.9rem)}
.orage-toc-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;list-style:none;margin:1.2rem 0 0;padding:0}
.orage-toc-card{display:flex!important;align-items:center;gap:.8rem;min-height:76px;padding:.9rem!important;border:1px solid #e3dcf6!important;border-radius:17px!important;background:white!important;color:#38245f!important;text-decoration:none;box-shadow:0 7px 20px #3623650c;transition:transform .2s,box-shadow .2s,border-color .2s}
.orage-toc-card:hover{transform:translateY(-2px);border-color:#a894e4!important;box-shadow:0 13px 27px #35236c20}
.orage-toc-num{flex:0 0 2.2rem;display:grid;place-items:center;width:2.2rem;height:2.2rem;border-radius:50%;background:#ece5ff;color:#6141aa;font-size:.8rem;font-weight:800}
.orage-toc-label{font-size:.94rem;font-weight:750;line-height:1.4}
.orage-chapter{scroll-margin-top:110px;border:1px solid #e2def1;background:#fff;border-radius:23px;padding:clamp(1.15rem,2.8vw,2rem);margin-bottom:1.35rem;box-shadow:0 12px 30px #35276a10;min-width:0}
.orage-chapter>h2{position:relative;font-size:clamp(1.3rem,2.3vw,1.8rem);color:#332752;line-height:1.35;font-weight:800;padding-bottom:.9rem;margin-bottom:1.35rem;border-bottom:1px solid #e7e1f7}
.orage-chapter>h2::after{content:'';position:absolute;bottom:-2px;left:0;width:68px;height:4px;border-radius:3px;background:#9b79dc}
.orage-chapter p,.orage-chapter li{line-height:1.8;overflow-wrap:break-word}
.orage-chapter h3{line-height:1.4}
.orage-chapter figure{border-radius:17px;overflow:hidden;box-shadow:0 9px 24px #2f245a12}
.orage-chapter figure img{width:100%;height:auto;max-height:340px;object-fit:cover;display:block;transition:transform .35s ease}
.orage-chapter figure:hover img{transform:scale(1.035)}
.orage-chapter figure figcaption{line-height:1.5}
.orage-media-row{align-items:start;gap:1.5rem}
.orage-sources{margin-top:1.8rem;scroll-margin-top:110px;padding:1.35rem;border:1px solid #dedbf2;border-radius:22px;background:#f9f8ff}
.orage-sources h2{font-size:1.35rem;color:#34255b}
.orage-sources a{overflow-wrap:anywhere}
.orage-page table{min-width:560px}
.orage-page table th{font-weight:800}
.orage-page a[href="guides-meteo.html"]{min-height:44px}
@media(max-width:980px){.orage-toc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.orage-hero{min-height:320px;background-position:center,61% center}.orage-hero-inner{padding:28px 20px}.orage-hero-actions a{font-size:.83rem;padding:.6rem .8rem}.orage-article{border-radius:18px}.orage-toc{padding:1rem}.orage-toc-grid{grid-template-columns:1fr;gap:.65rem}.orage-toc-card{min-height:60px}.orage-chapter{border-radius:18px}.orage-chapter figure img{max-height:none}.orage-page{overflow-wrap:break-word}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.orage-hero-actions a,.orage-toc-card,.orage-chapter figure img{transition:none}.orage-hero-actions a:hover,.orage-toc-card:hover,.orage-chapter figure:hover img{transform:none}}

/* V3 — illustrations scientifiques, alternance et confort responsive */
.orage-v3-media-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1.5rem;align-items:start}
.orage-v3-copy{min-width:0;overflow-wrap:break-word}
.orage-v3-figure{min-width:0;margin:0;overflow:hidden;border-radius:17px;border:1px solid #dbd8f0;background:white;box-shadow:0 9px 24px #2f245a12}
.orage-v3-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;transition:transform .35s ease}
.orage-v3-figure figcaption{padding:.8rem 1rem;background:#f8f7ff;color:#536078;font-size:.84rem;line-height:1.55}
.orage-v3-figure:hover img{transform:scale(1.015)}
@media(max-width:900px){.orage-v3-media-row{grid-template-columns:1fr}.orage-v3-figure{max-width:100%}}
@media(prefers-reduced-motion:reduce){.orage-v3-figure img{transition:none}.orage-v3-figure:hover img{transform:none}}


/* ===============================================================
   V3 — Adaptation éditoriale de la maquette validée :
   barre latérale, intro à deux colonnes, titres numérotés.
   Ne modifie pas le contenu scientifique, ni les images.
   =============================================================== */
.orage-page{max-width:1540px;padding-top:1.5rem}
.orage-editorial-layout{
  display:grid;
  grid-template-columns:minmax(265px,330px) minmax(0,1fr);
  gap:clamp(1rem,2.1vw,2rem);
  align-items:start;
}
.orage-editorial-sidebar{min-width:0;position:sticky;top:105px;align-self:start;max-height:calc(100vh - 120px);overflow-y:auto;scrollbar-width:thin;scrollbar-color:#b1a1dc transparent}
.orage-editorial-toc.orage-toc{
  margin:0;padding:0!important;border:1px solid #ded6f6;
  border-radius:18px;overflow:hidden;background:#fff;
  box-shadow:0 10px 30px #34246417;
}
.orage-editorial-toc #titre-sommaire-orages{
  background:linear-gradient(110deg,#29155d,#4e2a91);
  color:#fff;margin:0;padding:.95rem 1.1rem;
  font-size:1.2rem;line-height:1.35;
}
.orage-editorial-toc #titre-sommaire-orages i{color:#dcd0ff}
.orage-editorial-toc>p{font-size:.8rem;line-height:1.5;color:#667085;margin:.55rem 1rem .3rem}
.orage-editorial-toc .orage-toc-grid{
  display:grid!important;grid-template-columns:1fr!important;
  gap:0!important;padding:.45rem .6rem .7rem!important;
  margin:0!important;
}
.orage-editorial-toc .orage-toc-grid li{min-width:0}
.orage-editorial-toc .orage-toc-card{
  display:flex!important;gap:.7rem;align-items:center;
  min-height:45px;padding:.45rem .55rem!important;
  background:#fff!important;border:0!important;
  border-bottom:1px solid #ebe7f7!important;
  border-radius:9px!important;box-shadow:none!important;
  transition:background .2s;
}
.orage-editorial-toc .orage-toc-grid li:last-child .orage-toc-card{border-bottom:0!important}
.orage-editorial-toc .orage-toc-card:hover{transform:none;background:#f2eeff!important;box-shadow:none!important}
.orage-editorial-toc .orage-toc-num{
  width:1.9rem;height:1.9rem;flex:0 0 1.9rem;
  border-radius:7px;background:linear-gradient(145deg,#7756cb,#ad88ed);
  color:#fff;font-weight:850;font-size:.83rem;
}
.orage-editorial-toc .orage-toc-label{font-size:.86rem;line-height:1.3;color:#34255a;font-weight:700}
.orage-editorial-layout .orage-article{
  min-width:0;padding:clamp(1.15rem,2.3vw,2rem);
  border-radius:20px;box-shadow:0 15px 35px #3222680c;
}
.orage-editorial-layout .orage-article>.flex.flex-wrap{margin:0 0 1.2rem}
.orage-editorial-intro{
  display:grid;grid-template-columns:minmax(0,1.4fr) minmax(230px,.9fr);
  gap:clamp(1rem,2vw,1.7rem);align-items:start;
  margin:1.2rem 0 1.8rem;padding-bottom:1.25rem;
  border-bottom:1px solid #e7dff5;
}
.orage-editorial-lead h2{color:#422080;font-size:clamp(1.35rem,2.1vw,1.85rem);line-height:1.25;font-weight:850;margin:0 0 .7rem}
.orage-editorial-lead p{color:#3f4358;line-height:1.8;font-size:1rem}
.orage-editorial-intro .orage-keypoint{
  margin:0!important;padding:1.1rem 1.2rem!important;
  border:1px solid #e6dafd;border-left:4px solid #8c5ddd;
  border-radius:18px;background:linear-gradient(140deg,#f3edff,#faf6ff);
  box-shadow:0 8px 20px #3724770b;
}
.orage-editorial-intro .orage-keypoint>p:first-child{font-weight:800;color:#5525a4;margin:0 0 .45rem;font-size:1.08rem}
.orage-editorial-intro .orage-keypoint>p:last-child{font-size:.9rem;line-height:1.7;color:#493d60}
.orage-editorial-layout .orage-chapter{
  padding:clamp(1.1rem,2.2vw,1.7rem);
  margin-bottom:1.2rem;border:1px solid #e9e3f7;
  border-radius:17px;background:#fff;
  box-shadow:0 9px 26px #2a1d6010;
}
.orage-editorial-layout .orage-chapter>h2.orage-editorial-heading{
  display:flex;align-items:center;gap:.8rem;
  margin:0 0 1.2rem!important;padding:0 0 .72rem;
  font-size:clamp(1.25rem,2.1vw,1.75rem);
  color:#39216e;border-bottom:2px solid #ddc9ff;
}
.orage-editorial-layout .orage-chapter>h2.orage-editorial-heading::after{display:none}
.orage-editorial-heading-num{
  display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 2.3rem;height:2.3rem;border-radius:9px;
  background:linear-gradient(135deg,#7758d1,#b48efa);
  box-shadow:0 5px 11px #7253c52b;
  color:white;font-size:1.25rem;font-weight:900;
}
.orage-editorial-heading-text{flex:1;min-width:0}
.orage-editorial-first-media{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(240px,.95fr);gap:1.4rem;align-items:start}
.orage-editorial-first-media p{margin-bottom:.9rem}
.orage-editorial-first-media .orage-main-figure{margin:0!important;max-width:100%}
.orage-editorial-first-media .orage-main-figure img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;max-height:none}
.orage-editorial-first-media .orage-main-figure figcaption{padding:.7rem .9rem;font-size:.8rem;line-height:1.55}
.orage-editorial-layout .orage-media-row,.orage-editorial-layout .orage-v3-media-row{gap:1.15rem}
.orage-editorial-layout .orage-chapter p,.orage-editorial-layout .orage-chapter li{line-height:1.75}
.orage-editorial-layout .orage-chapter figure{max-width:100%;min-width:0}
.orage-editorial-layout .orage-chapter figure img{max-width:100%}
.orage-editorial-layout .orage-chapter .grid{min-width:0}
.orage-editorial-layout .orage-sources{border-radius:17px}
.orage-editorial-layout a:focus-visible{outline:3px solid #9554cc;outline-offset:3px}
/* Small desktop/tablet: sidebar becomes horizontal full-width navigation. */
@media(max-width:1050px){
  .orage-editorial-layout{grid-template-columns:1fr}
  .orage-editorial-sidebar{position:static;max-height:none;overflow:visible}
  .orage-editorial-toc .orage-toc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.25rem .65rem!important}
}
@media(max-width:700px){
  .orage-editorial-toc .orage-toc-grid{grid-template-columns:1fr!important}
  .orage-editorial-intro,.orage-editorial-first-media{grid-template-columns:1fr}
  .orage-editorial-layout .orage-chapter>h2.orage-editorial-heading{align-items:flex-start}
  .orage-editorial-heading-num{flex-basis:2rem;height:2rem;font-size:1rem}
  .orage-editorial-layout .orage-article{padding:1rem;border-radius:14px}
  .orage-editorial-lead h2{font-size:1.4rem}
}
@media(prefers-reduced-motion:reduce){
  .orage-editorial-toc .orage-toc-card{transition:none!important}
}


/* ==============================================================
   V4 — audit technique, sans changement du design V3 validé
   =============================================================== */
.orage-editorial-layout,
.orage-editorial-sidebar,
.orage-editorial-layout .orage-article,
.orage-editorial-first-media > *,
.orage-v3-media-row > * { min-width: 0; }
.orage-page img { max-width: 100%; }
.orage-page p, .orage-page li, .orage-page a { overflow-wrap: break-word; }
.orage-page a:focus-visible,
.orage-hero a:focus-visible,
.orage-skip:focus-visible,
.orage-table-scroll:focus-visible {
  outline: 3px solid #ca7919;
  outline-offset: 3px;
}
.orage-editorial-sidebar { overscroll-behavior: contain; }
.orage-table-scroll { max-width: 100%; -webkit-overflow-scrolling: touch; }
.orage-table-hint { display: none; font-size: .82rem; color: #4f5269; margin-top: .5rem; }
/* Prevent a 560px-wide table from expanding the whole mobile page. */
@media (max-width: 640px) {
  .orage-table-hint { display: block; }
  .orage-editorial-sidebar { width: 100%; }
  .orage-page table { min-width: 560px; }
  .orage-editorial-heading-text { overflow-wrap: anywhere; }
  .orage-hero { background-position: center, 61% center; }
  .orage-hero-actions a { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .orage-page *, .orage-hero * { scroll-behavior: auto; }
}
