/* =====================================================================
   VISION MAGAZINE — feuille de style du site public
   Identité d'origine conservée : bleu #1c00cd, rouge #dc0000, fond blanc,
   bandeau défilant, carrousel, titres soulignés bleu/rouge, pied bleu.
   Améliorations : lisibilité, hiérarchie, mobile, accessibilité.
   ===================================================================== */

@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/montserrat-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url(../fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/lato-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/lato-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212; }
@font-face { font-family: "Lato"; font-style: italic; font-display: swap; font-weight: 400; src: url(../fonts/lato-latin-400-italic.woff2) format("woff2"); unicode-range: U+0000-00FF,U+2000-206F; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 400; src: url(../fonts/lato-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-display: swap; font-weight: 700; src: url(../fonts/lato-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --blue: #1c00cd;
  --blue-dark: #12008a;
  --blue-soft: #eeebff;
  --red: #dc0000;
  --red-dark: #b00000;
  --ink: #111326;
  --ink-2: #3d4058;
  --muted: #666980;
  --line: #e4e4ee;
  --bg: #ffffff;
  --bg-soft: #f6f6fb;
  --focus: #ffb000;
  --f-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --f-body: "Lato", "Gill Sans", Calibri, "Segoe UI", system-ui, sans-serif;
  --w: 1280px;
  --w-read: 720px;
  --gut: clamp(16px, 3.4vw, 32px);
  --r: 6px;
  --shadow: 0 6px 22px rgba(17, 19, 38, .08);
  --player-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-body); -webkit-font-smoothing: antialiased; padding-bottom: var(--player-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-head); margin: 0; line-height: 1.18; letter-spacing: -0.01em; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
/* Animations conservées même si l'appareil demande moins de mouvement : elles restent douces
   (fondu sans glissement, défilements plus lents), et le carrousel a un bouton pause. */
@media (prefers-reduced-motion: reduce) {
  .ticker__move { animation-duration: 80s; }
  .partners-strip__list { animation-duration: 70s; }
  .reveal { transform: none !important; }
}
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--red); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -5000px; }
.wrap { max-width: var(--w); margin-inline: auto; padding-inline: var(--gut); }
.wrap-read { max-width: calc(var(--w-read) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
.main { min-height: 50vh; outline: none; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--blue); color: #fff; font: 700 15px/1 var(--f-body); padding: 12px 20px; border-radius: var(--r); transition: background .2s; }
.btn:hover { background: var(--red); }
.btn--red { background: var(--red); }
.btn--red:hover { background: var(--blue); }
.btn--light { background: #fff; color: var(--blue); }
.btn--light:hover { background: var(--blue-soft); }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--sm { padding: 8px 14px; font-size: 14px; }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 50%; color: inherit; }
.iconbtn:hover { background: var(--bg-soft); }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; color: inherit; font-size: inherit; }

/* ---------- Bandeau défilant (identité d'origine) ---------- */
.ticker { display: flex; align-items: center; background: var(--blue); color: #fff; border-bottom: 3px solid var(--red); height: 38px; overflow: hidden; font-weight: 700; font-size: 14px; }
.ticker__live { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 100%; padding: 0 14px; background: var(--red); color: #fff; text-decoration: none; text-transform: uppercase; letter-spacing: .04em; font-size: 12px; z-index: 1; }
.ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__move { display: inline-flex; gap: 64px; white-space: nowrap; padding-left: 32px; animation: ticker 48s linear infinite; }
.ticker:hover .ticker__move { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- En-tête ---------- */
.masthead { background: #fff; border-bottom: 2px solid var(--blue); position: sticky; top: 0; z-index: 50; }
.masthead__in { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: block; flex: none; }
.brand__img { height: 58px; width: auto; }
.mainnav { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.mainnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 10px 10px; text-decoration: none; text-transform: uppercase; font: 700 13px/1 var(--f-head); letter-spacing: .02em; color: var(--ink); position: relative; }
.mainnav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 3px; background: var(--red); transform: scaleX(0); transition: transform .2s; }
.mainnav a::before { content: ""; position: absolute; left: 10px; right: 10px; top: 0; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .2s; }
.mainnav a:hover::after, .mainnav a[aria-current="page"]::after, .mainnav a[aria-current="page"]::before { transform: scaleX(1); }
.mainnav__search { display: none; }
.masthead__actions { display: flex; align-items: center; gap: 6px; }
.listen { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 99px; font: 700 14px/1 var(--f-body); }
.listen.is-live { background: var(--red); }
.listen.is-live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1.4s infinite; }
.listen[data-offline] { background: var(--bg-soft); color: var(--ink-2); }
.menubtn { display: none; align-items: center; gap: 6px; border: 0; cursor: pointer; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: var(--r); font: 700 14px/1 var(--f-body); text-transform: uppercase; }
.searchbar { display: flex; gap: 8px; padding-block: 12px; }
.searchbar[hidden] { display: none; }
.searchbar input { flex: 1; min-width: 0; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); font-size: 16px; }
.searchbar input:focus { border-color: var(--blue); outline: none; }

@media (max-width: 1080px) {
  .masthead__in { min-height: 70px; gap: 12px; }
  .brand__img { height: 46px; }
  .menubtn { display: inline-flex; }
  .mainnav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: #fff; flex-direction: column; align-items: stretch; padding: 84px 20px 24px; box-shadow: -10px 0 30px rgba(0,0,0,.15); transform: translateX(105%); transition: transform .25s; z-index: 60; margin: 0; overflow-y: auto; }
  .mainnav.is-open { transform: none; }
  .mainnav ul { flex-direction: column; }
  .mainnav a { padding: 14px 6px; font-size: 15px; border-bottom: 1px solid var(--line); }
  .mainnav a::before { display: none; }
  .mainnav a::after { left: 6px; right: auto; width: 40px; }
  .mainnav__search { display: flex; gap: 6px; margin-top: 16px; }
  .mainnav__search input { flex: 1; min-width: 0; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: var(--r); }
  .mainnav__search button { border: 0; background: var(--blue); color: #fff; border-radius: var(--r); width: 44px; cursor: pointer; }
  body.menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,10,30,.45); z-index: 55; }
  .listen span { display: none; }
  .listen { padding: 10px; }
  .listen.is-live::before { display: none; }
}

/* ---------- Rubriques ---------- */
.cats { background: #fff; border-bottom: 1px solid var(--line); }
.cats ul { display: flex; gap: 6px; list-style: none; margin: 0 auto; padding-block: 8px; overflow-x: auto; scrollbar-width: none; }
.cats ul::-webkit-scrollbar { display: none; }
.cats a { display: block; padding: 8px 12px; white-space: nowrap; text-decoration: none; font-size: 15px; color: var(--ink-2); border-radius: 99px; }
.cats a:hover { background: var(--bg-soft); color: var(--ink); }
.cats a[aria-current="page"] { background: var(--blue); color: #fff; }

.breaking { background: var(--red); color: #fff; }
.breaking__in { display: flex; gap: 12px; align-items: baseline; padding-block: 9px; font-size: 15px; }
.breaking strong { text-transform: uppercase; font: 800 12px/1 var(--f-head); letter-spacing: .05em; white-space: nowrap; }
.breaking a { color: #fff; font-weight: 700; }

/* ---------- Titres de section (identité : trait bleu dessus, rouge dessous) ---------- */
.sec-head { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0 0 28px; text-align: center; }
.sec-title { position: relative; font: 700 clamp(24px, 3vw, 30px)/1.2 var(--f-head); padding: 12px 0 10px; }
.sec-title::before { content: ""; position: absolute; top: 0; left: 0; width: 55%; height: 3px; background: var(--blue); }
.sec-title::after { content: ""; position: absolute; bottom: 0; right: 0; width: 55%; height: 3px; background: var(--red); }
.sec-more { font-weight: 700; color: var(--blue); font-size: 14px; text-decoration: none; }
.sec-more:hover { color: var(--red); text-decoration: underline; }
.block { padding-block: 44px 8px; }

/* ---------- Carrousel ---------- */
.hero { position: relative; margin-top: 24px; }
.hero__track { position: relative; border-radius: var(--r); overflow: hidden; background: #0d0a33; aspect-ratio: 1280 / 480; min-height: 360px; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide__img, .slide .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,6,50,.94) 0%, rgba(10,6,50,.8) 42%, rgba(10,6,50,.25) 72%, rgba(10,6,50,0) 100%), linear-gradient(0deg, rgba(10,6,50,.6), transparent 45%); }
.slide__content { position: absolute; left: 0; bottom: 0; width: min(640px, 100%); padding: clamp(20px, 4vw, 44px); color: #fff; display: grid; gap: 12px; justify-items: start; }
.slide__cat { display: inline-block; padding: 5px 12px; border: 1.5px solid #fff; border-radius: 99px; color: #fff; text-decoration: none; font-weight: 700; font-size: 13px; background: rgba(255,255,255,.08); }
.slide__cat:hover { background: #fff; color: var(--blue); }
.slide__title { font: 800 clamp(22px, 3vw, 36px)/1.15 var(--f-head); text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.slide__title a { color: #fff; text-decoration: none; }
.slide__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.slide__dek { margin: 0; color: rgba(255,255,255,.9); font-size: 17px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide__meta { margin: 0; color: rgba(255,255,255,.75); font-size: 14px; }
.hero__nav { position: absolute; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--blue); box-shadow: var(--shadow); z-index: 3; transition: background .2s; }
.hero__nav:hover { background: var(--red); color: #fff; }
.hero__nav--prev { right: calc(var(--gut) + 70px); }
.hero__nav--next { right: calc(var(--gut) + 18px); }
.hero__dots { position: absolute; right: calc(var(--gut) + 132px); bottom: 35px; display: flex; gap: 8px; z-index: 3; }
.hero__dots button { width: 10px; height: 10px; padding: 0; border-radius: 99px; border: 0; background: rgba(255,255,255,.5); cursor: pointer; transition: width .25s, background .25s; }
.hero__dots button[aria-selected="true"] { width: 28px; background: var(--red); }
@media (max-width: 760px) {
  .hero { padding-inline: 0; margin-top: 0; }
  .hero__track { border-radius: 0; aspect-ratio: 4 / 5; min-height: 0; max-height: 78vh; }
  .slide__shade { background: linear-gradient(0deg, rgba(10,6,50,.95) 0%, rgba(10,6,50,.75) 45%, rgba(10,6,50,.1) 80%); }
  .slide__content { padding: 20px 18px 54px; }
  .slide__dek { display: none; }
  .hero__nav { display: none; }
  .hero__dots { left: 18px; right: auto; bottom: 22px; }
}

/* ---------- Partenaires (bandeau de logos) ---------- */
.partners-strip { padding-block: 22px; border-bottom: 1px solid var(--line); }
.partners-strip__in { display: flex; align-items: center; gap: 20px; }
.partners-strip__label { margin: 0; flex: none; font: 700 13px/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.partners-strip__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partners-strip__list { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; width: max-content; animation: ticker 40s linear infinite; }
.partners-strip:hover .partners-strip__list, .partners-strip:focus-within .partners-strip__list { animation-play-state: paused; }
.partners-strip__list a { display: flex; align-items: center; gap: 10px; height: 64px; padding: 8px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; font-weight: 700; color: var(--ink); background: #fff; white-space: nowrap; }
.partners-strip__list a:hover { border-color: var(--blue); }
.partners-strip__list img { height: 44px; width: auto; max-width: 110px; object-fit: contain; }
.partners-strip__cta { flex: none; font-weight: 700; font-size: 14px; color: var(--red); text-decoration: none; }
.partners-strip__cta:hover { text-decoration: underline; }
@media (max-width: 760px) { .partners-strip__label, .partners-strip__cta { display: none; } }

/* ---------- Cartes d'articles ---------- */
.grid-4 { display: grid; gap: 28px 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 28px 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px)  { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 560px)  { .grid-4 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__badges { position: absolute; left: 10px; top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 5px 10px; font-size: 13px; font-weight: 700; color: var(--t, #fff); background: var(--c, var(--blue)); border-radius: 3px; line-height: 1.2; }
.badge--time { background: var(--red); }
.badge--sponso { background: #222; }
.card__body { display: flex; flex-direction: column; gap: 8px; padding: 12px 8px 14px; flex: 1; }
.card__stats { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0; font-size: 14px; color: var(--muted); }
.stat { display: inline-flex; align-items: center; gap: 5px; }
.stat svg { opacity: .7; }
.card__title { font: 700 17px/1.3 var(--f-head); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--blue); text-decoration: underline; }
.card__dek { margin: 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.author { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); min-width: 0; }
.author img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); flex: none; }
.card--lead { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: center; grid-column: 1 / -1; padding-bottom: 28px; border-bottom: 1px solid var(--line); border-radius: 0; }
.card--lead:hover { box-shadow: none; transform: none; }
.card--lead .card__media { border-radius: var(--r); }
.card--lead .card__title { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; -webkit-line-clamp: 4; }
.card--lead .card__dek { font-size: 17px; -webkit-line-clamp: 4; }
@media (max-width: 760px) { .card--lead { grid-template-columns: 1fr; } }
.card--line { padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; gap: 4px; }
.card--line:hover { box-shadow: none; transform: none; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--blue-soft), #fff); }
.ph svg { display: none; }
.ph::after { content: "VM"; font: 800 28px/1 var(--f-head); color: var(--blue); opacity: .35; }

/* ---------- Plus lus + direct ---------- */
.band { display: grid; gap: 28px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-block: 44px 8px; }
@media (max-width: 900px) { .band { grid-template-columns: 1fr; } }
.band__title { font: 800 22px/1.2 var(--f-head); padding-bottom: 10px; margin-bottom: 4px; border-bottom: 3px solid var(--blue); position: relative; }
.band__title::after { content: ""; position: absolute; left: 0; bottom: -3px; width: 60px; height: 3px; background: var(--red); }
.ranked { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 0 28px; grid-template-columns: 1fr 1fr; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 46px 1fr; gap: 2px 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(r); grid-row: span 2; font: 800 34px/1 var(--f-head); color: var(--blue); }
.ranked li:nth-child(even)::before { color: var(--red); }
.ranked a { font: 700 16px/1.3 var(--f-head); text-decoration: none; }
.ranked a:hover { color: var(--blue); text-decoration: underline; }
.ranked .card__stats { justify-content: flex-start; font-size: 13px; }
@media (max-width: 600px) { .ranked { grid-template-columns: 1fr; } }
.onair { background: var(--blue); color: #fff; padding: 26px; border-radius: var(--r); display: grid; gap: 12px; align-content: start; justify-items: start; border-bottom: 5px solid var(--red); }
.onair h2 { font: 800 24px/1.2 var(--f-head); }
.onair p { margin: 0; color: rgba(255,255,255,.88); }
.onair__icon { color: #fff; opacity: .9; }
.onair__state { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.onair.is-live .onair__icon { animation: blink 2s infinite; }

/* ---------- Podcasts ---------- */
.pod { display: grid; gap: 10px; align-content: start; }
.pod__media { position: relative; display: block; border: 0; padding: 0; width: 100%; aspect-ratio: 16 / 10; background: #000; border-radius: var(--r); overflow: hidden; cursor: pointer; }
.pod__media img { width: 100%; height: 100%; object-fit: cover; }
.pod__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pod__play { position: absolute; left: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.35); }
.pod__title { font: 700 17px/1.3 var(--f-head); }
.pod__title a { text-decoration: none; }
.pod__desc { margin: 0; color: var(--muted); font-size: 15px; }
.pod__actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Newsletter (bandeau bleu d'origine) ---------- */
.newsletter { background: var(--blue); color: #fff; margin-top: 52px; padding-block: 52px; }
.newsletter__in { text-align: center; display: grid; gap: 18px; justify-items: center; max-width: 820px; }
.newsletter h2 { font: 700 clamp(22px, 3vw, 30px)/1.25 var(--f-head); }
.newsletter p { margin: 0; color: rgba(255,255,255,.88); }
.pillform { display: flex; width: min(680px, 100%); background: #fff; border-radius: 99px; padding: 5px; box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.pillform input { flex: 1; min-width: 0; border: 0; background: none; padding: 12px 18px; font-size: 16px; color: var(--ink); outline: none; }
.pillform button { border: 0; border-radius: 99px; background: var(--red); color: #fff; font-weight: 700; padding: 12px 22px; cursor: pointer; white-space: nowrap; }
.pillform button:hover { background: var(--red-dark); }
@media (max-width: 480px) { .pillform { flex-direction: column; border-radius: 14px; gap: 6px; } .pillform button { width: 100%; } }

/* ---------- Agenda ---------- */
.agenda { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .agenda { grid-template-columns: 1fr; } }
.agenda__item { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.agenda__date { margin: 0; text-align: center; background: var(--blue); color: #fff; border-radius: var(--r); font-weight: 700; font-size: 13px; padding: 8px 0; border-bottom: 4px solid var(--red); }
.agenda__date span { display: block; font: 800 26px/1 var(--f-head); }
.agenda h3 { font: 700 17px/1.3 var(--f-head); }
.agenda h3 a { text-decoration: none; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 16px; }
.form--narrow { max-width: 760px; margin-inline: auto; }
.form__row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: 14px; }
.field input, .field select, .field textarea, .search-big input { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--bg-soft); font-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus, .search-big input:focus { border-color: var(--blue); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--blue-soft); }
.field [aria-invalid="true"] { border-color: var(--red); }
.field__err { color: var(--red); font-size: 14px; margin: 0; }
.flash { width: calc(100% - 2 * var(--gut)); max-width: calc(var(--w) - 2 * var(--gut)); margin: 18px auto 0; padding: 14px 18px; border-radius: var(--r); background: var(--blue-soft); border-left: 5px solid var(--blue); font-weight: 700; }
.flash--err { background: #fff0f0; border-color: var(--red); }
.flash--ok { background: #ecfbf1; border-color: #13893f; }
.empty { padding-block: 64px; text-align: center; }
.empty h1, .empty h2 { font: 800 28px/1.2 var(--f-head); margin-bottom: 10px; }
.empty--inline { padding: 28px 0; text-align: left; color: var(--muted); }

/* ---------- En-têtes de pages ---------- */
.page-head { padding-block: 36px 24px; text-align: center; }
.page-head__pre { margin: 0 0 6px; color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.page-head__title { display: inline-block; position: relative; font: 800 clamp(28px, 4.4vw, 44px)/1.15 var(--f-head); padding: 14px 0 12px; margin-bottom: 12px; }
.page-head__title::before { content: ""; position: absolute; top: 0; left: 0; width: 50%; height: 4px; background: var(--blue); }
.page-head__title::after { content: ""; position: absolute; bottom: 0; right: 0; width: 50%; height: 4px; background: var(--red); }
.page-head__title--rubrique::before { background: var(--c, var(--blue)); }
.page-head__dek { margin: 0 auto; max-width: 62ch; color: var(--ink-2); font-size: 18px; }
.page-head--author { display: grid; grid-template-columns: 120px 1fr; gap: 24px; align-items: center; text-align: left; max-width: 900px; }
.page-head--author img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--blue); }
.page-head--author .page-head__dek { margin: 0; }
@media (max-width: 560px) { .page-head--author { grid-template-columns: 1fr; text-align: center; justify-items: center; } }
.listing { display: grid; gap: 28px 22px; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 32px; }
.listing > .ad { grid-column: 1 / -1; }
@media (max-width: 900px) { .listing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .listing { grid-template-columns: 1fr; } }
.pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px 0 48px; border-top: 1px solid var(--line); }
.pager a:last-child { justify-self: end; }
.pager__info { color: var(--muted); font-size: 14px; }
.search-big { display: flex; gap: 8px; margin: 8px auto 12px; max-width: 720px; }
@media (max-width: 560px) { .search-big { flex-direction: column; } }

/* ---------- Article ---------- */
.story { padding-top: 28px; }
.story__head { max-width: calc(var(--w-read) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs .badge { text-decoration: none; }
.story__title { font: 800 clamp(28px, 4.6vw, 44px)/1.15 var(--f-head); margin-bottom: 16px; text-wrap: balance; }
.story__dek { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.5; color: var(--ink-2); margin: 0 0 20px; }
.byline { display: flex; gap: 12px; align-items: center; padding-block: 14px; border-block: 1px solid var(--line); margin-bottom: 24px; }
.byline p { margin: 0; font-size: 15px; }
.byline a { font-weight: 700; color: var(--blue); }
.byline img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--blue); }
.byline .card__stats { justify-content: flex-start; }
.story__hero { max-width: 1040px; margin: 0 auto 32px; padding-inline: var(--gut); }
.story__hero img { width: 100%; max-height: 620px; object-fit: contain; background: var(--bg-soft); border-radius: var(--r); }
.story__layout { display: grid; grid-template-columns: minmax(0, var(--w-read)) 300px; gap: 48px; justify-content: center; max-width: calc(var(--w-read) + 348px + 2 * var(--gut)); }
.story__rail { position: sticky; top: 104px; align-self: start; display: grid; gap: 24px; }
@media (max-width: 1080px) { .story__layout { grid-template-columns: minmax(0, var(--w-read)); } .story__rail { position: static; } }
.prose { font-size: 18.5px; line-height: 1.75; color: #1d1f33; }
.prose > * + * { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol, .prose figure, .prose blockquote { margin-bottom: 0; }
.prose h2 { font: 800 26px/1.25 var(--f-head); margin-top: 1.6em; padding-left: 14px; border-left: 5px solid var(--blue); }
.prose h3 { font: 700 21px/1.3 var(--f-head); margin-top: 1.4em; color: var(--blue); }
.prose a { color: var(--blue); font-weight: 700; }
.prose a:hover { color: var(--red); }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 5px solid var(--red); background: var(--bg-soft); font-style: italic; font-size: 20px; border-radius: 0 var(--r) var(--r) 0; }
.prose img, .prose iframe { border-radius: var(--r); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption, .gallery figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--blue); color: #fff; }
.prose .lead { font-size: 20px; color: var(--ink-2); }
@media (max-width: 640px) { .prose { font-size: 17.5px; } .prose table { display: block; overflow-x: auto; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery figure { margin: 0; }
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 700; }
.tags a { display: inline-block; padding: 7px 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); text-decoration: none; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding-top: 20px; border-top: 1px solid var(--line); }
.share p { margin: 0 6px 0 0; color: var(--muted); }
.share a, .share button { padding: 9px 14px; border-radius: 99px; border: 0; color: #fff; text-decoration: none; cursor: pointer; font-weight: 700; }
.share a:nth-of-type(1) { background: #1fa855; } .share a:nth-of-type(2) { background: #1b65d8; } .share a:nth-of-type(3) { background: #111; } .share a:nth-of-type(4) { background: #0a66c2; }
.share button { background: var(--bg-soft); color: var(--ink); }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 20px; background: var(--bg-soft); border-radius: var(--r); border-left: 5px solid var(--blue); font-size: 15px; }
.author-box img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; }
.author-box p { margin: 0; }
.author-box__name { font: 800 18px/1.2 var(--f-head) !important; }
.author-box__name a { color: var(--ink) !important; text-decoration: none; }
.correction-note { font-size: 14px; color: var(--muted); }
.rail-title { font: 800 18px/1.2 var(--f-head); padding-bottom: 8px; border-bottom: 3px solid var(--blue); }
.ranked--small { grid-template-columns: 1fr; }
.ranked--small li::before { font-size: 26px; }
.ranked--small a { font-size: 15px; }
.related { padding-block: 40px 24px; }

/* ---------- Publicité ---------- */
.ad { margin: 32px auto; text-align: center; min-height: 280px; display: grid; align-content: start; gap: 6px; }
.ad__label { font-size: 11px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.ad--top { max-width: var(--w); padding-inline: var(--gut); min-height: 120px; }
.ad--sidebar { min-height: 600px; margin: 0; }
.prose .ad { margin: 2em 0; }

/* ---------- Direct ---------- */
.live { background: var(--blue); color: #fff; padding-block: 56px 72px; text-align: center; border-bottom: 6px solid var(--red); }
.live__in { display: grid; justify-items: center; gap: 14px; }
.live__icon { color: #fff; }
.live__icon.is-live { color: #fff; animation: blink 2s infinite; }
.live__state { margin: 0; display: inline-flex; align-items: center; gap: 8px; background: var(--red); padding: 6px 14px; border-radius: 99px; font-weight: 700; text-transform: uppercase; font-size: 13px; letter-spacing: .05em; }
.live__title { font: 800 clamp(30px, 5vw, 52px)/1.1 var(--f-head); max-width: 22ch; }
.live__dek { margin: 0; max-width: 60ch; color: rgba(255,255,255,.88); font-size: 18px; }
.live__video { width: min(900px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: var(--r); position: relative; overflow: hidden; margin-top: 10px; }
.live__video iframe, .live__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.live__big { display: inline-flex; align-items: center; gap: 12px; padding: 18px 34px; border: 0; border-radius: 99px; background: #fff; color: var(--blue); font: 800 20px/1 var(--f-head); cursor: pointer; margin-top: 8px; box-shadow: 0 0 0 6px rgba(255,255,255,.2); }
.live__big:hover { background: var(--red); color: #fff; }
.live__big[aria-pressed="true"] { background: var(--red); color: #fff; }
.live__hint { margin: 0; font-size: 14px; color: rgba(255,255,255,.75); }

/* ---------- Événements ---------- */
.events { display: grid; gap: 28px; padding-bottom: 48px; }
.event { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.event__media img { border-radius: var(--r); width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.event__when { margin: 0 0 6px; font-weight: 700; color: var(--red); }
.event h2 { font: 800 24px/1.2 var(--f-head); margin-bottom: 6px; }
@media (max-width: 760px) { .event { grid-template-columns: 1fr; } }

/* ---------- Pages institutionnelles ---------- */
.doc { padding-block: 36px 64px; }
.doc > .page-head__title { display: block; text-align: left; }
.doc > .page-head__title::before { width: 120px; }
.doc > .page-head__title::after { right: auto; left: 0; width: 60px; bottom: -2px; }
.doc .prose { font-size: 17.5px; }
.timeline { list-style: none; padding: 0; margin: 1.2em 0; display: grid; gap: 0; border-left: 3px solid var(--blue); }
.timeline li { position: relative; padding: 0 0 18px 22px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px #fff; }
.timeline strong { display: block; color: var(--blue); font-family: var(--f-head); }
.team, .partners-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; font-size: 15px; }
.team a { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink) !important; font-weight: 400 !important; }
.team a:hover { border-color: var(--blue); }
.team img { border-radius: 50%; object-fit: cover; aspect-ratio: 1; flex: none; }
.team-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 560px) { .team-doors { grid-template-columns: 1fr; } }
.door { display: grid; gap: 6px; padding: 24px; border: 1.5px solid var(--line); border-radius: var(--r); text-decoration: none; border-top: 5px solid var(--blue); }
.door:nth-child(2) { border-top-color: var(--red); }
.door strong { font: 800 22px/1 var(--f-head); }
.door span { color: var(--muted); }
.door:hover { border-color: var(--blue); }
.contact-alt { margin-top: 36px; }

/* ---------- Partenaires (page et cartes) ---------- */
.partners { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .partners { grid-template-columns: 1fr; } }
.partner { display: grid; align-content: start; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; border-top: 4px solid var(--blue); scroll-margin-top: 110px; }
.partner:nth-child(even) { border-top-color: var(--red); }
.partner:target { box-shadow: 0 0 0 3px var(--blue-soft), var(--shadow); }
.partner__logo { height: 90px; display: grid; place-items: center start; }
.partner__logo img { max-height: 90px; max-width: 100%; width: auto; object-fit: contain; }
.partner__logo span { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); font: 800 24px/1 var(--f-head); }
.partner__name { font: 800 19px/1.2 var(--f-head); }
.partner__desc { margin: 0; color: var(--ink-2); font-size: 15px; }
.partner__links { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.partner__links a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 7px 12px; border-radius: 99px; background: var(--blue-soft); color: var(--blue); }
.partner__links a:hover { background: var(--blue); color: #fff; }
.partners__join { margin: 36px 0 56px; padding: 28px; background: var(--blue); color: #fff; border-radius: var(--r); border-bottom: 5px solid var(--red); }
.partners__join p { color: rgba(255,255,255,.9); }
.partners__join .sec-title, .partners__join h2 { color: #fff; }
.partners__offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 16px 0 20px; }
.partners__offers li { background: rgba(255,255,255,.1); padding: 14px; border-radius: var(--r); }
.partners__offers strong { display: block; font-family: var(--f-head); }
@media (max-width: 760px) { .partners__offers { grid-template-columns: 1fr; } }

/* ---------- Pied de page (bleu d'origine) ---------- */
.footer { background: var(--blue); color: rgba(255,255,255,.9); padding-top: 52px; margin-top: 56px; font-size: 15px; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; padding-bottom: 40px; }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h2 { font: 700 18px/1.2 var(--f-head); color: #fff; margin-bottom: 16px; padding-bottom: 8px; position: relative; }
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; background: linear-gradient(90deg, var(--red), #ff7a7a); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; }
.footer nav li a, .footer__contact li { display: flex; gap: 8px; align-items: center; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer a { color: rgba(255,255,255,.92); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__logo { display: inline-block; background: #fff; padding: 12px 18px; border-radius: 8px; }
.footer__logo img { height: 56px; width: auto; }
.footer__about p { margin: 14px 0; max-width: 34ch; }
.footer__social { display: flex !important; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.footer__social a:hover { background: #fff; color: var(--blue); text-decoration: none; }
.footer__btn { display: inline-block !important; margin-top: 8px; padding: 10px 16px !important; background: var(--red); border-radius: var(--r); font-weight: 700; border: 0 !important; }
.footer__contact li:last-child { border: 0; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.2); }
.footer__legal-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; align-items: center; padding-block: 18px; font-size: 14px; }
.footer__legal p { margin: 0; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__credit a { color: #ffd0d0; font-weight: 700; }

/* ---------- Lecteur persistant ---------- */
.player { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; align-items: center; gap: 14px; padding: 10px max(var(--gut), env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); background: #0d0a33; color: #fff; border-top: 3px solid var(--red); box-shadow: 0 -8px 24px rgba(0,0,0,.2); }
.player[hidden] { display: none; }
.player__toggle { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--red); color: #fff; cursor: pointer; }
.player__toggle:hover { background: #fff; color: var(--red); }
.player__info { min-width: 0; flex: 1; }
.player__state { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #ffb3b3; }
.player__title { margin: 2px 0 0; font: 700 15px/1.3 var(--f-head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__vol { width: 110px; accent-color: var(--red); }
.player__close { border: 0; background: none; color: rgba(255,255,255,.7); cursor: pointer; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; }
.player__close:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 560px) { .player__vol { display: none; } }

/* ---------- Installation PWA ---------- */
.install { position: fixed; left: 16px; right: 16px; bottom: calc(16px + var(--player-h)); z-index: 65; max-width: 480px; margin-inline: auto; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; box-shadow: 0 12px 32px rgba(17,19,38,.2); border-left: 5px solid var(--blue); }
.install[hidden] { display: none; }
.install img { border-radius: 10px; flex: none; }
.install p { margin: 0; flex: 1; font-size: 14px; display: grid; }
.install span { color: var(--muted); font-size: 13px; }

/* ---------- Consentement ---------- */
.consent { position: fixed; z-index: 80; left: 16px; right: 16px; bottom: calc(16px + var(--player-h)); max-width: 520px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; box-shadow: 0 12px 32px rgba(17,19,38,.22); font-size: 15px; border-top: 4px solid var(--blue); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent__actions { display: flex; gap: 10px; }
.consent__more { margin: 10px 0 0 !important; font-size: 13px; }

/* ---------- Hors ligne ---------- */
.offline-note { position: fixed; top: 12px; left: 50%; translate: -50% 0; z-index: 90; background: #111326; color: #fff; padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 700; }
.offline-note[hidden] { display: none; }

.meta { color: var(--muted); font-size: 14px; margin: 0; }
html.is-loading .main { opacity: .55; transition: opacity .15s; }
.pod__media.is-playing .pod__play, [data-audio].is-playing { background: var(--blue); }

/* Menu mobile : l'en-tête (et donc le menu) passe au-dessus du voile sombre */
body.menu-open .masthead { z-index: 90; }
body.menu-open::after { z-index: 80; }
body.menu-open { overflow: hidden; }

.mainnav__close { display: none; }
@media (max-width: 1080px) {
  .mainnav { padding-top: 20px; }
  .mainnav__close { display: inline-flex; align-self: flex-end; align-items: center; gap: 6px; margin-bottom: 18px; border: 0; cursor: pointer; background: var(--bg-soft); color: var(--ink); padding: 10px 14px; border-radius: 99px; font: 700 14px/1 var(--f-body); }
  .mainnav__close:hover { background: var(--red); color: #fff; }
  body.menu-open::after { background: rgba(10,10,30,.55); }
}

/* ---------- Animations au défilement (comme sur l'ancien site) ---------- */
html.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); will-change: opacity, transform; }
html.js .reveal--left { transform: translateX(-40px); }
html.js .reveal--right { transform: translateX(40px); }
html.js .reveal--zoom { transform: scale(.94); }
html.js .reveal.is-in { opacity: 1; transform: none; }
.slide.is-active .slide__content > * { animation: slideIn .7s cubic-bezier(.2,.7,.2,1) both; }
.slide.is-active .slide__content > :nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide__content > :nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide__content > :nth-child(4) { animation-delay: .24s; }
.slide.is-active .slide__content > :nth-child(5) { animation-delay: .32s; }
@keyframes slideIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.slide.is-active .slide__img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.masthead.is-scrolled { box-shadow: 0 6px 20px rgba(17,19,38,.1); }
.hero__pause { position: absolute; bottom: 18px; right: calc(var(--gut) + 122px); width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.92); color: var(--blue); z-index: 3; box-shadow: var(--shadow); }
.hero__pause:hover { background: var(--red); color: #fff; }
.hero__dots { right: calc(var(--gut) + 184px) !important; }
@media (max-width: 760px) { .hero__pause { right: 16px; bottom: 14px; width: 40px; height: 40px; } .hero__dots { right: auto !important; } }
