/* MeteoFlash France — Vent, tempête et rafales — V2 graphique. */
html{scroll-behavior:smooth;scroll-padding-top:115px}
body{background:linear-gradient(180deg,#e9f1f5 0%,#f7fbff 35%,#fff 100%)}
.vent-skip{position:fixed;left:16px;top:-120px;z-index:9999;background:#072c48;color:#fff;padding:.85rem 1rem;border-radius:0 0 12px 12px;font-weight:800}
.vent-skip:focus{top:0;outline:3px solid #39c7c5;outline-offset:3px}
.vent-page{max-width:1540px;padding-top:1.5rem}
.vent-hero{position:relative;isolation:isolate;display:flex;align-items:center;min-height:295px;color:#fff;overflow:hidden;border-bottom:5px solid #39c7c5;background:linear-gradient(90deg,rgba(4,25,49,.96) 0%,rgba(10,46,76,.87) 46%,rgba(7,53,93,.32) 100%),url('images/guides/vent/vent-bandeau-hd.jpg') center 55%/cover no-repeat}
.vent-hero::before{content:'';position:absolute;z-index:-1;inset:0;background:linear-gradient(0deg,rgba(1,18,31,.18),transparent 80%)}
.vent-hero-inner{width:min(1500px,100%);margin:auto;padding:35px max(23px,calc((100vw - 1450px)/2))}
.vent-hero-eyebrow{font-size:.8rem;letter-spacing:.13em;font-weight:800;text-transform:uppercase;color:#dbf9fd;margin:0 0 .65rem}
.vent-hero-title{font-size:clamp(1.9rem,3.65vw,3.4rem);font-weight:900;line-height:1.16;letter-spacing:-.02em;max-width:1050px;text-shadow:0 2px 13px #041b3280}
.vent-hero-desc{max-width:900px;font-size:clamp(.98rem,1.35vw,1.12rem);line-height:1.65;color:#ebfaff;margin-top:.85rem}
.vent-hero-actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.35rem}
.vent-hero-actions a{display:inline-flex;align-items:center;gap:.55rem;min-height:44px;padding:.72rem 1rem;border-radius:999px;font-weight:800;text-decoration:none;transition:transform .2s,background .2s,color .2s}
.vent-hero-primary{background:#a4eee8;color:#06314a}.vent-hero-secondary{background:#073e5dae;border:1px solid #d6faff;color:#fff}
.vent-hero-actions a:hover{background:#e1faff;color:#072d49;transform:translateY(-2px)}
.vent-page a:focus-visible,.vent-hero a:focus-visible{outline:3px solid #047e8a;outline-offset:3px}
.vent-editorial-layout{display:grid;grid-template-columns:minmax(265px,330px) minmax(0,1fr);gap:clamp(1rem,2.1vw,2rem);align-items:start}
.vent-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:#aad9e8 transparent}
.vent-editorial-toc{margin:0!important;padding:0!important;border:1px solid #d5e5ed!important;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 30px #24495d16}
.vent-editorial-toc>h2{background:linear-gradient(110deg,#264a65,#168d9f);color:#fff;margin:0;padding:1rem 1.1rem;font-size:1.2rem;line-height:1.35}
.vent-toc-subtitle{font-size:.8rem;line-height:1.5;color:#49677a;margin:.65rem 1rem .25rem}
.vent-editorial-toc .vent-toc-grid{display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:.45rem .6rem .7rem!important;margin:0!important;list-style:none}
.vent-editorial-toc .vent-toc-grid li{min-width:0}
.vent-editorial-toc .vent-toc-card{display:flex!important;gap:.7rem;align-items:center;min-height:46px;padding:.48rem .55rem!important;background:#fff!important;border:0!important;border-bottom:1px solid #e8f3fa!important;border-radius:9px!important;text-decoration:none!important;box-shadow:none!important;transition:background .2s}
.vent-editorial-toc .vent-toc-grid li:last-child .vent-toc-card{border-bottom:0!important}
.vent-editorial-toc .vent-toc-card:hover{background:#eaf8ff!important}
.vent-editorial-toc .vent-toc-num{display:inline-flex;align-items:center;justify-content:center;width:1.9rem;height:1.9rem;flex:0 0 1.9rem;border-radius:7px;background:linear-gradient(135deg,#2c607f,#19adba);color:#fff;font-size:.83rem;font-weight:900}
.vent-editorial-toc .vent-toc-label{font-size:.86rem;line-height:1.3;color:#173c55;font-weight:750}
.vent-editorial-layout .vent-article{min-width:0;padding:clamp(1.15rem,2.3vw,2rem);border:1px solid #dbeaf3;border-radius:20px;box-shadow:0 15px 35px #24495d0d;background:#fff;color:#354852}
.vent-editorial-layout .vent-article>.flex.flex-wrap{margin:0 0 1.2rem}
.vent-editorial-intro{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.95fr);gap:clamp(1rem,2vw,1.7rem);align-items:start;margin:1.2rem 0 1.8rem;padding-bottom:1.25rem;border-bottom:1px solid #dfeff6}
.vent-editorial-lead h2{color:#274e68;font-size:clamp(1.35rem,2.1vw,1.85rem);font-weight:850;line-height:1.25;margin:0 0 .7rem}
.vent-editorial-lead>p{color:#465761;line-height:1.8;font-size:1rem;margin:0}
.vent-editorial-intro .vent-keypoint{margin:0!important;padding:1.1rem 1.2rem!important;border:1px solid #d4ebf5;border-left:4px solid #0094a7;border-radius:18px;background:linear-gradient(140deg,#e9f6f8,#fbfeff);box-shadow:0 8px 20px #105a7a0b}
.vent-editorial-intro .vent-keypoint h2{font-weight:850;color:#0b4b76;margin:0 0 .55rem;font-size:1.1rem}
.vent-editorial-intro .vent-keypoint p{font-size:.93rem;line-height:1.75;color:#224c64}
.vent-editorial-layout .vent-chapter{padding:clamp(1.1rem,2.2vw,1.7rem);margin-bottom:1.2rem;border:1px solid #dcecf5;border-radius:17px;background:#fff;box-shadow:0 9px 26px #24495d10;min-width:0;scroll-margin-top:115px}
.vent-editorial-layout .vent-chapter>h2.vent-editorial-heading{display:flex;align-items:center;gap:.8rem;margin:0 0 1.25rem!important;padding:0 0 .75rem;font-size:clamp(1.25rem,2.1vw,1.75rem);font-weight:850;line-height:1.35;color:#274e68;border-bottom:2px solid #c9ebf6}
.vent-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,#245877,#1aa7b4);box-shadow:0 5px 12px #08608c28;color:#fff;font-size:1.15rem;font-weight:900}
.vent-heading-text{flex:1;min-width:0}
.vent-chapter p,.vent-chapter li{line-height:1.82;overflow-wrap:break-word}
.vent-chapter h3{line-height:1.4}
.vent-first-media{display:grid;grid-template-columns:minmax(0,1.03fr) minmax(230px,.97fr);gap:1.35rem;align-items:start;margin:0 0 1.15rem}
.vent-first-copy p{margin-bottom:.8rem}
.vent-main-figure{margin:0!important;border:1px solid #d7eaf4;border-radius:16px;background:#fff}
.vent-main-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.vent-main-figure figcaption{padding:.75rem .85rem;background:#eef7fa;font-size:.82rem;line-height:1.55;color:#3d6176}
.vent-hover-figure{position:relative;overflow:hidden!important;border-radius:16px!important;box-shadow:0 8px 22px #24495d19;transition:box-shadow .3s ease,transform .3s ease}
.vent-hover-image{display:block;width:100%;height:auto;object-fit:cover;transition:transform .38s ease,filter .38s ease;transform-origin:center center}
@media(hover:hover) and (pointer:fine){.vent-hover-figure:hover{box-shadow:0 14px 32px #24495d37;transform:translateY(-2px)}.vent-hover-figure:hover .vent-hover-image{transform:scale(1.045);filter:saturate(1.06)}}
.vent-hover-figure:focus-within{outline:3px solid #047e8a;outline-offset:3px}
.vent-illustrated-row>div,.vent-illustrated-row>figure{min-width:0;flex:1 1 0;width:auto!important}
.vent-illustrated-row img{aspect-ratio:16/9;max-height:none;object-fit:cover}
.vent-illustrated-row figcaption{background:#eef7fa}
.vent-sources{margin-top:2rem;padding:1.25rem;border-radius:17px;border:1px solid #e2eff7;background:#f7fcff}
.vent-sources a{overflow-wrap:anywhere;color:#075f81}
.vent-table-scroll{max-width:100%;overflow-x:auto;scrollbar-width:thin}
.vent-table-scroll:focus-visible{outline:3px solid #047e8a;outline-offset:2px}
.vent-table{min-width:560px}
.vent-article a[href="guides-meteo.html"]{min-height:44px}
@media(max-width:1060px){.vent-editorial-layout{grid-template-columns:1fr}.vent-editorial-sidebar{position:static;max-height:none;overflow:visible}.vent-editorial-toc .vent-toc-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:.15rem .65rem!important}}
@media(max-width:700px){.vent-hero{min-height:320px;background-position:center,62% center}.vent-hero-inner{padding:29px 20px}.vent-hero-actions a{font-size:.85rem;padding:.6rem .85rem}.vent-editorial-intro,.vent-first-media{grid-template-columns:1fr}.vent-editorial-toc .vent-toc-grid{grid-template-columns:1fr!important}.vent-editorial-layout .vent-article{padding:1rem;border-radius:14px}.vent-editorial-layout .vent-chapter>h2.vent-editorial-heading{align-items:flex-start}.vent-heading-num{flex-basis:2rem;height:2rem;font-size:1rem}.vent-heading-text{overflow-wrap:anywhere}.vent-page{overflow-wrap:break-word}.vent-illustrated-row>div,.vent-illustrated-row>figure{width:100%!important;flex-basis:auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.vent-hero-actions a,.vent-toc-card,.vent-hover-image,.vent-hover-figure{transition:none!important}.vent-hero-actions a:hover,.vent-hover-figure:hover,.vent-hover-figure:hover img{transform:none!important;filter:none!important}}

/* Illustration V2: trois images source, stricte alternance droite / gauche / droite. */
.vent-illustrated-row{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(220px,.96fr);align-items:start;gap:1.35rem;margin:1.15rem 0 1.4rem}
.vent-illustrated-row > *{min-width:0}
.vent-illustrated-row .vent-row-copy p{margin-bottom:.85rem}
.vent-illustrated-row > figure{margin:0!important;width:100%;max-width:none!important}
.vent-illustrated-row figure img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:cover}
.vent-illustrated-row figure figcaption{background:#eef8f9;color:#2d5165;line-height:1.6}
.vent-illustration-left{grid-template-columns:minmax(220px,.96fr) minmax(0,1.04fr)}
.vent-article .vent-chapter a:focus-visible{outline:3px solid #047e8a;outline-offset:3px}
@media(max-width:700px){.vent-illustrated-row,.vent-illustration-left{grid-template-columns:1fr}}

/* Vent V2 : adaptations de mise en page au contenu de la V1 */
.vent-hero{background:linear-gradient(90deg,rgba(13,33,51,.97) 0%,rgba(29,60,82,.9) 43%,rgba(18,66,91,.26) 100%),url('images/guides/vent/vent-bandeau-hd.jpg') center 48%/cover no-repeat;min-height:310px}
.vent-hero-title{max-width:1080px}.vent-hero-desc{max-width:800px}
.vent-editorial-layout .vent-article{padding:clamp(1.15rem,2.3vw,2rem)}
.vent-back-link{display:inline-flex;align-items:center;gap:.5rem;margin-bottom:1.1rem;font-size:.9rem;font-weight:800;color:#155c78;text-decoration:none;min-height:44px}
.vent-back-link:hover{text-decoration:underline;color:#093e58}
.vent-editorial-lead h2{color:#264e65}
.vent-illustrated-row{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(220px,.96fr);align-items:start;gap:1.35rem;margin:1.15rem 0 1.4rem}
.vent-illustrated-row > *{min-width:0}
.vent-illustrated-row .vent-row-copy p{margin-bottom:.85rem}
.vent-illustrated-row > figure{margin:0!important;width:100%;max-width:none!important}
.vent-illustrated-row figure img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:cover}
.vent-illustrated-row figure figcaption{padding:.7rem .9rem;background:#eef8f9;color:#294f61;font-size:.85rem;line-height:1.55}
.vent-illustration-left{grid-template-columns:minmax(220px,.96fr) minmax(0,1.04fr)}
.vent-article .vent-chapter a:focus-visible{outline:3px solid #047e8a;outline-offset:3px}
.vent-article .vent-chapter h3{line-height:1.4}
.vent-article .vent-chapter p,.vent-article .vent-chapter li{line-height:1.8}
.vent-hero-actions a:focus-visible{outline:3px solid #a4eee8;outline-offset:3px}
@media(max-width:700px){.vent-illustrated-row,.vent-illustration-left{grid-template-columns:1fr}.vent-illustrated-row .vent-row-copy{order:0}.vent-illustrated-row figure{order:1}.vent-hero{min-height:320px;background-position:center,62% center}}

/* V3 — imagery; preserve hover on all seven body figures */
.vent-illustrated-row .vent-hover-image{display:block;transition:transform .35s ease,filter .35s ease;transform-origin:center}
.vent-illustrated-row .vent-hover-figure{overflow:hidden;transition:box-shadow .35s ease}
@media(hover:hover){.vent-illustrated-row .vent-hover-figure:hover{box-shadow:0 12px 30px #173c5560}.vent-illustrated-row .vent-hover-figure:hover .vent-hover-image{transform:scale(1.045);filter:contrast(1.04)}}
@media(prefers-reduced-motion:reduce){.vent-illustrated-row .vent-hover-image,.vent-illustrated-row .vent-hover-figure{transition:none!important;transform:none!important}}


/* V4 – accessibilité, responsive, performance et impression (06-11-2026) */
.vent-skip{position:fixed;left:1rem;top:-6rem;z-index:99999;background:#103c55;color:#fff!important;padding:.85rem 1.2rem;border:3px solid #8ce6ec;border-radius:.6rem;font-weight:800;text-decoration:none;box-shadow:0 8px 25px #122f45aa}
.vent-skip:focus,.vent-skip:focus-visible{top:1rem;outline:3px solid #fff;outline-offset:2px}
.vent-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.vent-page :is(a,button,[tabindex="0"]):focus-visible{outline:3px solid #047e8a!important;outline-offset:3px;border-radius:3px}
.vent-hero :is(a,button):focus-visible{outline-color:#bbfaf3!important}
.vent-table-scroll{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;max-width:100%;-webkit-overflow-scrolling:touch}
.vent-table-scroll:focus-visible{outline:3px solid #047e8a!important;outline-offset:2px}
.vent-table-scroll table{border-collapse:collapse}
.vent-table-scroll :is(td,th){vertical-align:top}
.vent-chapter,.vent-editorial-intro{scroll-margin-top:7.5rem}
.vent-editorial-toc a{overflow-wrap:anywhere}
.vent-hover-image{backface-visibility:hidden}
@media (max-width:780px){
  .vent-hero{min-height:290px}
  .vent-editorial-layout{min-width:0}
  .vent-editorial-sidebar{max-height:none}
  .vent-illustrated-row,.vent-illustration-left{grid-template-columns:minmax(0,1fr)}
  .vent-illustrated-row .vent-row-copy{order:0}
  .vent-illustrated-row figure{order:1}
  .vent-table-scroll table{min-width:560px}
}
@media (max-width:480px){
  .vent-hero{min-height:290px;background-position:center,64% center}
  .vent-hero-inner{padding:1.3rem 1rem}
  .vent-hero-title{font-size:clamp(1.6rem,7.3vw,2.25rem);line-height:1.12}
  .vent-hero-desc{font-size:.94rem}
  .vent-hero-actions{display:flex;flex-wrap:wrap;gap:.5rem}
  .vent-editorial-layout .vent-article{padding:.85rem!important}
  .vent-editorial-toc .vent-toc-grid{grid-template-columns:minmax(0,1fr)!important}
  .vent-illustrated-row{gap:.85rem}
  .vent-illustrated-row figcaption{font-size:.78rem}
  .vent-heading-text{hyphens:auto}
}
@media(prefers-reduced-motion:reduce){
  .vent-page :is(*,*::before,*::after){scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .vent-hover-figure:hover .vent-hover-image{transform:none!important;filter:none!important}
}
@media print{
  @page{margin:15mm}
  body{background:#fff!important;color:#111!important}
  #global-header,#global-footer,.vent-editorial-sidebar,.vent-skip,.vent-hero-actions,.vent-back-link,.vent-toc-card,#toast-container{display:none!important}
  .vent-hero{background:none!important;min-height:0!important;color:#111!important;border:0!important;padding:0!important;box-shadow:none!important}
  .vent-hero *{color:#111!important;text-shadow:none!important}
  .vent-editorial-layout{display:block!important;width:100%!important}
  .vent-editorial-layout .vent-article,.vent-chapter,.vent-editorial-intro{display:block!important;border:0!important;box-shadow:none!important;background:#fff!important;max-width:100%!important;break-inside:auto}
  .vent-chapter{break-before:auto!important}
  .vent-chapter h2,.vent-chapter h3{break-after:avoid-page}
  .vent-illustrated-row{display:block!important;break-inside:avoid-page}
  .vent-illustrated-row figure{width:75%!important;margin:.5rem auto 1rem!important}
  .vent-hover-image{transform:none!important;filter:none!important}
  .vent-table-scroll{overflow:visible!important}
  .vent-table-scroll table{min-width:0!important;width:100%!important;font-size:9pt}
  .vent-sources a{color:#111!important;text-decoration:underline}
  a[href^="http"]:after{content:""}
}
