/* =========================================================================
   Site officiel de l'Honorable Alahassane DIAKITÉ — feuille de style publique
   Charte : sarcelle (biographie officielle), or de la cabosse, liseré tricolore.
   ========================================================================= */

:root {
  --fs: 16px;
  --ink: #0f1d1c;
  --ink-2: #33433f;
  --muted: #64716d;
  --paper: #fbfaf6;
  --surface: #ffffff;
  --tint: #f2f6f4;
  --line: #e5e2d8;
  --line-2: #d6d2c5;
  --teal: #0b6e69;
  --teal-600: #0a5f5b;
  --teal-700: #08524f;
  --teal-900: #063f3c;
  --teal-50: #edf5f3;
  --teal-100: #d5e9e5;
  --gold: #f2bf2a;
  --gold-600: #b98a07;
  --gold-50: #fdf6df;
  --cacao: #7b3f3f;
  --orange: #f08a1d;
  --green: #13924a;
  --red: #b42318;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(6, 63, 60, .05), 0 10px 30px -18px rgba(6, 63, 60, .28);
  --shadow-lg: 0 30px 60px -30px rgba(6, 63, 60, .35);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; font-size: var(--fs); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.18; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 28px; } }
.container--wide { max-width: 1400px; }
.narrow { max-width: 800px; }
.narrow-wide { max-width: 1000px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; color: var(--muted); }
.lead { font-size: 1.14rem; color: var(--ink-2); line-height: 1.7; }
.hide-sm { display: none !important; }
@media (min-width: 720px) { .hide-sm { display: inline-flex !important; } }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--teal); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Les colonnes de grille ne s'élargissent jamais au-delà de l'écran (champs de formulaire, titres longs) */
.formpage > *, .split > *, .article > *, .bio > *, .vision > *, .mandat__body > *, .agenda-home > *, .parlement__in > *, .intro__in > *, .social__in > *, .news-grid > *, .cards3 > *, .grid2 > *, .hero__in > * { min-width: 0; }
.field input, .field textarea, .field select { min-width: 0; max-width: 100%; }

/* ---------- Éléments de charte ---------- */
.tricolore { display: flex; height: 4px; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1), .flagrule i:nth-child(1) { background: var(--orange); }
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3), .flagrule i:nth-child(3) { background: var(--green); }
.flagrule { display: inline-flex; gap: 4px; margin: 6px 0 18px; }
.flagrule i { width: 34px; height: 4px; border-radius: 2px; }
.flagrule i:nth-child(2) { background: var(--line-2); }
.flagrule--lg i { width: 52px; height: 5px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }
.eyebrow--gold { color: var(--gold); }
.eyebrow--line { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 22px -12px rgba(11, 110, 105, .7); }
.btn--primary:hover { background: var(--teal-700); color: #fff; }
.btn--gold { background: var(--gold); color: var(--teal-900); }
.btn--gold:hover { background: #ffcd3c; color: var(--teal-900); }
.btn--line { border-color: var(--line-2); color: var(--ink); background: var(--surface); }
.btn--line:hover { border-color: var(--teal); color: var(--teal); }
.btn--ghost { border-color: rgba(11, 110, 105, .25); color: var(--teal-700); background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--teal-700); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn--sm { padding: 9px 16px; font-size: .86rem; }
.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; max-width: 100%; } .card-form .btn--lg { width: 100%; } }
.iconbtn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.iconbtn:hover { background: var(--teal-50); color: var(--teal); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--teal); }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-arrow--back:hover .ic { transform: translateX(-4px); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--chip, var(--teal)); background: #eef5f3; background: color-mix(in srgb, var(--chip, var(--teal)) 11%, white); }
.chip--soft { --chip: var(--teal); }
.chipbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: .86rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: all .2s; }
.chipbtn small { color: var(--muted); font-weight: 600; }
.chipbtn:hover { border-color: var(--teal); color: var(--teal); }
.chipbtn.is-active { background: var(--teal); border-color: var(--teal); color: #fff; }
.chipbtn.is-active small { color: rgba(255, 255, 255, .75); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }

/* ---------- Bandeau d'information ---------- */
.flashbar { background: var(--teal-50); border-bottom: 1px solid var(--teal-100); font-size: .88rem; }
.flashbar.is-urgent { background: #fdecea; border-color: #f6cfca; }
.flashbar__in { display: flex; align-items: center; gap: 12px; min-height: 42px; }
.flashbar p { margin: 0; flex: 1; padding: 8px 0; }
.flashbar b { display: inline-block; margin-right: 8px; padding: 2px 8px; border-radius: 6px; background: var(--teal); color: #fff; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.flashbar.is-urgent b { background: var(--red); }
.flashbar a { font-weight: 600; margin-left: 6px; }
.flashbar__close { border: 0; background: none; cursor: pointer; padding: 6px; color: var(--muted); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
/* Le flou est porté par un pseudo-élément : un backdrop-filter sur .header piégerait le menu mobile
   (position: fixed) à l'intérieur du bandeau, hors de l'écran. */
.header::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(251, 250, 246, .92); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
.nav-open .header { z-index: 90; }
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(6, 63, 60, .4); }
.header__in { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; margin-right: auto; }
.brand img { width: 150px; height: auto; }
.brand__role { font-size: .6rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.header__actions { display: flex; align-items: center; gap: 6px; }
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border: 0; background: none; border-radius: 10px; font-size: .88rem; font-weight: 600; color: var(--ink-2); text-decoration: none; cursor: pointer; position: relative; white-space: nowrap; }
.nav__link:hover, .nav__link.is-active { color: var(--teal); }
.nav__link .chev { width: 15px; height: 15px; transition: transform .2s; }
.sub { display: none; }
.sub__link { display: flex; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.sub__link:hover { background: var(--teal-50); color: var(--ink); }
.sub__link strong { display: block; font-size: .9rem; }
.sub__link small { display: block; font-size: .78rem; color: var(--muted); line-height: 1.35; }
.sub__ic { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 10px; background: var(--teal-50); color: var(--teal); }
.sub__all { display: flex; align-items: center; gap: 8px; margin-top: 4px; padding: 12px 12px 6px; border-top: 1px solid var(--line); font-size: .84rem; font-weight: 600; text-decoration: none; }
.nav__head, .nav__foot { display: none; }

@media (min-width: 1180px) {
  .burger { display: none; }
  .nav__list { display: flex; align-items: center; gap: 2px; }
  .nav__item { position: relative; }
  .nav__link.is-active::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--gold); }
  .sub { position: absolute; top: calc(100% + 8px); left: -12px; width: 310px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); }
  .has-sub:hover .sub, .has-sub.is-open .sub, .has-sub:focus-within .sub { display: block; animation: drop .18s var(--ease); }
  .has-sub:hover .chev, .has-sub.is-open .chev { transform: rotate(180deg); }
  .has-sub::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
  .nav__item:last-child .sub { left: auto; right: -12px; }
}
@media (max-width: 1179px) {
  /* Menu fermé : retiré du rendu (un panneau translaté hors écran élargirait la page sur mobile) */
  .nav { position: fixed; top: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; width: min(380px, 92vw); background: var(--surface); z-index: 80; padding: 16px 16px calc(16px + env(safe-area-inset-bottom)); display: none; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; box-shadow: var(--shadow-lg); }
  .nav-open .nav { display: flex; animation: slidein .3s var(--ease); }
  .nav__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 14px 6px; font-size: 1rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .has-sub.is-open .sub { display: block; padding: 6px 0 10px; }
  .has-sub.is-open .chev { transform: rotate(180deg); }
  .nav__foot { display: grid; gap: 12px; margin-top: auto; padding-top: 16px; }
  .nav__tel { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; text-decoration: none; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(6, 30, 28, .45); z-index: 85; opacity: 0; pointer-events: none; transition: opacity .3s; }
  .nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .brand__role { display: none; } .brand img { width: 136px; } }
@media (min-width: 1180px) and (max-width: 1359px) { .header__cta span { display: none; } .header__cta { padding: 10px; } .nav__link { padding: 10px 8px; } }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
@keyframes slidein { from { transform: translateX(100%); } }

/* ---------- Recherche ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(6, 30, 28, .5); display: flex; align-items: flex-start; justify-content: center; padding: 14vh 16px 16px; }
.search-overlay[hidden] { display: none; }
.search-box { width: min(680px, 100%); display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 18px; padding: 10px 10px 10px 20px; box-shadow: var(--shadow-lg); }
.search-box > .ic { color: var(--muted); }
.search-box input { flex: 1; border: 0; outline: 0; padding: 12px 0; font-size: 1.05rem; background: none; min-width: 0; }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 95; right: 16px; bottom: 16px; display: grid; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); border-left: 4px solid var(--teal); font-size: .92rem; animation: drop .3s var(--ease); transition: opacity .3s, transform .3s; }
.toast--error { border-color: var(--red); }
.toast--success .ic { color: var(--teal); }
.toast--error .ic { color: var(--red); }
.toast.is-hiding { opacity: 0; transform: translateY(8px); }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; overflow: hidden; }
.hero__in { display: grid; gap: 28px; padding-top: 34px; }
.hero__name { margin: 4px 0 6px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .005em; line-height: .9; color: var(--teal-900); }
.hero__hon { display: block; font-family: var(--sans); text-transform: none; font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); letter-spacing: .02em; color: var(--muted); margin-bottom: 10px; }
.hero__first { display: block; font-size: clamp(2.8rem, 7vw, 5.4rem); color: var(--teal); }
.hero__last { display: block; font-size: clamp(3.6rem, 10vw, 7.6rem); }
.hero__role { font-size: clamp(1.05rem, 1.8vw, 1.3rem); font-weight: 600; color: var(--ink-2); margin: 6px 0 4px; }
.hero__lead { max-width: 560px; color: var(--ink-2); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.hero__btns--center { justify-content: center; }
.hero__facts { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.hero__facts li { padding: 14px 20px 0 0; margin-right: 20px; border-right: 1px solid var(--line); }
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts strong { display: block; font-size: 1rem; color: var(--teal-900); }
.hero__facts span { font-size: .78rem; color: var(--muted); }
.hero__fact--wide { max-width: 270px; }
.hero__fact--wide strong { font-size: .92rem; line-height: 1.35; }
.hero__art { position: relative; min-height: 440px; display: flex; align-items: flex-end; justify-content: center; }
.hero__panel { position: absolute; inset: 40px 0 0 0; border-radius: 32px 32px 0 0; background: linear-gradient(160deg, var(--teal) 0%, var(--teal-700) 60%, var(--teal-900) 100%); overflow: hidden; }
.hero__panel::before { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 191, 42, .45), transparent 65%); }
.hero__panel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }
.hero__pod { position: absolute; left: 8%; top: 12%; width: 34%; height: auto; color: rgba(242, 191, 42, .28); }
.hero__img { position: relative; width: auto; max-height: 560px; max-width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .25)); z-index: 1; margin-bottom: 6px; }
.hero__badge { position: absolute; z-index: 2; left: 14px; bottom: 26px; margin: 0; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow); font-size: .8rem; font-weight: 600; color: var(--ink-2); line-height: 1.3; }
.hero__badge span { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; color: var(--teal); line-height: 1; }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: 1.08fr .92fr; align-items: end; gap: 40px; padding-top: 50px; }
  .hero__text { padding-bottom: 64px; }
  .hero__art { min-height: 620px; }
  .hero__badge { left: -26px; bottom: 70px; }
}

/* Raccourcis */
.quick { position: relative; z-index: 2; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.quick__grid { display: grid; grid-template-columns: 1fr; }
.quick__item { display: flex; align-items: center; gap: 14px; padding: 20px 6px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); transition: background .2s; }
.quick__item:hover { color: var(--ink); background: var(--paper); }
.quick__item:last-child { border-bottom: 0; }
.quick__item > .ic:first-child { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--teal-50); color: var(--teal); }
.quick__item--gold > .ic:first-child { background: var(--gold-50); color: var(--gold-600); }
.quick__item strong { display: block; font-size: .95rem; }
.quick__item small { color: var(--muted); font-size: .8rem; }
.quick__item span { flex: 1; }
.quick__go { color: var(--line-2); transition: transform .2s, color .2s; }
.quick__item:hover .quick__go { color: var(--teal); transform: translateX(3px); }
@media (min-width: 720px) { .quick__grid { grid-template-columns: repeat(2, 1fr); } .quick__item { padding: 22px 18px; } .quick__item:nth-child(odd) { border-right: 1px solid var(--line); } .quick__item:nth-child(3) { border-bottom: 0; } }
@media (min-width: 1100px) { .quick__grid { grid-template-columns: repeat(4, 1fr); } .quick__item { border-bottom: 0; border-right: 1px solid var(--line); } .quick__item:last-child { border-right: 0; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--tint { background: var(--tint); }
.section--flush { padding-bottom: 0; }
.section--teal { background: var(--teal-900); color: #fff; }
.section--teal h2 { color: #fff; }
@media (min-width: 960px) { .section { padding: 104px 0; } }
.shead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 30px; margin-bottom: 38px; }
.shead > div { max-width: 680px; }
.shead h2 { margin-bottom: 8px; }
.shead p { color: var(--muted); margin: 0; }
.h-sub { font-size: 1.25rem; margin: 0 0 18px; }
.h-sub--muted { margin-top: 48px; color: var(--muted); }

/* Présentation */
.intro__in { display: grid; gap: 50px; align-items: center; }
.intro__photo { position: relative; margin: 0 18px 18px 0; max-width: 420px; justify-self: center; z-index: 0; }
.intro__photo img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.intro__photo::before { content: ''; position: absolute; inset: 22px -18px -18px 22px; border-radius: 24px; border: 1.5px solid var(--gold); z-index: -1; }
.intro__photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .94); font-size: .82rem; font-weight: 600; color: var(--ink-2); }
.intro__photo figcaption .ic { color: var(--gold-600); }
.intro__sig { width: 250px; margin: 8px 0 22px; }
.intro__links { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.quote { position: relative; margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
.quote .ic { position: absolute; left: -12px; top: -14px; width: 22px; height: 22px; padding: 3px; color: var(--gold-600); background: var(--paper); }
.quote p { margin: 0; font-size: 1.15rem; font-weight: 500; font-style: italic; color: var(--teal-900); }
@media (min-width: 900px) { .intro__in { grid-template-columns: 420px 1fr; gap: 90px; } }

/* Axes */
.axes { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.axe { position: relative; display: block; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.axe:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); color: var(--ink); }
.axe__num { position: absolute; top: 20px; right: 22px; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--line-2); }
.axe__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--teal); color: #fff; margin-bottom: 18px; }
.axe__ic .ic { width: 24px; height: 24px; }
.axe h3 { margin-bottom: 6px; }
.axe p { margin: 0; font-size: .92rem; color: var(--muted); }
.axes--compact .axe { padding: 22px; }

/* Assemblée nationale (accueil) */
.parlement__in { display: grid; gap: 40px; }
.parlement__side p { color: var(--ink-2); }
.parlement__img { width: 240px; margin-top: 30px; display: none; }
@media (min-width: 960px) { .parlement__in { grid-template-columns: 380px 1fr; gap: 70px; } .parlement__side { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; } .parlement__img { display: block; } }
.commissions { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 10px; }
.commissions li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--teal-50); font-size: .9rem; font-weight: 600; color: var(--teal-900); line-height: 1.4; }
.commissions .ic { color: var(--teal); margin-top: 1px; }
.commissions--plain li { background: none; padding: 6px 0; font-weight: 500; }
.parlement__list { display: grid; gap: 14px; align-content: start; }
.parl { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 70px); }
.parl:target { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-50); }
.parl__date { text-align: center; padding-top: 2px; }
.parl__date strong { display: block; font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: var(--teal); }
.parl__date span { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.parl__kind { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 6px; }
.parl h3 { font-size: 1.05rem; margin-bottom: 6px; }
.parl p { margin: 0 0 6px; font-size: .92rem; color: var(--ink-2); }
.parl .parl__place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; }
.parl .parl__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 10px; }
.parl__links a { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; font-weight: 600; text-decoration: none; }
.parl__more summary { cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--teal); margin-top: 6px; }
.parl__img { grid-column: 2; }
.parl__img img { border-radius: 12px; max-height: 260px; width: auto; margin-top: 8px; }
.parl-list { display: grid; gap: 14px; }
@media (min-width: 720px) { .parl-list--full .parl { grid-template-columns: 80px 1fr 240px; } .parl-list--full .parl__img { grid-column: 3; grid-row: 1; } .parl-list--full .parl__img img { margin: 0; width: 100%; height: 160px; object-fit: cover; } }

/* Actions sociales */
.social { background: var(--teal-900); color: #fff; position: relative; overflow: hidden; }
.social::before { content: ''; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 191, 42, .22), transparent 70%); }
.social h2 { color: #fff; }
.social p { color: rgba(255, 255, 255, .8); }
.social__in { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 960px) { .social__in { grid-template-columns: 1fr 1fr; gap: 70px; } }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat { padding: 24px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.stat__ic { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(242, 191, 42, .16); color: var(--gold); margin-bottom: 14px; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.1rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; color: #fff; }
.stat > span:last-child { display: block; margin-top: 6px; font-size: .84rem; color: rgba(255, 255, 255, .75); }
.stats--light .stat { background: var(--surface); border-color: var(--line); }
.stats--light .stat strong { color: var(--teal-900); }
.stats--light .stat > span:last-child { color: var(--muted); }
.stats--light .stat__ic { background: var(--gold-50); color: var(--gold-600); }
@media (min-width: 720px) { .stats--light { grid-template-columns: repeat(4, 1fr); } }

/* Actualités */
.news-grid { display: grid; gap: 22px; }
@media (min-width: 960px) { .news-grid { grid-template-columns: 1.15fr 1fr; } .news-grid .pcard--xl { grid-row: 1 / 4; } }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.pcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.pcard__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: .8rem; color: var(--muted); }
.pcard__title { font-size: 1.08rem; margin: 0; }
.pcard__title a { color: var(--ink); text-decoration: none; }
.pcard__title a:hover { color: var(--teal); }
.pcard__excerpt { margin: 0; font-size: .92rem; color: var(--ink-2); }
.pcard__src { margin: auto 0 0; padding-top: 8px; font-size: .76rem; color: var(--muted); }
.pcard--text { border-top: 4px solid var(--teal); }
.pcard--xl .pcard__title { font-size: clamp(1.3rem, 2.2vw, 1.65rem); }
.pcard--xl.pcard--text { background: var(--teal-50); border-color: var(--teal-100); border-top-color: var(--teal); }
.pcard--xl.pcard--text .pcard__body { padding: 34px; justify-content: flex-end; }
@media (min-width: 640px) {
  .pcard--row { flex-direction: row; }
  .pcard--row .pcard__media { flex: 0 0 36%; aspect-ratio: auto; }
  .pcard--row .pcard__body { padding: 18px 20px; }
  .pcard--row .pcard__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .pcard--row.pcard--text { border-top: 1px solid var(--line); border-left: 4px solid var(--teal); }
}
.cards3 { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
@media (min-width: 960px) { .cards3--news .pcard--wide { grid-column: span 2; } .cards3--news .pcard--wide:not(.pcard--text) { flex-direction: row; } .cards3--news .pcard--wide:not(.pcard--text) .pcard__media { flex: 0 0 55%; aspect-ratio: auto; } .cards3--news .pcard--wide .pcard__title { font-size: 1.45rem; } }
.news-tools { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 0 16px; }
.news-tools .filters { margin-bottom: 26px; }
.mini-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); min-width: min(300px, 100%); margin-bottom: 26px; }
.mini-search input { border: 0; outline: 0; padding: 11px 0; background: none; flex: 1; min-width: 0; }
.mini-search .ic { color: var(--muted); }
.mini-search--lg { margin: 24px 0; padding: 4px 20px; }
.mini-search--lg input { font-size: 1.05rem; padding: 12px 0; }

/* Vision */
.vision-home__in { display: grid; gap: 40px; }
@media (min-width: 960px) { .vision-home__in { grid-template-columns: 360px 1fr; gap: 70px; } .vision-home__head { position: sticky; top: calc(var(--header-h) + 30px); align-self: start; } }
.vlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vlist li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.vlist li:last-child { border-bottom: 0; }
.vlist h3 { margin-bottom: 4px; }
.vlist p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.vlist__ic { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid var(--teal-100); background: var(--surface); color: var(--teal); }
.vlist--grid { gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.vlist--grid li { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.vlist--grid li:last-child { border-bottom: 1px solid var(--line); }
.vision { display: grid; gap: 40px; align-items: start; }
.vision__art { position: relative; border-radius: 28px; background: linear-gradient(170deg, var(--teal) 0%, var(--teal-900) 100%); padding: 30px 20px 0; overflow: hidden; }
.vision__art img { margin: 0 auto; max-height: 520px; width: auto; }
.vision__tag { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 22px 20px; background: linear-gradient(transparent, rgba(6, 40, 38, .92)); color: #fff; }
.vision__tag strong { display: block; font-size: 1.05rem; }
.vision__tag span { font-size: .82rem; color: rgba(255, 255, 255, .8); }
@media (min-width: 960px) { .vision { grid-template-columns: 420px 1fr; gap: 70px; } .vision__art { position: sticky; top: calc(var(--header-h) + 70px); } }
.bigquote { background: var(--teal-50); padding: 70px 0; text-align: center; }
.bigquote blockquote { margin: 0 auto; max-width: 900px; }
.bigquote p { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 600; line-height: 1.35; color: var(--teal-900); letter-spacing: -.01em; }
.bigquote cite { font-style: normal; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }

/* Actions */
.acard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.acard:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.acard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--tint); }
.acard__media img { width: 100%; height: 100%; object-fit: cover; }
.acard__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.acard__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.acard__axe { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.acard h3 { margin: 4px 0 0; font-size: 1.08rem; }
.acard h3 a { color: var(--ink); text-decoration: none; }
.acard h3 a:hover { color: var(--teal); }
.acard p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.acard .acard__meta { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--muted); }
.acard--text { border-top: 4px solid var(--gold); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--teal-50); color: var(--teal-700); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--en_cours { background: var(--gold-50); color: #8a6200; }
.status--a_venir { background: #eef1fb; color: #3949a8; }
.cta-band { display: grid; gap: 26px; align-items: center; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; gap: 60px; } }
.circuits { display: grid; gap: 18px; }
@media (min-width: 800px) { .circuits { grid-template-columns: 1fr 1fr; } }
.circuit { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.circuit h3 { display: flex; align-items: center; gap: 10px; color: var(--teal-900); }
.circuit h3 .ic { color: var(--teal); }
.circuit ol { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 10px; }
.circuit li { counter-increment: c; display: flex; gap: 12px; align-items: center; font-size: .94rem; }
.circuit li::before { content: counter(c); display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-50); color: var(--teal); font-size: .8rem; font-weight: 700; }

/* ---------- Pages intérieures ---------- */
.phero { position: relative; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.phero::before { content: ''; position: absolute; inset: 0 0 0 auto; width: 40%; background: linear-gradient(200deg, var(--teal-50), transparent 70%); pointer-events: none; }
.phero__in { position: relative; display: grid; gap: 20px; padding-top: 38px; padding-bottom: 44px; }
.phero h1 { margin-bottom: 10px; max-width: 900px; }
.phero__intro { max-width: 680px; font-size: 1.08rem; color: var(--ink-2); margin: 0; }
.phero__art { display: none; }
@media (min-width: 900px) {
  .phero--portrait .phero__in { grid-template-columns: 1fr 300px; padding-bottom: 0; align-items: end; }
  .phero--portrait .phero__text { padding-bottom: 54px; }
  .phero__art { display: flex; justify-content: center; align-items: flex-end; height: 290px; position: relative; }
  .phero__art::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 0; height: 76%; border-radius: 160px 160px 0 0; background: linear-gradient(170deg, var(--teal), var(--teal-900)); }
  .phero__art img { position: relative; max-height: 100%; width: auto; }
}
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.subnav { position: sticky; top: var(--header-h); z-index: 30; background: rgba(251, 250, 246, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.subnav__in::-webkit-scrollbar { display: none; }
.subnav__tab { position: relative; padding: 15px 14px; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; white-space: nowrap; }
.subnav__tab:hover { color: var(--teal); }
.subnav__tab.is-active { color: var(--teal-900); }
.subnav__tab.is-active::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--teal); }

.split { display: grid; gap: 40px; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } .split--wide { grid-template-columns: 1fr 360px; } }
.panel { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.panel + .panel { margin-top: 16px; }
.panel__title { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; margin-bottom: 12px; }
.panel__title .ic { color: var(--teal); }
.panel p { font-size: .92rem; color: var(--ink-2); }
.panel .btn + .btn { margin-top: 10px; }
.panel--gold { background: var(--gold-50); border-color: #f5e2a6; }
.panel--gold .panel__title .ic { color: var(--gold-600); }
.panel--accent { background: var(--teal-50); border-color: var(--teal-100); align-self: start; }
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.mini-list a { font-weight: 600; text-decoration: none; color: var(--ink); }
.mini-list a:hover { color: var(--teal); }
.mini-list small { display: block; color: var(--muted); font-size: .78rem; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: .92rem; color: var(--ink-2); }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: .55em; width: 9px; height: 5px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* Texte riche */
.prose { font-size: 1.02rem; color: var(--ink-2); line-height: 1.8; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.45rem; margin: 1.8em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.16rem; margin: 1.5em 0 .5em; color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--teal); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-size: 1.12rem; font-style: italic; color: var(--teal-900); }
.prose img { border-radius: 14px; margin: 1.4em 0; }
.prose .lead { font-size: 1.16rem; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.prose td, .prose th { padding: 10px; border-bottom: 1px solid var(--line); text-align: left; }

/* Biographie */
.bio { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .bio { grid-template-columns: 340px 1fr; gap: 70px; } .bio__card { position: sticky; top: calc(var(--header-h) + 70px); } }
.bio__card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; max-width: 460px; }
.bio__portrait { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; object-position: top; }
.bio__id { padding: 22px 24px 24px; }
.bio__hon { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-600); }
.bio__name { margin: 2px 0; font-family: var(--display); font-size: 2rem; font-weight: 800; text-transform: uppercase; line-height: 1; color: var(--teal-900); }
.bio__role { margin: 0; font-weight: 600; color: var(--ink-2); font-size: .92rem; }
.facts { margin: 0 0 18px; display: grid; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }
.bio__sig { width: 270px; margin-top: 30px; }
.awards { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.award { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.award__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold-50); color: var(--gold-600); margin-bottom: 14px; }
.award__year { position: absolute; top: 26px; right: 26px; font-family: var(--display); font-size: 2rem; font-weight: 800; color: var(--teal-100); }
.award p { margin: 0; font-size: .92rem; color: var(--muted); }
.nextlinks { display: grid; gap: 16px; }
@media (min-width: 720px) { .nextlinks { grid-template-columns: 1fr 1fr; } }
.nextlink { position: relative; display: block; padding: 28px 70px 28px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.nextlink strong { display: block; font-size: 1.15rem; }
.nextlink > .ic { position: absolute; right: 28px; top: 50%; transform: translateY(-50%); color: var(--teal); transition: transform .2s; }
.nextlink:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--ink); }
.nextlink:hover > .ic { transform: translate(4px, -50%); }

/* Frise du parcours */
.tl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 76px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--teal-100), var(--line)); }
.timeline__item { display: grid; grid-template-columns: 62px 1fr; gap: 36px; padding-bottom: 26px; position: relative; }
.timeline__item[hidden] { display: none; }
.timeline__item::before { content: ''; position: absolute; left: 70px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--teal); }
.timeline__year { font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--teal-900); text-align: right; line-height: 1.1; padding-top: 3px; }
.timeline__card { padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.timeline__card h3 { margin: 6px 0 4px; }
.timeline__card p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.timeline__card img { margin-top: 14px; border-radius: 12px; max-height: 240px; width: auto; }
.timeline__dom { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.timeline__dom--distinction { color: var(--gold-600); }
.timeline__dom--mandat { color: var(--green); }
.timeline__dom--engagement { color: #c46a0a; }
.timeline__dom--reperes { color: var(--cacao); }
@media (min-width: 800px) {
  .timeline::before { left: 50%; }
  .timeline__item { grid-template-columns: 1fr 1fr; gap: 70px; }
  .timeline__item::before { left: calc(50% - 6px); }
  .timeline__item:nth-child(odd) .timeline__year { order: 2; text-align: left; }
  .timeline__item:nth-child(odd) .timeline__card { order: 1; }
  .timeline__item:nth-child(even) .timeline__year { text-align: right; }
}

/* Mandat */
.mandat__cards { display: grid; gap: 16px; margin-bottom: 50px; }
@media (min-width: 800px) { .mandat__cards { grid-template-columns: repeat(3, 1fr); } }
.mcard { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--teal); }
.mcard__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--teal-50); color: var(--teal); margin-bottom: 14px; }
.mcard__label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mcard strong { display: block; font-size: 1.25rem; color: var(--teal-900); margin: 2px 0; }
.mcard small { color: var(--muted); font-size: .84rem; }
.mandat__body { display: grid; gap: 40px; }
@media (min-width: 960px) { .mandat__body { grid-template-columns: 1fr 360px; gap: 60px; align-items: start; } }
.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 30px; }
.kpi { display: flex; flex-direction: column; gap: 4px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s; }
.kpi:hover { border-color: var(--teal); color: var(--ink); }
.kpi span { color: var(--teal); }
.kpi strong { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.kpi small { color: var(--muted); font-size: .8rem; }

/* Agenda */
.events { display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 4px; border-radius: 14px; background: var(--teal); color: #fff; text-align: center; align-self: start; }
.event__date strong { font-family: var(--display); font-size: 2rem; font-weight: 800; line-height: 1; }
.event__date span { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.event__date small { font-size: .7rem; opacity: .8; }
.event__kind { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.event h3 { margin: 2px 0 6px; font-size: 1.04rem; }
.event__meta { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.event__meta li { display: inline-flex; align-items: center; gap: 6px; }
.event p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.events--past .event__date { background: var(--tint); color: var(--teal-900); }
.agenda-home { display: grid; gap: 40px; }
@media (min-width: 960px) { .agenda-home { grid-template-columns: 1fr 380px; gap: 60px; align-items: start; } }
.contact-card { padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.contact-card h3 { font-size: 1.2rem; margin-bottom: 16px; }
.contact-card p { display: flex; gap: 12px; font-size: .92rem; color: var(--ink-2); }
.contact-card p .ic { color: var(--teal); margin-top: 3px; }
.contact-card p a { color: var(--ink-2); }
.empty { display: grid; justify-items: center; gap: 10px; padding: 50px 20px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty > .ic { width: 34px; height: 34px; color: var(--teal); opacity: .45; }
.empty p { margin: 0; max-width: 420px; }
.empty--soft { background: var(--surface); border-style: solid; border-color: var(--line); }

/* Médiathèque */
.strip { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 72px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
@media (min-width: 960px) { .strip { padding: 0 max(28px, calc((100vw - 1184px) / 2)) 104px; } }
.strip__item { flex: 0 0 auto; width: clamp(220px, 28vw, 340px); aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; scroll-snap-align: start; }
.strip__item:nth-child(3n+2) { aspect-ratio: 3 / 4; width: clamp(170px, 20vw, 250px); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip__item:hover img { transform: scale(1.05); }
.albums { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.album { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--tint); text-decoration: none; }
.album img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.album:hover img { transform: scale(1.05); }
.album__info { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(6, 30, 28, .85)); color: #fff; }
.album__info strong { display: block; font-size: 1.05rem; line-height: 1.3; }
.album__info small { color: rgba(255, 255, 255, .8); }
.masonry { columns: 2 220px; column-gap: 12px; }
.masonry__item { display: block; margin-bottom: 12px; border-radius: 14px; overflow: hidden; break-inside: avoid; }
.masonry__item img { width: 100%; transition: transform .5s var(--ease); }
.masonry__item:hover img { transform: scale(1.03); }
.videos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.video { margin: 0; }
.video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--teal-900); }
.video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: none; }
.video__play img { width: 100%; height: 100%; object-fit: cover; }
.video__play span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: var(--teal-900); }
.video figcaption { margin-top: 10px; font-weight: 600; font-size: .94rem; }
.docs { display: grid; gap: 12px; }
.doc { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); align-items: start; }
.doc__ic { display: grid; place-items: center; align-content: center; gap: 2px; width: 54px; height: 60px; border-radius: 12px; background: var(--teal-50); color: var(--teal); }
.doc__ic span { font-size: .6rem; font-weight: 800; letter-spacing: .06em; }
.doc__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .78rem; color: var(--muted); margin-bottom: 6px; }
.doc__ref { font-weight: 600; }
.doc h3 { font-size: 1rem; margin: 0 0 4px; }
.doc p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.doc__act { grid-column: 2; }
@media (min-width: 720px) { .doc { grid-template-columns: 54px 1fr auto; align-items: center; } .doc__act { grid-column: 3; } }

/* Article */
.post__head { padding: 40px 0 30px; background: var(--surface); }
.post__head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin: 14px 0 14px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: .84rem; color: var(--muted); }
.post__cover { margin: 0 auto 10px; max-width: 1100px; }
.post__cover img { width: 100%; border-radius: 22px; max-height: 620px; object-fit: cover; }
.post .narrow { padding-bottom: 60px; }
.post .prose { padding-top: 30px; }
.pgallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); margin: 30px 0; }
.pgallery a { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.pgallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pgallery a:hover img { transform: scale(1.05); }
.source { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-radius: 12px; background: var(--tint); font-size: .88rem; color: var(--ink-2); }
.source .ic { color: var(--teal); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.share span { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
.share a, .share button { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.share a:hover, .share button:hover, .share .is-ok { background: var(--teal); border-color: var(--teal); color: #fff; }
.preview-bar { background: var(--gold); color: var(--teal-900); text-align: center; padding: 8px; font-weight: 600; font-size: .9rem; }
.article { display: grid; gap: 40px; }
@media (min-width: 960px) { .article { grid-template-columns: 1fr 320px; gap: 60px; align-items: start; } .article__side { position: sticky; top: calc(var(--header-h) + 30px); } }
.article__meta { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; font-size: .86rem; color: var(--muted); margin-bottom: 22px; }
.article__meta > span { display: inline-flex; align-items: center; gap: 6px; }
.article__cover { margin: 0 0 26px; }
.article__cover img { border-radius: 20px; width: 100%; }

/* ---------- Services & formulaires ---------- */
.services { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.service { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--teal-100); color: var(--ink); }
.service__ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--teal); color: #fff; margin-bottom: 12px; }
.service__ic .ic { width: 26px; height: 26px; }
.service h2 { font-size: 1.2rem; margin: 0; }
.service p { color: var(--ink-2); font-size: .92rem; flex: 1; }
.service--gold { background: var(--gold-50); border-color: #f5e2a6; }
.service--gold .service__ic { background: var(--gold); color: var(--teal-900); }
.suivi-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding: 20px 24px; border-radius: 18px; background: var(--teal-50); }
.suivi-band > div { display: flex; align-items: center; gap: 14px; flex: 1 1 320px; }
.suivi-band > div > .ic { color: var(--teal); width: 26px; height: 26px; }
.suivi-band p { margin: 0; }
.formpage { display: grid; gap: 34px; align-items: start; }
@media (min-width: 1000px) { .formpage { grid-template-columns: 1fr 360px; gap: 50px; } .formpage__side { position: sticky; top: calc(var(--header-h) + 70px); } }
.formpage__side .faq { margin-top: 16px; }
.card-form { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 720px) { .card-form { padding: 36px; } }
.form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.form legend { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; padding: 0; }
.grid2 { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .field--half { max-width: calc(50% - 9px); } }
.field { display: block; margin-bottom: 16px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field b { color: var(--red); font-weight: 600; }
.field input, .field textarea, .field select { display: block; width: 100%; margin-top: 7px; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 500; font-size: .98rem; transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-50); }
.field textarea { resize: vertical; min-height: 140px; }
.field small { display: block; margin-top: 6px; font-weight: 500; color: var(--muted); font-size: .78rem; }
.field.file input { padding: 11px; background: var(--surface); border-style: dashed; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; font-size: .86rem; color: var(--ink-2); }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--teal); }
.alert { display: flex; gap: 12px; padding: 16px 18px; border-radius: 14px; margin-bottom: 24px; font-size: .92rem; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert--error { background: #fdecea; color: #7a1a12; }
.alert--error > .ic { color: var(--red); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding-left: 42px; font-size: .9rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .8rem; font-weight: 700; }
.steps strong { display: block; }
.steps span { color: var(--muted); }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq__item summary { display: flex; justify-content: space-between; gap: 14px; padding: 16px 18px; font-weight: 600; font-size: .94rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { color: var(--teal); transition: transform .2s; }
.faq__item[open] summary .ic { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 18px 18px; color: var(--ink-2); font-size: .92rem; }
.map { margin-top: 50px; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 380px; border: 0; }
.thanks { min-height: 60vh; display: flex; align-items: center; }
.thanks .container { width: 100%; }
.thanks__card { text-align: center; padding: 50px 24px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.thanks__ic { display: inline-grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; background: var(--teal-50); color: var(--teal); margin-bottom: 18px; }
.thanks__ic .ic { width: 36px; height: 36px; }
.thanks__ic--muted { color: var(--muted); background: var(--tint); }
.thanks__ref { display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 18px; padding: 10px 10px 10px 20px; border-radius: 16px; background: var(--gold-50); border: 1px dashed var(--gold-600); }
.thanks__ref span { font-size: .78rem; color: var(--muted); }
.thanks__ref strong { font-family: var(--display); font-size: 1.8rem; letter-spacing: .04em; color: var(--teal-900); }
.track { margin-top: 30px; padding: 28px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.track__head h2 { font-size: 1.3rem; margin: 10px 0 4px; }
.track__steps { list-style: none; margin: 24px 0 0; padding: 0; }
.track__steps li { position: relative; padding: 0 0 22px 40px; color: var(--muted); }
.track__steps li::before { content: ''; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.track__steps li::after { content: ''; position: absolute; left: 10px; top: 26px; bottom: 2px; width: 2px; background: var(--line); }
.track__steps li:last-child::after { display: none; }
.track__steps li.is-done { color: var(--ink-2); }
.track__steps li.is-done::before { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 4px #fff; }
.track__steps li.is-no::before { background: var(--muted); border-color: var(--muted); }
.track__steps strong { display: block; color: var(--ink); }
.results { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 10px; }
.results a { display: block; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.results a:hover { border-color: var(--teal); color: var(--ink); }
.results span { display: block; font-size: .86rem; color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { background: var(--surface); border-top: 1px solid var(--line); padding-top: 60px; }
.footer__cta { display: grid; gap: 24px; align-items: center; padding: 30px 24px; margin-bottom: 60px; border-radius: 26px; background: var(--teal-50); border: 1px solid var(--teal-100); }
.footer__cta h2 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.footer__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .footer__cta { grid-template-columns: 1fr auto; padding: 40px 48px; } }
.footer__grid { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer__grid { grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 50px; } }
.footer__about img { width: 180px; margin-bottom: 16px; }
.footer__about p { font-size: .9rem; color: var(--muted); max-width: 360px; }
.footer h3 { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); text-decoration: none; font-size: .92rem; }
.footer ul a:hover { color: var(--teal); }
.footer__contact p { display: flex; gap: 10px; font-size: .88rem; color: var(--ink-2); margin-bottom: 12px; }
.footer__contact .ic { color: var(--teal); margin-top: 3px; }
.footer__contact a { color: var(--ink-2); text-decoration: none; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-50); color: var(--teal); transition: background .2s, color .2s; }
.socials a:hover { background: var(--teal); color: #fff; }
.newsletter { display: grid; gap: 14px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); }
.newsletter label strong { display: block; }
.newsletter label span { font-size: .86rem; color: var(--muted); }
.newsletter__field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); }
.newsletter__field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; padding: 0 14px; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 460px; } }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 0 26px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.footer__links a { color: var(--muted); text-decoration: none; }
.a11y { display: inline-flex; gap: 4px; }
.a11y button { min-width: 34px; height: 30px; padding: 0 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: .78rem; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.a11y button[aria-pressed="true"] { background: var(--teal); color: #fff; border-color: var(--teal); }

/* Boutons flottants & visionneuse */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .4); }
.wa-float .ic { width: 28px; height: 28px; }
.totop { position: fixed; right: 18px; bottom: 18px; z-index: 39; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--teal); cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s; box-shadow: var(--shadow); }
.totop .ic { transform: rotate(-45deg); }
.wa-float ~ .totop { bottom: 84px; }
.totop.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4, 18, 17, .94); display: flex; align-items: center; justify-content: center; padding: 60px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 140px); width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 12px; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.lightbox .iconbtn { position: absolute; color: #fff; background: rgba(255, 255, 255, .1); }
.lightbox .iconbtn:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav.prev { left: 12px; top: 50%; }
.lightbox__nav.next { right: 12px; top: 50%; }

/* Apparition au défilement (seulement si JavaScript est actif) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Contraste élevé */
.hc { --muted: #2f3b39; --ink-2: #111; --line: #9aa6a3; --teal: #064d49; }

@media print {
  .header, .footer, .subnav, .quick, .totop, .wa-float, .flashbar, .tricolore, .share { display: none !important; }
  body { background: #fff; }
}

/* ---------- Diaporama de l'accueil ---------- */
.hs { position: relative; }
.hs__viewport { display: grid; }
.hs__slide { grid-area: 1 / 1; min-width: 0; transition: opacity .8s var(--ease), visibility .8s; }
.hs--multi .hs__slide:not(.is-active) { opacity: 0; visibility: hidden; }
.hs__photo { position: relative; display: flex; align-items: center; overflow: hidden; background: var(--teal-900); color: #fff; min-height: 520px; }
.hs__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 8s linear; }
.hs__photo.is-active .hs__bg { transform: scale(1.12); }
.hs__photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(4, 34, 32, .94) 0%, rgba(4, 34, 32, .78) 42%, rgba(4, 34, 32, .25) 75%, rgba(4, 34, 32, .1) 100%); }
.hs__photo::after { content: ''; position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--orange) 0 33.3%, #fff 33.3% 66.6%, var(--green) 66.6%); }
.hs__content { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 80px; }
.hs__content > * { max-width: 640px; }
.hs__title { margin: 6px 0 16px; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.5rem, 5.6vw, 4.6rem); line-height: .95; letter-spacing: .005em; color: #fff; }
.hs__text { font-size: 1.08rem; color: rgba(255, 255, 255, .86); margin-bottom: 6px; }
.hs__photo.is-active .hs__content > * { animation: hsIn .9s var(--ease) both; }
.hs__photo.is-active .hs__content > :nth-child(2) { animation-delay: .1s; }
.hs__photo.is-active .hs__content > :nth-child(3) { animation-delay: .2s; }
.hs__photo.is-active .hs__content > :nth-child(4) { animation-delay: .3s; }
@keyframes hsIn { from { opacity: 0; transform: translateY(18px); } }
.hs__bar { background: var(--surface); border-top: 1px solid var(--line); }
.hs__bar-in { display: flex; align-items: center; gap: 16px; }
.hs__tabs { display: flex; flex: 1; min-width: 0; }
.hs__tab { position: relative; flex: 1; min-width: 0; padding: 16px 10px 18px 0; border: 0; background: none; text-align: left; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--muted); }
.hs__tab span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hs__tab i { position: absolute; left: 0; right: 10px; top: 0; height: 3px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hs__tab i::after { content: ''; position: absolute; inset: 0; background: var(--teal); transform: scaleX(0); transform-origin: left; }
.hs__tab.is-done i::after { transform: scaleX(1); background: var(--teal-100); }
.hs__tab.is-active { color: var(--teal-900); }
.hs__tab.is-active i::after { transform: scaleX(1); }
.hs.is-playing .hs__tab.is-active i::after { transform: scaleX(0); animation: hsProgress var(--hs-dur, 7s) linear forwards; }
@keyframes hsProgress { to { transform: scaleX(1); } }
.hs__ctrl { display: flex; gap: 2px; flex: none; }
.hs__ctrl .ic-play { display: none; }
.hs.is-paused .hs__ctrl .ic-pause, .hs.is-stopped .hs__ctrl .ic-pause { display: none; }
.hs.is-paused .hs__ctrl .ic-play, .hs.is-stopped .hs__ctrl .ic-play { display: block; }
@media (max-width: 719px) {
  .hs__tab { padding: 14px 4px 14px 0; }
  .hs__tab span { display: none; }
  .hs__tab i { right: 4px; top: 50%; height: 4px; }
  .hs__content { padding-top: 56px; padding-bottom: 64px; }
  .hs__photo::before { background: linear-gradient(0deg, rgba(4, 34, 32, .96) 0%, rgba(4, 34, 32, .86) 50%, rgba(4, 34, 32, .6) 80%, rgba(4, 34, 32, .45) 100%); }
  .hs__photo { align-items: flex-end; }
}

/* ---------- Cartes des axes avec photo d'action ---------- */
.axe--photo { display: flex; flex-direction: column; justify-content: flex-end; min-height: 430px; padding: 24px; overflow: hidden; border: 0; color: #fff; isolation: isolate; }
.axe--photo:hover { color: #fff; border-color: transparent; box-shadow: var(--shadow-lg); }
.axe__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.axe--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 34, 32, .97) 0%, rgba(4, 34, 32, .9) 45%, rgba(4, 34, 32, .55) 68%, rgba(4, 34, 32, .12) 88%, rgba(4, 34, 32, .05) 100%); }
.axe--photo h3, .axe--photo p { text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
@media (max-width: 719px) { .axe--photo { min-height: 340px; } }
.axe--photo:hover .axe__bg { transform: scale(1.07); }
.axe--photo .axe__ic { position: absolute; top: 22px; left: 22px; margin: 0; background: var(--gold); color: var(--teal-900); }
.axe--photo .axe__num { color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }
.axe--photo h3 { color: #fff; }
.axe--photo p { color: rgba(255, 255, 255, .86); }
.axe__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: .82rem; font-weight: 700; color: var(--gold); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.axe:hover .axe__more, .axe:focus-visible .axe__more { opacity: 1; transform: none; }
.axe:not(.axe--photo) .axe__more { opacity: 1; transform: none; color: var(--teal); }
@media (hover: none) { .axe__more { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hs__bg, .hs__photo.is-active .hs__bg { transform: none; } }
