/* Polices auto-hébergées (fontsource) — Overpass (titres, panneaux), Atkinson Hyperlegible (texte), JetBrains Mono (prix, compteurs) */
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/overpass-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/overpass-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/overpass-latin-ext-900-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Overpass"; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/overpass-latin-900-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Overpass"; font-style: italic; font-weight: 900; font-display: swap; src: url(/fonts/overpass-latin-ext-900-italic.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Overpass"; font-style: italic; font-weight: 900; font-display: swap; src: url(/fonts/overpass-latin-900-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/jetbrains-mono-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/jetbrains-mono-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================
   Objectif Réussite 93 — v1
   Univers : la route de l'examen. Asphalte, ligne blanche discontinue,
   enseigne de toit (= menu), panneaux de signalisation, bornes kilométriques,
   feuille d'évaluation de l'inspecteur, tampon « ADMIS ».
   Le visiteur fait le parcours : chaque section est une étape de la route,
   une Clio vue de dessus avance avec le scroll.
   ========================================================== */

:root {
  /* Couleurs de l'univers */
  --asphalte: #1e2126;        /* fonds sombres, sections fortes */
  --asphalte-clair: #2a2e35;  /* cartes sur fond sombre */
  --marquage: #f4f1ea;        /* fond principal, peinture de ligne usée */
  --blanc-ligne: #fbfaf6;     /* ligne discontinue, cartes claires */
  --marine: #12306b;          /* titres, logo, panneaux de direction */
  --rouge-93: #d7262e;        /* appels à l'action, enseigne, disque A */
  --jaune-chantier: #f2c230;  /* accents, marquages temporaires, économies */
  --argent: #b9bec4;          /* la Clio, séparateurs */
  --wa: #25d366;

  --fond: var(--marquage);
  --carte: var(--blanc-ligne);
  --encre: #1b1d22;
  --gris: #5d626b;
  --ligne: #d9d4c8;

  --titre: "Overpass", "Arial Narrow", system-ui, sans-serif;
  --texte: "Atkinson Hyperlegible", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --r: 10px;
  --ombre: 0 1px 2px rgb(0 0 0 / .08), 0 10px 30px rgb(0 0 0 / .12);
  --large: min(1180px, 100% - 2rem);
  --haut: 64px;   /* hauteur de l'enseigne */
  --rail: 0px;    /* largeur de la route verticale (desktop) */
  --p: 0;         /* progression du scroll 0 → 1 (js) */
  --y: 0;         /* scroll en px (js) */
}
@media (min-width: 900px) { :root { --rail: 64px; } }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--haut) + 24px); }
body { margin: 0; background: var(--fond); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); overflow-x: clip; padding-bottom: 76px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, video, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--titre); font-weight: 900; line-height: .98; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 8vw, 5.6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-size: 1.35rem; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--jaune-chantier); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.conteneur { width: var(--large); margin-inline: auto; }
main { padding-left: var(--rail); }
.section { padding-block: clamp(4rem, 10vw, 7.5rem); position: relative; }
.section--nuit { background: var(--asphalte); color: var(--blanc-ligne); }
.rouge { color: var(--rouge-93); }

/* Kicker d'étape : « 02 — Les tarifs » comme un repère de parcours */
.etape {
  display: inline-flex; align-items: center; gap: .7em; margin-bottom: 1.2rem;
  font: 700 .8rem/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gris);
}
.etape b { display: grid; place-items: center; width: 2.2em; height: 2.2em; border-radius: 50%; background: var(--rouge-93); color: #fff; letter-spacing: 0; }
.section--nuit .etape { color: var(--argent); }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 52px;
  padding: .8em 1.4em; border-radius: 8px; border: 2px solid var(--rouge-93);
  background: var(--rouge-93); color: #fff; font: 700 1.05rem/1.1 var(--texte); text-decoration: none;
  transition: transform .2s, box-shadow .2s; cursor: pointer;
}
.bouton:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(215 38 46 / .35); }
.bouton svg { width: 1.2em; height: 1.2em; flex: none; }
.bouton--wa { background: var(--wa); border-color: var(--wa); color: #0b2b17; }
.bouton--wa:hover { box-shadow: 0 8px 22px rgb(37 211 102 / .35); }
.bouton--ligne { background: transparent; border-color: currentColor; color: inherit; }
.bouton--ligne:hover { box-shadow: none; background: rgb(255 255 255 / .08); }
.boutons { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ==========================================================
   L'enseigne de toit = l'en-tête et le menu
   ========================================================== */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--haut);
  background: var(--asphalte); color: #fff; border-bottom: 1px solid rgb(255 255 255 / .08);
}
.entete__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: 16px; }
@media (min-width: 900px) { .entete__in { padding-inline: 24px; } }

.marque { font: italic 900 1.05rem/.9 var(--titre); text-decoration: none; letter-spacing: -.01em; display: none; }
.marque span { color: var(--rouge-93); }
@media (min-width: 700px) { .marque { display: block; } }

.enseigne {
  position: relative; display: grid; justify-items: center; gap: 2px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer;
  font: inherit;
}
.enseigne__panneau {
  display: block; padding: .38em 1.1em .3em; background: var(--rouge-93);
  border-radius: 10px 10px 4px 4px; border-bottom: 5px solid #111;
  font: 900 .78rem/1.05 var(--titre); letter-spacing: .02em; text-transform: uppercase; text-align: center;
  box-shadow: 0 0 0 rgb(215 38 46 / 0);
  animation: allumage 1.4s steps(1, end) .3s both;
}
.enseigne__panneau { box-shadow: 0 0 18px rgb(215 38 46 / .55), 0 0 2px rgb(255 255 255 / .4) inset; text-shadow: 0 0 6px rgb(255 255 255 / .55); }
.enseigne__menu { font: 700 .62rem/1 var(--mono); letter-spacing: .18em; color: var(--argent); display: inline-flex; align-items: center; gap: .4em; }
.enseigne__menu i { display: inline-block; width: .55em; height: .55em; border-right: 2px solid; border-bottom: 2px solid; rotate: 45deg; translate: 0 -.15em; transition: rotate .25s, translate .25s; }
.enseigne[aria-expanded="true"] .enseigne__menu i { rotate: 225deg; translate: 0 .15em; }
@media (min-width: 900px) { .enseigne__panneau { font-size: .92rem; } }

@keyframes allumage {
  0% { filter: brightness(.35) saturate(.4); box-shadow: none; text-shadow: none; }
  12% { filter: brightness(1.25); }
  18% { filter: brightness(.45) saturate(.5); }
  30% { filter: brightness(1.15); }
  36% { filter: brightness(.6); }
  50%, 100% { filter: none; }
}
/* Enseigne éteinte quand c'est fermé (test : ?ferme=1) */
.est-ferme .enseigne__panneau { animation: none; filter: saturate(.15) brightness(.55); box-shadow: none; text-shadow: none; }
.etat-ferme { display: none; }
.est-ferme .etat-ferme { display: block; }

.entete__appel { min-height: 42px; padding: .5em .9em; font-size: .95rem; }
.entete__appel .txt { display: none; }
@media (min-width: 560px) { .entete__appel .txt { display: inline; } }

/* Le menu : des panneaux de direction qui descendent de l'enseigne */
/* mobile : le menu prend la largeur de l'en-tête ; desktop : centré sous l'enseigne */
.menu {
  position: absolute; top: calc(100% + 8px); left: 16px; right: 16px;
  display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; filter: drop-shadow(0 10px 18px rgb(0 0 0 / .45));
}
@media (min-width: 700px) {
  .enseigne-zone { position: relative; }
  .menu { left: 50%; right: auto; translate: -50% 0; width: 340px; }
}
.menu[hidden] { display: none; }
.menu li { animation: panneau-descend .35s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 45ms); }
.menu a {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 50px; padding: .6em 2.4em .6em 1em;
  background: var(--marine); color: #fff; text-decoration: none; font: 900 1.05rem/1 var(--titre);
  border: 2px solid #fff; outline: 2px solid var(--marine);
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}
.menu a small { font: 500 .75rem/1 var(--mono); color: var(--argent); }
.menu a:hover, .menu a:focus-visible { background: #1b4396; }
@keyframes panneau-descend { from { opacity: 0; translate: 0 -12px; } }

/* ==========================================================
   La route : rail vertical (desktop) / bande horizontale (mobile)
   ========================================================== */
.route {
  position: fixed; z-index: 40; left: 0; right: 0; top: var(--haut); height: 14px; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, var(--blanc-ligne) 0 18px, transparent 18px 34px) 0 50% / 100% 2px no-repeat,
    var(--asphalte);
  background-position: calc(var(--y) * -.5px) 50%, 0 0;
}
.route__clio { position: absolute; top: 50%; left: 0; width: 38px; translate: calc(var(--p) * (100vw - 44px)) -50%; rotate: -90deg; }
.route__clio svg { width: 100%; height: auto; filter: drop-shadow(0 2px 3px rgb(0 0 0 / .5)); }
@media (min-width: 900px) {
  .route {
    right: auto; bottom: 0; width: var(--rail); height: auto;
    background:
      repeating-linear-gradient(180deg, var(--blanc-ligne) 0 34px, transparent 34px 64px) 50% 0 / 3px 100% no-repeat,
      linear-gradient(90deg, #2e323a 0 4px, transparent 4px calc(100% - 4px), #2e323a 0),
      var(--asphalte);
    background-position: 50% calc(var(--y) * -.6px), 0 0, 0 0;
  }
  .route__clio { top: 12px; left: 50%; width: 34px; rotate: 0deg; translate: -50% calc(var(--p) * (100dvh - var(--haut) - 90px)); }
}

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; overflow: hidden; background: var(--asphalte); color: var(--blanc-ligne);
  padding: calc(var(--haut) + 14px + clamp(2rem, 6vw, 4rem)) 0 clamp(5rem, 10vw, 7rem);
}
@media (min-width: 900px) { .hero { padding-top: calc(var(--haut) + clamp(3rem, 7vw, 5rem)); } }
/* grain d'asphalte */
.hero::before, .section--nuit::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .14; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* grande ligne blanche en diagonale */
.hero__ligne {
  position: absolute; left: -10%; right: -10%; bottom: 1.6rem; height: 8px; rotate: -3deg; opacity: .55;
  background: repeating-linear-gradient(90deg, var(--blanc-ligne) 0 90px, transparent 90px 150px);
  animation: ligne-roule 6s linear infinite;
}
@keyframes ligne-roule { to { background-position: -150px 0; } }
.hero__grille { position: relative; display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 960px) { .hero__grille { grid-template-columns: 1.2fr .8fr; } }
.hero h1 { color: #fff; }
.hero h1 .rouge { font-style: italic; }
.hero__sous { font-size: clamp(1.1rem, 2.2vw, 1.3rem); max-width: 34ch; color: #dcdcd6; }
.hero .etape { color: var(--argent); }
.hero__preuve { margin-top: 1.4rem; font: 500 .85rem/1.4 var(--mono); color: var(--argent); }
/* Rappel de l'offre limitée : marquage jaune temporaire sous les boutons */
.hero__offre { margin-top: 1.1rem; font: 700 .85rem/1.4 var(--mono); }
.hero__offre a { color: var(--jaune-chantier); text-decoration: none; border-bottom: 2px dashed currentColor; padding-bottom: 2px; }
.hero__offre a::before { content: "▲ "; font-size: .7em; vertical-align: .15em; }

.hero__visuel { position: relative; }
.hero__photo {
  border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 60%;
  box-shadow: 0 30px 60px rgb(0 0 0 / .45); border: 6px solid var(--blanc-ligne); rotate: 2deg;
}

/* Panneau rond de limitation = prix d'appel */
.limitation {
  position: absolute; left: -10px; bottom: -26px; width: clamp(118px, 26vw, 156px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: #fff; color: var(--encre);
  border: clamp(10px, 2.4vw, 14px) solid var(--rouge-93); box-shadow: 0 0 0 3px #fff, var(--ombre); rotate: -8deg;
}
.limitation small { font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.limitation strong { font: 900 clamp(2.2rem, 6vw, 3rem)/.9 var(--titre); letter-spacing: -.04em; }
.limitation em { font: 700 .75rem/1 var(--mono); font-style: normal; }

/* ==========================================================
   01 — Le principe : bornes kilométriques
   ========================================================== */
.principe__grille { display: grid; gap: 3rem; }
@media (min-width: 960px) { .principe__grille { grid-template-columns: 1fr 1fr; align-items: center; } }
.bornes { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.6rem; position: relative; }
.bornes::before { /* la route qui relie les bornes */
  content: ""; position: absolute; left: 33px; top: 20px; bottom: 20px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--asphalte) 0 12px, transparent 12px 22px);
}
.bornes li { display: grid; grid-template-columns: 70px 1fr; gap: 1.1rem; align-items: start; position: relative; }
.borne {
  width: 70px; height: 84px; background: #fff; border: 2px solid var(--encre); border-radius: 34px 34px 6px 6px;
  display: grid; place-items: end center; padding-bottom: 10px; position: relative; overflow: hidden;
  font: 900 1.7rem/1 var(--titre);
}
.borne::before { content: "PK"; position: absolute; inset: 0 0 auto; height: 32px; background: var(--rouge-93); color: #fff; font: 700 .7rem/32px var(--mono); text-align: center; letter-spacing: .1em; }
.bornes h3 { margin-top: .5rem; }
.bornes p { color: var(--gris); margin: 0; }
.principe__photo { border-radius: var(--r); box-shadow: var(--ombre); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ==========================================================
   02 — Tarifs : panneau rond + tableau d'affichage
   ========================================================== */
.tarifs__grille { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .tarifs__grille { grid-template-columns: auto 1fr; gap: 4rem; } }
.tarifs .limitation { position: relative; inset: auto; width: clamp(200px, 50vw, 260px); border-width: clamp(18px, 4vw, 24px); rotate: -4deg; justify-self: center; }
.tarifs .limitation strong { font-size: clamp(4rem, 12vw, 5.4rem); }
.tarifs .limitation small { font-size: .85rem; }
.tableau { margin: 0; padding: 0; list-style: none; background: var(--asphalte); color: var(--blanc-ligne); border-radius: var(--r); padding: .5rem 1.2rem; box-shadow: var(--ombre); }
.tableau li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed rgb(255 255 255 / .2); }
.tableau li:last-child { border-bottom: 0; }
.tableau b { font: 900 1.15rem/1.2 var(--titre); }
.tableau li > div span { display: block; font-size: .9rem; color: var(--argent); }
.tableau .prix { font: 700 1.15rem/1 var(--mono); color: var(--jaune-chantier); white-space: nowrap; }
.tarifs__note { margin-top: 1.2rem; color: var(--gris); font-size: .95rem; }
/* Forfaits : lignes plus serrées, le 100 h souligné au marquage jaune */
.tableau--forfaits li { padding: .75rem 0; }
.tableau--forfaits b { font-size: 1.05rem; }
.tableau__meilleur { margin: 0 -1.2rem; padding-inline: 1.2rem !important; background: rgb(242 194 48 / .12); box-shadow: inset 4px 0 0 var(--jaune-chantier); }
/* Offre limitée : panneau de chantier temporaire (bandes jaunes/noires) */
.offre { margin: 0 0 1rem; padding: .8rem 1rem .8rem 3.2rem; position: relative; background: var(--jaune-chantier); color: var(--encre); border-radius: var(--r); font: 700 .95rem/1.35 var(--texte); }
.offre::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 2.2rem; border-radius: var(--r) 0 0 var(--r); background: repeating-linear-gradient(-45deg, var(--encre) 0 6px, var(--jaune-chantier) 6px 12px); }
.offre b { font: 900 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; display: block; margin-bottom: .25rem; }
/* Ce qui est inclus : pastilles cochées */
.inclus { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.inclus li { font: 700 .8rem/1 var(--mono); padding: .5rem .7rem .5rem 1.7rem; border: 1.5px solid var(--encre); border-radius: 99px; position: relative; }
.inclus li::before { content: "✓"; position: absolute; left: .65rem; top: 50%; translate: 0 -50%; font-weight: 900; }

/* ==========================================================
   03 — Simulateur : le tableau de bord
   ========================================================== */
.calcul__grille { display: grid; gap: 2.5rem; position: relative; }
@media (min-width: 960px) { .calcul__grille { grid-template-columns: .9fr 1.1fr; align-items: center; } }
.calcul h2 { color: #fff; }
.calcul__intro { color: #cfcfc9; max-width: 38ch; }
.tableau-bord { background: var(--asphalte-clair); border-radius: 18px; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid rgb(255 255 255 / .08); box-shadow: inset 0 2px 0 rgb(255 255 255 / .04), 0 20px 40px rgb(0 0 0 / .3); }
.curseur { display: grid; gap: .6rem; margin-bottom: 1.6rem; }
.curseur label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; }
.curseur output { font: 700 1.6rem/1 var(--mono); color: #fff; }
.curseur input { width: 100%; accent-color: var(--rouge-93); height: 32px; cursor: pointer; }
.compteurs { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.compteur { background: #15171b; border-radius: 10px; padding: 1rem; border: 1px solid rgb(255 255 255 / .06); }
.compteur small { display: block; font: 500 .72rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--argent); margin-bottom: .5rem; }
.compteur strong { font: 700 clamp(1.3rem, 4vw, 1.8rem)/1 var(--mono); color: #fff; }
.compteur--barre strong { text-decoration: line-through; text-decoration-color: var(--rouge-93); text-decoration-thickness: 3px; color: #9a9ea6; }
.economie { grid-column: 1 / -1; background: var(--jaune-chantier); color: var(--asphalte); border: 0;
  background-image: repeating-linear-gradient(-45deg, transparent 0 14px, rgb(0 0 0 / .06) 14px 28px); }
.economie small { color: var(--asphalte); }
.economie strong { color: var(--asphalte); font-size: clamp(2.2rem, 8vw, 3.4rem); }
.calcul__note { font: 500 .78rem/1.5 var(--mono); color: var(--argent); margin: 1rem 0 1.4rem; }

/* ==========================================================
   04 — Jour J : la feuille de l'inspecteur
   ========================================================== */
#jour-j { overflow-x: clip; }
.jourj__grille { display: grid; gap: 3rem; }
.jourj__perf { color: var(--gris); font-size: .95rem; }
@media (min-width: 960px) { .jourj__grille { grid-template-columns: 1fr 1fr; align-items: start; } }
.feuille {
  position: relative; background: #fff; padding: clamp(1.4rem, 4vw, 2.2rem); border-radius: 4px; box-shadow: var(--ombre); rotate: -1deg;
  background-image: linear-gradient(rgb(18 48 107 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(18 48 107 / .07) 1px, transparent 1px);
  background-size: 22px 22px;
}
.feuille__entete { display: flex; justify-content: space-between; gap: 1rem; font: 700 .75rem/1.3 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--marine); border-bottom: 2px solid var(--marine); padding-bottom: .7rem; margin-bottom: 1rem; }
.feuille ul { list-style: none; margin: 0; padding: 0; }
.feuille li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; padding: .7rem 0; border-bottom: 1px solid var(--ligne); }
.feuille li::before { content: ""; width: 22px; height: 22px; border: 2px solid var(--marine); border-radius: 3px; margin-top: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23d7262e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0 no-repeat; transition: background-size .3s; transition-delay: calc(var(--i) * 180ms + .3s); }
.feuille.vu li::before { background-size: 18px; }
.feuille li span { color: var(--gris); display: block; font-size: .92rem; }
.jourj__photo { border-radius: var(--r); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--ombre); margin-top: 1.6rem; }

/* ==========================================================
   05 — FAQ : panneaux « danger »
   ========================================================== */
.faq__liste { display: grid; gap: .8rem; max-width: 860px; }
.faq details { background: var(--carte); border: 2px solid var(--encre); border-radius: var(--r); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 34px 1fr 20px; gap: 1rem; align-items: center; padding: 1rem 1.1rem; font: 900 1.12rem/1.2 var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 34px; height: 30px; }
.faq summary::after { content: "+"; font: 700 1.5rem/1 var(--mono); color: var(--rouge-93); transition: rotate .25s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 1.1rem 1.1rem calc(1.1rem + 34px + 1rem); margin: 0; color: #3a3e45; }

/* ==========================================================
   06 — Arrivée : ADMIS
   ========================================================== */
.arrivee { text-align: center; overflow: hidden; }
.arrivee h2 { color: #fff; }
.arrivee__in { position: relative; display: grid; justify-items: center; gap: 1rem; }
.tampon {
  display: inline-block; font: italic 900 clamp(2.6rem, 10vw, 5rem)/1 var(--titre); letter-spacing: .04em; text-transform: uppercase;
  color: var(--rouge-93); border: 6px solid currentColor; border-radius: 10px; padding: .08em .35em 0;
  rotate: -8deg; opacity: 0; scale: 2.4; transition: scale .45s cubic-bezier(.3, 1.6, .5, 1), opacity .2s;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.2 1.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vu .tampon { opacity: .95; scale: 1; }
.numero { font: 700 clamp(2rem, 9vw, 4.4rem)/1 var(--mono); color: #fff; text-decoration: none; letter-spacing: -.02em; }
.numero:hover { color: var(--jaune-chantier); }
.arrivee__infos { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.6rem; font: 500 .9rem/1.4 var(--mono); color: var(--argent); margin: 0; padding: 0; list-style: none; }

/* ---------- TikTok : logo interactif ----------
   3 calques du même pictogramme (cyan, rouge, blanc) légèrement décalés comme le vrai logo ;
   au survol / focus / toucher ils s'écartent, la note sautille puis revient. */
.reseau { margin: 0 0 1.8rem; display: flex; justify-content: center; }
.tiktok { display: inline-flex; align-items: center; gap: .9rem; padding: .55rem 1.3rem .55rem .55rem; border-radius: 99px; background: #000; color: #fff; text-decoration: none; border: 1.5px solid rgb(255 255 255 / .14); transition: border-color .25s, transform .25s; -webkit-tap-highlight-color: transparent; }
.tiktok__logo { position: relative; width: 50px; height: 50px; border-radius: 50%; background: #121212; display: grid; place-items: center; flex: none; overflow: hidden; }
.tiktok__logo svg { position: absolute; width: 26px; height: 26px; inset: 0; margin: auto; transition: translate .3s cubic-bezier(.3, 1.6, .5, 1); }
.tiktok__c { color: #25f4ee; translate: -1.5px -1.5px; }
.tiktok__r { color: #fe2c55; translate: 1.5px 1.5px; }
.tiktok__b { color: #fff; }
.tiktok__texte { display: grid; text-align: left; line-height: 1.2; }
.tiktok__texte small { font: 700 .7rem/1.2 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--argent); }
.tiktok__texte b { font: 900 1.05rem/1.25 var(--titre); }
.tiktok:hover, .tiktok:focus-visible, .tiktok:active { border-color: #fe2c55; transform: translateY(-2px); }
.tiktok:hover .tiktok__c, .tiktok:focus-visible .tiktok__c, .tiktok:active .tiktok__c { translate: -4px -3px; }
.tiktok:hover .tiktok__r, .tiktok:focus-visible .tiktok__r, .tiktok:active .tiktok__r { translate: 4px 3px; }
@media (prefers-reduced-motion: no-preference) {
  .tiktok:hover .tiktok__logo, .tiktok:focus-visible .tiktok__logo { animation: tiktok-saut .6s cubic-bezier(.3, 1.5, .5, 1); }
  .tiktok:hover .tiktok__b, .tiktok:focus-visible .tiktok__b { animation: tiktok-glitch .45s steps(2, end) 2; }
}
@keyframes tiktok-saut { 0% { scale: 1; } 35% { scale: 1.12 .9; } 65% { scale: .95 1.08; } 100% { scale: 1; } }
@keyframes tiktok-glitch { 0%, 100% { translate: 0 0; } 25% { translate: -1px 1px; } 50% { translate: 1px -1px; } 75% { translate: -1px 0; } }

/* ---------- Pied de page ---------- */
.pied { background: #111317; color: var(--argent); padding: 3rem 0 2rem; font-size: .92rem; }
.pied__in { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 760px) { .pied__in { grid-template-columns: auto 1fr auto; } }
.pied__logo { width: 150px; background: #fff; border-radius: 8px; padding: 6px; }
.pied a { color: #fff; }
.pied p { margin: 0; }

/* ---------- Barre d'action mobile ---------- */
.barre-action {
  position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgb(30 33 38 / .96); backdrop-filter: blur(8px);
}
.barre-action .bouton { min-height: 50px; padding-inline: .6em; font-size: .98rem; }
@media (min-width: 900px) { .barre-action { display: none; } }

/* ---------- Apparition au scroll ---------- */
[data-apparait] { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
[data-apparait].vu { opacity: 1; transform: none; }
.feuille[data-apparait] { transform: translateY(24px) rotate(-1deg); }
.feuille[data-apparait].vu { transform: rotate(-1deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  [data-apparait] { opacity: 1; transform: none; }
  .tampon { opacity: .95; scale: 1; }
}

/* ==========================================================
   v2 — compléments
   ========================================================== */
.sr--focus:focus { position: fixed; z-index: 100; top: 8px; left: 8px; width: auto; height: auto; clip-path: none; padding: .6em 1em; background: #fff; color: var(--encre); border-radius: 6px; }
.bouton--grand { min-height: 58px; font-size: 1.1rem; padding-inline: 1.6em; }
[data-apparait] { transition-delay: calc(var(--d, 0) * 120ms); }
.lien-fort { font-weight: 700; color: var(--rouge-93); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Hero : « 93 » peint au sol + plaques ---------- */
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.8rem); }
.hero__marquage {
  position: absolute; right: -2vw; bottom: -3rem; pointer-events: none; user-select: none;
  font: 900 clamp(14rem, 42vw, 36rem)/.8 var(--titre); letter-spacing: -.06em; color: #fff; opacity: .05;
  transform: scaleY(1.45); transform-origin: bottom;
}
.plaques { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.plaque {
  display: inline-flex; align-items: stretch; height: 34px; background: #fff; color: #111; border: 2px solid #111; border-radius: 5px; overflow: hidden;
  font: 700 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; box-shadow: 0 0 0 2px #fff;
}
.plaque span { display: grid; place-items: center; padding: 0 .8em; }
.plaque::before, .plaque::after { display: grid; place-items: center; width: 22px; background: #1f45b5; color: #fff; font: 900 .7rem/1 var(--titre); }
.plaque::before { content: "F"; }
.plaque::after { content: "93"; width: 26px; }

/* ---------- PK 1 : les voies ---------- */
.voies__liste { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; }
.voie { padding: 2rem 0; position: relative; display: grid; gap: .8rem; align-content: start; }
.voie + .voie { background: repeating-linear-gradient(90deg, var(--blanc-ligne) 0 34px, transparent 34px 60px) 0 0 / 100% 4px no-repeat; }
.voie__fleche { height: 96px; width: auto; color: var(--blanc-ligne); opacity: .92; margin-bottom: .6rem; }
.voie h3 { color: #fff; font-size: clamp(1.35rem, 2.4vw, 1.7rem); max-width: 18ch; }
.voie p { color: #cfcfc9; margin: 0; max-width: 34ch; }
@media (min-width: 900px) {
  .voies__liste { grid-template-columns: repeat(3, 1fr); }
  .voie { padding: 1rem 2.2rem 1.6rem; }
  .voie:first-child { padding-left: 0; }
  .voie + .voie { background: repeating-linear-gradient(180deg, var(--blanc-ligne) 0 34px, transparent 34px 60px) 0 0 / 4px 100% no-repeat; }
  .voie__fleche { height: 120px; }
}

/* ---------- PK 2 : disque A d'apprenti ---------- */
.principe__visuel { position: relative; margin: 0; }
.disque-a {
  position: absolute; top: -22px; right: -8px; width: clamp(64px, 12vw, 86px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--rouge-93); color: #fff; border: 4px solid #fff; box-shadow: var(--ombre);
  font: 900 clamp(2.2rem, 5vw, 3rem)/1 var(--titre); padding-top: .12em; rotate: 10deg;
}

/* ---------- PK 3 : la Clio ---------- */
.clio__tete { display: grid; gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
@media (min-width: 900px) { .clio__tete { grid-template-columns: 1fr 1fr; } }
.clio__intro { color: var(--gris); max-width: 46ch; }
.galerie {
  list-style: none; margin: 0; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: .5rem max(16px, (100% - 1180px) / 2) 1.2rem; scroll-padding-inline: max(16px, (100% - 1180px) / 2); scrollbar-width: thin;
}
.galerie li { flex: 0 0 min(76vw, 340px); scroll-snap-align: start; position: relative; }
.galerie img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r); box-shadow: var(--ombre); }
.galerie span { position: absolute; left: 12px; bottom: 12px; background: var(--asphalte); color: #fff; font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; padding: .5em .7em; border-radius: 4px; }
/* Photo d'illustration (pas la voiture du client) : cadrée sur la double pédale côté passager, étiquette jaune « chantier » */
.galerie__illus img { object-position: 90% 60%; }
.galerie__illus span { background: var(--jaune-chantier); color: var(--encre); }
.fiche-technique { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.6rem; }
@media (min-width: 900px) { .fiche-technique { grid-template-columns: repeat(4, 1fr); } }
.fiche-technique li { border-top: 3px solid var(--encre); padding-top: .7rem; }
.fiche-technique small { display: block; font: 700 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin-bottom: .4rem; }
.fiche-technique b { font: 900 1.15rem/1.15 var(--titre); }

/* ---------- PK 5 : barres du simulateur ---------- */
.curseur__graduations { display: flex; justify-content: space-between; font: 500 .7rem/1 var(--mono); color: var(--argent); }
.barres { display: grid; gap: 6px; margin-bottom: 1.2rem; }
.barre {
  height: 30px; border-radius: 4px; display: flex; align-items: center; padding-left: .7em; font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  clip-path: inset(0 calc((1 - var(--l)) * 100%) 0 0 round 4px); transition: clip-path .35s cubic-bezier(.2, .7, .2, 1);
}
.barre--ecole { background: repeating-linear-gradient(-45deg, var(--rouge-93) 0 12px, #b81f26 12px 24px); color: #fff; }
.barre--clio { background: var(--jaune-chantier); color: var(--asphalte); }

/* ---------- PK 6 : tampon « PRÊT » sur la feuille ---------- */
.feuille__tampon {
  position: absolute; right: 1.2rem; bottom: -1.2rem; font: italic 900 1.8rem/1 var(--titre); text-transform: uppercase; letter-spacing: .06em;
  color: var(--marine); border: 4px solid currentColor; border-radius: 8px; padding: .12em .4em 0; background: rgb(255 255 255 / .85);
  rotate: -12deg; opacity: 0; scale: 1.8; transition: scale .4s cubic-bezier(.3, 1.6, .5, 1) 1.3s, opacity .2s 1.3s;
}
.feuille.vu .feuille__tampon { opacity: 1; scale: 1; }

/* ---------- PK 7 : FAQ sur deux colonnes ---------- */
.faq__grille { display: grid; gap: 2rem; }
@media (min-width: 960px) {
  .faq__grille { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .faq__grille > div:first-child { position: sticky; top: calc(var(--haut) + 2rem); align-self: start; }
}
.faq__autre { color: var(--gris); }
.faq__autre a { color: var(--rouge-93); font-weight: 700; }

/* ---------- Arrivée : damier ---------- */
.arrivee__damier {
  position: absolute; inset: 0 0 auto; height: 28px;
  background: conic-gradient(#fff 25%, #111 0 50%, #fff 0 75%, #111 0) 0 0 / 28px 28px;
}
.arrivee { padding-top: calc(clamp(4rem, 10vw, 7.5rem) + 28px); }

/* ---------- Pied de page v2 ---------- */
.pied { padding-left: var(--rail); }
@media (min-width: 900px) { .pied__in { grid-template-columns: auto 1.4fr 1fr; gap: 3rem; align-items: start; } }
.pied__titre { font: 900 1.2rem/1 var(--titre); color: #fff; margin-bottom: .6rem !important; }
.pied__in p + p { margin-top: .6rem; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pied__liens a { text-decoration: none; }
.pied__liens a:hover { text-decoration: underline; }
.pied__bas { border-top: 1px solid rgb(255 255 255 / .1); margin-top: 2rem; padding-top: 1.2rem; font-size: .82rem; }

/* ---------- Repère d'étape à côté de la Clio (grands écrans) ---------- */
.route__repere {
  display: none; position: absolute; left: calc(100% + 16px); top: 50%; translate: 0 -50%; white-space: nowrap;
  background: var(--asphalte); color: #fff; font: 700 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em;
  padding: .5em .75em; border-radius: 4px; border: 1px solid rgb(255 255 255 / .18); box-shadow: 0 4px 12px rgb(0 0 0 / .3);
}
@media (min-width: 1200px) { .route__repere { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .feuille__tampon { opacity: 1; scale: 1; }
  .barre { transition: none; }
}

/* Voies sur mobile : flèche à gauche du texte */
@media (max-width: 899px) {
  .voie { grid-template-columns: 44px 1fr; column-gap: 1.2rem; padding: 1.6rem 0; }
  .voie__fleche { grid-row: span 2; height: 78px; width: 100%; margin: .2rem 0 0; }
}

/* ==========================================================
   v3 — démo double commande, avis rétroviseur, correctifs
   ========================================================== */

/* Mobile : la petite Clio tient dans la bande de route (16 px de haut une fois tournée) */
.route { height: 18px; }
.route__clio { width: 16px; translate: calc(var(--p) * (100vw - 40px)) -50%; }
@media (min-width: 900px) { .route__clio { width: 34px; translate: -50% calc(var(--p) * (100dvh - var(--haut) - 90px)); } }
.hero { padding-top: calc(var(--haut) + 18px + clamp(2rem, 6vw, 4rem)); }
@media (min-width: 900px) { .hero { padding-top: calc(var(--haut) + clamp(3rem, 7vw, 5rem)); } }
.hero__photo { filter: contrast(1.06) saturate(1.08); }

/* ---------- Démo : deux pédales, une voiture ---------- */
.essai {
  margin-top: clamp(2.5rem, 6vw, 4rem); display: grid; gap: 1.4rem; align-items: center;
  background: var(--asphalte); color: var(--blanc-ligne); border-radius: 18px; padding: clamp(1.2rem, 4vw, 2.2rem);
  grid-template-columns: 1fr 1fr; grid-template-areas: "texte texte" "scene pedales";
}
@media (min-width: 900px) { .essai { grid-template-columns: 1.3fr .8fr 1fr; grid-template-areas: "texte scene pedales"; gap: 2rem; } }
.essai__texte { grid-area: texte; }
.essai__sur { font: 700 .75rem/1 var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--jaune-chantier); margin-bottom: .8rem; }
.essai h3 { color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); }
.essai__texte > p:not(.essai__sur):not(.essai__etat) { color: #cfcfc9; }
.essai__etat { font: 700 .9rem/1.3 var(--mono); color: #fff; margin: 0; min-height: 2.6em; padding-left: 1rem; border-left: 3px solid var(--jaune-chantier); transition: border-color .2s; }
.essai[data-freine="accompagnateur"] .essai__etat, .essai[data-freine="lesDeux"] .essai__etat { border-color: var(--rouge-93); }

.essai__scene { grid-area: scene; position: relative; height: 220px; border-radius: 12px; overflow: hidden; background: #15171b; }
.essai__route {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, var(--blanc-ligne) 0 44px, transparent 44px 80px) 50% 0 / 4px 100%,
    linear-gradient(90deg, transparent 10%, #f4f1ea 10% calc(10% + 3px), transparent 0 calc(90% - 3px), #f4f1ea 0 90%, transparent 0),
    var(--asphalte-clair);
  background-repeat: repeat-y, repeat-y;
}
.essai__clio { position: absolute; left: 50%; top: 50%; width: 46px; translate: 18px -40%; filter: drop-shadow(0 4px 6px rgb(0 0 0 / .5)); transition: translate .3s; }
/* feux stop quand ça freine */
.essai[data-freine]:not([data-freine=""]) .essai__clio { filter: drop-shadow(0 4px 6px rgb(0 0 0 / .5)) drop-shadow(0 6px 8px rgb(215 38 46 / .9)); }
.essai__compteur { position: absolute; left: 10px; bottom: 10px; font: 500 .72rem/1 var(--mono); color: var(--argent); background: rgb(0 0 0 / .45); padding: .45em .6em; border-radius: 4px; }
.essai__compteur b { font-size: 1.15rem; color: #fff; }

.essai__pedales { grid-area: pedales; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; align-items: end; }
.pedale {
  display: grid; justify-items: center; gap: .7rem; padding: 0; border: 0; background: none; color: var(--argent); cursor: pointer;
  font: 700 .72rem/1.25 var(--mono); text-transform: uppercase; letter-spacing: .05em; text-align: center;
  touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; overflow-wrap: anywhere; hyphens: auto;
}
.pedale__semelle {
  width: min(100%, 92px); aspect-ratio: 3 / 4; border-radius: 12px 12px 18px 18px;
  background: repeating-linear-gradient(180deg, #3a3f47 0 6px, #24272d 6px 12px); border: 3px solid #4a4f58;
  box-shadow: 0 10px 0 #0d0e10, 0 14px 20px rgb(0 0 0 / .4);
  transform-origin: 50% 0; transition: transform .12s, box-shadow .12s;
}
.pedale--accomp .pedale__semelle { border-color: var(--rouge-93); }
.pedale--accomp .pedale__nom { color: #fff; }
.pedale[aria-pressed="true"] .pedale__semelle { transform: perspective(300px) rotateX(24deg) translateY(6px); box-shadow: 0 3px 0 #0d0e10, 0 4px 8px rgb(0 0 0 / .4); }
.pedale:focus-visible { outline: none; }
.pedale:focus-visible .pedale__semelle { outline: 3px solid var(--jaune-chantier); outline-offset: 4px; }

/* ---------- Avis : rétroviseurs intérieurs ---------- */
.retros__note a { color: var(--jaune-chantier); font-weight: 700; }
.retros__liste { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 2.4rem 1.6rem; }
@media (min-width: 900px) { .retros__liste { grid-template-columns: repeat(3, 1fr); } }
.retro { position: relative; padding-top: 22px; }
.retro::before { /* la fixation du rétro au pare-brise */
  content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 16px; height: 26px; border-radius: 4px 4px 2px 2px; background: #111;
}
.retro blockquote {
  margin: 0; padding: 1.4rem 1.6rem; border-radius: 40px / 50%; background: linear-gradient(160deg, #e9ecef, #c7ccd2 55%, #dfe3e7);
  border: 8px solid #111; color: var(--encre); box-shadow: inset 0 0 0 2px rgb(255 255 255 / .5), 0 14px 30px rgb(0 0 0 / .4);
  min-height: 130px; display: grid; place-items: center; text-align: center;
}
.retro blockquote p { margin: 0; font-size: 1rem; }
.retro__nom { margin: .9rem 0 0; text-align: center; font: 700 .8rem/1 var(--mono); color: var(--argent); }
.retro__etoiles { color: var(--jaune-chantier); letter-spacing: .1em; }

@media (prefers-reduced-motion: reduce) {
  .pedale__semelle, .essai__clio { transition: none; }
}

/* ==========================================================
   v4 — en-tête flottant, enseigne dans le hero, bulle WhatsApp, mini-jeu
   ========================================================== */
:root { --haut: 84px; }
body { padding-bottom: 18px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }

/* ---------- En-tête flottant ---------- */
.entete {
  position: fixed; z-index: 50; top: 10px; left: calc(var(--rail) + 10px); right: 10px; height: auto; inset-block-end: auto;
  background: none; border: 0; color: #fff; pointer-events: none;
}
.entete__barre {
  pointer-events: auto; width: min(1180px, 100%); margin-inline: auto; height: 60px; display: flex; align-items: center; gap: 1rem;
  padding: 0 8px 0 12px; border-radius: 14px; background: rgb(30 33 38 / .82); border: 1px solid rgb(255 255 255 / .1);
  backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); box-shadow: 0 10px 30px rgb(0 0 0 / .25);
  transition: height .25s, background-color .25s;
}
.apres-hero .entete__barre { height: 54px; background: rgb(30 33 38 / .94); }

.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: #fff; margin-right: auto; }
.logo__enseigne { /* l'enseigne de toit en miniature */
  display: grid; place-items: center; width: 46px; height: 30px; padding-top: 2px; background: var(--rouge-93); color: #fff;
  border-radius: 8px 8px 3px 3px; border-bottom: 4px solid #111; font: italic 900 1.05rem/1 var(--titre); letter-spacing: -.03em;
  box-shadow: 0 0 14px rgb(215 38 46 / .5);
}
.logo__nom { font: 700 .82rem/1.05 var(--titre); text-transform: uppercase; letter-spacing: .02em; color: var(--argent); }
.logo__nom b { font-weight: 900; color: #fff; font-style: italic; }

.nav { display: none; gap: .2rem; }
.nav a {
  position: relative; padding: .55em .8em; color: #dcdcd6; text-decoration: none; font: 700 .76rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; border-radius: 8px;
}
.nav a::after { /* ligne discontinue au survol */
  content: ""; position: absolute; left: .8em; right: .8em; bottom: .25em; height: 2px; opacity: 0; transition: opacity .2s;
  background: repeating-linear-gradient(90deg, var(--jaune-chantier) 0 6px, transparent 6px 10px);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a:focus-visible::after { opacity: 1; }
@media (min-width: 1000px) { .nav { display: flex; } }

.entete__appel { min-height: 44px; padding: .5em 1em; font-size: .95rem; border-radius: 10px; }
.entete__appel .txt { display: none; }
@media (min-width: 560px) { .entete__appel .txt { display: inline; } }

.burger { display: grid; gap: 5px; place-content: center; width: 46px; height: 44px; border: 0; border-radius: 10px; background: rgb(255 255 255 / .08); cursor: pointer; }
.burger span { width: 20px; height: 3px; background: repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 8px); transition: rotate .25s, translate .25s, opacity .2s; }
.burger[aria-expanded="true"] span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { translate: 0 8px; rotate: 45deg; }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { translate: 0 -8px; rotate: -45deg; }
@media (min-width: 1000px) { .burger { display: none; } }

/* menu mobile : panneaux de direction sous la barre */
.menu { pointer-events: auto; position: absolute; top: calc(100% + 10px); left: 0; right: 0; translate: none; width: auto; max-width: 420px; margin-left: auto; }
@media (min-width: 700px) { .menu { left: auto; right: 0; translate: none; width: 360px; } }

/* ---------- L'enseigne de toit, posée sur la photo du hero ---------- */
.hero__enseigne { position: absolute; z-index: 2; top: -22px; left: 50%; translate: -50% 0; rotate: 2deg; }
.hero__enseigne .enseigne__panneau { font-size: clamp(.8rem, 2.2vw, 1rem); padding: .45em 1.3em .35em; }

/* ---------- Bulle WhatsApp ---------- */
.bulle-wa {
  position: fixed; z-index: 45; right: 16px; bottom: 34px; display: inline-flex; align-items: center; gap: .5em;
  min-height: 52px; padding: 0 1.1em 0 .9em; border-radius: 999px; background: var(--wa); color: #0b2b17; text-decoration: none;
  font: 700 .95rem/1 var(--texte); box-shadow: 0 10px 24px rgb(0 0 0 / .3);
  opacity: 0; translate: 0 20px; pointer-events: none; transition: opacity .3s, translate .3s;
}
.bulle-wa svg { width: 24px; height: 24px; }
.apres-hero .bulle-wa { opacity: 1; translate: 0 0; pointer-events: auto; }
@media (min-width: 900px) { .bulle-wa { bottom: 24px; right: 24px; } }

/* ---------- La route sur mobile : en bas de l'écran ---------- */
@media (max-width: 899px) {
  .route { top: auto; bottom: 0; height: 18px; }
}
.hero { padding-top: calc(var(--haut) + clamp(2rem, 6vw, 4rem)); }

/* ==========================================================
   Mini-jeu
   ========================================================== */
.essai { grid-template-columns: 1fr; grid-template-areas: none; gap: 1.8rem; align-items: start; }
@media (min-width: 960px) { .essai { grid-template-columns: 1fr 1.05fr; grid-template-areas: none; gap: 2.6rem; } }
.essai__texte, .essai__scene, .essai__pedales { grid-area: auto; }
.essai__regles { margin: 0 0 1.4rem; padding: 0; list-style: none; counter-reset: r; display: grid; gap: .7rem; }
.essai__regles li { counter-increment: r; display: grid; grid-template-columns: 28px 1fr; gap: .7rem; color: #cfcfc9; font-size: .98rem; }
.essai__regles li::before { content: counter(r); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--jaune-chantier); color: var(--asphalte); font: 700 .8rem/1 var(--mono); }
.essai__regles b { color: #fff; }
.essai__score { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.essai__compte { font: 700 .8rem/1 var(--mono); color: var(--argent); margin-right: .4rem; }
.essai__compte b { color: #fff; }
.pastille { display: inline-flex; gap: .5em; align-items: center; padding: .5em .8em; border-radius: 999px; font: 700 .76rem/1 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.pastille b { font-size: 1rem; }
.pastille--toi { background: var(--jaune-chantier); color: var(--asphalte); }
.pastille--accomp { background: var(--rouge-93); color: #fff; }

.essai__jeu { display: grid; gap: 1rem; }
.essai__scene { height: clamp(330px, 46vw, 400px); border: 3px solid transparent; transition: border-color .15s; }
.essai[data-freine="accomp"] .essai__scene { border-color: var(--rouge-93); }
.essai__clio { top: auto; bottom: 26px; translate: 14px 0; width: 46px; }
.essai[data-freine="toi"] .essai__clio, .essai[data-freine="accomp"] .essai__clio { filter: drop-shadow(0 4px 6px rgb(0 0 0 / .5)) drop-shadow(0 8px 8px rgb(215 38 46 / .95)); }
.essai__compteur { left: auto; right: 10px; bottom: 10px; }

/* obstacles : la ligne d'arrêt traverse la voie de droite, l'objet est sur le trottoir */
.obstacle { position: absolute; top: 0; left: 10%; right: 10%; height: 0; will-change: transform; }
.obstacle[hidden] { display: none; }
.obstacle__ligne { position: absolute; left: 50%; right: 0; top: -3px; height: 6px; background: #fff; }
.obstacle--pieton .obstacle__ligne { /* passage piéton */
  top: -46px; height: 40px; left: 0; background: repeating-linear-gradient(90deg, #fff 0 12px, transparent 12px 24px);
}
.obstacle svg { position: absolute; bottom: 4px; }
.obstacle__pieton { width: 22px; left: 30%; bottom: 10px !important; animation: pieton-traverse 2.4s linear infinite alternate; }
@keyframes pieton-traverse { from { translate: 0 0; } to { translate: 90px 0; } }
.obstacle__feu { width: 18px; right: -26px; }
.obstacle__stop { width: 30px; right: -36px; }
.obstacle__nom {
  position: absolute; left: 4px; bottom: 10px; font: 700 .72rem/1 var(--mono); text-transform: uppercase; letter-spacing: .06em;
  background: var(--jaune-chantier); color: var(--asphalte); padding: .4em .55em; border-radius: 4px;
}
.obstacle--pieton .obstacle__nom { bottom: 52px; }
.obstacle--passe { opacity: .5; transition: opacity .6s; }
.obstacle--passe .obstacle__nom { display: none; }

.essai__message {
  position: absolute; left: 10px; right: 10px; top: 10px; margin: 0; min-height: 0; text-align: center;
  font: 700 .85rem/1.3 var(--mono); color: #fff; text-shadow: 0 1px 2px #000;
}
.essai__message:empty { display: none; }
.essai__message[data-ton] { padding: .5em .7em; border-radius: 6px; background: rgb(0 0 0 / .6); }
.essai__message[data-ton=""] { background: none; }
.essai__message[data-ton="toi"] { background: var(--jaune-chantier); color: var(--asphalte); text-shadow: none; }
.essai__message[data-ton="accomp"] { background: var(--rouge-93); }

.essai__ecran {
  position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: .6rem; padding: 1.4rem; text-align: center;
  background: rgb(21 23 27 / .88); backdrop-filter: blur(3px);
}
.essai__ecran[hidden] { display: none; }
.essai__ecran-titre { margin: 0; font: 900 clamp(1.5rem, 4vw, 2rem)/1.05 var(--titre); color: #fff; }
.essai__ecran-texte { margin: 0 0 .6rem; color: #cfcfc9; max-width: 32ch; }
.essai__ecran-boutons { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }

.essai__pedales { grid-template-columns: 1.3fr 1fr; gap: 1rem; align-items: end; }
.pedale .pedale__nom { display: grid; gap: .25rem; }
.pedale .pedale__nom small { font: 500 .66rem/1.2 var(--mono); text-transform: none; letter-spacing: 0; color: var(--argent); }
.pedale[data-jeu-frein] .pedale__semelle { width: min(100%, 130px); aspect-ratio: 4 / 3; border-color: var(--jaune-chantier); }
.pedale[data-jeu-frein] .pedale__nom { color: #fff; font-size: .9rem; }
.pedale[data-jeu-frein]:disabled { cursor: default; opacity: .45; }
.pedale--accomp { cursor: default; }
.pedale--accomp .pedale__semelle { width: min(100%, 92px); }
.pedale--accomp.est-appuyee .pedale__semelle { transform: perspective(300px) rotateX(24deg) translateY(6px); box-shadow: 0 3px 0 #0d0e10, 0 0 22px rgb(215 38 46 / .8); }
.essai[data-etat="jeu"] .pedale[data-jeu-frein]:not(:disabled) .pedale__semelle { animation: invite 1.6s ease-in-out infinite; }
.essai[data-etat="jeu"] .pedale[data-jeu-frein][aria-pressed="true"] .pedale__semelle { animation: none; }
@keyframes invite { 50% { box-shadow: 0 10px 0 #0d0e10, 0 0 0 6px rgb(242 194 48 / .25); } }

@media (prefers-reduced-motion: reduce) {
  .bulle-wa, .entete__barre { transition: none; }
  .obstacle__pieton { animation: none; }
}

/* rail desktop : de haut en bas, la barre flotte au-dessus */
@media (min-width: 900px) { .route { top: 0; } .route__clio { translate: -50% calc(var(--p) * (100dvh - 90px)); } }

.bouton[hidden] { display: none; }
@media (min-width: 900px) { .route__clio { top: 92px; translate: -50% calc(var(--p) * (100dvh - 170px)); } }

/* ==========================================================
   v5 — voiture du jeu dans le bon sens, pied de page « fin de parcours »
   ========================================================== */
/* le symbole Clio a l'avant en bas (il descend sur le rail) : dans le jeu elle monte */
.essai__clio { rotate: 180deg; }

/* ---------- Pied de page ---------- */
.pied { position: relative; padding: 0 0 1.6rem; padding-left: var(--rail); background: #15171b; color: var(--argent); }
.pied__bordure { /* bordure de trottoir peinte rouge et blanc */
  height: 14px; background: repeating-linear-gradient(90deg, var(--rouge-93) 0 46px, #f4f1ea 46px 92px);
  box-shadow: 0 4px 0 #0d0e10;
}
.pied__in { display: grid; gap: 2.6rem; padding-top: clamp(3rem, 7vw, 4.5rem); }
@media (min-width: 900px) { .pied__in { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; align-items: start; } }
.pied__marque p { max-width: 36ch; margin-top: 1.4rem; font-size: .95rem; }

/* panneau d'entrée d'agglomération : blanc, bordure rouge, lettres noires */
.agglo {
  display: inline-grid; gap: .5rem; padding: .9rem 1.4rem 1rem; text-decoration: none; text-align: center;
  background: #fff; color: #111; border: 6px solid var(--rouge-93); border-radius: 8px; box-shadow: 0 0 0 3px #fff, 0 14px 30px rgb(0 0 0 / .35);
  rotate: -1.5deg; transition: rotate .25s;
}
.agglo:hover { rotate: 0deg; }
.agglo__nom { font: 900 clamp(1.6rem, 3.4vw, 2.1rem)/.95 var(--titre); text-transform: uppercase; letter-spacing: -.01em; }
.agglo__lieu { font: 700 .8rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: #444; border-top: 2px solid #111; padding-top: .55rem; }

.pied__titre { margin: 0 0 1rem !important; font: 700 .74rem/1 var(--mono) !important; text-transform: uppercase; letter-spacing: .14em; color: var(--jaune-chantier) !important; }
.pied__tel { display: inline-block; margin-bottom: 1rem; font: 700 clamp(1.5rem, 3vw, 1.9rem)/1 var(--mono); color: #fff; text-decoration: none; }
.pied__tel:hover { color: var(--jaune-chantier); }
.pied__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .95rem; }
.pied__liste a { color: #fff; text-decoration: none; }
.pied__liste a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pied__tiktok { display: inline-flex; align-items: center; gap: .45rem; }
.pied__tiktok svg { width: 1em; height: 1em; filter: drop-shadow(-1px -1px 0 #25f4ee) drop-shadow(1px 1px 0 #fe2c55); }
.pied__parcours a { display: inline-flex; align-items: baseline; gap: .7rem; }
.pied__parcours small { min-width: 3.6em; font: 700 .68rem/1 var(--mono); color: var(--rouge-93); letter-spacing: .06em; }

.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.2rem; border-top: 1px dashed rgb(255 255 255 / .16); font-size: .82rem; }
.pied__bas p { margin: 0; }
.pied__bas a { color: #fff; }
.pied__haut { font: 700 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; text-decoration: none; }
.pied__haut:hover { color: var(--jaune-chantier); }
/* mobile : laisser la place à la route en bas de l'écran et à la bulle WhatsApp */
@media (max-width: 899px) { .pied__bas { padding-bottom: 4.5rem; } }
/* ombres de la Clio retournée : le filtre est appliqué avant la rotation, donc décalages inversés */
.essai__clio { filter: drop-shadow(0 -4px 6px rgb(0 0 0 / .5)); }
.essai[data-freine="toi"] .essai__clio, .essai[data-freine="accomp"] .essai__clio { filter: drop-shadow(0 -4px 6px rgb(0 0 0 / .5)) drop-shadow(0 -8px 8px rgb(215 38 46 / .95)); }

.pied .agglo, .pied .agglo:hover { color: #111; }

/* ==========================================================
   v6 — accueil : photo plein écran, titre géant qui monte mot à mot
   ========================================================== */
.hero--plein {
  min-height: 100svh; display: grid; align-items: end; isolation: isolate;
  padding: calc(var(--haut) + 2rem) 0 clamp(4.5rem, 10vh, 7rem);
}
.hero__fond, .hero__fond img { position: absolute; inset: 0; z-index: -2; }
.hero__fond img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 65%;
  filter: contrast(1.06) saturate(1.1); animation: zoom-lent 14s cubic-bezier(.2, .6, .2, 1) both;
}
@keyframes zoom-lent { from { scale: 1.14; } to { scale: 1; } }
.hero__voile {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgb(20 22 26 / .97) 0%, rgb(20 22 26 / .75) 30%, rgb(20 22 26 / 0) 62%),
    linear-gradient(180deg, rgb(20 22 26 / .55) 0%, rgb(20 22 26 / 0) 22%);
}
@media (min-width: 700px) {
  .hero__voile {
    background:
      linear-gradient(90deg, rgb(20 22 26 / .94) 0%, rgb(20 22 26 / .78) 34%, rgb(20 22 26 / .15) 66%, rgb(20 22 26 / 0) 100%),
      linear-gradient(0deg, rgb(20 22 26 / .85) 0%, rgb(20 22 26 / 0) 40%),
      linear-gradient(180deg, rgb(20 22 26 / .5) 0%, rgb(20 22 26 / 0) 20%);
  }
}
.hero--plein::before { z-index: 0; opacity: .1; }
.hero__contenu { position: relative; z-index: 1; }
.hero--plein .hero__ligne { z-index: 1; bottom: 1.4rem; rotate: 0deg; opacity: .7; height: 6px; }

/* titre géant, chaque mot monte de sous la ligne */
.hero--plein h1 { font-size: clamp(3.1rem, 9.5vw, 7.4rem); line-height: .9; letter-spacing: -.035em; max-width: 10.5ch; margin-bottom: .35em; text-shadow: 0 4px 30px rgb(0 0 0 / .35); }
.mot { display: inline-block; overflow: hidden; vertical-align: bottom; padding: .06em .02em .08em; margin: -.06em -.02em -.08em; }
.mot > span { display: inline-block; animation: mot-monte .9s cubic-bezier(.2, .75, .2, 1) both; animation-delay: calc(.2s + var(--i) * 75ms); }
@keyframes mot-monte { from { translate: 0 110%; } }
.hero--plein .rouge { color: var(--rouge-93); font-style: italic; }
.hero--plein .hero__sous { color: #e4e4de; max-width: 40ch; font-size: clamp(1.05rem, 1.8vw, 1.25rem); animation: fondu-monte .8s .8s both; }
.hero--plein .boutons { animation: fondu-monte .8s .95s both; }
.hero--plein .hero__preuve { animation: fondu-monte .8s 1.1s both; color: #c9ccd1; }
@keyframes fondu-monte { from { opacity: 0; translate: 0 16px; } }
.bouton--verre { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.bouton--verre:hover { background: rgb(255 255 255 / .18); box-shadow: none; }

/* panneau de prix : en haut à droite sur grand écran */
.hero__prix { display: none; }
@media (min-width: 900px) {
  .hero__prix {
    display: grid; position: absolute; z-index: 1; left: auto; right: max(24px, (100% - 1180px) / 2); top: calc(var(--haut) + 2.5rem); bottom: auto;
    width: clamp(130px, 12vw, 168px); animation: panneau-arrive .7s 1.2s cubic-bezier(.3, 1.5, .5, 1) both;
  }
}
@keyframes panneau-arrive { from { opacity: 0; scale: .6; rotate: -30deg; } }

/* invitation à descendre */
.hero__suite {
  display: none; position: absolute; z-index: 1; right: max(24px, (100% - 1180px) / 2); bottom: 3.2rem;
  font: 700 .74rem/1 var(--mono); text-transform: uppercase; letter-spacing: .16em; color: #fff; text-decoration: none;
}
.hero__suite span { display: inline-block; margin-left: .5em; animation: rebond 1.6s ease-in-out infinite; }
@keyframes rebond { 50% { translate: 0 5px; } }
@media (min-width: 900px) { .hero__suite { display: block; } }

@media (prefers-reduced-motion: reduce) {
  .hero__fond img, .mot > span, .hero--plein .hero__sous, .hero--plein .boutons, .hero--plein .hero__preuve, .hero__prix, .hero__suite span { animation: none; }
}
/* titre calé sur la hauteur d'écran : 3 lignes, boutons toujours visibles sans défiler */
.hero--plein h1 { font-size: min(9.5vw, 11vh, 7rem); max-width: 16ch; }
@media (max-width: 699px) { .hero--plein h1 { font-size: min(13vw, 9vh, 3.6rem); } }
@media (max-width: 1499px) { .route__repere { display: none; } }
@media (max-width: 699px) {
  .hero__voile { background: linear-gradient(0deg, rgb(20 22 26 / .97) 0%, rgb(20 22 26 / .9) 42%, rgb(20 22 26 / .35) 68%, rgb(20 22 26 / 0) 82%), linear-gradient(180deg, rgb(20 22 26 / .55) 0%, rgb(20 22 26 / 0) 20%); }
}

/* ==========================================================
   v7 — accueil : la route en perspective
   Ciel de nuit + silhouette de ville (skyline du logo), route 3D qui défile,
   « 93 » peint au sol, bordures rouge/blanc, Clio qui suit la souris,
   panneau de limitation (= prix) au bord de la route.
   ========================================================== */
.hero--route {
  --horizon: 50%;   /* hauteur de l'horizon dans le hero */
  --fuite: 62%;     /* point de fuite horizontal */
  min-height: 100svh; display: grid; align-items: start; isolation: isolate; overflow: hidden;
  padding: calc(var(--haut) + clamp(1.5rem, 5vh, 3.5rem)) 0 0; background: #15181d;
}
@media (max-width: 899px) { .hero--route { --horizon: 60%; --fuite: 50%; } }
.hero--route::before { z-index: 3; opacity: .08; }
.hero__contenu { position: relative; z-index: 4; }

/* ciel : nuit bleu marine qui s'éclaire vers l'horizon (lueur des lampadaires) */
.hero__ciel {
  position: absolute; inset: 0 0 calc(100% - var(--horizon)) 0; z-index: -2;
  background:
    radial-gradient(60% 55% at var(--fuite) 100%, rgb(242 120 60 / .35), transparent 70%),
    linear-gradient(180deg, #0b1430 0%, #13234a 45%, #2a3157 80%, #4a3a52 100%);
}
.hero__ville { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(70px, 14vh, 140px); fill: #0d1018; }
.hero__ville .f { fill: #f2c230; opacity: .75; }

/* la route : un plan incliné en 3D, vu depuis le conducteur */
.route3d {
  position: absolute; z-index: -1; left: 0; right: 0; top: var(--horizon); bottom: 0;
  perspective: 300px; perspective-origin: var(--fuite) 0%; overflow: hidden;
  background: linear-gradient(180deg, #1c1f25, #121418);
}
.route3d__sol {
  --periode: 1200px;
  position: absolute; bottom: -40px; left: var(--fuite); width: 1500px; margin-left: -750px; height: 3200px;
  transform-origin: 50% 100%; transform: rotateX(80deg);
  background:
    /* « 93 » peint au sol */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='1200'%3E%3Ctext x='200' y='700' text-anchor='middle' font-family='Arial Black,Arial,sans-serif' font-weight='900' font-size='300' fill='%23f4f1ea' fill-opacity='.85' transform='scale(1 2.2) translate(0 -380)'%3E93%3C/text%3E%3C/svg%3E") 50% 0 / 400px var(--periode) repeat-y,
    /* ligne centrale discontinue */
    repeating-linear-gradient(180deg, #f4f1ea 0 120px, transparent 120px 240px) 50% 0 / 14px var(--periode) repeat-y,
    /* lignes de rive continues */
    linear-gradient(90deg, transparent calc(28% + 14px), #f4f1ea 0 calc(28% + 24px), transparent 0 calc(72% - 24px), #f4f1ea 0 calc(72% - 14px), transparent 0) 0 0 / 100% 100%,
    /* bordures de trottoir rouge / blanc */
    repeating-linear-gradient(180deg, var(--rouge-93) 0 60px, #f4f1ea 60px 120px) calc(28% - 0px) 0 / 14px var(--periode) repeat-y,
    repeating-linear-gradient(180deg, var(--rouge-93) 0 60px, #f4f1ea 60px 120px) calc(72% + 0px) 0 / 14px var(--periode) repeat-y,
    /* chaussée et trottoirs */
    linear-gradient(90deg, #3b3f47 0 28%, #2c3037 28% 72%, #3b3f47 72%);
  background-repeat: repeat-y, repeat-y, no-repeat, repeat-y, repeat-y, no-repeat;
  animation: route-defile 2.6s linear infinite;
}
@keyframes route-defile {
  to { background-position: 50% var(--periode), 50% var(--periode), 0 0, calc(28% - 0px) var(--periode), calc(72% + 0px) var(--periode), 0 0; }
}
/* brume à l'horizon pour fondre la route dans le ciel */
.route3d::after { content: ""; position: absolute; inset: 0 0 auto; height: 22%; background: linear-gradient(180deg, #2a2b3d, transparent); pointer-events: none; }

/* la Clio : suit la souris (js : --x en px, --r en deg) */
.hero__voiture {
  position: absolute; z-index: 2; bottom: clamp(18px, 4vh, 40px); left: var(--fuite);
  width: clamp(74px, 9vw, 116px); translate: calc(-50% + var(--x, 0px)) 0; rotate: var(--r, 0deg);
  filter: drop-shadow(0 18px 14px rgb(0 0 0 / .55));
}
.hero__voiture svg { width: 100%; rotate: 180deg; }
.hero__voiture::after { /* phares sur la route */
  content: ""; position: absolute; left: 50%; bottom: 92%; width: 180%; height: 120%; translate: -50% 0; z-index: -1;
  background: radial-gradient(50% 60% at 30% 100%, rgb(255 246 201 / .28), transparent 70%), radial-gradient(50% 60% at 70% 100%, rgb(255 246 201 / .28), transparent 70%);
  filter: blur(4px);
}

/* panneau de limitation au bord de la route = le prix */
.hero__panneau {
  position: absolute; z-index: 1; top: calc(var(--horizon) - clamp(70px, 12vh, 130px)); left: calc(var(--fuite) + clamp(120px, 16vw, 260px));
  display: grid; justify-items: center;
}
.hero__panneau::after { content: ""; width: 6px; height: clamp(50px, 9vh, 90px); background: linear-gradient(90deg, #8e939a, #c9cdd2, #7d828a); }
.hero__panneau .limitation { position: relative; inset: auto; rotate: 0deg; width: clamp(84px, 9vw, 128px); border-width: clamp(8px, 1vw, 12px); animation: panneau-arrive .7s 1.2s cubic-bezier(.3, 1.5, .5, 1) both; }
.hero__panneau .limitation strong { font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
@media (max-width: 899px) { .hero__panneau { display: none; } }
.prix-sr { display: block; margin-top: .3em; font-weight: 700; color: var(--jaune-chantier); }
@media (min-width: 900px) { .prix-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }

/* textes */
.hero--route h1 { font-size: min(8.4vw, 10vh, 6.4rem); line-height: .92; letter-spacing: -.035em; max-width: 15ch; margin-bottom: .35em; text-shadow: 0 6px 30px rgb(0 0 0 / .4); }
@media (max-width: 699px) { .hero--route h1 { font-size: min(12.5vw, 7.4vh, 3.4rem); } }
.hero--route .rouge { color: var(--rouge-93); font-style: italic; }
.hero--route .hero__sous { color: #dfe2ea; max-width: 40ch; font-size: clamp(1rem, 1.7vw, 1.2rem); animation: fondu-monte .8s .8s both; }
.hero--route .boutons { animation: fondu-monte .8s .95s both; }
.hero--route .hero__offre { animation: fondu-monte .8s 1.1s both; text-shadow: 0 2px 10px rgb(10 14 30 / .9); }
/* mobile : l'offre passerait sous la Clio ; elle reste affichée dans les tarifs */
@media (max-width: 899px) { .hero--route .hero__offre { display: none; } }
.hero--route .hero__suite { bottom: 2rem; }

@media (prefers-reduced-motion: reduce) {
  .route3d__sol { animation: none; }
}

.hero--route .hero__sous, .hero--route .etape { text-shadow: 0 2px 10px rgb(10 14 30 / .9), 0 0 2px rgb(10 14 30 / .9); }

/* ==========================================================
   v8 — accueil vivant, fil conducteur, permis rose, finitions
   ========================================================== */

/* ---------- Accueil : la route attend le feu vert ---------- */
.hero--route { --horizon-px: 50svh; }
@media (max-width: 899px) { .hero--route { --horizon-px: 60svh; } }
.hero--route:not([data-feu="vert"]) .route3d__sol,
.hero--route:not([data-feu="vert"]) .lampe { animation-play-state: paused; }

/* feu tricolore, côté gauche de la route */
.feu {
  position: absolute; z-index: 1; display: grid; justify-items: center;
  top: calc(var(--horizon) - clamp(84px, 14vh, 150px)); left: calc(var(--fuite) - clamp(110px, 15vw, 250px));
}
.feu::after { content: ""; width: 5px; height: clamp(44px, 8vh, 80px); background: linear-gradient(90deg, #6b7079, #a7acb4, #5d626b); }
.feu__boite { display: grid; gap: 4px; padding: 5px; background: #0d0f13; border: 2px solid #3a3e45; border-radius: 8px; }
.feu__boite i { width: clamp(11px, 1.3vw, 17px); aspect-ratio: 1; border-radius: 50%; background: #2b2226; transition: background .15s, box-shadow .15s; }
[data-feu="rouge"] .feu__r { background: #ff3b3b; box-shadow: 0 0 14px 2px #ff3b3b; }
[data-feu="orange"] .feu__o { background: #ffb020; box-shadow: 0 0 14px 2px #ffb020; }
[data-feu="vert"] .feu__v { background: #2ee66b; box-shadow: 0 0 14px 2px #2ee66b; }

/* lampadaires qui défilent vers le spectateur */
.lampadaires { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.lampe {
  position: absolute; left: var(--fuite); top: var(--horizon); width: 60px; height: 150px; margin: -150px 0 0 -30px;
  transform-origin: 50% 100%; opacity: 0;
  animation: lampe-g 3s cubic-bezier(.62, 0, .96, .55) infinite; animation-delay: calc(var(--n) * -1s);
}
.lampe--d { animation-name: lampe-d; }
.lampe::before { content: ""; position: absolute; left: 50%; bottom: 0; width: 4px; height: 100%; margin-left: -2px; background: linear-gradient(90deg, #4a4f58, #8e939a, #3a3e45); }
.lampe::after { /* tête de lampe, tournée vers la chaussée */
  content: ""; position: absolute; top: 0; left: 50%; width: 26px; height: 6px; border-radius: 0 4px 4px 0; background: #b9bec4;
  box-shadow: 10px 8px 22px 6px rgb(255 214 140 / .5);
}
.lampe--d::after { left: auto; right: 50%; border-radius: 4px 0 0 4px; box-shadow: -10px 8px 22px 6px rgb(255 214 140 / .5); }
@keyframes lampe-g {
  0% { translate: -18px 0; scale: .04; opacity: 0; }
  14% { opacity: 1; }
  100% { translate: -640px calc(100svh - var(--horizon-px)); scale: 2.7; opacity: 1; }
}
@keyframes lampe-d {
  0% { translate: 18px 0; scale: .04; opacity: 0; }
  14% { opacity: 1; }
  100% { translate: 640px calc(100svh - var(--horizon-px)); scale: 2.7; opacity: 1; }
}

/* curseur en forme de volant sur l'accueil (souris uniquement) */
@media (hover: hover) and (pointer: fine) {
  .hero--route { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='13' fill='none' stroke='%23fff' stroke-width='3.5'/%3E%3Ccircle cx='16' cy='16' r='13' fill='none' stroke='%231e2126' stroke-width='1.5'/%3E%3Ccircle cx='16' cy='17' r='3.5' fill='%23d7262e' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M3.5 15h9M19.5 15h9M16 20.5V29' stroke='%23fff' stroke-width='3'/%3E%3C/svg%3E") 16 16, auto; }
}

/* ---------- Mode jour (7h-19h, test : ?jour=1 / ?nuit=1) ---------- */
.est-jour .hero__ciel { background: radial-gradient(60% 55% at var(--fuite) 100%, rgb(255 236 200 / .55), transparent 70%), linear-gradient(180deg, #3f7fd0 0%, #79aee6 55%, #cfe3f2 100%); }
.est-jour .hero__ville { fill: #5d6b86; }
.est-jour .hero__ville .f { opacity: 0; }
.est-jour .route3d { background: linear-gradient(180deg, #5e6672, #3a3f47); }
.est-jour .route3d::after { background: linear-gradient(180deg, #c3d6e6, transparent); }
.est-jour .lampe::after { box-shadow: none; }
.est-jour .hero__voiture::after { opacity: 0; }
.est-jour .hero--route .hero__sous, .est-jour .hero--route .etape { text-shadow: 0 2px 12px rgb(10 30 70 / .6); }
.est-jour .hero--route h1 { text-shadow: 0 4px 24px rgb(10 30 70 / .45); }

/* ---------- Fil conducteur : chaque étape est un panneau de direction ---------- */
.etape, .section--nuit .etape, .hero .etape {
  color: #fff; background: var(--marine); padding: .5em 2.3em .5em .5em; border-radius: 4px 0 0 4px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / .85);
}
.etape b { border-radius: 3px; background: #fff; color: var(--marine); width: 1.9em; height: 1.9em; }
.hero--route .etape { background: rgb(18 48 107 / .85); }
@supports (animation-timeline: view()) {
  .section .etape { animation: panneau-entre linear both; animation-timeline: view(); animation-range: entry 5% entry 65%; }
}
@keyframes panneau-entre { from { translate: 90px 0; opacity: 0; } }

/* traversées : une bande de route entre deux sections claires, les pointillés défilent avec le scroll */
#la-clio::before, #tarifs::before, #faq::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px;
  background: linear-gradient(90deg, #f4f1ea 0 42px, transparent 0) calc(var(--y) * -.7px) 50% / 78px 5px repeat-x, var(--asphalte);
  border-block: 4px solid #c9cdd2;
}
#la-clio, #tarifs, #faq { padding-top: calc(clamp(4rem, 10vw, 7.5rem) + 40px); }

/* ---------- Arrivée : le permis rose, tamponné ---------- */
.permis {
  position: relative; width: min(360px, 86vw); aspect-ratio: 85.6 / 54; margin: 0 auto 1.4rem; padding: 14px 16px; border-radius: 14px; text-align: left; color: #3b2a33;
  background:
    repeating-radial-gradient(circle at 72% 62%, rgb(255 255 255 / .22) 0 1.5px, transparent 1.5px 7px),
    linear-gradient(135deg, #f9dde3, #f0c0ca 55%, #e7aebb);
  box-shadow: 0 30px 60px rgb(0 0 0 / .45), inset 0 0 0 1px rgb(255 255 255 / .5);
  transform: perspective(900px) rotateY(-75deg) rotateZ(-4deg); opacity: 0;
  transition: transform 1s cubic-bezier(.2, .8, .2, 1), opacity .4s;
}
.vu .permis { transform: perspective(900px) rotateY(0deg) rotateZ(-4deg); opacity: 1; }
.permis__haut { display: flex; align-items: center; gap: 10px; }
.permis__ue { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 4px; background: #1f45b5; color: #ffd84d; font: 900 .95rem/1 var(--titre); }
.permis__haut b { display: block; font: 900 .92rem/1 var(--titre); text-transform: uppercase; color: #2b1d24; }
.permis__haut small { display: block; margin-top: 3px; font: 500 .58rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #7b5a66; }
.permis__corps { display: grid; grid-template-columns: 26% 1fr auto; gap: 12px; margin-top: 12px; align-items: start; }
.permis__photo { aspect-ratio: 4 / 5; border-radius: 4px; background: #ead7db; border: 1px solid rgb(0 0 0 / .1); display: grid; place-items: end center; overflow: hidden; }
.permis__photo svg { width: 82%; fill: #a98d96; }
.permis__champs { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font: 700 clamp(.5rem, 1.6vw, .62rem)/1.1 var(--mono); text-transform: uppercase; color: #3b2a33; }
.permis__champs i, .permis__cat i { font-style: normal; color: #9b7180; margin-right: 3px; }
.permis__cat { align-self: end; font: 900 clamp(1.6rem, 5vw, 2.1rem)/1 var(--titre); color: var(--marine); }
.permis .tampon { position: absolute; right: -18px; bottom: -14px; font-size: clamp(1.9rem, 6.5vw, 2.8rem); transition-delay: .9s, .9s; }
@media (prefers-reduced-motion: reduce) { .permis { transform: rotateZ(-4deg); opacity: 1; } }

/* ---------- Finitions : clignotant au survol des boutons ---------- */
.bouton { position: relative; }
.bouton::after {
  content: ""; position: absolute; right: 9px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%;
  background: #ffa51f; box-shadow: 0 0 8px 1px #ffa51f; opacity: 0; pointer-events: none;
}
.bouton:hover::after, .bouton:focus-visible::after { animation: clignote .8s steps(1, end) infinite; }
@keyframes clignote { 0% { opacity: 1; } 50% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .lampe { display: none; }
  .bouton:hover::after { animation: none; opacity: 1; }
}
/* le feu passe derrière les boutons sur mobile : réservé aux écrans larges */
@media (max-width: 899px) { .feu { display: none; } }
/* jour : haut du ciel plus profond pour garder le titre blanc lisible */
.est-jour .hero__ciel { background: radial-gradient(60% 55% at var(--fuite) 100%, rgb(255 236 200 / .5), transparent 70%), linear-gradient(180deg, #17498f 0%, #2d6cbf 40%, #8dbbe6 82%, #d3e6f3 100%); }
/* ombre du titre : appliquée au bloc (filtre) pour ne pas être découpée par les mots animés */
.hero--route h1, .est-jour .hero--route h1 { text-shadow: none; filter: drop-shadow(0 4px 18px rgb(8 12 28 / .45)); }
/* jour : ville plus sombre derrière le texte */
.est-jour .hero__ville { fill: #33425f; }
.est-jour .hero--route .hero__sous { color: #fff; text-shadow: 0 1px 2px rgb(10 25 60 / .9), 0 2px 14px rgb(10 25 60 / .8); }

/* v9 — accueil : plus de « 93 » peint sur la route (demande du 15/10) */
.route3d__sol {
  background:
    repeating-linear-gradient(180deg, #f4f1ea 0 120px, transparent 120px 240px) 50% 0 / 14px var(--periode),
    linear-gradient(90deg, transparent calc(28% + 14px), #f4f1ea 0 calc(28% + 24px), transparent 0 calc(72% - 24px), #f4f1ea 0 calc(72% - 14px), transparent 0) 0 0 / 100% 100%,
    repeating-linear-gradient(180deg, var(--rouge-93) 0 60px, #f4f1ea 60px 120px) 28% 0 / 14px var(--periode),
    repeating-linear-gradient(180deg, var(--rouge-93) 0 60px, #f4f1ea 60px 120px) 72% 0 / 14px var(--periode),
    linear-gradient(90deg, #3b3f47 0 28%, #2c3037 28% 72%, #3b3f47 72%);
  background-repeat: repeat-y, no-repeat, repeat-y, repeat-y, no-repeat;
  animation-name: route-defile-sans-93;
}
@keyframes route-defile-sans-93 {
  to { background-position: 50% var(--periode), 0 0, 28% var(--periode), 72% var(--periode), 0 0; }
}

/* ==========================================================
   v9 — mobile plus court : slides + éléments secondaires masqués
   ========================================================== */
.slides-nav { display: none; }
@media (max-width: 899px) {
  [data-slides] {
    display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: -16px; padding: 6px 16px 10px; scroll-padding-inline: 16px; scrollbar-width: none;
  }
  [data-slides]::-webkit-scrollbar { display: none; }
  [data-slides] > * { flex: 0 0 84%; scroll-snap-align: center; }

  /* indicateur : pointillés de route, l'actif est plus long et rouge */
  .slides-nav { display: flex; justify-content: center; gap: 6px; margin-top: .9rem; }
  .slides-nav button { width: 18px; height: 5px; padding: 0; border: 0; border-radius: 2px; background: currentColor; opacity: .3; cursor: pointer; transition: width .25s, opacity .25s, background-color .25s; }
  .slides-nav button[aria-current="true"] { width: 36px; opacity: 1; background: var(--rouge-93); }

  /* voies : cartes sur l'asphalte */
  [data-slides] > .voie, [data-slides] > .voie + .voie { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .08); border-radius: 14px; padding: 1.3rem 1.1rem; }
  .voies__liste { margin-top: 1.6rem; }

  /* bornes : cartes blanches, la ligne verticale n'a plus de sens */
  .bornes::before { display: none; }
  [data-slides] > .bornes li, .bornes[data-slides] > li { background: #fff; border: 2px solid var(--encre); border-radius: 12px; padding: 1rem; }

  /* éléments redondants masqués sur mobile */
  .principe__visuel { display: none; }
  .tarifs__grille > .limitation { display: none; }
  .pied nav.pied__bloc { display: none; }
}
/* un carrousel dans une grille : empêcher la colonne de s'élargir à toute la piste */
.principe__grille > *, .conteneur > div:has(> [data-slides]) { min-width: 0; }
/* mobile : sections moins hautes */
@media (max-width: 899px) {
  .section { padding-block: 3.2rem; }
  #la-clio, #tarifs, #faq { padding-top: calc(3.2rem + 40px); }
  .arrivee { padding-top: calc(3.2rem + 28px); }
}
/* mobile : section La Clio et suivantes plus compactes */
@media (max-width: 899px) {
  .galerie img { aspect-ratio: 4 / 3; }
  .galerie li { flex-basis: 80vw; }
  .essai { margin-top: 2rem; padding: 1.1rem; }
  .essai__regles { display: none; }
  .essai h3 { margin-bottom: .8rem; }
  .essai__scene { height: 300px; }
  .pedale[data-jeu-frein] .pedale__semelle { width: 104px; }
  .pedale--accomp .pedale__semelle { width: 72px; }
  .calcul__intro { display: none; }
  .feuille li { padding: .5rem 0; }
  .feuille li span { display: none; }
  .fiche-technique { gap: .9rem 1.2rem; margin-top: 1.2rem; }
}

/* pendant une partie, la bulle WhatsApp ne cache pas les pédales */
.jeu-en-cours .bulle-wa { opacity: 0; pointer-events: none; }

/* ==========================================================
   v10 — le logo d'origine intégré
   En-tête : lettrage du logo (version fond sombre).
   Accueil desktop : le logo complet sur un panneau publicitaire éclairé au bord de la route.
   Accueil mobile : le logo détouré au-dessus du titre.
   ========================================================== */
.logo__img { display: block; height: 34px; width: auto; }
@media (max-width: 559px) { .logo__img { height: 28px; } }
.apres-hero .logo__img { height: 30px; }
@media (max-width: 559px) { .apres-hero .logo__img { height: 26px; } }
/* Logo aux couleurs d'origine (bleu marine + rouge, demande du client) posé sur une plaque
   d'immatriculation blanche avec bande bleue, pour rester lisible sur la barre sombre */
.logo:has(.logo__img) { gap: 0; background: #fff; border-radius: 6px; padding: 4px 10px 4px 0; box-shadow: inset 0 0 0 1.5px rgb(18 48 107 / .35); }
.logo:has(.logo__img)::before { content: ""; align-self: stretch; width: 12px; margin: -4px 8px -4px 0; border-radius: 6px 0 0 6px; background: var(--marine); }
.logo:has(.logo__img) .logo__img { height: 28px; }
@media (max-width: 559px) { .logo:has(.logo__img) .logo__img { height: 22px; } }
.apres-hero .logo:has(.logo__img) .logo__img { height: 24px; }
@media (max-width: 559px) { .apres-hero .logo:has(.logo__img) .logo__img { height: 20px; } }

/* panneau publicitaire 4×3, posé sur l'horizon à droite de la route */
.hero__pub {
  position: absolute; z-index: 0; display: none;
  right: max(28px, (100% - 1180px) / 2); bottom: calc(100% - var(--horizon) - 4px);
  width: clamp(250px, 25vw, 380px);
}
@media (min-width: 900px) { .hero__pub { display: grid; justify-items: center; } }
.hero__pub-cadre {
  position: relative; width: 100%; padding: 8px 10px; background: #fbfaf6; border: 7px solid #2a2e35; border-radius: 4px;
  box-shadow: 0 0 0 2px #0d0f13, 0 18px 40px rgb(0 0 0 / .45);
}
.hero__pub-cadre img { display: block; width: 100%; height: auto; }
.hero__pub-cadre::before { /* rampe d'éclairage au-dessus de l'affiche */
  content: ""; position: absolute; left: 12%; right: 12%; top: -16px; height: 6px; border-radius: 3px; background: #3a3e45;
  box-shadow: 0 10px 34px 10px rgb(255 236 190 / .35);
}
.hero__pub::after { /* deux pieds */
  content: ""; width: 58%; height: clamp(34px, 6vh, 60px);
  background: linear-gradient(90deg, #4a4f58 0 8px, transparent 8px calc(100% - 8px), #4a4f58 calc(100% - 8px));
}
.est-jour .hero__pub-cadre::before { box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__pub { animation: pub-allume 1.2s .2s steps(1, end) both; }
}
@keyframes pub-allume { 0% { filter: brightness(.35); } 20% { filter: brightness(1.1); } 28% { filter: brightness(.5); } 40%, 100% { filter: none; } }

/* le panneau de limitation passe devant, un peu plus près de la route */
@media (min-width: 900px) {
  .hero__panneau { top: calc(var(--horizon) - clamp(30px, 5vh, 60px)); left: calc(var(--fuite) + clamp(90px, 10vw, 170px)); z-index: 2; }
}

/* mobile : le logo détouré au-dessus du titre */
.hero__logo { display: block; width: min(210px, 56vw); height: auto; margin: 0 0 .6rem; padding: 6px 8px; box-sizing: content-box; background: #fff; border-radius: 12px; box-shadow: 0 8px 20px rgb(0 0 0 / .35); animation: fondu-monte .8s .1s both; }
@media (min-width: 900px) { .hero__logo { display: none; } }
@media (max-width: 899px) { .hero--route .etape { display: none; } }
/* mobile : logo + titre + boutons au-dessus de la Clio, sans chevauchement */
@media (max-width: 899px) {
  .hero__logo { width: min(150px, 42vw); margin-bottom: .3rem; }
  .hero--route .hero__sous { font-size: .95rem; margin-bottom: .7em; }
  .hero--route .boutons { gap: .6rem; }
  .hero--route .bouton--grand { min-height: 52px; }
  .hero__voiture { width: 62px; bottom: 14px; }
}

/* ==========================================================
   v11 — mise en ligne : sans JS tout reste visible, page légale
   ========================================================== */

.page-legale { padding-bottom: 0; }
.legal { padding-top: calc(var(--haut) + 3rem); }
.legal .conteneur { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p { color: #33373e; }
.legal a:not(.bouton) { color: var(--marine); font-weight: 700; }
.legal__maj { font: 500 .8rem/1.4 var(--mono); color: var(--gris) !important; }
.legal__retour { margin-top: 2.6rem; }

/* contraste AA : liens texte rouges sur fond clair */
.lien-fort, .faq__autre a { color: #b81f26; }
/* LCP : le titre commence à monter plus tôt */
.mot > span { animation-delay: calc(.05s + var(--i) * 60ms); }

/* contraste AA : repères PK du pied de page sur fond noir */
.pied__parcours small { color: #ff6b72; }
