/* =========================================================================
   EPA — Expert du Permis Accéléré — feuille de style
   Palette des flyers : noir #0b0b0c, or #e8b54e (dégradé métallique), blanc.
   Base : moteur du site DCS Conduite (même mise en mouvement), adapté à EPA.
   ========================================================================= */

@font-face {
  font-family: "Unbounded";
  src: url("fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0b0b0c;
  --night-2: #151514;
  --night-3: #1e1d1b;
  --deep: #060606;
  --paper: #f1eee7;
  --paper-2: #e8e3d8;
  --card: #ffffff;
  --ink: #121110;
  --ink-2: #48443c;
  --ink-3: #78715f;
  --gold: #e8b54e;
  --gold-hi: #fbe2a0;
  --gold-lo: #b98629;
  --gold-ink: #85601a;
  --gold-grad: linear-gradient(135deg, #fff1c4 0%, #f2c862 24%, #dca33a 55%, #bb862b 76%, #f0cd76 100%);
  --line-l: rgba(18, 17, 16, .12);
  --line-d: rgba(255, 255, 255, .09);

  --display: "Unbounded", "Avenir Next", system-ui, sans-serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1380px;
  --radius: clamp(22px, 2.6vw, 34px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--night);
}
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 1rem/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4 { overflow-wrap: break-word; }
h1, h2, h3 { font-weight: 500; }
b, strong { font-weight: 700; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.paper :focus-visible { outline-color: var(--gold-ink); }

.skip {
  position: fixed; left: 12px; top: -80px; z-index: 300;
  padding: 12px 18px; border-radius: 12px;
  background: #fff; color: var(--ink); font-weight: 700; text-decoration: none;
  transition: top .3s var(--ease);
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.paper { background: var(--paper); color: var(--ink); }
.paper--alt { background: var(--paper-2); }
.dark { background: var(--night); color: #fff; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  margin: 0 0 24px;
  font: 700 .72rem/1 var(--text); letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink);
}
.eyebrow::before {
  content: ""; width: 30px; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, currentColor 0 7px, transparent 7px 11px);
}
.dark .eyebrow { color: var(--gold); }

.h2 {
  margin: 0;
  font: 500 clamp(2rem, 4.3vw, 4.1rem)/1.04 var(--display);
  letter-spacing: -.04em;
  text-wrap: balance;
}
.h2--sm { font-size: clamp(1.7rem, 3.1vw, 2.9rem); }

.lede {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  line-height: 1.65;
  color: var(--ink-2);
}
.dark .lede { color: rgba(255, 255, 255, .7); }

.link { color: var(--gold-ink); font-weight: 700; text-underline-offset: 4px; }

.sec-head { margin-bottom: clamp(44px, 6vw, 84px); }
.sec-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px clamp(32px, 6vw, 96px);
  align-items: end;
}

/* ---------- buttons ---------- */
.btn {
  --bg: var(--gold-grad); --fg: var(--ink); --bd: transparent; --hover: #fff;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  height: 54px; padding: 0 28px;
  border: 1px solid var(--bd); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 700 .94rem/1 var(--text); letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: border-color .3s, color .3s;
}
.btn::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  background: var(--hover);
  transform: translateY(102%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__label {
  position: relative; display: block; overflow: hidden;
  line-height: 1.3; color: transparent;
}
.btn__label::before, .btn__label::after {
  content: attr(data-text);
  position: absolute; left: 0; color: var(--fg); white-space: nowrap;
  transition: transform .6s var(--ease);
}
.btn__label::before { top: 0; }
.btn__label::after { top: 100%; }
.btn:hover .btn__label::before, .btn:hover .btn__label::after { transform: translateY(-100%); }
.btn__icon {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .6s var(--ease);
}
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--sm { height: 44px; padding: 0 20px; font-size: .88rem; }
.btn--primary { --bg: var(--gold-grad); --fg: var(--ink); --hover: #fff; box-shadow: 0 16px 34px -18px rgba(232, 181, 78, .6); }
.btn--light { --bg: #fff; --fg: var(--ink); --hover: var(--gold); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .28); --hover: rgba(255, 255, 255, .1); }
.btn--ghost-dark { --bg: transparent; --fg: var(--ink); --bd: rgba(18, 17, 16, .25); --hover: rgba(18, 17, 16, .07); }

/* ---------- status (ouvert / fermé) ---------- */
.status {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0;
  font: 600 .82rem/1.2 var(--text);
}
.status__dot {
  position: relative; flex: none;
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
}
.status.is-open .status__dot { background: #45d483; box-shadow: 0 0 0 4px rgba(69, 212, 131, .18); }
.status.is-closed .status__dot { background: #ff8a6b; box-shadow: 0 0 0 4px rgba(255, 138, 107, .16); }
.status.is-open .status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(69, 212, 131, .7);
  animation: ping 2.2s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(2.2); opacity: 0; } }

/* =========================================================================
   Intro
   ========================================================================= */
.loader { display: none; }
.js .loader {
  display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none;
  animation: loader-failsafe 0s 4.5s forwards;
}
@keyframes loader-failsafe { to { visibility: hidden; } }
.loader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--deep); }
.loader__panel--top { top: 0; }
.loader__panel--bot { bottom: 0; }
.loader__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  color: #fff;
}
.loader__brand { margin: 0; color: #fff; }
.loader__brand .logo { width: clamp(240px, 30vw, 400px); height: auto; }

/* ---------- logo (symbole #logo-dcs : blanc = currentColor, doré = --logo-gold) ---------- */
.logo { display: block; overflow: visible; aspect-ratio: 4020 / 1160; }
.logo--mark { aspect-ratio: 2716 / 988; overflow: hidden; }
.nav__brand { display: inline-flex; align-items: center; }
.nav__brand .logo--full { height: 48px; width: auto; aspect-ratio: 4020 / 1160; }
.nav__brand .logo--mark { display: none; height: 30px; width: auto; aspect-ratio: 2716 / 988; }
.nav.is-light { --logo-gold: #a8771f; }
.nav.menu-open { --logo-gold: url(#logoGold); }
.legal-logo { display: block; height: 40px; width: auto; }
.loader__count {
  display: flex; align-items: baseline; gap: 12px; margin: 0;
  font: 500 clamp(3.6rem, 11vw, 8rem)/1 var(--display); letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.loader__num { min-width: 2.2ch; text-align: right; }
.loader__unit { font: 700 .9rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.loader__bar { position: relative; width: min(280px, 60vw); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.loader__bar span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .js .loader { display: none; } }

/* =========================================================================
   Curseur (pointeur fin uniquement)
   ========================================================================= */
.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 140; pointer-events: none; }
.has-cursor .cursor.is-off { opacity: 0; }
.cursor__dot, .cursor__ring { position: absolute; left: 0; top: 0; will-change: transform; }
.cursor__dot { display: none; }
.cursor__ring { width: 0; height: 0; }
.cursor__circle {
  position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(232, 181, 78, .55);
  transition: transform .5s var(--ease), background-color .35s, border-color .35s;
}
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  font: 700 .7rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transition: opacity .25s;
}
.cursor.is-link .cursor__circle { transform: scale(1.5); background: rgba(232, 181, 78, .12); }
.cursor.is-label .cursor__circle { transform: scale(2.1); background: var(--gold); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-label .cursor__dot { opacity: 0; }

/* =========================================================================
   Navigation
   ========================================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 85;
  color: #fff;
  transition: transform .7s var(--ease), color .4s;
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--nav-h); padding: 0 var(--gutter);
  transition: background-color .45s, box-shadow .45s;
}
.nav.is-scrolled .nav__bar { background: rgba(11, 11, 12, .9); box-shadow: 0 1px 0 var(--line-d); }
.nav.is-light { color: var(--ink); }
.nav.is-light .wm__dcs i { color: var(--gold-ink); }
.nav.is-light.is-scrolled .nav__bar { background: rgba(241, 238, 231, .93); box-shadow: 0 1px 0 var(--line-l); }
.nav.menu-open { color: #fff; transform: none; }
.nav.menu-open .nav__bar { background: transparent; box-shadow: none; }
.nav.menu-open .wm__dcs i { color: var(--gold); }
.nav.menu-open .nav__progress { opacity: 0; }
.nav__brand { text-decoration: none; color: inherit; }
.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 10px 15px; border-radius: 999px;
  font: 600 .9rem/1 var(--text); text-decoration: none; color: inherit;
  opacity: .78; transition: opacity .3s, background-color .3s;
}
.nav__links a:hover, .nav__links a.is-active { opacity: 1; background: rgba(255, 255, 255, .09); }
.nav.is-light .nav__links a:hover, .nav.is-light .nav__links a.is-active { background: rgba(18, 17, 16, .06); }
.nav__actions { display: flex; align-items: center; gap: 22px; }
.nav__login { font: 700 .88rem/1 var(--text); text-decoration: none; opacity: .85; transition: opacity .3s; }
.nav__login:hover { opacity: 1; }
.nav__burger {
  display: none; position: relative;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid currentColor; background: transparent; cursor: pointer;
  opacity: .9;
}
.nav__burger span {
  position: absolute; left: 14px; right: 14px; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.nav__burger span:first-child { top: 18px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.nav__track {
  position: absolute; inset: 0; opacity: 0; transition: opacity .4s;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 10px, transparent 10px 18px);
}
.nav.is-light .nav__track { background: repeating-linear-gradient(90deg, rgba(18, 17, 16, .2) 0 10px, transparent 10px 18px); }
.nav__fill {
  position: absolute; inset: 0; background: var(--gold);
  transform: scaleX(0); transform-origin: left; will-change: transform;
}
.nav.is-light .nav__fill { background: var(--gold-ink); }
.nav__car {
  position: absolute; left: 0; bottom: 1px; width: 28px; height: 12px;
  fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
  opacity: 0; transition: opacity .4s; will-change: transform;
}
.nav.is-light .nav__car { stroke: var(--gold-ink); }
.nav.is-scrolled .nav__track, .nav.is-scrolled .nav__car { opacity: 1; }

/* ---------- menu mobile ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80;
  background: var(--night); color: #fff;
  padding: calc(var(--nav-h) + 24px) var(--gutter) max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
}
.menu[hidden] { display: none; }
.menu__inner { min-height: 100%; display: flex; flex-direction: column; gap: 40px; }
.menu__links { list-style: none; margin: 0; padding: 0; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--line-d);
  font: 500 clamp(1.9rem, 8.4vw, 3rem)/1.05 var(--display); letter-spacing: -.035em;
  text-decoration: none;
}
.menu__links span { font: 700 .74rem/1 var(--text); letter-spacing: .1em; color: var(--gold); }
.menu__foot { margin-top: auto; display: grid; gap: 18px; justify-items: start; }
.menu__login { font-weight: 700; text-underline-offset: 4px; }

/* =========================================================================
   Accueil
   ========================================================================= */
.stack { position: relative; }
/* L'accueil fait au moins la hauteur de l'écran et s'allonge si son contenu ne tient pas
   (téléphones, fenêtres basses) : rien n'est rogné en haut. S'il dépasse l'écran, --hero-top
   (calculé en JS) le laisse défiler jusqu'en bas avant de se figer sous « À propos ». */
.hero {
  position: sticky; top: var(--hero-top, 0px); z-index: 0;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(120% 80% at 70% 55%, #211a0d 0%, var(--night) 60%);
  color: #fff;
}
.hero__road { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 11, 12, .88) 0%, rgba(11, 11, 12, .55) 34%, rgba(11, 11, 12, 0) 62%),
    linear-gradient(0deg, rgba(11, 11, 12, .92) 0%, rgba(11, 11, 12, 0) 46%);
}
.hero__inner {
  position: relative; z-index: 2; will-change: transform, opacity;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 28px);
  padding-bottom: clamp(32px, 6.5vh, 76px);
}
.hero__eyebrow {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px;
  margin: 0 0 auto;
  font: 600 .82rem/1.2 var(--text); color: rgba(255, 255, 255, .78);
}
.hero__eyebrow .status {
  padding: 9px 14px 9px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
}
.hero__eyebrow-name { letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; opacity: .8; }
.hero__title {
  margin: 0 0 clamp(26px, 4.4vh, 44px);
  max-width: 12.5ch;
  font: 600 clamp(2.45rem, 6.6vw, 7.2rem)/.98 var(--display);
  letter-spacing: -.05em;
}
.hero__title em {
  position: relative; font-style: normal; color: var(--gold); white-space: nowrap;
}
.hero__bottom {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 48px; align-items: end;
}
.hero__lede { margin: 0 0 28px; max-width: 44ch; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__pills { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; justify-items: end; }
.hero__pills li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(11, 11, 12, .45); border: 1px solid rgba(255, 255, 255, .13);
  font: 600 .86rem/1 var(--text); color: rgba(255, 255, 255, .9);
}
.hero__pills svg {
  width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--gold);
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.hero__scroll {
  position: absolute; z-index: 3; right: var(--gutter); top: 50%;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: rgba(255, 255, 255, .7); text-decoration: none;
  font: 700 .66rem/1 var(--text); letter-spacing: .3em; text-transform: uppercase;
  transform: translateY(-50%);
}
.hero__scroll span { writing-mode: vertical-rl; }
.hero__scroll i { position: relative; width: 2px; height: 64px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .14); }
.hero__scroll i::after {
  content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%;
  background: var(--gold); border-radius: 2px;
  animation: scrollcue 1.8s var(--ease-io) infinite;
}
@keyframes scrollcue { to { transform: translateY(350%); } }

/* =========================================================================
   À propos
   ========================================================================= */
.about {
  position: relative; z-index: 2;
  padding: clamp(84px, 11vw, 170px) 0 clamp(120px, 13vw, 190px);
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -40px 90px rgba(0, 0, 0, .45);
}
.about__statement {
  margin: 0 0 clamp(20px, 3vw, 40px);
  max-width: 13.5ch;
  font: 500 clamp(2.35rem, 7.4vw, 7.6rem)/.98 var(--display);
  letter-spacing: -.055em;
}
.about__statement .u { color: #a8771f; }

/* ---------- les deux voitures (symboles #c5-* / #c6-*, couleurs par variables) ---------- */
.garage { --road-h: clamp(26px, 2.6vw, 38px); margin: 0 0 clamp(64px, 8vw, 110px); }
.garage__road { position: relative; overflow: clip; padding-top: clamp(78px, 7vw, 96px); }
.garage__road::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: var(--road-h);
  background: var(--ink);
}
.garage__road::after {
  content: ""; position: absolute; left: -80px; right: -80px; bottom: calc(var(--road-h) * .32); height: 3px;
  background: repeating-linear-gradient(90deg, rgba(241, 238, 231, .82) 0 36px, transparent 36px 74px);
}
.garage__lot {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: center; gap: 5%;
  padding-bottom: calc(var(--road-h) * .7);
}
.garage__car { --w: min(44%, 560px); position: relative; flex: none; width: var(--w); will-change: transform; }
/* longueurs réelles : Clio 5 4,05 m, Clio 6 4,12 m ; bas des pneus posé sur la route */
.garage__car--c5 { width: calc(var(--w) * .983); margin-bottom: calc(var(--w) * .983 * -.00625); }
.garage__car--c6 { margin-bottom: calc(var(--w) * -.006875); }
.garage__body { width: 100%; height: auto; overflow: visible; }
.garage__shadow {
  position: absolute; left: 3%; right: 2%; bottom: -3%; height: 10%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .42), rgba(0, 0, 0, 0));
}
.garage__wheel { position: absolute; height: auto; aspect-ratio: 1 / 1; overflow: visible; will-change: transform; }
.garage__car--c6 .garage__wheel { width: 16.125%; top: 55.974%; }
.garage__car--c6 .garage__wheel--r { left: 7.4375%; }
.garage__car--c6 .garage__wheel--f { left: 75.0625%; top: 56.137%; }
.garage__car--c5 .garage__wheel { width: 15.125%; top: 58%; }
.garage__car--c5 .garage__wheel--r { left: 6.75%; }
.garage__car--c5 .garage__wheel--f { left: 73.875%; top: 58.167%; }
.garage__tag {
  --tone: var(--gold-ink);
  position: absolute; left: 50%; bottom: 100%; z-index: 1;
  display: grid; justify-items: center; gap: 6px;
  margin: 0; padding: 10px 16px 11px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line-l);
  box-shadow: 0 18px 34px -24px rgba(48, 34, 8, .55);
  font: 500 clamp(.8rem, 1.1vw, 1rem)/1.1 var(--display); letter-spacing: -.02em;
  white-space: nowrap; text-align: center;
  transform: translate(-50%, -12px);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.garage__tag span {
  display: inline-flex; align-items: center; gap: 7px;
  font: 800 .6rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--tone);
}
.garage__tag span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.garage__tag--auto { --tone: #a8771f; }
.garage__tag--man { --tone: var(--ink); }
.garage.is-js .garage__car:not(.is-parked) .garage__tag { opacity: 0; transform: translate(-50%, 6px); }
.car__drl { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; opacity: .55; transition: opacity .5s, filter .5s; }
.car__tail { fill: none; stroke: #ff4b4b; stroke-width: 7; stroke-linecap: round; opacity: .55; transition: opacity .3s, filter .3s; }
.garage__car.is-parked .car__drl { opacity: 1; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .9)); }
.garage__car.is-braking .car__tail { opacity: 1; filter: drop-shadow(0 0 7px rgba(255, 75, 75, .95)); }

.car-c6 { --cb-mid: #d6a23e; --cb-light: #f3d488; --cb-dark: #15130f; --cb-mirror: #2a2417; --cb-line: #a4761f; --cw-rim: #1d1c19; --cw-dish: #121110; --cw-spoke: #d9b25a; }
.car-c5 { --cb-mid: #2a2a2d; --cb-light: #55555b; --cb-shade: #1d1d20; --cb-dark: #0c0c0d; --cb-mirror: #141416; --cb-line: #3c3c42; --cw-rim: #121213; --cw-dish: #0c0c0d; --cw-spoke: #1f1f22; --cw-cut: #d4a64a; }
.cb-mid { fill: var(--cb-mid); }
.cb-light { fill: var(--cb-light); }
.cb-shade, .cb-handle { fill: var(--cb-shade, var(--cb-mid)); }
.cb-dark { fill: var(--cb-dark); }
.cb-mirror { fill: var(--cb-mirror); }
.cb-line { fill: none; stroke: var(--cb-line); stroke-width: 2.4; stroke-linecap: round; }
.cb-bezel { fill: none; stroke: var(--cb-light); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.cb-lamp { fill: #dfe3e8; }
.cb-tail { fill: #a3141c; }
.cw-tire { fill: #141518; }
.cw-wall { fill: none; stroke: #2b2e33; stroke-width: 3; }
.cw-rim, .cw-hub { fill: var(--cw-rim); }
.cw-dish { fill: var(--cw-dish); }
.cw-spoke { fill: var(--cw-spoke); }
.cw-cut { fill: var(--cw-cut, transparent); }
.cw-nut { fill: #141518; }

/* ---------- texte, « En savoir + », horaires ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 110px);
  align-items: start;
}
.about__lead {
  margin: 0; max-width: 24ch;
  font: 500 clamp(1.45rem, 2.4vw, 2.3rem)/1.18 var(--display); letter-spacing: -.03em;
}
.more { max-width: 62ch; border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); }
.more summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 700 1.04rem/1.3 var(--text); color: var(--gold-ink);
}
.more summary::-webkit-details-marker { display: none; }
.more__icon, .qa__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(18, 17, 16, .2); color: var(--ink);
  transition: background-color .35s, border-color .35s, color .35s;
}
.more__icon::before, .more__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; border-radius: 2px;
  background: currentColor; transform: translate(-50%, -50%);
}
.more__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.more[open] .more__icon { background: var(--ink); border-color: var(--ink); color: #fff; }
.more[open] .more__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.more summary:hover .more__icon { border-color: var(--gold-ink); }
.more__a { overflow: hidden; }
.more__title { margin: 2px 0 12px; font: 500 1.3rem/1.2 var(--display); letter-spacing: -.03em; }
.more__a p { margin: 0 0 12px; color: var(--ink-2); line-height: 1.7; }
.more__cta { display: flex; flex-wrap: wrap; gap: 12px; padding: 14px 0 28px; }
.paper .status__dot { background: rgba(18, 17, 16, .3); }

/* =========================================================================
   Bandeau
   ========================================================================= */
.bands { position: relative; z-index: 3; overflow-x: clip; margin: -46px 0; padding: 40px 0; pointer-events: none; }
.band {
  transform: rotate(-2.4deg) scale(1.04); will-change: transform;
  padding: 22px 0;
  background: var(--gold-grad); color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.band__track {
  display: flex; align-items: center; gap: 36px; width: max-content; padding-right: 36px;
  font: 500 clamp(1.15rem, 2.3vw, 2rem)/1 var(--display); letter-spacing: -.025em; white-space: nowrap;
  will-change: transform;
}
.band__track i {
  flex: none; width: 34px; height: 4px; border-radius: 4px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 9px, transparent 9px 13px);
}

/* =========================================================================
   Formations
   ========================================================================= */
.formations {
  position: relative; z-index: 1;
  padding: clamp(120px, 13vw, 170px) 0 clamp(90px, 10vw, 130px);
  background:
    radial-gradient(70% 50% at 85% 10%, rgba(201, 146, 46, .14), transparent 70%),
    var(--night);
  overflow: clip;
}
.formations__head {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px); align-items: end;
  margin-bottom: clamp(40px, 5vw, 60px);
}
.formations__meta { display: grid; gap: 26px; }
.formations__hint { display: flex; align-items: center; gap: 14px; margin: 0; color: rgba(255, 255, 255, .5); font-size: .88rem; font-weight: 600; }
.formations__hint svg { flex: none; width: 32px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.formations__progress { display: flex; align-items: center; gap: 14px; margin-top: 34px; font: 500 .95rem/1 var(--display); }
.formations:not(.is-live) .formations__progress { display: none; }
.formations__total { color: rgba(255, 255, 255, .4); }
.formations__bar { position: relative; flex: 1; max-width: 520px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.formations__bar span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(.2); transform-origin: left; will-change: transform; }
/* carrousel natif par défaut (mobile, sans JS, mouvement réduit) */
.formations__viewport {
  position: relative;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: thin; scrollbar-color: rgba(232, 181, 78, .35) transparent;
  padding-bottom: 12px;
}
@media (hover: none) {
  .formations__viewport { scrollbar-width: none; padding-bottom: 0; }
  .formations__viewport::-webkit-scrollbar { display: none; }
}
.fcard { scroll-snap-align: start; }

/* défilement horizontal épinglé : grand écran, classe has-pin posée par app.js avant l'épinglage */
@media (min-width: 1024px) and (min-height: 620px) {
  .has-pin .formations { padding: 0; }
  .has-pin .formations__pin {
    height: 100vh; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--nav-h) + 8px) 0 30px;
  }
  .has-pin .formations__rail { display: flex; align-items: stretch; width: max-content; will-change: transform; }
  .has-pin .formations__head {
    display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
    width: min(600px, 42vw); max-width: none; margin: 0; padding-right: clamp(24px, 3vw, 56px);
  }
  .has-pin .formations__head .h2 { font-size: clamp(2.2rem, 3.9vw, 4rem); }
  .has-pin .formations__viewport { overflow: visible; padding-bottom: 0; scroll-snap-type: none; }
  .has-pin .formations__track { padding-left: 0; }
  .has-pin .fcard { width: clamp(330px, 27vw, 410px); }
  .has-pin .fcard__media { aspect-ratio: 400 / 240; }
  .has-pin .formations__progress { margin-top: 30px; }
}
@media (min-width: 1024px) and (min-height: 620px) and (max-height: 820px) {
  .has-pin .fcard__media { aspect-ratio: 400 / 205; }
  .has-pin .fcard__body { padding: 20px 22px 18px; }
  .has-pin .fcard__desc { margin-bottom: 14px; font-size: .9rem; }
  .has-pin .fcard__list { margin-bottom: 16px; }
}
.formations__track {
  list-style: none; margin: 0;
  display: flex; gap: 18px;
  padding: 0 var(--gutter);
  width: max-content;
}
.fcard { flex: 0 0 auto; width: clamp(300px, 29vw, 420px); }
.fcard__inner {
  position: relative; height: 100%;
  display: flex; flex-direction: column;
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(180deg, #191816 0%, #121211 100%);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: border-color .5s;
  will-change: transform;
}
.fcard__inner:hover { border-color: rgba(232, 181, 78, .32); }
.fcard__media {
  position: relative; aspect-ratio: 400 / 260;
  background:
    radial-gradient(90% 80% at 50% 0%, rgba(232, 181, 78, .14), transparent 70%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .08) 1px, transparent 1.6px) 0 0 / 18px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.fcard__num { position: absolute; left: 20px; top: 18px; font: 500 .78rem/1 var(--display); color: rgba(255, 255, 255, .45); }
.fcard__tag {
  position: absolute; right: 16px; top: 13px;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(11, 11, 12, .6); border: 1px solid rgba(255, 255, 255, .13);
  font: 700 .64rem/1 var(--text); letter-spacing: .15em; text-transform: uppercase; color: var(--gold);
}
.fcard__body { flex: 1; display: flex; flex-direction: column; padding: 24px 24px 22px; }
.fcard__title { margin: 0 0 10px; font: 500 1.38rem/1.15 var(--display); letter-spacing: -.03em; }
.fcard__desc { margin: 0 0 18px; color: rgba(255, 255, 255, .66); font-size: .94rem; line-height: 1.55; }
.fcard__list { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fcard__list li { padding: 7px 11px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: rgba(255, 255, 255, .82); font-size: .76rem; font-weight: 600; line-height: 1.2; }
.fcard__foot {
  margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.fcard__price { margin: 0; display: grid; gap: 6px; }
.fcard__price small { font: 700 .64rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .48); }
.fcard__price span { font: 500 1.65rem/1 var(--display); letter-spacing: -.04em; white-space: nowrap; }
.fcard__price .fcard__ask { font-size: 1.15rem; color: var(--gold); letter-spacing: -.02em; }
.fcard__more {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 16px 0 18px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .22); background: transparent; color: #fff;
  font: 700 .84rem/1 var(--text); cursor: pointer;
  transition: background-color .35s, color .35s, border-color .35s;
}
.fcard__more:hover { background: #fff; color: var(--ink); border-color: #fff; }
a.fcard__more { text-decoration: none; }
.fcard__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.fcard__more:hover svg { transform: translateX(3px); }

/* illustrations */
.ill { position: absolute; inset: 0; width: 100%; height: 100%; padding: 22px 12px 12px; fill: none; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.ill text { font-family: var(--display); fill: #fff; stroke: none; }
.ill-line { stroke: rgba(255, 255, 255, .55); stroke-width: 2; }
.ill-faint { stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; }
.ill-faint-w { stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; }
.ill-ticks { stroke: rgba(255, 255, 255, .32); stroke-width: 7; stroke-linecap: butt; stroke-dasharray: .1 .9; stroke-dashoffset: .05; }
.ill-ticks-major { stroke: rgba(255, 255, 255, .9); stroke-width: 13; stroke-linecap: butt; stroke-dasharray: .045 .955; stroke-dashoffset: .0225; }
.ill-track { stroke: rgba(255, 255, 255, .08); stroke-width: 6; }
.ill-arc { stroke: var(--gold); stroke-width: 6; stroke-dasharray: 1 1; stroke-dashoffset: .25; }
.ill-hand path, .ill-needle path { stroke: #fff; stroke-width: 3; }
.ill-hub { fill: var(--gold-lo); stroke: #fff; stroke-width: 2; }
.ill-num { font-size: 19px; font-weight: 500; text-anchor: middle; letter-spacing: -.02em; }
.ill-hours { font-size: 50px; font-weight: 600; text-anchor: middle; letter-spacing: -.05em; }
.ill-plus { font-family: var(--text) !important; font-size: 13px; font-weight: 800; text-anchor: middle; letter-spacing: .16em; text-transform: uppercase; fill: var(--gold) !important; }
.ill-red { stroke: var(--gold-hi); stroke-width: 13; stroke-linecap: butt; }
.ill-big { font-size: 25px; font-weight: 600; text-anchor: middle; letter-spacing: -.03em; }
.ill-speedlines path { stroke: rgba(255, 255, 255, .28); stroke-width: 2; stroke-dasharray: 12 9; }
.ill-road { stroke: rgba(255, 255, 255, .16); stroke-width: 38; }
.ill-road-in { stroke: #141312; stroke-width: 34; }
.ill-road-mid { stroke: rgba(255, 255, 255, .55); stroke-width: 2; stroke-dasharray: 9 10; }
.ill-start circle { fill: var(--gold); }
.ill-goal rect { fill: var(--gold); stroke: var(--gold-hi); stroke-width: 1.5; }
.ill-goal path { fill: none; stroke: var(--ink); stroke-width: 2.6; }
.ill-goal text { font-size: 15px; font-weight: 700; text-anchor: middle; }
.ill-car > rect:first-child { fill: #fff; }
.ill-car-glass { fill: #2a2620; }
.ill-car-light { fill: #ffe7a3; }
.ill-caption { font-family: var(--text) !important; font-size: 13px; font-weight: 600; fill: rgba(255, 255, 255, .5) !important; letter-spacing: .08em; text-transform: uppercase; }
.ill-body { stroke: rgba(255, 255, 255, .78); stroke-width: 2.2; }
.ill-wheel { stroke: rgba(255, 255, 255, .6); stroke-width: 2; }
.ill-seat { stroke: rgba(255, 255, 255, .45); stroke-width: 2; fill: rgba(255, 255, 255, .04); }
.ill-seat--you { stroke: var(--gold); fill: rgba(232, 181, 78, .2); }
.ill-link { stroke: var(--gold); stroke-width: 2; stroke-dasharray: 3 6; }
.ill-label path { stroke: rgba(255, 255, 255, .32); stroke-width: 1.2; }
.ill-label text { font-family: var(--text); font-size: 13.5px; font-weight: 700; fill: rgba(255, 255, 255, .85); }
.ill-label--you text { fill: var(--gold); }
.ill-gate { stroke: rgba(255, 255, 255, .12); stroke-width: 24; }
.ill-gate-in { stroke: #0f0e0d; stroke-width: 16; }
.ill-gears text { font-size: 18px; font-weight: 500; text-anchor: middle; fill: rgba(255, 255, 255, .42); transition: fill .3s; }
.ill-gears text.is-on { fill: var(--gold); }
.ill-trail { stroke: var(--gold); stroke-width: 3; opacity: .75; }
.ill-knob { fill: var(--gold); stroke: #fff; stroke-width: 3; }
.ill-side { font-size: 15px; font-weight: 600; text-anchor: middle; fill: rgba(255, 255, 255, .45) !important; }
.ill-side--b { fill: var(--gold) !important; }
.ill-panel { fill: #0a0a09; stroke: rgba(255, 255, 255, .16); stroke-width: 1.5; }
.ill-sep { stroke: rgba(255, 255, 255, .1); stroke-width: 1.5; }
.ill-odo text { font-size: 34px; font-weight: 500; text-anchor: middle; }
.ill-odo .is-last text { fill: var(--gold); }
.ill-odo-static { letter-spacing: .3em; }
.ill-unit { font-size: 18px; fill: rgba(255, 255, 255, .6) !important; }
.ill-roadline { stroke: rgba(255, 255, 255, .08); stroke-width: 26; stroke-linecap: butt; }
.ill-dashes { stroke: rgba(255, 255, 255, .7); stroke-width: 2.5; stroke-dasharray: 18 16; stroke-linecap: butt; }

/* =========================================================================
   Parcours (feu tricolore)
   ========================================================================= */
.steps {
  position: relative; z-index: 1;
  background:
    radial-gradient(50% 60% at 50% 50%, #1d190f 0%, var(--night) 70%);
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.steps__pin { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: calc(var(--nav-h) + 40px) 0 70px; }
.steps__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 110px); align-items: center;
}
.steps__intro .lede { margin-top: 22px; }
.steps__dots { display: flex; gap: 8px; margin-top: 36px; }
.steps__dots span { width: 34px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .14); transition: background-color .4s; }
.steps__dots span.is-on { background: var(--gold); }
.steps:not(.is-live) .steps__dots { display: none; }

.light { position: relative; display: flex; flex-direction: column; align-items: center; }
.light__glow { position: absolute; left: 50%; top: 42%; width: 520px; height: 620px; transform: translate(-50%, -50%); pointer-events: none; }
.light__glow span { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; }
.light__glow .g-red { background: radial-gradient(closest-side, rgba(255, 75, 85, .2), transparent); }
.light__glow .g-amber { background: radial-gradient(closest-side, rgba(255, 176, 46, .2), transparent); }
.light__glow .g-green { background: radial-gradient(closest-side, rgba(53, 208, 127, .22), transparent); }
.light[data-on="0"] .g-red, .light[data-on="1"] .g-amber, .light[data-on="2"] .g-green { opacity: 1; }
.light__housing {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 18px;
  padding: 24px 20px; border-radius: 40px;
  background: linear-gradient(180deg, #1c1b18 0%, #0a0a09 100%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 50px 90px -40px rgba(0, 0, 0, .9);
}
.light__pole { width: 16px; height: 120px; margin-top: -2px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, #0f0f0e, #24221d, #0f0f0e); }
.lamp {
  position: relative; display: block;
  width: clamp(74px, 7vw, 100px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, var(--off-hi) 0%, var(--off) 72%);
  box-shadow: inset 0 6px 14px rgba(0, 0, 0, .7), 0 0 0 5px #080807;
}
.lamp i {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 36%, #fff 0%, var(--on) 26%, var(--on-deep) 78%);
  box-shadow: 0 0 34px 6px var(--on-glow), inset 0 -6px 12px rgba(0, 0, 0, .25);
  opacity: 0; transition: opacity .45s var(--ease);
}
.lamp.is-on i { opacity: 1; }
.lamp--red { --off: #240c0f; --off-hi: #3a1418; --on: #ff4b55; --on-deep: #b31321; --on-glow: rgba(255, 75, 85, .55); }
.lamp--amber { --off: #261908; --off-hi: #3a2810; --on: #ffb02e; --on-deep: #c06a05; --on-glow: rgba(255, 176, 46, .5); }
.lamp--green { --off: #0b2116; --off-hi: #133322; --on: #35d07f; --on-deep: #0f8a4a; --on-glow: rgba(53, 208, 127, .5); }
.light:not([data-on]) .lamp--green i { opacity: 1; }

.steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.step__num {
  display: block; margin-bottom: 10px;
  font: 500 clamp(4rem, 8.6vw, 8.4rem)/.9 var(--display); letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255, 255, 255, .34);
}
.step__title { margin: 0 0 16px; font: 500 clamp(1.8rem, 3.2vw, 3rem)/1.05 var(--display); letter-spacing: -.04em; }
.step__text { margin: 0 0 20px; max-width: 34ch; color: rgba(255, 255, 255, .8); font-size: 1.1rem; line-height: 1.55; }
.step__sub { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.step__sub li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 7px; border-radius: 999px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .08);
  font-size: .85rem; font-weight: 600;
}
.step__sub b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: .72rem; }
.step__note { margin: 0; max-width: 40ch; color: rgba(255, 255, 255, .55); font-size: .95rem; line-height: 1.55; }
.step__cta { margin-top: 30px; }

/* =========================================================================
   Odomètre (prix des packs dans les fiches)
   ========================================================================= */
.odo { display: inline-flex; align-items: flex-start; }
.odo__col { display: block; height: 1em; overflow-y: clip; overflow-x: visible; }
.odo__strip { display: flex; flex-direction: column; align-items: center; will-change: transform; }
.odo__strip span { display: block; height: 1em; line-height: 1; }
.odo__sep { display: block; width: .3em; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================================
   Contact
   ========================================================================= */
.contact {
  position: relative; z-index: 2;
  padding: clamp(110px, 12vw, 170px) 0 clamp(110px, 12vw, 160px);
  border-radius: var(--radius) var(--radius) var(--radius) var(--radius);
  margin-top: calc(var(--radius) * -1);
  background:
    radial-gradient(60% 50% at 10% 0%, rgba(201, 146, 46, .16), transparent 70%),
    var(--night);
}
.contact__title {
  margin: 0 0 28px; will-change: transform;
  font: 500 clamp(2.5rem, 8.4vw, 8.4rem)/.96 var(--display); letter-spacing: -.06em;
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 20px; margin-top: clamp(50px, 6vw, 80px); align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ccard {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 190px; padding: 24px; border-radius: 24px;
  background: var(--night-2); border: 1px solid var(--line-d); color: #fff;
  text-decoration: none;
  transition: border-color .4s, translate .6s var(--ease);
}
.ccard--hours, .ccard--email { grid-column: 1 / -1; min-height: 0; }
.ccard--email .ccard__value { font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.ccard--link:hover { border-color: rgba(232, 181, 78, .38); translate: 0 -3px; }
.ccard__label { margin: 0; font: 700 .68rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ccard__value { margin: 8px 0 0; font: 500 1.12rem/1.3 var(--display); letter-spacing: -.02em; overflow-wrap: anywhere; }
.ccard__value a { text-decoration: none; }
.ccard__value a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ccard__text { margin: auto 0 0; padding-top: 10px; color: rgba(255, 255, 255, .58); font-size: .9rem; line-height: 1.5; }
.ccard__arrow { position: absolute; right: 20px; top: 20px; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.ccard--link:hover .ccard__arrow { transform: translate(3px, -3px); }
.ccard__copy {
  align-self: flex-start; margin-top: 12px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2); background: transparent; cursor: pointer;
  font: 700 .78rem/1 var(--text); color: #fff;
  transition: background-color .3s, color .3s;
}
.ccard__copy:hover { background: #fff; color: var(--ink); }
.ccard__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ccard--address .ccard__value { font-size: 1rem; }
.nowrap { white-space: nowrap; }
.ccard__actions .ccard__copy { margin-top: 0; display: inline-flex; align-items: center; text-decoration: none; }
.ccard--hours .status { margin-top: 12px; color: rgba(255, 255, 255, .85); }
.week { margin-top: 22px; }
.week__days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.week__days span { padding: 9px 0; border-radius: 10px; background: rgba(255, 255, 255, .06); text-align: center; font: 700 .78rem/1 var(--text); color: rgba(255, 255, 255, .8); }
.week__days span.is-closed { color: rgba(255, 255, 255, .3); background: transparent; border: 1px dashed rgba(255, 255, 255, .14); }
.week__days span.is-today { background: var(--gold); color: var(--ink); }
.week__bar { position: relative; height: 8px; margin-top: 18px; border-radius: 8px; background: rgba(255, 255, 255, .08); }
.week__open { position: absolute; top: 0; bottom: 0; left: 29.167%; width: 62.5%; border-radius: 8px; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); }
.week__now { position: absolute; top: -6px; bottom: -6px; left: var(--now, 50%); width: 2px; margin-left: -1px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); opacity: 0; }
.week.has-now .week__now { opacity: 1; }
.week__scale { position: relative; height: 16px; margin-top: 10px; font: 600 .7rem/1 var(--text); color: rgba(255, 255, 255, .45); }
.week__scale span { position: absolute; top: 0; }
.week__scale span:nth-child(1) { left: 0; }
.week__scale span:nth-child(2) { left: 29.167%; transform: translateX(-50%); }
.week__scale span:nth-child(3) { left: 91.667%; transform: translateX(-50%); }
.week__scale span:nth-child(4) { right: 0; }

.cform {
  padding: clamp(24px, 3.4vw, 44px); border-radius: 28px;
  background: var(--night-2); border: 1px solid var(--line-d); color: #fff;
}
.cform__title { margin: 0 0 8px; font: 500 1.5rem/1.2 var(--display); letter-spacing: -.03em; }
.cform__hint { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0 0 26px; color: rgba(255, 255, 255, .6); font-size: .92rem; }
.cform__hint span { color: rgba(255, 255, 255, .45); font-size: .82rem; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; margin: 0;
  padding: 26px 16px 10px; border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .04);
  color: #fff; font: 600 1rem/1.3 var(--text);
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, background-color .3s;
}
.field select { cursor: pointer; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23e8b54e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 16px; }
.field select option { color: var(--ink); background: #fff; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .24); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(255, 255, 255, .07); }
.field > span {
  position: absolute; left: 17px; top: 18px; pointer-events: none;
  color: rgba(255, 255, 255, .55); font: 600 .98rem/1.2 var(--text);
  transform-origin: left top; transition: transform .35s var(--ease), color .3s;
}
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span {
  transform: translateY(-10px) scale(.76); color: var(--gold);
}
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #ff8a6b; }
.cform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 10px; }
.cform__note { flex: 1 1 220px; margin: 0; color: rgba(255, 255, 255, .5); font-size: .84rem; line-height: 1.5; }
.cform__error { margin: 16px 0 0; color: #ffb4a1; font-weight: 600; font-size: .92rem; }

/* =========================================================================
   Pied de page
   ========================================================================= */
.footer {
  position: relative; z-index: 0;
  padding: clamp(80px, 9vw, 120px) 0 26px;
  background: radial-gradient(70% 60% at 50% 0%, rgba(201, 146, 46, .14), transparent 70%), var(--deep);
  color: rgba(255, 255, 255, .7);
}
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer__about { display: grid; gap: 22px; justify-items: start; max-width: 380px; }
.footer__about p { margin: 0; line-height: 1.6; }
.footer__logo { width: min(300px, 100%); height: auto; color: #fff; }
.footer__col { display: grid; align-content: start; gap: 12px; justify-items: start; }
.footer__col h3 { margin: 0 0 6px; font: 700 .7rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.footer__col a, .footer__col button {
  padding: 0; border: 0; background: none; cursor: pointer; text-align: left;
  color: rgba(255, 255, 255, .8); text-decoration: none; font: 500 .95rem/1.4 var(--text);
  transition: color .3s;
  overflow-wrap: anywhere;
}
.footer__col a:hover, .footer__col button:hover { color: #fff; }
.footer__word {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 3vw;
  margin: clamp(56px, 8vw, 110px) 0 clamp(22px, 3vw, 34px);
  color: #fff; line-height: .8; white-space: nowrap;
}
/* grand « DCS » : les lettres du logo (même encombrement que l'ancien mot en texte) ;
   sur un écran étroit, « CONDUITE » passe à la ligne plutôt que de déborder */
.footer__mark { flex: none; height: clamp(2.8rem, 13.6vw, 13.5rem); width: auto; max-width: 100%; aspect-ratio: 2716 / 988; color: #fff; will-change: transform; overflow: hidden; }
.footer__word span:last-child { padding-bottom: .5em; font: 600 clamp(.66rem, 1.4vw, 1.2rem)/1.5 var(--text); letter-spacing: clamp(.2em, 1vw, .45em); text-transform: uppercase; color: rgba(255, 255, 255, .55); white-space: normal; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 24px 84px 0 0; border-top: 1px solid var(--line-d); font-size: .86rem; }
.footer__bottom p { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a, .footer__top-link { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer__legal a:hover, .footer__top-link:hover { color: #fff; }
.footer__top-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.footer__top-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* =========================================================================
   Panneau « fiche formation »
   ========================================================================= */
.drawer { position: fixed; inset: 0; z-index: 120; }
.drawer[hidden] { display: none; }
.drawer__overlay { position: absolute; inset: 0; background: rgba(6, 6, 6, .66); }
.drawer__panel {
  position: absolute; top: 10px; right: 10px; bottom: 10px;
  width: min(640px, calc(100% - 20px));
  overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(26px, 4vw, 54px);
  border-radius: 28px; border: 1px solid var(--line-d);
  background: var(--night-2); color: #fff;
  box-shadow: -40px 0 90px rgba(0, 0, 0, .5);
}
.drawer__close {
  position: sticky; top: 0; z-index: 2; float: right;
  width: 50px; height: 50px; margin: -6px -6px 0 16px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2); background: var(--night-2); cursor: pointer;
  transition: background-color .3s, transform .6s var(--ease);
}
.drawer__close:hover { background: #fff; transform: rotate(90deg); }
.drawer__close span { position: absolute; left: 15px; right: 15px; top: 50%; height: 1.6px; border-radius: 2px; background: currentColor; }
.drawer__close:hover span { background: var(--ink); }
.drawer__close span:first-child { transform: rotate(45deg); }
.drawer__close span:last-child { transform: rotate(-45deg); }
.fiche__kicker { margin: 6px 0 0; font: 700 .72rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.fiche__title { margin: 14px 0 20px; font: 500 clamp(2rem, 4.2vw, 3.1rem)/1.02 var(--display); letter-spacing: -.045em; }
.fiche__intro { margin: 0; color: rgba(255, 255, 255, .76); font-size: 1.05rem; line-height: 1.65; }
.fiche__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 30px 0 0; }
.fiche__facts div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); }
.fiche__facts dt { font: 700 .66rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.fiche__facts dd { margin: 10px 0 0; font: 500 1rem/1.3 var(--display); letter-spacing: -.02em; }
.fiche__h { margin: 36px 0 14px; font: 700 .72rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.fiche__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fiche__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.fiche__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23121110' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.fiche__list--prog { grid-template-columns: 1fr 1fr; }
.fiche__list--prog li { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.fiche__table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.fiche__table th, .fiche__table td { padding: 13px 8px 13px 0; border-bottom: 1px solid var(--line-d); text-align: left; vertical-align: top; }
.fiche__table thead th { font: 700 .66rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.fiche__table tbody th { font-weight: 700; }
.fiche__table td:last-child { padding-right: 0; text-align: right; font: 500 1.05rem/1.3 var(--display); letter-spacing: -.02em; white-space: nowrap; }
.fiche__table em { display: block; font-style: normal; color: var(--gold); font-size: .84rem; font-weight: 700; }
.fiche__duo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fiche__duo li { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .7); font-size: .92rem; line-height: 1.5; }
.fiche__duo b { display: block; margin-bottom: 6px; color: #fff; font: 500 .98rem/1.3 var(--display); letter-spacing: -.02em; }
.fiche__steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 14px; }
.fiche__steps li { position: relative; padding-left: 52px; color: rgba(255, 255, 255, .7); font-size: .94rem; line-height: 1.5; counter-increment: st; }
.fiche__steps li::before {
  content: "0" counter(st); position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(232, 181, 78, .4); font: 500 .74rem/1 var(--display); color: var(--gold);
}
.fiche__steps b { display: block; color: #fff; font: 500 1rem/1.3 var(--display); letter-spacing: -.02em; margin-bottom: 4px; }
.fiche__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.fiche__fund {
  display: flex; align-items: center; gap: 16px;
  margin: 22px 0 0; padding: 14px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .8); font-size: .92rem; line-height: 1.5;
}
.fiche__fund b { flex: none; font: 500 1.7rem/1 var(--display); letter-spacing: -.05em; color: var(--gold); }
.drawer__panel.is-wide { width: min(1180px, calc(100% - 20px)); }

/* « rectangle dynamique » : pack unique (évaluation, conduite accompagnée, passerelle) */
@property --spin { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.packbox {
  position: relative; margin-top: 34px; padding: clamp(24px, 3vw, 34px);
  border: 2px solid transparent; border-radius: 26px;
  background:
    linear-gradient(var(--night-2), var(--night-2)) padding-box,
    conic-gradient(from var(--spin), #6f4f12, var(--gold), var(--gold-hi), var(--gold-lo), #6f4f12) border-box;
  box-shadow: 0 34px 80px -46px rgba(232, 181, 78, .6);
  animation: packbox-spin 7s linear infinite;
}
@keyframes packbox-spin { to { --spin: 360deg; } }
.packbox__kicker { margin: 0 0 16px; font: 800 .7rem/1.3 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.packbox__price { display: flex; align-items: flex-start; gap: .1em; margin: 0 0 22px; font: 500 clamp(3rem, 6vw, 4.4rem)/1 var(--display); letter-spacing: -.055em; }
.packbox__eur { margin-top: .14em; font-size: .4em; letter-spacing: 0; color: var(--gold); }
.packbox__feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.packbox__feat li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.packbox__feat li::before {
  content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%230e0a10' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.packbox__facts { display: grid; gap: 10px; margin: 24px 0 0; }
.packbox__facts div { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.packbox__facts dt { font: 700 .64rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.packbox__facts dd { margin: 8px 0 0; line-height: 1.5; }

.pk {
  --tone: var(--gold);
  position: relative; display: flex; flex-direction: column;
  padding: 24px 18px 18px; border-radius: 20px;
  background: rgba(255, 255, 255, .035); border: 1px solid color-mix(in srgb, var(--tone) 38%, transparent);
}
.pk::before { content: ""; position: absolute; left: 18px; right: 18px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--tone); }
.pk__kicker { margin: 0 0 14px; font: 800 .6rem/1.35 var(--text); letter-spacing: .13em; text-transform: uppercase; color: var(--tone); }
.pk__price { display: flex; align-items: flex-start; gap: .1em; margin: 0; font: 500 clamp(2.2rem, 2.9vw, 2.8rem)/1 var(--display); letter-spacing: -.05em; white-space: nowrap; }
.pk__eur { margin-top: .14em; font-size: .42em; letter-spacing: 0; color: var(--tone); }
.pk__hours { margin: 10px 0 20px; font-weight: 700; color: rgba(255, 255, 255, .88); }
.pk__gift { align-self: flex-start; margin: 10px 0 0; padding: 6px 10px; border-radius: 999px; background: var(--tone); color: var(--night); font: 800 .72rem/1 var(--text); }
.pk__feat { list-style: none; margin: 16px 0 20px; padding: 0; display: grid; gap: 9px; }
.pk__feat li { display: flex; gap: 9px; font-size: .86rem; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.pk__feat li::before {
  content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%;
  background: var(--tone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%230e0a10' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.pk__go {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22);
  color: #fff; font: 700 .84rem/1 var(--text); text-decoration: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.pk__go:hover { background: var(--tone); border-color: var(--tone); color: var(--night); }
.pk__go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 0; right: 0; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 160;
  display: flex; justify-content: center; padding: 0 16px;
  pointer-events: none; opacity: 0; visibility: hidden;
}
.toast.is-on { opacity: 1; visibility: visible; }
.toast span {
  padding: 14px 22px; border-radius: 999px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: .92rem; text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}

/* ---------- bouton WhatsApp ---------- */
.wa {
  position: fixed; z-index: 70;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 0;
  height: 58px; padding: 0 14px; border-radius: 999px;
  background: var(--gold-grad); color: var(--ink); text-decoration: none;
  box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5);
  transition: gap .5s var(--ease), padding .5s var(--ease), transform .5s var(--ease);
}
.wa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--gold);
  animation: wa-ping 3.2s var(--ease) infinite; pointer-events: none;
}
@keyframes wa-ping { 0% { transform: scale(1); opacity: .75; } 60%, 100% { transform: scale(1.45); opacity: 0; } }
.wa svg { width: 30px; height: 30px; flex: none; }
.wa__bubble { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linejoin: round; }
.wa__phone { fill: var(--ink); }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font: 800 .92rem/1 var(--text); transition: max-width .5s var(--ease); }
.wa:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.js:not(.past-hero) .wa { opacity: 0; visibility: hidden; translate: 0 16px; }
.wa { transition: gap .5s var(--ease), padding .5s var(--ease), transform .5s var(--ease), opacity .45s, visibility .45s, translate .6s var(--ease); }
@media (hover: hover) {
  .wa:hover { gap: 10px; padding-right: 22px; transform: translateY(-2px); }
  .wa:hover .wa__label { max-width: 120px; }
}

/* =========================================================================
   EPA — logo, badges, chrono 14 jours, documents, points de rendez-vous
   ========================================================================= */
/* logo : symbole #logo-epa (blanc = currentColor, or = --logo-gold) ; « mark » = lettres seules */
.logo--mark { --logo-extra: none; }
.logo__gold { fill: var(--logo-gold, url(#logoGold)); }
.logo__goldline { stroke: var(--logo-gold, #ebb951); }
.logo__extra { display: var(--logo-extra, inline); }
.logo__tag { font-family: var(--text); font-weight: 800; font-size: 104px; fill: currentColor; }
.loader__sub { margin: 0; font: 700 .7rem/1 var(--text); letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }

/* statut « conduite 7j/7 » : point doré qui pulse (pas d'ouvert / fermé : ce sont des horaires de conduite) */
.status--gold .status__dot { background: var(--gold); box-shadow: 0 0 0 4px rgba(232, 181, 78, .18); }
.status--gold .status__dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1px solid rgba(232, 181, 78, .7);
  animation: ping 2.2s var(--ease) infinite;
}

/* titre de l'accueil : « 2 semaines » en or métallique */
.hero__title em {
  background: linear-gradient(100deg, #fff0bf 0%, #f2c862 30%, #dfa63c 62%, #f6d78a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__pills .badge {
  display: inline-grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--gold); color: var(--gold);
  font: 800 .7rem/1 var(--text);
}
.hero__pills .badge--a2 { font-size: .56rem; letter-spacing: -.02em; }
.hero__pills .badge svg { width: 14px; height: 14px; padding: 0; border-radius: 0; background: none; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* à propos : texte + boutons */
.about__side { display: grid; gap: 24px; max-width: 58ch; }
.about__side p { margin: 0; color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.about__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* chrono : jour 1 → jour 14, avance avec les voitures */
.chrono { margin-bottom: clamp(6px, 1vw, 14px); }
.chrono__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 18px; }
.chrono__day { margin: 0; font: 500 clamp(1.5rem, 2.6vw, 2.3rem)/1 var(--display); letter-spacing: -.04em; }
.chrono__day b { display: inline-block; min-width: 1.35em; font-weight: 600; color: #a8771f; text-align: right; font-variant-numeric: tabular-nums; }
.chrono__day span { margin-left: .3em; font-size: .5em; letter-spacing: 0; color: var(--ink-3); }
.chrono__goal {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font: 700 .72rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  transition: color .5s, box-shadow .5s;
}
.chrono__goal svg { width: 18px; height: 18px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chrono.is-done .chrono__goal { background: var(--gold-grad); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(185, 134, 41, .8); }
.chrono.is-done .chrono__goal svg { stroke: var(--ink); }
.chrono__rail { position: relative; height: 30px; }
.chrono__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: rgba(18, 17, 16, .1); }
.chrono__fill { position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--gold-lo), var(--gold)); transform-origin: left; will-change: transform; }
.chrono__ticks { list-style: none; margin: 0; padding: 0; position: absolute; left: 0; right: 0; top: 0; display: flex; justify-content: space-between; }
.chrono__ticks li { position: relative; width: 0; display: flex; justify-content: center; padding-top: 13px; font: 700 .68rem/1 var(--text); color: var(--ink-3); transition: color .3s; }
.chrono__ticks li::before { content: ""; position: absolute; top: -3px; left: -1px; width: 2px; height: 10px; border-radius: 2px; background: rgba(18, 17, 16, .22); transition: background-color .3s; }
.chrono__ticks li.is-on { color: var(--ink); }
.chrono__ticks li.is-on::before { background: var(--gold-lo); }
.garage .garage__road { padding-top: clamp(84px, 7.4vw, 104px); }

/* forfaits : ce que comprennent tous les forfaits */
.incl { padding: 22px 24px; border-radius: 22px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(232, 181, 78, .3); }
.incl__title { margin: 0 0 14px; font: 800 .68rem/1.2 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.incl__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.incl__list li { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .88); font-size: .95rem; font-weight: 600; line-height: 1.35; }
.incl__list li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.6L12 5.6' fill='none' stroke='%23121110' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.incl__badge { display: inline-block; margin-left: 4px; padding: 5px 9px; vertical-align: 1px; border-radius: 6px; background: var(--gold-grad); color: var(--ink); font: 800 .6rem/1 var(--text); letter-spacing: .16em; text-transform: uppercase; transform: skewX(-10deg); }
.fcard__price span i { margin-left: .12em; font-style: normal; font-size: .55em; letter-spacing: 0; color: rgba(255, 255, 255, .5); }
@media (min-width: 1024px) and (min-height: 620px) and (max-height: 820px) {
  .has-pin .incl { padding: 16px 18px; }
  .has-pin .incl__list { gap: 7px; }
  .has-pin .incl__list li { font-size: .88rem; }
}

/* illustrations ajoutées : sélecteur P R N D, moto A2, arrivée cochée */
.ill-prnd text { font-size: 17px; font-weight: 600; text-anchor: middle; fill: rgba(255, 255, 255, .32) !important; transition: fill .3s; }
.ill-prnd text.is-on { fill: var(--gold) !important; }
.ill-ground { stroke: rgba(255, 255, 255, .16); stroke-width: 2; stroke-dasharray: 22 14; }
.ill-trails path { stroke: var(--gold); stroke-width: 4; stroke-dasharray: 46 30; opacity: .75; }
.ill-moto path { fill: #fff; stroke: none; }
.ill-moto .ill-rider { stroke: #141413; stroke-width: 14; stroke-linejoin: round; paint-order: stroke; }
.ill-tyre { fill: none; stroke: #fff; stroke-width: 16; }
.ill-hubm { fill: var(--gold); }
.ill-spokes { stroke: var(--gold); stroke-width: 6; }
.ill-a2 rect { fill: var(--gold); }
.ill-a2 text { font-size: 17px; font-weight: 700; text-anchor: middle; fill: var(--ink) !important; }

/* fiches : grille des forfaits, leçons à l'unité */
.pks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.pks--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 660px; }
.fiche__fund b { font-family: var(--text); font-weight: 800; }
.units { list-style: none; margin: 0; padding: 0; display: grid; }
.units li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-d); }
.units li:last-child { border-bottom: 0; padding-bottom: 4px; }
.units__name { font: 500 1.08rem/1.2 var(--display); letter-spacing: -.02em; }
.units__price { display: inline-flex; align-items: flex-start; gap: .08em; font: 500 2.3rem/1 var(--display); letter-spacing: -.05em; white-space: nowrap; }
.drawer .fiche__cta { margin-top: 26px; }

/* documents à fournir : cartes sombres sur fond clair, comme le flyer */
.docs { position: relative; z-index: 2; padding: clamp(100px, 12vw, 160px) 0 clamp(110px, 12vw, 170px); }
.docs__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.doc {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 24px 26px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(180deg, #1c1b19 0%, #0f0f0e 100%); color: #fff;
  border: 1px solid rgba(232, 181, 78, .3);
  box-shadow: 0 34px 60px -42px rgba(18, 17, 16, .7);
}
.doc::after { content: ""; position: absolute; left: 24px; right: 24px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--gold-grad); }
.doc__num { position: absolute; right: 22px; top: 24px; font: 500 .8rem/1 var(--display); color: rgba(255, 255, 255, .35); }
.doc__ico { width: 76px; height: 76px; margin-bottom: 22px; fill: none; stroke: var(--gold); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.doc__ico > * { stroke-dasharray: 1 1; stroke-dashoffset: 0; }
.doc__title { margin: 0 0 14px; font: 500 1.26rem/1.15 var(--display); letter-spacing: -.03em; color: var(--gold); }
.doc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.doc__list li { position: relative; padding-left: 17px; color: rgba(255, 255, 255, .82); font-size: .92rem; line-height: 1.45; }
.doc__list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.doc__note { margin: auto 0 0; padding-top: 16px; color: var(--gold-hi); font: 700 .66rem/1.45 var(--text); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }

/* points de rendez-vous : une ligne qui se trace, quatre arrêts */
.rdv {
  position: relative; z-index: 2;
  padding: clamp(100px, 12vw, 160px) 0 clamp(150px, 15vw, 210px);
  background: radial-gradient(60% 50% at 90% 10%, rgba(201, 146, 46, .16), transparent 70%), var(--night);
  overflow: clip;
}
.line { position: relative; }
.line__rail { position: absolute; left: 11px; right: calc(25% - 26px); top: 13px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .2) 0 12px, transparent 12px 20px); }
.line__fill { position: absolute; inset: 0; border-radius: inherit; background: var(--gold-grad); transform-origin: left; will-change: transform; }
.line__car { position: absolute; left: 0; top: -20px; width: 28px; height: 12px; fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; will-change: transform; }
.line__stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stop { position: relative; padding-top: 54px; }
.stop__dot {
  position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--night); border: 3px solid rgba(255, 255, 255, .32);
  transition: border-color .5s, background-color .5s, box-shadow .5s;
}
.stop--home .stop__dot { left: -4px; top: 0; width: 30px; height: 30px; }
.stop.is-on .stop__dot { border-color: var(--gold); background: var(--gold); box-shadow: 0 0 0 6px rgba(232, 181, 78, .16), 0 0 26px rgba(232, 181, 78, .5); }
.stop__kicker { margin: 0 0 10px; font: 700 .66rem/1 var(--text); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.stop__name { margin: 0 0 8px; font: 500 clamp(1.4rem, 2.3vw, 2.1rem)/1.05 var(--display); letter-spacing: -.04em; }
.stop__where { margin: 0; color: rgba(255, 255, 255, .62); font-size: .95rem; line-height: 1.5; }
.stop__where a { color: inherit; text-underline-offset: 4px; }
.stop__where a:hover { color: #fff; }

@media (max-width: 1100px) {
  .docs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pks--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .line__rail { left: 9px; right: auto; top: 12px; bottom: 30px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .2) 0 12px, transparent 12px 20px); }
  .line__fill { transform-origin: top; }
  .line__car { display: none; }
  .line__stops { grid-template-columns: 1fr; gap: 34px; }
  .stop { padding: 0 0 0 50px; }
  .stop__dot { top: 0; }
  .stop--home .stop__dot { left: -4px; top: -4px; }
}
@media (max-width: 640px) {
  .pks, .pks--4, .pks--2 { grid-template-columns: 1fr; }
  .chrono__ticks li:not(:first-child):not(:nth-child(7)):not(:last-child) { color: transparent; }
  .chrono__goal { padding: 8px 12px 8px 10px; font-size: .62rem; letter-spacing: .1em; }
}
@media (max-width: 560px) {
  .docs__grid { grid-template-columns: 1fr; }
  .doc { padding: 26px 22px 24px; }
}

/* =========================================================================
   Page d'inscription
   ========================================================================= */
.signup-page { background: var(--night); color: #fff; }
.signup {
  padding: clamp(50px, 7vw, 100px) 0 clamp(90px, 11vw, 150px);
  background: radial-gradient(60% 45% at 8% 0%, rgba(201, 146, 46, .16), transparent 70%), var(--night);
}
.signup__wrap { max-width: 1000px; }
.signup__title { margin: 0 0 20px; font: 500 clamp(2.4rem, 6.4vw, 5.2rem)/.98 var(--display); letter-spacing: -.055em; }
.signup__intro { margin: 0 0 14px; max-width: 62ch; color: rgba(255, 255, 255, .74); font-size: 1.05rem; line-height: 1.65; }
.signup-page .legal-foot .wrap { padding-right: max(var(--gutter), 96px); }
.signup__note { margin: 0 0 40px; color: rgba(255, 255, 255, .5); font-size: .92rem; }
.sform { padding: clamp(22px, 3.6vw, 46px); border-radius: 28px; background: var(--night-2); border: 1px solid var(--line-d); }
.sform fieldset { margin: 0 0 30px; padding: 0; border: 0; min-width: 0; }
.sform legend { margin: 0 0 16px; padding: 0; font: 700 .72rem/1 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.sform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.sform__row--addr { grid-template-columns: minmax(0, 1fr) 150px minmax(0, .8fr); }
.field input[type="date"] { min-height: 62px; color-scheme: dark; }
.field__label { margin: 2px 0 10px 4px; font: 600 .9rem/1.3 var(--text); color: rgba(255, 255, 255, .7); }
.field--date > span { transform: translateY(-10px) scale(.76); color: var(--gold); }
.field__hint { display: block; margin: -6px 0 14px 4px; color: rgba(255, 255, 255, .5); font-size: .82rem; line-height: 1.45; }
.choice { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.choice__opt { --tone: var(--gold); position: relative; cursor: pointer; }
.choice__opt--auto { --tone: var(--gold); }
.choice__opt--man { --tone: #f1ede4; }
.choice__opt--moto { --tone: var(--gold-hi); }
.choice__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__opt span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .04);
  font: 700 .95rem/1 var(--text); transition: border-color .3s, background-color .3s, color .3s;
}
.choice__opt span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--tone); transition: background-color .3s; }
.choice__opt input:checked + span { border-color: var(--tone); background: color-mix(in srgb, var(--tone) 14%, transparent); }
.choice__opt input:checked + span::before { background: var(--tone); }
.choice__opt input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice.is-invalid .choice__opt span { border-color: #ff8a6b; }
.drop {
  position: relative; display: grid; justify-items: center; gap: 6px;
  padding: 28px 20px; border-radius: 18px; text-align: center;
  border: 1.5px dashed rgba(232, 181, 78, .45); background: rgba(255, 255, 255, .03);
  transition: border-color .3s, background-color .3s;
}
.drop:hover, .drop.is-over { border-color: var(--gold); background: rgba(232, 181, 78, .07); }
.drop.is-invalid { border-color: #ff8a6b; }
.drop input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.drop input:focus-visible { opacity: 0; }
.drop:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.drop b { font: 500 1.05rem/1.3 var(--display); letter-spacing: -.02em; }
.drop span { color: rgba(255, 255, 255, .55); font-size: .86rem; }
.files { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.files li { display: flex; justify-content: space-between; gap: 14px; padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); font-size: .9rem; overflow-wrap: anywhere; }
.files li small { flex: none; color: rgba(255, 255, 255, .5); }
.files li.is-bad { color: #ffb4a1; }
.later { margin: 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .78); line-height: 1.6; font-size: .95rem; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 24px; cursor: pointer; color: rgba(255, 255, 255, .8); font-size: .94rem; line-height: 1.55; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--gold-lo); }
.check.is-invalid { color: #ffb4a1; }
.check a { color: var(--gold); font-weight: 700; text-underline-offset: 4px; }
.hp { position: absolute !important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.sform__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.sform__foot .cform__note { flex: 1 1 260px; }
.sform__error { margin: 18px 0 0; color: #ffb4a1; font-weight: 600; font-size: .94rem; line-height: 1.5; }
.sform__error:empty { display: none; }
.sform [hidden], .send[hidden], .send [hidden] { display: none !important; }
.send { margin-top: 24px; padding: clamp(22px, 3vw, 34px); border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-d); }
.send h2 { margin: 0 0 10px; font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--display); letter-spacing: -.03em; }
.send p { margin: 0 0 18px; color: rgba(255, 255, 255, .74); line-height: 1.6; }
.send__ways { display: flex; flex-wrap: wrap; gap: 12px; }
.send--ok { border-color: rgba(232, 181, 78, .55); background: rgba(232, 181, 78, .08); }
.send__ref { display: inline-block; margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: rgba(255, 255, 255, .08); font: 600 1rem/1.2 var(--display); letter-spacing: .02em; }

@media (max-width: 860px) {
  .sform__row--addr { grid-template-columns: minmax(0, 1fr) 130px; }
  .sform__row--addr .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .signup-page .legal-foot .wrap { padding-right: var(--gutter); }
  .signup-page .legal-foot { padding-bottom: 96px; }
}
@media (max-width: 560px) { .sform__row { grid-template-columns: 1fr; gap: 0; } }
.js .signup-page .wa { opacity: 1; visibility: visible; translate: none; }

/* =========================================================================
   Prochaines dates : examens et stages publiés depuis le CRM, en direct
   ========================================================================= */
.dates { position: relative; z-index: 2; padding: clamp(100px, 12vw, 160px) 0 clamp(80px, 9vw, 130px); }
.dates[hidden] { display: none; }
.dates__empty { max-width: 760px; margin: 0; padding: 20px 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--line-l); color: var(--ink-2); line-height: 1.6; }
.dates__empty[hidden] { display: none; }
.dates__empty a { color: var(--gold-ink); font-weight: 700; text-underline-offset: 4px; white-space: nowrap; }
.dates__empty + .dates__cols { margin-top: 0; }
.dates .sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.dates__meta { display: grid; gap: 18px; justify-items: start; }
.dates__live { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 9px 14px 9px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-l); font: 700 .72rem/1 var(--text); letter-spacing: .08em; color: var(--ink-2); }
.dates__dot { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-lo); box-shadow: 0 0 0 4px rgba(185, 134, 41, .18); }
.dates__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(185, 134, 41, .7); animation: ping 2.2s var(--ease) infinite; }
.dates__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 22px; align-items: start; }
.dates.is-single .dates__cols { grid-template-columns: minmax(0, 860px); }
.dates__h { margin: 0 0 14px; font: 800 .72rem/1.2 var(--text); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); }
.dates__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.slot {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 14px 16px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line-l);
  box-shadow: 0 20px 40px -34px rgba(18, 17, 16, .5);
  animation: slot-in .7s var(--ease) both;
}
@keyframes slot-in { from { opacity: 0; transform: translateY(10px); } }
.slot__date { display: grid; place-items: center; align-content: center; width: 58px; height: 62px; margin: 0; border-radius: 14px; background: var(--ink); color: #fff; }
.slot__date b { font: 600 1.45rem/1 var(--display); letter-spacing: -.04em; }
.slot__date span { margin-top: 5px; font: 800 .58rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.slot__kind { margin: 0 0 6px; font: 800 .62rem/1.25 var(--text); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); }
.slot__title { margin: 0; font: 500 1.04rem/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); }
.slot__meta { margin: 6px 0 0; color: var(--ink-2); font-size: .88rem; line-height: 1.45; }
.slot__side { display: grid; justify-items: end; gap: 8px; text-align: right; }
.slot__price { margin: 0; font: 600 1.2rem/1 var(--display); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.slot__seats { margin: 0; font-weight: 700; font-size: .78rem; color: var(--ink-2); white-space: nowrap; }
.slot__full { padding: 6px 10px; border-radius: 999px; background: rgba(18, 17, 16, .08); font: 800 .62rem/1 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.slot__go {
  display: inline-flex; align-items: center; padding: 9px 14px; border-radius: 999px;
  background: var(--gold-grad); color: var(--ink); font: 800 .78rem/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: translate .4s var(--ease), box-shadow .4s;
}
.slot__go:hover { translate: 0 -2px; box-shadow: 0 10px 22px -12px rgba(185, 134, 41, .9); }
.slot.is-full .slot__date { background: var(--ink-3); }
.slot.is-full .slot__title { color: var(--ink-2); }
@media (max-width: 860px) { .dates__cols { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .slot { grid-template-columns: auto minmax(0, 1fr); }
  .slot__side { grid-column: 1 / -1; grid-auto-flow: column; justify-content: space-between; align-items: center; text-align: left; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .nav__links a { padding: 10px 11px; }
}
@media (max-width: 1100px) {
}
@media (max-width: 1080px) {
  .nav__links, .nav__login { display: none; }
  .nav__brand .logo--full { height: 40px; }
  .nav__burger { display: inline-block; }
  .nav__actions { gap: 12px; }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; max-width: 520px; }
}
@media (max-width: 1023px) {
  .fcard { width: min(82vw, 400px); }
}
@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  .sec-head--split, .formations__head { grid-template-columns: 1fr; align-items: start; }
  .hero__bottom { grid-template-columns: 1fr; }
  .hero__pills { display: flex; flex-wrap: wrap; justify-items: start; gap: 8px; }
  .hero__pills li { padding: 8px 12px 8px 9px; font-size: .78rem; }
  .hero__scroll { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .garage__car { --w: 46%; }
  .garage__lot { gap: 4%; }
  .steps__pin { min-height: 0; padding: 120px 0 110px; }
  .steps__grid { grid-template-columns: 1fr; gap: 40px; }
  .light { position: sticky; top: calc(var(--nav-h) + 14px); z-index: 3; align-items: flex-start; }
  .light::before {
    content: ""; position: absolute; z-index: 0; pointer-events: none;
    left: calc(var(--gutter) * -1); right: calc(var(--gutter) * -1);
    top: calc(-14px - var(--nav-h)); bottom: -34px;
    background: linear-gradient(180deg, var(--night) 0%, var(--night) 78%, rgba(11, 11, 12, 0) 100%);
  }
  .light__housing { flex-direction: row; gap: 12px; padding: 12px 14px; border-radius: 999px; }
  .light__pole, .light__glow { display: none; }
  .lamp { width: 44px; }
  .steps__list { gap: 90px; }
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pk__kicker { min-height: 0; }
  .garage__tag { padding: 8px 10px 9px; gap: 5px; font-size: .74rem; }
  .garage__tag span { font-size: .52rem; letter-spacing: .12em; }
  .garage__road { padding-top: 70px; }
}
@media (max-width: 560px) {
  .contact__cards { grid-template-columns: 1fr; }
  .cform__row, .sform__row { grid-template-columns: 1fr; gap: 0; }
  .drawer__panel, .drawer__panel.is-wide { top: 0; right: 0; bottom: 0; width: 100%; border-radius: 0; border: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .footer { padding-bottom: 90px; }
  .footer__bottom { padding-right: 0; }
  .hero__ctas .btn { width: 100%; }
  /* même taille qu'avant sur les téléphones courants (≈ 39–40 px), plus petit sur les écrans de 320 px */
  .hero__title { font-size: clamp(2rem, 10.4vw, 2.6rem); }
  /* téléphone : le « DCS » du logo seul dans la barre (le logo complet ne tiendrait pas avec le menu) */
  .nav__brand .logo--full { display: none; }
  .nav__brand .logo--mark { display: block; }
  .btn { padding: 0 22px; }
  .ccard { min-height: 0; }
  .wa { height: 54px; padding: 0 12px; }
  .wa svg { width: 28px; height: 28px; }
}

/* révélation du pied de page (grands écrans seulement : il doit tenir dans la fenêtre) */
@media (min-width: 1024px) and (min-height: 760px) {
  /* fond opaque partout (le pied de page collé ne doit pas transparaître autour du bandeau),
     sauf sous les coins arrondis du bas du contact */
  main {
    position: relative; z-index: 1;
    background: linear-gradient(var(--night), var(--night)) top / 100% calc(100% - var(--radius)) no-repeat;
  }
  .footer { position: sticky; bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero { position: relative; }
}

/* =========================================================================
   Page mentions légales
   ========================================================================= */
.legal-page { background: var(--paper); color: var(--ink); }
.legal-head { background: var(--night); color: #fff; }
.legal-head__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; }
.legal { padding: clamp(60px, 9vw, 120px) 0 clamp(80px, 10vw, 140px); }
.legal__wrap { max-width: 900px; }
.legal__title { margin: 0 0 18px; font: 500 clamp(2.2rem, 5.4vw, 4.4rem)/1 var(--display); letter-spacing: -.05em; }
.legal__note { margin: 0 0 48px; color: var(--ink-3); }
.legal section { padding: 34px 0; border-top: 1px solid var(--line-l); }
.legal h2 { margin: 0 0 18px; font: 500 1.35rem/1.25 var(--display); letter-spacing: -.03em; }
.legal p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.7; }
.legal a { color: var(--gold-ink); font-weight: 700; text-underline-offset: 4px; }
.legal__dl { margin: 0; display: grid; gap: 10px; }
.legal__dl div { display: grid; grid-template-columns: minmax(150px, 240px) minmax(0, 1fr); gap: 4px 20px; }
.legal__dl dt { font-weight: 700; color: var(--ink); }
.legal__dl dd { margin: 0; color: var(--ink-2); }
.legal__list { margin: 0; padding-left: 1.2em; color: var(--ink-2); line-height: 1.8; }
.todo { padding: 1px 6px; border-radius: 5px; background: #fff1a6; color: #3a3000; font-weight: 600; }
.legal-foot { background: var(--night); color: rgba(255, 255, 255, .7); padding: 28px 0; font-size: .9rem; }
.legal-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.legal-foot p { margin: 0; }
.legal-foot a { color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 560px) { .legal__dl div { grid-template-columns: 1fr; } }

/* écrans très étroits : « temps record. » peut passer sur deux lignes plutôt que déborder */
@media (max-width: 359px) {
  .hero__title em { white-space: normal; }
}

/* petits téléphones : la barre du haut doit tenir (bouton menu entièrement visible) */
@media (max-width: 400px) {
  .nav__bar { gap: 12px; }
  .nav__actions { gap: 10px; }
  .nav__cta { padding: 0 15px; }
  .nav__brand .logo--mark { height: 26px; }
}
@media (max-width: 345px) {
  .nav__brand .logo--mark { height: 22px; }
}
@media (max-width: 360px) {
  .btn { padding: 0 16px; font-size: .86rem; gap: .55em; }
}
