/* =========================================================
   Forum Santé — Destination Santé
   Feuille de style commune à toutes les pages.
   Charte : Poppins + Open Sans, bleu #002D72 / rose #E3007D / nuit #1A1A2E
   ========================================================= */

:root {
  /* Charte principale (reprise de la page d'accueil d'origine) */
  --bleu: #002D72;
  --bleu-clair: #F0F4FF;
  --rose-pale: #FADADD;
  --rose: #E3007D;
  --rose-vif: #ff5bb0;
  --nuit: #1A1A2E;
  --blanc: #FFFFFF;
  --titre: 'Poppins', sans-serif;
  --texte: 'Open Sans', sans-serif;

  /* Couleurs des 6 thématiques (extraites des pictogrammes officiels) */
  --th-mangerbouger: #1DA895;
  --th-prevention:   #6D4199;
  --th-addictions:   #E17A35;
  --th-famille:      #E3097D;
  --th-environnement:#1B50A0;
  --th-secours:      #C71E5D;

  /* Neutres */
  --encre: #17182B;
  --encre-doux: #4A4E6B;
  --trait: #E2E7F5;
  --fond-doux: #F7F9FF;

  /* Mesures */
  --header-h: 68px;
  --rayon: 18px;
  --rayon-lg: 26px;
  --max: 1160px;
  --ombre: 0 18px 50px rgba(0, 45, 114, .10);
  --ombre-forte: 0 26px 70px rgba(0, 45, 114, .18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* L'attribut `hidden` doit primer sur les `display` des composants
   (les créneaux du programme sont des grilles). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--texte);
  color: var(--encre);
  background: var(--blanc);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3, h4 { font-family: var(--titre); font-weight: 800; line-height: 1.12; color: var(--bleu); }

a { color: var(--rose); }

::selection { background: var(--rose); color: #fff; }

/* « 1ers secours » : l'exposant ne doit pas décaler la ligne de base. */
sup { font-size: .62em; line-height: 0; vertical-align: super; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 999;
  background: var(--rose); color: #fff; padding: 10px 18px;
  border-radius: 0 0 12px 12px; font-family: var(--titre); font-weight: 600;
  text-decoration: none; transition: top .2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 3px solid var(--rose-vif); outline-offset: 3px; border-radius: 6px; }

/* ---------------------------------------------------------
   Bandeau « contenus d'exemple » (mode maquette)
   --------------------------------------------------------- */
.demo-bar {
  background: repeating-linear-gradient(135deg, #2b1a34, #2b1a34 12px, #33203e 12px, #33203e 24px);
  color: #ffd8ec;
  font-size: .82rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: .01em;
}
.demo-bar strong { color: #fff; font-family: var(--titre); }

/* ---------------------------------------------------------
   En-tête / navigation
   --------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(20, 22, 44, .86);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}
/* La barre suit la même grille que le contenu (.wrap) : le logo s'aligne
   verticalement sur les titres de page, et les liens restent groupés au lieu
   de s'étirer d'un bord à l'autre sur grand écran. */
.nav {
  width: 100%; max-width: var(--max); margin: 0 auto;
  height: var(--header-h); padding: 0 20px;
  display: flex; align-items: center; gap: clamp(14px, 2vw, 32px);
}
.nav-logo {
  display: flex; align-items: center; flex: none; min-height: 44px;
  border-radius: 10px;
}
.nav-logo img { height: 38px; width: auto; display: block; }

/* Liens groupés à droite, avec un espacement régulier ; le bouton d'action
   est détaché du groupe pour rester identifiable comme action principale. */
.nav-links {
  list-style: none; display: flex; align-items: center;
  flex: 1 1 auto; justify-content: flex-end;
  gap: clamp(2px, .7vw, 8px); margin: 0;
}
.nav-links a {
  position: relative; display: block;
  padding: 10px 13px; border-radius: 10px;
  color: rgba(255, 255, 255, .78); text-decoration: none;
  font-family: var(--titre); font-weight: 600; font-size: .92rem;
  white-space: nowrap; transition: background .18s ease, color .18s ease;
}
.nav-links a:hover { background: rgba(255, 255, 255, .10); color: #fff; }

/* La page courante est signalée par un trait fin plutôt qu'une pastille
   pleine : plus lisible, et cohérent avec les filtres du site. */
.nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"]::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px;
  height: 2px; border-radius: 2px; background: var(--rose);
}

.nav-links li:last-child { margin-left: clamp(6px, 1.4vw, 18px); }

/* Entre le seuil mobile et 1200px, les sept liens plus le bouton deviennent
   serrés : on resserre l'habillage sans toucher à la hauteur des cibles. */
@media (min-width: 1081px) and (max-width: 1200px) {
  .nav-links a { padding-left: 9px; padding-right: 9px; font-size: .875rem; }
  .nav-cta { padding: 10px 14px !important; }
}
.nav-cta {
  flex: none; background: var(--rose); color: #fff !important;
  padding: 10px 18px !important; border-radius: 999px;
  box-shadow: 0 8px 22px rgba(227, 0, 125, .38);
}
.nav-cta:hover { background: #ff2a96; }
.nav-cta[aria-current="page"]::after { display: none; }

/* Sur le bleu nuit de la barre, un contour blanc se voit mieux que le rose :
   le repère clavier reste lisible d'un bout à l'autre du menu. */
.nav a:focus-visible,
.nav-burger:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.nav-burger {
  margin-left: auto; display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18);
  color: #fff; cursor: pointer;
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
  display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px;
  margin: 0 auto; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-burger span::before,
.nav-burger span::after { content: ""; position: absolute; left: 0; }
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-burger { display: block; }
  .nav-links {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #14162c; padding: 14px 18px 22px; margin-left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .45);
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px; font-size: 1rem; border-radius: 12px; }
  .nav-cta { text-align: center; margin-top: 8px; }

  /* Dans un menu vertical, un trait sous le lien se lit comme un séparateur.
     La page courante est donc marquée par une barre à gauche. */
  .nav-links a[aria-current="page"] {
    background: rgba(255, 255, 255, .07); padding-left: 22px;
  }
  .nav-links a[aria-current="page"]::after {
    left: 0; right: auto; top: 10px; bottom: 10px;
    width: 3px; height: auto; border-radius: 0 3px 3px 0;
  }
  .nav-links li:last-child { margin-left: 0; }
}

/* ---------------------------------------------------------
   Blocs génériques
   --------------------------------------------------------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap-lg { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

.section { padding: clamp(52px, 8vw, 96px) 0; }
.section--doux { background: var(--fond-doux); }
.section--bleu { background: var(--bleu-clair); }
.section--nuit { background: var(--nuit); color: rgba(255, 255, 255, .84); }
.section--nuit h2, .section--nuit h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--titre); font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .72rem; color: var(--rose);
  margin-bottom: 12px;
}
.section--nuit .eyebrow { color: var(--rose-vif); }

h1.page-title { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2.2vw, 1.35rem); }

.lead { font-size: clamp(1rem, 1.9vw, 1.14rem); color: var(--encre-doux); }
.section--nuit .lead { color: rgba(255, 255, 255, .78); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--titre); font-weight: 700; font-size: .95rem;
  padding: 14px 26px; border-radius: 999px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-rose { background: var(--rose); color: #fff; box-shadow: 0 12px 30px rgba(227, 0, 125, .34); }
.btn-rose:hover { background: #ff1f93; }
.btn-bleu { background: var(--bleu); color: #fff; box-shadow: 0 12px 30px rgba(0, 45, 114, .28); }
.btn-ghost { background: transparent; color: var(--bleu); border-color: rgba(0, 45, 114, .28); }
.btn-ghost:hover { background: rgba(0, 45, 114, .06); }
.section--nuit .btn-ghost,
.hero .btn-ghost,
.page-hero .btn-ghost,
.cta-band .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .06); }
.section--nuit .btn-ghost:hover,
.hero .btn-ghost:hover,
.page-hero .btn-ghost:hover,
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.grid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--trait);
  border-radius: var(--rayon-lg); padding: clamp(20px, 2.6vw, 30px);
  box-shadow: var(--ombre);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--encre-doux); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--titre); font-weight: 600; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 5px 12px; border-radius: 999px;
  background: var(--bleu-clair); color: var(--bleu);
}
.tag--rose { background: var(--rose-pale); color: #a6005c; }

/* ---------------------------------------------------------
   Page hero (pages intérieures)
   --------------------------------------------------------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: clamp(46px, 7vw, 82px) 0 clamp(40px, 6vw, 70px);
  background:
    radial-gradient(900px 420px at 12% -30%, rgba(227, 0, 125, .34), transparent 62%),
    radial-gradient(800px 500px at 92% 120%, rgba(0, 45, 114, .75), transparent 58%),
    linear-gradient(150deg, #1A1A2E 0%, #15203f 55%, #002D72 100%);
  color: #fff;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .07) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, transparent 85%);
          mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, transparent 85%);
  pointer-events: none;
}
.page-hero > .wrap { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 640px; margin-top: 14px; }

.breadcrumb {
  font-size: .8rem; color: rgba(255, 255, 255, .6);
  margin-bottom: 8px;
}
.breadcrumb a { color: rgba(255, 255, 255, .75); text-decoration: none; display: inline-block; padding: 9px 0; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb span { margin: 0 7px; opacity: .5; }

/* ---------------------------------------------------------
   Accueil — hero (repris de la page d'origine)
   --------------------------------------------------------- */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: clamp(26px, 4vh, 48px) 24px clamp(18px, 2.4vh, 28px);
  background:
    radial-gradient(1200px 640px at 50% -12%, rgba(227, 0, 125, .30), transparent 60%),
    radial-gradient(960px 560px at 90% 118%, rgba(0, 45, 114, .65), transparent 55%),
    linear-gradient(155deg, #1A1A2E 0%, #15203f 52%, #002D72 100%);
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .06) 1.1px, transparent 1.1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 40%, transparent 80%);
          mask-image: radial-gradient(120% 90% at 50% 30%, #000 40%, transparent 80%);
  pointer-events: none; z-index: 1;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.blob.rose { width: 420px; height: 420px; background: var(--rose); top: -140px; left: -120px; opacity: .34; }
.blob.teal { width: 320px; height: 320px; background: #2a9d8f; bottom: 40px; right: -110px; opacity: .20; }
.blob.bleu { width: 360px; height: 360px; background: #3b5bdb; bottom: -120px; left: 8%; opacity: .20; }

.hero-inner {
  position: relative; z-index: 3;
  width: 100%; max-width: 920px; text-align: center;
  flex: 1 1 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: clamp(10px, 1.8vh, 20px);
}
.hero-logo {
  width: min(440px, 82vw); max-height: 20vh; height: auto; object-fit: contain;
  display: block; margin-bottom: clamp(6px, 1.4vh, 16px);
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, .4));
}

.datecard { display: inline-flex; align-items: center; gap: clamp(14px, 2.5vw, 24px); }
.datecard .day {
  font-family: var(--titre); font-weight: 900;
  font-size: clamp(3rem, 8vh, 5rem); line-height: .82;
  background: linear-gradient(180deg, #fff 0%, #ffd3ea 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 6px 30px rgba(227, 0, 125, .25);
}
.datecard .rest { text-align: left; border-left: 3px solid var(--rose); padding-left: clamp(12px, 2vw, 18px); }
.datecard .dow {
  font-family: var(--titre); font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--rose-vif); font-size: clamp(.72rem, 1.7vw, .95rem);
}
.datecard .moy {
  font-family: var(--titre); font-weight: 800; color: #fff;
  letter-spacing: .04em; font-size: clamp(1.2rem, 3.4vw, 1.9rem); line-height: 1.1;
}
.datecard .hrs {
  color: rgba(255, 255, 255, .75); font-family: var(--titre); font-weight: 600;
  letter-spacing: .14em; font-size: clamp(.78rem, 1.8vw, 1rem); margin-top: 2px;
}

.where {
  color: rgba(255, 255, 255, .82); font-size: clamp(.85rem, 2vw, 1.02rem);
  display: flex; align-items: flex-start; justify-content: center; gap: 8px;
}
.where > span { text-align: center; }
.where .nb { white-space: nowrap; }
.where svg { width: 16px; height: 16px; fill: var(--rose-vif); flex: none; margin-top: 4px; }

.pills { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.pill {
  font-family: var(--titre); font-weight: 600;
  font-size: clamp(.74rem, 1.8vw, .92rem);
  padding: 8px 18px; border-radius: 999px; letter-spacing: .02em;
}
.pill-rose { background: var(--rose); color: #fff; box-shadow: 0 8px 24px rgba(227, 0, 125, .35); }
.pill-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .22); }

.mantra {
  color: rgba(255, 255, 255, .85); font-family: var(--titre); font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  font-size: clamp(.7rem, 1.8vw, .92rem);
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
}
.mantra .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); display: inline-block; }

.countdown { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.cd-box {
  background: linear-gradient(180deg, rgba(255, 255, 255, .10), rgba(255, 255, 255, .04));
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 16px;
  padding: clamp(8px, 1.3vh, 13px) clamp(10px, 2vw, 18px) clamp(6px, 1vh, 10px);
  min-width: clamp(68px, 15vw, 88px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}
.cd-num {
  font-family: var(--titre); font-weight: 800;
  font-size: clamp(1.4rem, 3.8vh, 2.2rem); color: #fff; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cd-lbl { margin-top: 6px; color: rgba(255, 255, 255, .6); font-size: .64rem; text-transform: uppercase; letter-spacing: .14em; }

.countdown-note {
  font-family: var(--titre); font-weight: 600;
  font-size: clamp(.92rem, 2.2vw, 1.1rem); color: #fff;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px; padding: 12px 26px; max-width: 620px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.scroll-hint {
  position: relative; z-index: 3;
  margin-top: clamp(14px, 2.4vh, 26px);
  color: rgba(255, 255, 255, .55); text-decoration: none;
  font-family: var(--titre); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .18em;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
}
.scroll-hint:hover { color: #fff; }
.scroll-hint svg { width: 18px; height: 18px; fill: currentColor; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------------------------------------------------------
   Chiffres clés
   --------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat {
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 22px 18px; text-align: center; box-shadow: var(--ombre);
}
.stat b {
  display: block; font-family: var(--titre); font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 2.7rem); color: var(--rose); line-height: 1;
}
.stat span {
  display: block; margin-top: 8px; font-size: .84rem; color: var(--encre-doux);
  text-transform: uppercase; letter-spacing: .08em; font-family: var(--titre); font-weight: 600;
}

/* ---------------------------------------------------------
   Thématiques
   --------------------------------------------------------- */
.theme-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 2vw, 22px); }
/* Six thématiques : deux rangées de trois, plutôt qu'un 4 + 2 déséquilibré. */
@media (min-width: 980px) { .theme-grid { grid-template-columns: repeat(3, 1fr); } }
.theme-card {
  position: relative; display: block; text-decoration: none; color: inherit;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-lg);
  padding: 26px 24px 24px; overflow: hidden;
  box-shadow: var(--ombre);
  transition: transform .18s ease, box-shadow .18s ease;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }
.theme-card::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: var(--accent, var(--rose));
}
.theme-card .picto {
  width: 62px; height: 62px; border-radius: 16px; display: block;
  margin-bottom: 16px; box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}
.theme-card h3 { color: var(--bleu); margin-bottom: 8px; }
.theme-card p { color: var(--encre-doux); font-size: .95rem; }
.theme-card .more {
  display: inline-block; margin-top: 14px;
  font-family: var(--titre); font-weight: 700; font-size: .85rem;
  color: var(--accent, var(--rose));
}

.theme-block {
  display: grid; grid-template-columns: 96px 1fr; gap: clamp(18px, 3vw, 30px);
  align-items: start;
  padding: clamp(24px, 3.4vw, 36px);
  background: #fff; border: 1px solid var(--trait);
  border-left: 6px solid var(--accent, var(--rose));
  border-radius: var(--rayon-lg); box-shadow: var(--ombre);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.theme-block img.picto { width: 96px; height: 96px; border-radius: 20px; display: block; }
.theme-block h2 { color: var(--accent, var(--bleu)); font-size: clamp(1.4rem, 3vw, 1.9rem); }
.theme-block .kicker {
  font-family: var(--titre); font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .16em; color: var(--encre-doux); margin-bottom: 6px;
}
.theme-block ul { margin: 16px 0 0; padding-left: 0; list-style: none; display: grid; gap: 8px; }
.theme-block ul li { position: relative; padding-left: 26px; color: var(--encre-doux); }
.theme-block ul li::before {
  content: ""; position: absolute; left: 6px; top: .62em;
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--rose));
}
.theme-block ul li strong { color: var(--bleu); font-weight: 600; }
.theme-block .theme-link { margin-top: 18px; }
.theme-block .theme-link a {
  font-family: var(--titre); font-weight: 700; font-size: .88rem;
  color: var(--accent, var(--rose)); text-decoration: none;
}
.theme-block .theme-link a:hover { text-decoration: underline; }
@media (max-width: 620px) {
  .theme-block { grid-template-columns: 1fr; }
  .theme-block img.picto { width: 72px; height: 72px; }
}

/* ---------------------------------------------------------
   Programme (timeline)
   --------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-btn {
  font-family: var(--titre); font-weight: 600; font-size: .85rem;
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--bleu); border: 1px solid var(--trait);
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.filter-btn:hover { border-color: var(--rose); color: var(--rose); }
.filter-btn[aria-pressed="true"] { background: var(--bleu); color: #fff; border-color: var(--bleu); }

.timeline { position: relative; display: grid; gap: 14px; }
.timeline::before {
  content: ""; position: absolute; left: 96px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--rose), rgba(0, 45, 114, .25));
}
.slot {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 40px;
  align-items: start;
}
.slot .hour {
  font-family: var(--titre); font-weight: 800; font-size: 1.05rem;
  color: var(--bleu); text-align: right; padding-top: 15px;
  font-variant-numeric: tabular-nums;
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
}
.slot .hour small { font-weight: 600; font-size: .8rem; color: var(--encre-doux); }
.slot .body {
  position: relative;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 18px 22px; box-shadow: var(--ombre);
}
.slot .body::before {
  content: ""; position: absolute; left: -28px; top: 22px;
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 3px solid var(--accent, var(--rose));
}
.slot h3 { font-size: 1.05rem; margin-bottom: 6px; }
.slot .speaker { font-family: var(--titre); font-weight: 700; font-size: .92rem; color: var(--rose); }
.slot .speaker-detail { font-size: .88rem; color: var(--encre-doux); font-style: italic; }
.slot p { color: var(--encre-doux); }
.slot .meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  margin-top: 10px; font-size: .82rem; color: var(--encre-doux);
}
.slot .meta .dot-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--titre); font-weight: 600;
}
.slot .meta .dot-tag::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent, var(--rose));
}
@media (max-width: 620px) {
  .timeline::before { left: 7px; }
  .slot { grid-template-columns: 1fr; gap: 6px; padding-left: 30px; }
  .slot .hour { text-align: left; padding-top: 0; }
  .slot .body::before { left: -30px; top: 18px; }
}

/* ---------------------------------------------------------
   Exposants
   --------------------------------------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  margin-bottom: 22px;
}
.search-field { position: relative; flex: 1 1 260px; }
.search-field svg {
  position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; fill: var(--encre-doux); pointer-events: none;
}
.search-field input {
  width: 100%; font-family: var(--texte); font-size: .95rem;
  padding: 13px 16px 13px 44px; border-radius: 999px;
  border: 1px solid var(--trait); background: #fff; color: var(--encre);
}
.search-field input:focus { outline: 3px solid rgba(227, 0, 125, .3); outline-offset: 1px; border-color: var(--rose); }

.count-info { font-size: .88rem; color: var(--encre-doux); margin-bottom: 18px; }

.expo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.expo-card {
  display: grid; grid-template-columns: 42px 1fr; gap: 16px; align-items: start;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 18px 20px; box-shadow: 0 10px 26px rgba(0, 45, 114, .07);
  border-left: 5px solid var(--accent, var(--rose));
}
.expo-card .expo-num {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--accent, var(--rose)); color: #fff;
  font-family: var(--titre); font-weight: 800; font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.expo-card h3 { font-size: 1.02rem; color: var(--bleu); margin-bottom: 4px; }
.expo-card p { font-size: .88rem; color: var(--encre-doux); }
.expo-card .expo-theme {
  display: inline-block; margin-top: 10px;
  font-family: var(--titre); font-weight: 700; font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent, var(--rose));
}
.empty-state {
  text-align: center; padding: 50px 20px; color: var(--encre-doux);
  border: 1px dashed var(--trait); border-radius: var(--rayon-lg); background: #fff;
}

/* ---------------------------------------------------------
   Infos pratiques
   --------------------------------------------------------- */
.info-list { list-style: none; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info-list .ico {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--bleu-clair);
}
.info-list .ico svg { width: 21px; height: 21px; fill: var(--bleu); }
.info-list strong { display: block; font-family: var(--titre); color: var(--bleu); }
.info-list span { color: var(--encre-doux); font-size: .95rem; }
.info-list a, .map-note a { display: inline-block; padding: 9px 0; }

.map-frame {
  border: 0; width: 100%; height: 100%; min-height: 340px;
  border-radius: var(--rayon-lg); display: block; filter: saturate(1.05);
}
.map-shell {
  border-radius: var(--rayon-lg); overflow: hidden;
  border: 1px solid var(--trait); box-shadow: var(--ombre); background: var(--bleu-clair);
}
.map-col { display: flex; flex-direction: column; }
.map-col .map-shell { flex: 1 1 auto; }
.map-note { margin-top: 10px; font-size: .85rem; color: var(--encre-doux); }

details.faq {
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 4px 22px; box-shadow: 0 8px 22px rgba(0, 45, 114, .06);
}
details.faq + details.faq { margin-top: 10px; }
details.faq summary {
  cursor: pointer; list-style: none; padding: 16px 30px 16px 0; position: relative;
  font-family: var(--titre); font-weight: 700; color: var(--bleu);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--rose); line-height: 1;
}
details.faq[open] summary::after { content: "–"; }
details.faq p { padding-bottom: 18px; color: var(--encre-doux); }

/* ---------------------------------------------------------
   Ressources / téléchargements
   --------------------------------------------------------- */
.doc-card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-lg);
  padding: 22px; box-shadow: var(--ombre);
}
.doc-card .doc-thumb {
  display: block; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--trait); background: var(--bleu-clair);
  box-shadow: 0 12px 30px rgba(0, 45, 114, .16);
  transition: transform .18s ease, box-shadow .18s ease;
}
.doc-card .doc-thumb:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.doc-card .doc-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1.414; }
.doc-card .doc-format {
  font-family: var(--titre); font-weight: 700; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--rose); margin-top: 4px;
}
.doc-card h3 { font-size: 1.1rem; }
.doc-card p { color: var(--encre-doux); font-size: .92rem; flex: 1 1 auto; }
.doc-card .btn { align-self: flex-start; }
.doc-card .soon {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--bleu-clair); color: var(--encre-doux);
  font-family: var(--titre); font-weight: 600; font-size: .88rem;
}

/* ---------------------------------------------------------
   Bandeau photo (collage de l'affiche)
   --------------------------------------------------------- */
.photo-band {
  position: relative; overflow: hidden;
  border-radius: var(--rayon-lg);
  aspect-ratio: 21 / 8; min-height: 220px;
  background: linear-gradient(150deg, #2b1a56, #7c1a63);
}
.photo-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
}
.photo-band figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 46px 26px 20px; text-align: center; color: #fff;
  font-family: var(--titre); font-weight: 600; font-size: clamp(.9rem, 2.2vw, 1.1rem);
  background: linear-gradient(180deg, transparent, rgba(26, 26, 46, .78));
}
@media (max-width: 620px) {
  .photo-band { aspect-ratio: 4 / 3; }
  .photo-band img { object-position: center 18%; }
}

/* ---------------------------------------------------------
   Plan du forum
   --------------------------------------------------------- */
.plan-figure { margin: 0; }
.plan-figure a {
  display: block; border-radius: var(--rayon-lg); overflow: hidden;
  border: 1px solid var(--trait); box-shadow: var(--ombre);
  background: var(--bleu-clair);
  transition: transform .18s ease, box-shadow .18s ease;
}
.plan-figure a:hover { transform: translateY(-3px); box-shadow: var(--ombre-forte); }
.plan-figure img { display: block; width: 100%; height: auto; }
.plan-figure figcaption { margin-top: 12px; font-size: .86rem; color: var(--encre-doux); }

/* ---------------------------------------------------------
   Transport / bloc mis en avant
   --------------------------------------------------------- */
.highlight-card {
  background: var(--rose-pale); border: 1px solid #f4c3cd;
  border-radius: var(--rayon-lg); padding: clamp(22px, 3vw, 30px);
}
.highlight-card h3 { color: #a6005c; }
.highlight-card p { color: #6d2440; }
.highlight-card .logo-tub { height: 48px; width: auto; margin-bottom: 16px; display: block; }
.highlight-card a { color: #a6005c; }

/* ---------------------------------------------------------
   Teaser vidéo
   --------------------------------------------------------- */
.video-block {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 620px);
  gap: clamp(20px, 4vw, 52px); align-items: center; justify-content: center;
}
.video-block video {
  width: 100%; height: auto; display: block;
  border-radius: var(--rayon-lg);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .4);
  background: #14162c;
}
@media (max-width: 760px) {
  .video-block { grid-template-columns: 1fr; }
  .video-block video { max-width: 320px; margin: 0 auto; }
}

.card-foot { margin-top: 14px; }

/* ---------------------------------------------------------
   Liste d'étapes numérotées
   --------------------------------------------------------- */
.steps { list-style: none; counter-reset: etape; display: grid; gap: 16px; }
.steps li {
  counter-increment: etape;
  position: relative; padding-left: 52px;
  color: var(--encre-doux);
}
.steps li::before {
  content: counter(etape);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rose); color: #fff;
  font-family: var(--titre); font-weight: 800; font-size: .95rem;
}
.steps li strong { color: var(--bleu); }
.section--nuit .steps li { color: rgba(255, 255, 255, .78); }
.section--nuit .steps li strong { color: #fff; }

/* ---------------------------------------------------------
   Quiz
   --------------------------------------------------------- */
.quiz-carte {
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-lg);
  padding: clamp(22px, 3.4vw, 34px); box-shadow: var(--ombre);
}
.quiz-progress { margin-bottom: 22px; }
.quiz-progress-bar { height: 6px; border-radius: 999px; background: var(--bleu-clair); overflow: hidden; }
.quiz-progress-bar span {
  display: block; height: 100%; border-radius: 999px;
  background: linear-gradient(90deg, var(--bleu), var(--rose));
  transition: width .3s ease;
}
.quiz-progress-txt {
  margin-top: 10px; font-family: var(--titre); font-weight: 600; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--encre-doux);
}
.quiz-question { font-size: clamp(1.15rem, 2.6vw, 1.5rem); margin-bottom: 22px; }

.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  text-align: left; font-family: var(--texte); font-size: 1rem; color: var(--encre);
  background: var(--fond-doux); border: 1px solid var(--trait);
  border-radius: 14px; padding: 15px 18px; cursor: pointer;
  transition: border-color .14s ease, background .14s ease;
}
.quiz-option:hover:not(:disabled) { border-color: var(--rose); background: #fff; }
.quiz-option:disabled { cursor: default; }
.quiz-option.is-juste { border-color: #1DA895; background: #e7f7f4; font-weight: 600; }
.quiz-option.is-juste::after { content: " ✓"; color: #12786a; font-weight: 700; }
.quiz-option.is-faux { border-color: #C71E5D; background: #fdeaf1; }
.quiz-option.is-faux::after { content: " ✕"; color: #C71E5D; font-weight: 700; }

.quiz-retour {
  margin-top: 20px; padding: 18px 20px; border-radius: 14px;
  background: var(--rose-pale); color: #6d2440;
}
.quiz-retour.is-juste { background: #e7f7f4; color: #14584f; }
.quiz-verdict { font-family: var(--titre); font-weight: 800; margin-bottom: 6px; }
.quiz-retour p + p { margin-top: 8px; }
.quiz-stand { font-size: .92rem; }
.quiz-carte .btn-row { margin-top: 22px; }

/* ----- Étape de profil ----- */
.quiz-profil-intro { color: var(--encre-doux); font-size: .95rem; margin-bottom: 26px; }
.quiz-champ { margin-bottom: 20px; }
.quiz-champ label, .quiz-radios legend {
  display: block; margin-bottom: 8px;
  font-family: var(--titre); font-weight: 700; font-size: .92rem; color: var(--bleu);
}
.quiz-champ input:not([type="radio"]):not([type="checkbox"]),
.quiz-champ select {
  width: 100%; font-family: var(--texte); font-size: 1rem; color: var(--encre);
  padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--trait); background: var(--fond-doux);
}
.quiz-champ input:focus, .quiz-champ select:focus {
  outline: 3px solid rgba(227, 0, 125, .3); outline-offset: 1px; border-color: var(--rose);
}
.quiz-champ--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .quiz-champ--duo { grid-template-columns: 1fr; } }
.quiz-radios { border: 0; display: grid; gap: 10px; }
.quiz-radios label {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--texte); font-weight: 400; font-size: 1rem; color: var(--encre);
  padding: 12px 15px; border: 1px solid var(--trait); border-radius: 12px;
  background: var(--fond-doux); cursor: pointer;
}
.quiz-radios label:hover { border-color: var(--rose); }
.quiz-radios input { accent-color: var(--rose); width: 18px; height: 18px; }
.quiz-erreur {
  color: #a6005c; background: var(--rose-pale); border-radius: 12px;
  padding: 12px 16px; font-size: .92rem;
}

/* ----- Formulaires de fin de quiz ----- */
.quiz-formulaire {
  margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--trait);
  text-align: left;
}
.quiz-formulaire h3 { font-size: 1.15rem; margin-bottom: 8px; }
.quiz-case {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; margin-bottom: 18px;
  background: var(--bleu-clair); border-radius: 12px;
  font-size: .95rem; color: var(--encre); cursor: pointer;
}
.quiz-case input { accent-color: var(--rose); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.quiz-rgpd { font-size: .82rem; color: var(--encre-doux); margin-bottom: 18px; }
.quiz-bloc-contact { margin-top: 4px; }

.quiz-coche {
  width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 50%;
  display: grid; place-items: center;
  background: #e7f7f4; color: #12786a;
  font-size: 1.8rem; font-weight: 700;
}

.quiz-badge {
  display: inline-block; margin-bottom: 12px;
  font-family: var(--titre); font-weight: 700; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .14em;
  color: #fff; background: var(--rose); padding: 6px 14px; border-radius: 999px;
}
.quiz-verrou { font-size: 2.4rem; margin-bottom: 10px; }

.quiz-final { text-align: center; }
.quiz-score {
  font-family: var(--titre); font-weight: 600; font-size: 1.1rem; color: var(--encre-doux);
  margin-bottom: 10px;
}
.quiz-score strong { font-size: clamp(2.6rem, 8vw, 3.6rem); color: var(--rose); display: block; line-height: 1; }
.quiz-final h2 { margin-bottom: 10px; }
.quiz-final .lead { margin: 0 auto; max-width: 480px; }
.quiz-final .btn-row { justify-content: center; }
.quiz-rappel {
  margin: 24px 0 0; padding: 20px 22px; text-align: left;
  background: var(--bleu-clair); border-radius: 14px; color: var(--encre-doux);
}
.quiz-rappel strong { color: var(--bleu); }

/* ---------------------------------------------------------
   Outil interne de tirage au sort
   --------------------------------------------------------- */
.nav-outil {
  margin-left: auto; color: rgba(255, 255, 255, .7);
  font-family: var(--titre); font-weight: 600; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .12em;
}
.tirage-avert {
  background: var(--rose-pale); border-radius: var(--rayon);
  padding: 16px 20px; margin-bottom: 24px; color: #6d2440; font-size: .92rem;
}
.tirage-avert strong { color: #a6005c; }

.tirage-carte {
  background: #fff; border: 1px solid var(--trait); border-radius: var(--rayon-lg);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--ombre); margin-bottom: 20px;
}
.tirage-carte h2 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); margin-bottom: 8px; }
.tirage-carte h3 { margin: 26px 0 12px; }
.tirage-aide { color: var(--encre-doux); font-size: .95rem; margin-bottom: 20px; }

.tirage-depot {
  display: block; text-align: center; cursor: pointer;
  border: 2px dashed var(--trait); border-radius: var(--rayon);
  padding: 34px 20px; background: var(--fond-doux); color: var(--encre-doux);
  transition: border-color .16s ease, background .16s ease;
}
.tirage-depot:hover, .tirage-depot.is-actif { border-color: var(--rose); background: #fff; }
.tirage-depot strong { color: var(--bleu); font-family: var(--titre); }
.tirage-depot input { display: block; margin: 14px auto 0; font-size: .9rem; }

.tirage-coller { margin-top: 18px; }
.tirage-coller summary {
  cursor: pointer; font-family: var(--titre); font-weight: 600; font-size: .9rem; color: var(--bleu);
}
.tirage-coller textarea {
  width: 100%; margin-top: 12px; font-family: ui-monospace, monospace; font-size: .85rem;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--trait); background: var(--fond-doux);
}

.tirage-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.tirage-grille .tirage-large { grid-column: 1 / -1; }
.tirage-grille label {
  display: block; margin-bottom: 6px;
  font-family: var(--titre); font-weight: 700; font-size: .84rem; color: var(--bleu);
}
.tirage-grille select, .tirage-grille input {
  width: 100%; font-family: var(--texte); font-size: .95rem; color: var(--encre);
  padding: 11px 13px; border-radius: 12px; border: 1px solid var(--trait); background: var(--fond-doux);
}
.tirage-grille small { display: block; margin-top: 6px; color: var(--encre-doux); font-size: .8rem; }

.tirage-compte {
  margin-top: 20px; padding: 14px 18px; border-radius: 12px;
  background: var(--bleu-clair); color: var(--bleu); font-size: .95rem;
}
.tirage-compte strong { font-family: var(--titre); font-size: 1.15rem; }
.tirage-note { display: block; margin-top: 8px; color: #6d2440; font-size: .86rem; }
.tirage-doublons { margin-top: 10px; font-size: .88rem; }
.tirage-doublons summary { cursor: pointer; font-family: var(--titre); font-weight: 600; }
.tirage-doublons ul { margin: 10px 0 0 18px; }
.tirage-doublons li { margin-bottom: 4px; }
.tirage-erreur {
  margin-top: 16px; padding: 12px 16px; border-radius: 12px;
  background: var(--rose-pale); color: #a6005c; font-size: .92rem;
}

.tirage-resultat { border-left: 6px solid var(--rose); }
.tirage-resultat code {
  background: var(--bleu-clair); padding: 2px 7px; border-radius: 6px; font-size: .88em;
}
.tirage-table-enveloppe { overflow-x: auto; }
.tirage-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tirage-table th, .tirage-table td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--trait); white-space: nowrap;
}
.tirage-table th {
  font-family: var(--titre); font-size: .76rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--encre-doux);
}
.tirage-table tbody tr:nth-child(odd) { background: var(--fond-doux); }
.tirage-notice { background: var(--fond-doux); box-shadow: none; }

@media print {
  .tirage-avert, .tirage-notice, .tirage-depot, .tirage-coller, .btn-row { display: none !important; }
  .tirage-carte { break-inside: avoid; }
}

/* ---------------------------------------------------------
   Appel à l'action large
   --------------------------------------------------------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--rayon-lg);
  padding: clamp(30px, 5vw, 56px);
  background:
    radial-gradient(700px 300px at 10% -40%, rgba(227, 0, 125, .45), transparent 60%),
    linear-gradient(150deg, #1A1A2E, #002D72);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .78); max-width: 620px; margin: 12px auto 0; }
.cta-band .btn-row { justify-content: center; margin-top: 24px; }

/* ---------------------------------------------------------
   Financeurs + pied de page
   --------------------------------------------------------- */
.financeurs { text-align: center; }
.fin-label {
  color: var(--encre-doux); font-family: var(--titre); font-weight: 600;
  text-transform: uppercase; letter-spacing: .18em; font-size: .68rem;
  margin-bottom: 16px; display: block;
}
.fin-logos { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.fin-chip {
  background: #fff; border-radius: 10px; padding: 10px 16px; height: 62px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--trait); box-shadow: 0 6px 18px rgba(0, 45, 114, .08);
}
.fin-chip img { height: 38px; width: auto; display: block; }

.hero .financeurs { position: relative; z-index: 3; width: 100%; max-width: 1080px; margin-top: clamp(16px, 2.8vh, 30px); }
.hero .fin-label { color: rgba(255, 255, 255, .5); }
.hero .fin-chip { height: clamp(40px, 6.5vh, 54px); padding: 8px 14px; border: 0; box-shadow: 0 4px 16px rgba(0, 0, 0, .22); }
.hero .fin-chip img { height: clamp(24px, 4vh, 34px); }
.hero .fin-logos { gap: 10px; }

.site-footer {
  background: var(--nuit); color: rgba(255, 255, 255, .7);
  padding: clamp(40px, 6vw, 64px) 0 26px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer img.f-logo { width: 190px; height: auto; margin-bottom: 16px; }
.site-footer h4 {
  color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 14px;
}
.site-footer ul { list-style: none; display: grid; gap: 2px; }
.site-footer a { color: rgba(255, 255, 255, .72); text-decoration: none; font-size: .92rem; }
.site-footer ul a { display: inline-block; padding: 9px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer p { font-size: .92rem; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18);
  transition: background .16s ease;
}
.socials a:hover { background: var(--rose); border-color: var(--rose); }
.socials svg { width: 17px; height: 17px; fill: #fff; }
.footer-bottom {
  margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12);
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  font-size: .82rem; color: rgba(255, 255, 255, .5);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------
   Apparition au défilement
   --------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint svg { animation: none; }
  .btn:hover, .theme-card:hover { transform: none; }
}

/* ---------------------------------------------------------
   Accueil — adaptations mobile du hero (reprises de l'original)
   --------------------------------------------------------- */
@media (max-width: 600px) {
  .hero { padding: 22px 16px 18px; }
  .hero-inner { gap: clamp(13px, 2.4vh, 22px); }
  .hero-logo { width: min(420px, 72vw); max-height: 20vh; }
  .datecard { gap: 14px; }
  .datecard .day { font-size: clamp(3rem, 16vw, 4.2rem); }
  .datecard .rest { padding-left: 12px; }
  .where { display: block; font-size: .82rem; line-height: 1.35; }
  .where svg { display: inline-block; vertical-align: -0.18em; margin: 0 6px 0 0; }
  .where > span { display: inline; }
  .pills { gap: 8px; }
  .pill { padding: 7px 14px; font-size: .74rem; }
  .mantra { font-size: .68rem; gap: 10px; }
  .countdown { gap: 8px; }
  .cd-box { min-width: 62px; padding: 9px 8px 7px; border-radius: 13px; }
  .cd-num { font-size: 1.5rem; }
  .cd-lbl { font-size: .58rem; }
  .hero .fin-logos { gap: 7px; }
  .hero .fin-chip { height: 36px; padding: 6px 9px; }
  .hero .fin-chip img { height: 20px; }
  .fin-chip { height: 54px; padding: 8px 12px; }
  .fin-chip img { height: 30px; }
}

/* ---------------------------------------------------------
   Ajustements mobile transverses
   --------------------------------------------------------- */
@media (max-width: 700px) {
  :root { --header-h: 60px; }

  /* Filtres plus compacts : 3 à 4 rangées au lieu de 7. */
  .filters { gap: 7px; margin-bottom: 20px; }
  .filter-btn { padding: 9px 13px; font-size: .8rem; }

  .theme-block { padding: 22px 20px; }
  .expo-card { padding: 16px 18px; gap: 13px; }
  .doc-card { padding: 18px; }
  .highlight-card { padding: 22px 20px; }
  .cta-band { padding: 28px 22px; }
  .steps li { padding-left: 46px; }

  /* Les boutons pleine largeur sont plus faciles à viser au pouce. */
  .btn-row .btn { flex: 1 1 220px; }
  .page-hero .btn-row .btn { flex: 1 1 100%; }
}

/* Impression : version lisible du programme */
@media print {
  .site-header, .site-footer, .demo-bar, .scroll-hint, .filters, .toolbar, .cta-band { display: none !important; }
  body { color: #000; background: #fff; }
  .card, .slot .body, .theme-block { box-shadow: none; border: 1px solid #ccc; }
}

/* ----- Quiz : questions à plusieurs bonnes réponses ----- */
.quiz-consigne {
  margin: 0 0 12px; font-size: .92rem; font-weight: 600; color: var(--rose);
}
.quiz-option.is-cochee {
  border-color: var(--rose); background: color-mix(in srgb, var(--rose) 10%, #fff);
  box-shadow: inset 0 0 0 1px var(--rose);
}
.quiz-option.is-cochee::after {
  content: "✓"; margin-left: auto; font-weight: 700; color: var(--rose);
}

/* Rappel de la règle du jeu quand le score n'ouvre pas droit au tirage. */
.quiz-rappel--exclu {
  border-left: 3px solid var(--rose);
  background: color-mix(in srgb, var(--rose) 7%, #fff);
}
