/* ============================================================
   Auto-École Vallier Libération — Design system
   Thèse : le vocabulaire de la route (marquage, mouvement, oblique
   du logo) est la signature. Bleu charte #1c4791 en lead.
   Refs : frontend-design (Anthropic), bencium controlled-ux,
   ui-typography (Butterick). WCAG 2.1 AA.
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Marque */
  --brand:      #1c4791;
  --brand-700:  #16386f;
  --brand-900:  #0f284f;
  --brand-100:  #dce7f8;
  --brand-50:   #eef3fc;

  /* Neutres à sous-ton bleu (cool greys) */
  --ink:        #212424;
  --slate-700:  #3a3e3e;
  --slate-600:  #575b5b;  /* texte secondaire — 5.9:1 sur blanc */
  --slate-400: #8a97ad;
  --line:       #d3dbe8;
  --surface:    #ffffff;
  --canvas:     #f5f8fd;

  /* Signaux */
  --gold:       #c67c10;  /* étoiles d'avis — ≥3:1 sur blanc (AA graphique) */
  --success:    #157a4a;
  --danger:     #c02b1d;

  /* Rayons & ombres (material honesty : ombres rares, subtiles) */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow:    0 6px 20px -8px rgba(15,40,79,.18);
  --shadow-lg: 0 18px 44px -18px rgba(15,40,79,.30);

  /* Échelle d'espacement (base 4) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Typo */
  --font-display: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif;
  --font-mono: "Plus Jakarta Sans", system-ui, sans-serif;

  --container: 1160px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0, 0, .2, 1);
  --ease-in-out: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 150ms;
  --dur: 260ms;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:target { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Focus visible cohérent partout */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  line-height: 1.04;
  letter-spacing: .2px;
  color: var(--brand-900);
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.7rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 1.35rem + 2vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); }
h4 { font-size: 1.05rem; font-style: normal; font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; }
p { text-wrap: pretty; }
.lead {
  font-size: clamp(1.1rem, 1.02rem + .5vw, 1.3rem);
  color: var(--slate-600);
  max-width: 62ch;
  line-height: 1.55;
}

/* Eyebrow — style « tableau de bord / plaque » */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 11px);
}

/* Chiffres tabulaires pour toutes les données */
.mono, .price, table td.num, table th.num, .stat b {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- 4. Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.section { padding-block: clamp(3rem, 2rem + 5vw, 6rem); }
.section--alt { background: var(--canvas); }
.section--brand { background: var(--brand); color: #eaf1fd; }
.section--brand h2 { color: #fff; }
.section--brand .lead { color: #cfdcf5; }
.section-head { max-width: 60ch; margin-bottom: var(--sp-6); }
.section-head .lead { margin-top: var(--sp-3); }
.stack > * + * { margin-top: var(--sp-4); }

/* Séparateur signature : marquage au sol */
.lane-divider {
  height: 4px; border: 0; margin: 0;
  background: repeating-linear-gradient(90deg, var(--brand-100) 0 26px, transparent 26px 46px);
  opacity: .9;
}

/* ---------- 5. Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px;
  padding: 12px 26px;
  font-weight: 700; font-size: 1rem; line-height: 1;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  transition: background var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  text-align: center;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-700); }
.section--brand .btn--primary { background: #fff; color: var(--brand-900); }
.section--brand .btn--primary:hover { background: var(--brand-50); }
.btn--outline { border-color: currentColor; color: var(--brand); }
.btn--outline:hover { background: var(--brand-50); }
.section--brand .btn--outline { color: #fff; }
.section--brand .btn--outline:hover { background: rgba(255,255,255,.14); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--brand-900); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }

/* ---------- 6. Topbar + header ---------- */
.topbar { background: var(--brand-900); color: #dbe6fa; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; padding-block: var(--sp-2); }
.topbar__group { display: flex; gap: var(--sp-5); flex-wrap: wrap; align-items: center; }
.topbar a { color: #fff; font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav a { color: var(--slate-700); font-weight: 600; padding: 6px 2px; position: relative; }
.nav a:hover { color: var(--brand); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--brand-900); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
  background: var(--brand); border-radius: 3px;
}
.header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle { display: none; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: var(--r-sm); color: var(--brand-900); }
.nav-toggle svg { width: 26px; height: 26px; }

/* Drawer mobile.
   Seuil relevé à 980px : avec 6 entrées de menu, la barre devenait trop
   serrée en dessous (16px de marge), ce qui risquait un chevauchement
   selon le rendu des polices d'un système à l'autre. */
.drawer { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .header__actions .btn .hide-sm { display: none; }
  .nav-toggle { display: inline-flex; }
  .drawer {
    display: block; position: fixed; inset: 0; z-index: 60;
    visibility: hidden; pointer-events: none;
  }
  .drawer__scrim {
    position: absolute; inset: 0; background: rgba(33,36,36,.5);
    opacity: 0; transition: opacity var(--dur) var(--ease-out);
  }
  .drawer__panel {
    position: absolute; top: 0; right: 0; height: 100%; width: min(84vw, 340px);
    background: var(--surface); box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; padding: var(--sp-5);
    transform: translateX(100%); transition: transform var(--dur) var(--ease-out);
  }
  .drawer.is-open { visibility: visible; pointer-events: auto; }
  .drawer.is-open .drawer__scrim { opacity: 1; }
  .drawer.is-open .drawer__panel { transform: translateX(0); }
  .drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-4); }
  .drawer__head img { height: 40px; }
  .drawer a.drawer__link { display: block; padding: 14px 4px; font-weight: 700; font-size: 1.15rem; color: var(--brand-900); border-bottom: 1px solid var(--line); }
  .drawer a.drawer__link:hover { color: var(--brand); text-decoration: none; }
  .drawer .btn { margin-top: var(--sp-4); }
}
body.is-locked { overflow: hidden; }

/* ---------- 7. Hero ----------
   Fond bleu de marque pour l'impact. Texture = les traits de vitesse
   du logo. Le prix d'appel est ancré dans une carte blanche, à la
   manière des leaders du secteur, mais avec la grille complète
   plutôt qu'un « à partir de » sans suite. */
.hero {
  position: relative;
  background: linear-gradient(158deg, var(--brand-900) 0%, var(--brand-700) 46%, var(--brand) 100%);
  color: #fff;
  overflow: hidden;
  padding-bottom: 46px; /* place pour la bande routière */
}

/* Traits de vitesse repris du logo, très discrets */
.hero__lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: repeating-linear-gradient(
    -14deg,
    rgba(255,255,255,.055) 0 2px,
    transparent 2px 26px
  );
  mask-image: linear-gradient(100deg, #000 0 42%, transparent 78%);
  -webkit-mask-image: linear-gradient(100deg, #000 0 42%, transparent 78%);
}

.hero .container {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
  padding-block: clamp(2.75rem, 1.5rem + 5vw, 5rem);
}
@media (max-width: 940px) { .hero .container { grid-template-columns: 1fr; } }

.hero h1 {
  color: #fff;
  margin-top: var(--sp-4);
  font-size: clamp(2.55rem, 1.5rem + 4.6vw, 4.35rem);
  letter-spacing: -.5px;
}
.hero .lead {
  color: #cfdcf5;
  margin-top: var(--sp-4);
  max-width: 54ch;
}
.eyebrow--light { color: #bcd3f8; }
.eyebrow--light::before { background: repeating-linear-gradient(90deg, #bcd3f8 0 6px, transparent 6px 11px); }

.hero__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-6); }
/* Sur le fond bleu, on inverse les boutons : sans cela, .btn--primary
   serait bleu sur bleu et .btn--outline invisible. */
.hero .btn--primary { background: #fff; color: var(--brand-900); }
.hero .btn--primary:hover { background: var(--brand-50); }
.hero .btn--outline { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--outline:hover { background: rgba(255,255,255,.13); border-color: #fff; }
.hero :focus-visible { outline-color: #fff; }
/* …sauf dans la carte blanche, où le bouton reprend le bleu de marque. */
.hero .hero-card .btn--primary { background: var(--brand); color: #fff; }
.hero .hero-card .btn--primary:hover { background: var(--brand-700); }
.hero .hero-card :focus-visible { outline-color: var(--brand); }

/* Bandeau de réassurance : note, accès tram, agrément */
.hero__proof {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-6); padding-top: var(--sp-5);
  border-top: 1px solid rgba(255,255,255,.18);
}
.hero__proof li { display: flex; align-items: center; gap: 9px; font-size: .9rem; color: #cfdcf5; }
.hero__proof strong { color: #fff; font-weight: 700; }
.hero__proof a { color: #cfdcf5; }
.hero__proof a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hero__proof-ico { display: inline-flex; color: #8fb4ec; }
.hero__proof-ico svg { width: 19px; height: 19px; }
.hero__proof li:first-child .hero__proof-ico { color: #fff; font-size: 1.15rem; line-height: 1; }

/* Bande routière en bas du hero */
.hero__road { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: var(--ink); z-index: 1; overflow: hidden; }
.hero__road::before {
  content: ""; position: absolute; top: 50%; left: 0; width: 200%; height: 5px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #fff 0 44px, transparent 44px 88px);
  animation: lane 2.4s linear infinite;
}
@keyframes lane { from { transform: translate(0, -50%); } to { transform: translate(-88px, -50%); } }

/* Carte prix du hero */
.hero-card {
  background: var(--surface); border-radius: var(--r-lg);
  box-shadow: 0 26px 60px -22px rgba(4,16,38,.62);
  padding: var(--sp-6); color: var(--ink);
}
.hero-card__kicker {
  font-family: var(--font-mono); font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--slate-600);
}
.hero-card__price {
  font-family: var(--font-display); font-style: normal; font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 3.4rem; line-height: 1; color: var(--brand-900);
  margin-top: 2px;
}
.hero-card__price span { font-size: 1.9rem; }
.hero-card__list { margin-top: var(--sp-5); border-top: 1px solid var(--line); }
.hero-card__list li {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4);
  padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .92rem;
}
.hero-card__list span { color: var(--slate-600); }
.hero-card__list b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; color: var(--brand-900); white-space: nowrap; }
.hero-card__note { margin-top: var(--sp-4); font-size: .82rem; color: var(--slate-600); line-height: 1.5; }
.hero-card .btn { margin-top: var(--sp-5); }

/* ---------- 8. Grilles & cartes ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: var(--sp-6);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); }
.card__icon {
  width: 48px; height: 48px; border-radius: var(--r-sm);
  background: var(--brand-50); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--sp-4);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: var(--sp-2); }
.card p { color: var(--slate-600); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--sp-4); font-weight: 700; }
.card__link svg { width: 16px; height: 16px; transition: transform var(--dur-fast) var(--ease-out); }
.card:hover .card__link svg { transform: translateX(3px); }
.card--price .price-tag { font-family: var(--font-mono); font-weight: 700; font-size: 1.5rem; color: var(--brand-900); }
.card--price .price-tag small { font-size: .8rem; color: var(--slate-400); font-weight: 400; }

/* ---------- 9. Formules / tarifs ---------- */
.formule { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.formule + .formule { margin-top: var(--sp-6); }
.formule__total { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.7rem; font-weight: 700; }
.formule__body { padding: var(--sp-5) var(--sp-6) var(--sp-6); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.formule table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.formule th, .formule td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.formule thead th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); font-weight: 700; }
.formule td.num, .formule th.num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.formule tr.subtotal td { font-weight: 700; background: var(--brand-50); }
.formule tfoot td { font-weight: 800; border-bottom: 0; border-top: 2px solid var(--ink); font-size: 1.05rem; }
.note { margin-top: var(--sp-5); padding: var(--sp-4) var(--sp-5); background: var(--canvas); border-radius: var(--r-md); font-size: .92rem; }
.note strong { color: var(--brand-900); }
.pay-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: var(--sp-3); margin-top: var(--sp-3); }
.pay-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 12px; font-size: .82rem; color: var(--slate-600); }
.pay-list b { display: block; font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.15rem; color: var(--brand-900); }
.extras { margin-top: var(--sp-4); font-size: .9rem; color: var(--slate-600); }

/* Barre d'ancres */
.anchor-nav { display: flex; gap: var(--sp-2); flex-wrap: wrap; margin-top: var(--sp-5); }
.anchor-nav a { background: var(--surface); border: 1px solid var(--line); padding: 8px 16px; border-radius: var(--r-pill); font-size: .85rem; font-weight: 700; color: var(--brand-900); }
.anchor-nav a:hover { border-color: var(--brand); text-decoration: none; background: var(--brand-50); }

/* ---------- 9 bis. Étapes d'inscription ----------
   La numérotation est légitime ici : c'est une vraie séquence,
   l'ordre porte une information utile. */
.steps { display: grid; gap: var(--sp-5); counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); } }
.steps li {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: var(--sp-5);
}
.steps__num {
  flex: none; width: 42px; height: 42px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 1.05rem;
}
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--slate-600); font-size: .95rem; }

/* ---------- 9 ter. FAQ (accordéon natif, sans JS) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); background: var(--surface); }
.faq__item summary {
  cursor: pointer; list-style: none;
  padding: var(--sp-5) 46px var(--sp-5) var(--sp-5);
  font-weight: 700; font-size: 1.05rem; color: var(--brand-900);
  position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--brand); }
.faq__item summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }
/* Chevron construit en CSS : pivote à l'ouverture */
.faq__item summary::after {
  content: ""; position: absolute; right: var(--sp-5); top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand);
  transform: rotate(45deg);
  transition: transform var(--dur) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq__body { padding: 0 var(--sp-5) var(--sp-5); color: var(--slate-700); }
.faq__body p + p { margin-top: var(--sp-3); }

/* ---------- 10. Docs à fournir ---------- */
.doc-list li { display: flex; gap: var(--sp-3); padding: 12px 0; border-bottom: 1px solid var(--line); }
.doc-list li:last-child { border-bottom: 0; }
.doc-list .box { flex: none; width: 22px; height: 22px; border: 2px solid var(--brand); border-radius: 6px; margin-top: 2px; }

/* ---------- 11. Avis ---------- */
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--sp-6); display: flex; flex-direction: column; }
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: var(--sp-3); font-size: 1.05rem; }
.review blockquote { color: var(--slate-700); font-size: 1.02rem; flex: 1; }
.review .who { margin-top: var(--sp-4); font-weight: 700; font-size: .85rem; color: var(--slate-600); }

/* ---------- 12. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: var(--sp-6); } }
.info-list li { display: flex; gap: var(--sp-3); padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.info-list li:last-child { border-bottom: 0; }
.info-list .ico { flex: none; color: var(--brand); margin-top: 2px; }
.info-list .ico svg { width: 22px; height: 22px; }
.map { border: 0; border-radius: var(--r-md); box-shadow: var(--shadow); width: 100%; height: 320px; margin-top: var(--sp-4); display: block; }

/* Carte : écran de consentement avant chargement du contenu Google */
.map-consent {
  margin-top: var(--sp-4);
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background:
    repeating-linear-gradient(90deg, var(--brand-100) 0 26px, transparent 26px 46px) bottom/100% 4px no-repeat,
    var(--canvas);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: var(--sp-2); padding: var(--sp-6);
}
.map-consent svg { width: 34px; height: 34px; color: var(--brand); }
.map-consent__addr { font-weight: 700; color: var(--brand-900); }
.map-consent__note { font-size: .82rem; color: var(--slate-600); max-width: 42ch; }
.map-consent .btn { margin-top: var(--sp-2); }

.form { display: grid; gap: var(--sp-4); }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field .req { color: var(--danger); }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; /* anti-zoom iOS */
  border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); color: var(--ink);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-100);
}
.form textarea { resize: vertical; min-height: 130px; }
.form [aria-invalid="true"] { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .82rem; margin-top: 5px; display: none; }
.field__error.show { display: block; }
.form-note { font-size: .82rem; color: var(--slate-600); }
.form-status { padding: var(--sp-4); border-radius: var(--r-sm); font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status--ok { background: #e7f6ee; color: #10603a; border: 1px solid #b7e2c9; }
.form-status--ok a { color: #0d4f30; }
.form-status__copy {
  width: 100%; margin-top: var(--sp-3); padding: 10px 12px;
  font: 400 .88rem/1.5 var(--font-body); color: var(--ink);
  background: #fff; border: 1px solid #b7e2c9; border-radius: var(--r-sm);
  resize: vertical;
}
.form-status .btn { margin-top: var(--sp-3); }
.copy-done { display: inline-block; margin-left: var(--sp-3); font-size: .85rem; font-weight: 600; }

/* ---------- 13. Bandeau CTA ---------- */
.cta { text-align: center; }
.cta .lead { margin-inline: auto; margin-bottom: var(--sp-5); }
.cta__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* ---------- 14. Page-hero (pages internes) ---------- */
.page-hero { background: var(--brand); color: #fff; padding-block: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: #cfdcf5; }
.breadcrumb { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; margin-bottom: var(--sp-3); color: #a9c0ea; }
.breadcrumb a { color: #dbe6fa; }
.breadcrumb span[aria-current] { color: #fff; }

/* ---------- 15. Footer ---------- */
.footer { background: var(--ink); color: #c9d3e3; padding-block: var(--sp-8) var(--sp-5); font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: var(--sp-6); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-5); } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }
.footer img { height: 40px; margin-bottom: var(--sp-4); filter: brightness(0) invert(1); }
.footer h3 { color: #fff; font-family: var(--font-body); font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: var(--sp-3); }
.footer a { color: #c9d3e3; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: var(--sp-2); }
.footer__bottom { margin-top: var(--sp-7); padding-top: var(--sp-4); border-top: 1px solid #24304a; display: flex; justify-content: space-between; gap: var(--sp-3); flex-wrap: wrap; color: var(--slate-400); font-size: .82rem; }

/* ---------- 16. Back-to-top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 50px; height: 50px; border-radius: var(--r-pill);
  background: var(--brand); color: #fff; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur), background var(--dur-fast);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--brand-700); }
.to-top svg { width: 24px; height: 24px; }

/* ---------- 17. Reveal au scroll ----------
   Masqué UNIQUEMENT si JS actif (.has-js). Sans JS, ou si l'observer
   échoue, le contenu reste visible : jamais de contenu piégé. */
.has-js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.has-js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 18. Utilitaires ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0; font-weight: 700; }
.skip-link:focus { left: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-6 { margin-top: var(--sp-6); }

/* ---------- 19. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .has-js .reveal { opacity: 1; transform: none; }
  .hero__road::before { animation: none; }
}

/* ---------- 20. Impression (page tarifs) ---------- */
@media print {
  .topbar, .header, .drawer, .to-top, .footer, .cta, .anchor-nav, .hero__road { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .formule { break-inside: avoid; box-shadow: none; border: 1px solid #999; }
  .formule__head { background: #fff !important; color: #000 !important; border-bottom: 2px solid #000; }
  .formule__head h3, .formule__total { color: #000 !important; }
  a { color: #000; text-decoration: none; }
  .section { padding-block: 12pt; }
}

/* ============================================================
   Accueil v2 — fond bleu très clair, grandes cartes arrondies,
   soulignements animés. Inspiré de la structure des leaders
   (sections, rythme, lisibilité), avec l'identité de l'auto-école :
   bleu charte, orange en petites touches, polices maison.
   Ni beige ni jaune : fonds bleu très pâle, orange en touches.
   ============================================================ */
:root {
  --sky: #d8e6fd;
  --sky-200: #b8d0f9;
  --sun: #ff6b1a;
  --r-xl: 28px;
}
.container--narrow { max-width: 820px; }
.section--sky { background: var(--sky); }
.section--dark { background: #212424; color: #d3dbe8; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #c9d3e3; }
.section-head--center { text-align: center; margin-inline: auto; max-width: 720px; }
.section-head--center .lead { margin-inline: auto; }
.section-head--center h2 { max-width: 22ch; margin-inline: auto; }

.chip {
  display: inline-block; padding: 7px 14px; border-radius: var(--r-pill);
  background: #fff; color: var(--brand-900); font-weight: 700; font-size: .82rem;
}
.chip--line { background: transparent; border: 1.5px solid var(--brand-900); }
.section-head--center .chip { margin-bottom: var(--sp-4); }

.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ff8240; }

/* Soulignement qui se dessine au défilement (une vague par ligne) */
.hl {
  --hl: var(--brand-900);
  background: linear-gradient(var(--hl), var(--hl)) no-repeat 0 100% / 0% .1em;
  padding-bottom: .08em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size .9s cubic-bezier(.65,0,.35,1) .25s;
}
.hl.is-visible { background-size: 100% .1em; }
html:not(.has-js) .hl { background-size: 100% .1em; }
@media (prefers-reduced-motion: reduce) { .hl { background-size: 100% .1em; transition: none; } }

/* ---------- Hero ---------- */
.hero2 { background: var(--sky); padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); }
.hero2__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
@media (max-width: 900px) { .hero2__grid { grid-template-columns: 1fr; } }
.hero2 h1 { margin-top: var(--sp-5); font-size: clamp(2.7rem, 1.6rem + 5vw, 5rem); line-height: 1; color: var(--brand-900); }
.hero2 .lead { margin-top: var(--sp-5); color: var(--slate-700); }
.hero2__actions { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-6); }
.hero2__art { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 6 / 7; background: var(--brand); box-shadow: 0 30px 60px -30px rgba(15,40,79,.55); }
@media (max-width: 900px) { .hero2__art { aspect-ratio: 4 / 3; } }
.hero2__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero2__dashes { animation: dashes 1.6s linear infinite; transform-origin: 240px 345px; }
@keyframes dashes { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(40px) scale(1.2); } }
.float { position: absolute; background: #fff; color: var(--ink); border-radius: 18px; padding: 12px 16px; box-shadow: 0 14px 30px -12px rgba(4,16,38,.5); }
.float small { display: block; font-size: .72rem; color: var(--slate-600); font-weight: 600; }
.float b { font-family: var(--font-display); font-style: normal; font-size: 2.2rem; line-height: 1; color: var(--brand-900); }
.float--price { left: 5%; bottom: 7%; }
.float--tram { right: 5%; top: 6%; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .85rem; border-radius: var(--r-pill); }
.float__dot { width: 10px; height: 10px; border-radius: 50%; background: #1f9d5c; box-shadow: 0 0 0 4px rgba(31,157,92,.2); }

.proofbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); transform: translateY(50%); position: relative; z-index: 3; }
@media (max-width: 900px) { .proofbar { grid-template-columns: repeat(2, 1fr); } }
.proofbar li { background: #fff; border-radius: 20px; padding: 18px 20px; box-shadow: 0 14px 30px -18px rgba(15,40,79,.35); display: flex; flex-direction: column; gap: 2px; }
.proofbar b { font-family: var(--font-display); font-style: normal; font-size: 1.7rem; line-height: 1.05; color: var(--brand-900); white-space: nowrap; }
.proofbar span { font-size: .85rem; color: var(--slate-600); line-height: 1.35; }
.proofbar a { color: var(--slate-600); text-decoration: underline; text-underline-offset: 3px; }
.hero2 + .section { padding-top: clamp(5rem, 4rem + 5vw, 8rem); }

/* ---------- Blocs numérotés ---------- */
.feature { display: grid; grid-template-columns: 56px 1fr 1fr; gap: var(--sp-6); align-items: center; padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); }
.feature--flip { grid-template-columns: 1fr 1fr; }
.feature--flip .feature__num { display: none; }
.feature--flip .feature__art { order: 0; }
.feature--flip .feature__text { order: 1; }
.feature__num { width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--ink); font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 1.7rem; display: flex; align-items: center; justify-content: center; align-self: start; }
.feature__text h3 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); margin-bottom: var(--sp-3); }
.feature__text p { color: var(--slate-600); font-size: 1.08rem; max-width: 44ch; }
.feature__text .btn { margin-top: var(--sp-4); }
.feature__art { border-radius: var(--r-xl); aspect-ratio: 5 / 4; display: flex; align-items: center; justify-content: center; }
.feature__art svg { width: 46%; height: auto; }
.feature__art--brand { background: var(--brand); }
.feature__art--sun { background: var(--sky-200); }
.feature__art--ink { background: var(--ink); }
@media (max-width: 800px) {
  .feature, .feature--flip { grid-template-columns: 1fr; gap: var(--sp-4); }
  .feature__num, .feature--flip .feature__num { display: flex; }
  .feature--flip .feature__text { order: 0; }
  .feature__art, .feature--flip .feature__art { order: 2; }
}

/* ---------- Prix ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); align-items: stretch; margin-top: var(--sp-4); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.plan { background: #fff; border-radius: var(--r-xl); padding: var(--sp-6); display: flex; flex-direction: column; position: relative; border: 2px solid transparent; }
.plan h3 { font-size: 1.9rem; }
.plan__who { color: var(--slate-600); margin-top: 2px; }
.plan__price { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 4rem; line-height: 1; color: var(--brand-900); margin-block: var(--sp-5) var(--sp-4); }
.plan__price span { font-size: 2rem; }
.plan__list { margin-bottom: var(--sp-5); flex: 1; }
.plan__list li { padding: 9px 0 9px 28px; border-top: 1px solid var(--line); position: relative; font-size: .97rem; }
.plan__list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 7px; height: 12px; margin-top: -9px; border-right: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(40deg); }
.plan--main { border-color: var(--brand); box-shadow: 0 24px 50px -26px rgba(28,71,145,.6); padding-top: calc(var(--sp-6) + 14px); }
.plan__flag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--ink); font-weight: 800; font-size: .78rem; padding: 6px 14px; border-radius: var(--r-pill); white-space: nowrap; }
.plans__more { text-align: center; margin-top: var(--sp-6); font-weight: 600; color: var(--brand-900); }
.plans__note { text-align: center; margin-top: var(--sp-2); font-size: .85rem; color: var(--slate-600); }

/* ---------- Quiz ---------- */
.quiz { background: var(--brand-900); color: #fff; border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .quiz { grid-template-columns: 1fr; } }
.quiz h2 { color: #fff; margin-top: var(--sp-4); }
.quiz .lead { color: #b9cbee; margin-top: var(--sp-3); }
.quiz .chip--line { border-color: #fff; color: #fff; }
.quiz__body { background: #fff; color: var(--ink); border-radius: 22px; padding: var(--sp-5); }
.quiz__q { font-weight: 800; margin-bottom: var(--sp-3); color: var(--brand-900); }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opts[hidden], .quiz__q[hidden] { display: none; }
.opt { display: block; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; font-weight: 700; color: var(--brand-900); background: #fff; transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast); }
.opt:hover { border-color: var(--brand); background: var(--brand-50); text-decoration: none; transform: translateX(3px); }
.quiz__res[hidden] { display: none; }
.quiz__kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate-600); }
.quiz__name { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 2.2rem; line-height: 1.05; color: var(--brand-900); margin-top: 4px; }
.quiz__price { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 3.2rem; line-height: 1; color: var(--brand); margin-top: var(--sp-2); }
.quiz__txt { margin-top: var(--sp-3); color: var(--slate-700); }
.quiz__act { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5); }

/* ---------- Profils ---------- */
.profiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin-top: var(--sp-4); }
@media (max-width: 1000px) { .profiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .profiles { grid-template-columns: 1fr; } }
.profile { background: #fff; border-radius: var(--r-xl); padding: var(--sp-6); display: flex; flex-direction: column; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out); }
.profile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.profile h3 { font-size: 1.6rem; margin-bottom: var(--sp-3); }
.profile p { color: var(--slate-600); flex: 1; }

/* ---------- Paiement ---------- */
.pay { background: var(--sky); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center; }
@media (max-width: 860px) { .pay { grid-template-columns: 1fr; } }
.pay h2 { margin-top: var(--sp-4); }
.pay .lead { margin-top: var(--sp-3); }
.pay__steps { display: grid; gap: 10px; }
.pay__steps li { background: #fff; border-radius: 16px; padding: 12px 18px; display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); }
.pay__steps b { font-family: var(--font-display); font-style: normal; font-size: 1.8rem; color: var(--brand-900); line-height: 1.1; }
.pay__steps span { color: var(--slate-600); font-size: .92rem; text-align: right; }

/* ---------- Sur place ---------- */
.local { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-top: var(--sp-4); }
@media (max-width: 900px) { .local { grid-template-columns: 1fr; } }
.local__card { background: #fff; border-radius: var(--r-xl); padding: var(--sp-6); }
.local__card h3 { font-size: 1.6rem; margin-bottom: var(--sp-3); }
.local__card p { color: var(--slate-700); }
.local__card .local__sub { margin-top: var(--sp-3); font-size: .9rem; color: var(--slate-600); }
.local__card .stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 3px; margin-bottom: var(--sp-2); }

/* ---------- Étapes ---------- */
.steps2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 960px) { .steps2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps2 { grid-template-columns: 1fr; } }
.steps2 li { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 24px; padding: var(--sp-5); }
.steps2 span { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 3rem; line-height: 1; color: var(--sun); display: block; margin-bottom: var(--sp-3); }
.steps2 h3 { font-size: 1.45rem; margin-bottom: var(--sp-2); }
.steps2 p { color: #c9d3e3; font-size: .95rem; }

/* ---------- Appel ---------- */
.callbox { background: #fff; border: 2px solid var(--brand-900); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); display: grid; grid-template-columns: 1.2fr .8fr; gap: var(--sp-6); align-items: center; }
@media (max-width: 860px) { .callbox { grid-template-columns: 1fr; } }
.callbox .lead { margin-top: var(--sp-3); }
.callbox__act { display: grid; gap: var(--sp-3); justify-items: start; }
.callbox__tel { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); line-height: 1; color: var(--brand); white-space: nowrap; }
.callbox__tel:hover { text-decoration: none; color: var(--brand-700); }

/* FAQ sur bleu pâle */
.section--sky .faq { border-top: 0; display: grid; gap: 10px; }
.section--sky .faq__item { border: 0; border-radius: 18px; }
.faq__more { margin-top: var(--sp-4); text-align: center; }

/* ---------- CTA final ---------- */
.finalcta { background: var(--brand); color: #fff; text-align: center; padding-block: clamp(4rem, 3rem + 5vw, 7rem); position: relative; overflow: hidden; }
.finalcta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: repeating-linear-gradient(90deg, var(--sun) 0 60px, transparent 60px 110px); }
.finalcta h2 { color: #fff; font-size: clamp(2.4rem, 1.6rem + 4vw, 4.6rem); }
.finalcta .lead { color: #cfdcf5; margin: var(--sp-4) auto var(--sp-6); }
.finalcta .btn--outline { color: #fff; }
.finalcta .btn--outline:hover { background: rgba(255,255,255,.14); }
.finalcta .cta__actions { display: flex; gap: var(--sp-3); justify-content: center; flex-wrap: wrap; }

/* Photos (Pexels, licence libre) */
.hero2__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.feature__art--photo { overflow: hidden; padding: 0; }
.feature__art--photo img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Hero plein cadre + en-tête flottant (accueil) ---------- */
.header--float { position: fixed; left: 0; right: 0; top: 14px; background: none; border: 0; backdrop-filter: none; pointer-events: none; }
.header--float .container { pointer-events: auto; max-width: min(calc(var(--container) - 2 * var(--sp-5)), calc(100% - 32px)); background: rgba(255,255,255,.82); backdrop-filter: saturate(1.3) blur(14px); -webkit-backdrop-filter: saturate(1.3) blur(14px); border-radius: var(--r-pill); padding: 6px 12px 6px 22px; min-height: 64px; box-shadow: 0 12px 30px -16px rgba(4,16,38,.5); }
.header--float .brand img { height: 38px; }
.header__tel { font-weight: 700; color: var(--brand-900); white-space: nowrap; }
.hero3 { position: relative; color: #fff; padding: clamp(7.5rem, 6rem + 6vw, 10rem) 0 clamp(5rem, 4rem + 4vw, 7rem); min-height: min(100vh, 860px); display: flex; align-items: center; isolation: isolate; }
.hero3__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero3__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero3__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.12) 55%, transparent 100%); }
.hero3__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.hero3__eyebrow { font-weight: 700; font-size: .95rem; color: #e7efff; display: flex; gap: 8px; align-items: center; }
.hero3__eyebrow span { color: var(--sun); }
.hero3 h1 { margin-top: var(--sp-4); font-size: clamp(3rem, 1.6rem + 6vw, 6.2rem); line-height: .98; color: #fff; text-shadow: 0 2px 24px rgba(4,16,38,.35); }
.hero3 h1 em { font-style: normal; color: var(--sun); }
.hero3__lead { margin-top: var(--sp-5); font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem); color: #eef3ff; max-width: 34em; }
.hero3__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-5); margin-top: var(--sp-6); }
.btn--lg { min-height: 56px; padding: 14px 34px; font-size: 1.05rem; }
.hero3__link { color: #fff; font-weight: 700; }
.hero3__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.hero3__card { position: relative; justify-self: center; width: min(100%, 420px); aspect-ratio: 4 / 5; transform: rotate(3deg); border: 6px solid rgba(255,255,255,.9); border-radius: 36px; box-shadow: 0 40px 70px -30px rgba(4,16,38,.7); }
.hero3__card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 30px; display: block; }
.hero3__card::before { content: ""; position: absolute; inset: 0; border-radius: 30px; background: linear-gradient(180deg, rgba(0,0,0,.4), transparent 32%); z-index: 1; pointer-events: none; }
.hero3__price { position: absolute; z-index: 2; top: 16px; right: 22px; text-align: right; color: #fff; line-height: 1; }
.hero3__price small { display: block; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.hero3__price b { font-family: var(--font-display); font-style: normal; font-size: 2.4rem; }
.hero3__rating { position: absolute; z-index: 2; left: -34px; bottom: 26px; transform: rotate(-4deg); background: #fff; color: var(--ink); font-weight: 800; padding: 12px 20px; border-radius: var(--r-pill); box-shadow: 0 16px 30px -14px rgba(4,16,38,.55); }
.hero3__rating span { color: var(--sun); margin-right: 4px; }
.hero3 .proofbar { transform: translateY(50%); }
@media (max-width: 900px) {
  .hero3__grid { grid-template-columns: 1fr; }
  .hero3__card { width: min(100%, 340px); aspect-ratio: 1; }
  .hero3__rating { left: 8px; bottom: -14px; }
  .hero3__bg::after { background: rgba(0,0,0,.3); }
}
@media (prefers-reduced-motion: no-preference) { .hero3__card { animation: cardin .8s var(--ease-in-out) both; } }
@keyframes cardin { from { transform: rotate(3deg) translateY(24px); } }
.hero3 { flex-direction: column; justify-content: center; gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.hero3 > .container { width: 100%; }
.hero3 + .section { padding-top: clamp(5rem, 4rem + 5vw, 8rem); }

/* ---------- Gabarit du modèle : île large, hero pleine largeur ---------- */
:root { --wide: min(1760px, calc(100% - 2 * clamp(16px, 5.9vw, 118px))); }
.header--float .container { max-width: var(--wide); width: var(--wide); padding-inline: 22px 10px; }
.header--float .nav { position: absolute; left: 50%; transform: translateX(-50%); }
.header--float .header__actions { margin-left: auto; }
.hero3 > .container { max-width: var(--wide); width: var(--wide); padding-inline: 0; }
.hero3__grid { grid-template-columns: 1.1fr .9fr; }
.hero3__card { width: min(100%, 560px); justify-self: end; margin-right: clamp(0px, 1vw, 24px); }
.hero3 .proofbar { margin-top: 0; }
@media (max-width: 980px) { .header--float .nav { display: none; } .hero3__card { justify-self: center; } }
.header--float ~ main:not(:has(.hero3)) { padding-top: 0; }
.header--float ~ main .page-hero { padding-top: clamp(7rem, 6rem + 3vw, 8.5rem); }

/* ---------- Hero : échelle du modèle (titre très grand, carte haute) ---------- */
.hero3 h1 { font-size: clamp(3.4rem, 1rem + 8.4vw, 10rem); line-height: .94; color: #eef1f6; margin-top: var(--sp-5); }
.hero3 h1 em { display: block; }
.hero3__eyebrow { font-size: 1.05rem; }
.hero3__lead { font-size: clamp(1.1rem, 1rem + .6vw, 1.55rem); line-height: 1.6; max-width: 30em; }
.hero3__actions .btn { padding: 1rem 1.9rem; font-size: 1.05rem; }
.hero3__link { font-size: 1.1rem; }
.hero3__card { width: min(100%, 600px); aspect-ratio: 4 / 5; }
.hero3__price b { font-size: clamp(2.2rem, 3vw, 3.2rem); }
.hero3__rating { font-size: 1.15rem; padding: 14px 24px; }
.hero3__grid { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .hero3 h1 { font-size: clamp(3rem, 14vw, 5rem); } .hero3__card { width: min(100%, 340px); } }

/* ---------- Bonnes pratiques : images, fluidité, perf ---------- */
picture { display: contents; }
img { max-width: 100%; height: auto; }
.hero3__bg img, .feature__art--photo img, .hero3__card img { height: 100%; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
.btn, .header__tel, .nav a { min-height: 44px; }
.hero3__card, .hero3__rating, .reveal { will-change: auto; }
@media (hover: none) { .btn:hover { transform: none; } }
@media (max-width: 640px) {
  .hero3 { min-height: auto; padding-top: 7rem; }
  .hero3__actions { gap: var(--sp-4); }
  .hero3__actions .btn { width: 100%; justify-content: center; }
  .hero3__rating { font-size: 1rem; padding: 10px 18px; left: 4px; }
  .header--float .container { padding-inline: 14px 8px; }
  .header__actions .btn--sm { padding-inline: 14px; font-size: .9rem; }
}
@media (min-width: 901px) {
  .hero3__grid { grid-template-columns: 1.35fr .65fr; }
  .hero3 h1 { font-size: clamp(3.4rem, 6.1vw, 8.6rem); }
  .hero3 h1 em { white-space: nowrap; }
  .hero3__card { width: min(100%, 520px); }
}

/* Mobile : en-tête et eyebrow */
.header--float .brand img, .header--float .header__inner > a:first-child img { width: auto; height: 38px; max-width: none; flex: none; }
.hero3__eyebrow { align-items: flex-start; }
.hero3__eyebrow span { line-height: 1.5; }
@media (max-width: 640px) {
  .header--float .hide-sm, .header--float .header__tel { display: none; }
  .header--float .brand img, .header--float .header__inner > a:first-child img { height: 34px; }
}

/* ---------- Sections : même gabarit que l'île et le hero ---------- */
main .container, .footer .container, .finalcta .container { max-width: var(--wide); width: var(--wide); }
main .section h2 { font-size: clamp(2.3rem, 1rem + 3vw, 4.6rem); line-height: 1.02; }
main .section .lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.35rem); }
main .section { padding-block: clamp(4.5rem, 3rem + 5vw, 8rem); }

/* ---------- Pages intérieures : même langage que l'accueil ---------- */
.page-hero { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/hero-alpes-1440.webp) 50% 62% / cover no-repeat, var(--brand-900); isolation: isolate; padding-bottom: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.page-hero h1 { font-size: clamp(2.8rem, 1rem + 6vw, 6.4rem); line-height: .96; color: #eef1f6; max-width: 16ch; text-shadow: 0 2px 24px rgba(4,16,38,.35); margin-top: var(--sp-4); }
.page-hero .lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.45rem); color: #eef3ff; max-width: 38em; margin-top: var(--sp-5); }
.breadcrumb { display: inline-flex; gap: 6px; align-items: center; padding: 6px 14px; border-radius: var(--r-pill); background: rgba(255,255,255,.16); backdrop-filter: blur(8px); color: #fff; font-size: .9rem; font-weight: 600; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }

main .section { background: #fff; }
main .section.section--alt, main .section.section--sky { background: var(--sky); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; color: var(--brand-900); background: transparent; padding: 0; letter-spacing: 0; text-transform: none; }
.eyebrow::before { content: "★"; color: var(--sun); }
main .section h2 { color: var(--brand-900); }
.card { background: #fff; border: 1px solid var(--sky-200); border-radius: var(--r-xl); box-shadow: 0 24px 50px -34px rgba(28,71,145,.45); padding: clamp(1.5rem, 1rem + 1.5vw, 2.4rem); }
.card h3 { font-family: var(--font-display); font-style: normal; font-size: 1.8rem; color: var(--brand-900); }
.grid--2 > .card, .grid--2 > aside { background: var(--sky); border-color: transparent; box-shadow: none; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 10px; position: sticky; top: 92px; z-index: 5; padding: 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.86); backdrop-filter: blur(12px); border: 1px solid var(--sky-200); width: fit-content; max-width: 100%; }
.anchor-nav a { padding: 10px 18px; border-radius: var(--r-pill); font-weight: 700; color: var(--brand-900); text-decoration: none; background: var(--sky); transition: background .2s, color .2s; }
.anchor-nav a:hover, .anchor-nav a:focus-visible { background: var(--brand); color: #fff; }
.lane-divider { border: 0; height: 0; margin: clamp(2.5rem, 2rem + 3vw, 5rem) 0 !important; }
.lane-divider::before, .lane-divider::after { content: none; }
.doc-list li { align-items: flex-start; }
.doc-list .box { background: var(--sun); border-color: var(--sun); border-radius: 50%; }

/* Tarifs */
.formule { border: 1px solid var(--sky-200); border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: 0 30px 60px -40px rgba(28,71,145,.5); }
.formule__head { background: var(--sky); color: var(--brand-900); padding: clamp(1.2rem, 1rem + 1vw, 2rem); }
.formule__head h2, .formule__head h3 { font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); }
.formule__total, .formule__head .num { color: var(--brand); font-family: var(--font-display); font-style: normal; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table-wrap thead th { background: #fff; color: var(--brand-900); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--sky-200); }
.table-wrap tbody tr:nth-child(even) { background: #f6f9ff; }
.table-wrap td, .table-wrap th { padding: 14px 16px; }
.subtotal td, .subtotal th { background: var(--sky); font-weight: 800; }
.note { border-radius: var(--r-xl); background: var(--sky); border: 0; color: var(--ink); padding: var(--sp-5) var(--sp-6); }
.pay-list li { border-radius: var(--r-xl); background: var(--sky); }

/* FAQ */
.faq__item { border: 1px solid var(--sky-200); border-radius: var(--r-xl); background: #fff; overflow: hidden; margin-bottom: 12px; }
.faq__item summary, .faq__item button { padding: 22px 26px; font-weight: 700; color: var(--brand-900); font-size: 1.1rem; }
.faq__body { padding: 0 26px 22px; }
.steps__num { background: var(--sun); color: var(--ink); border-radius: 50%; }

/* Contact */
.form { background: #fff; border: 1px solid var(--sky-200); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 3rem); box-shadow: 0 30px 60px -40px rgba(28,71,145,.5); }
.field input, .field select, .field textarea { border: 1.5px solid var(--sky-200); border-radius: 16px; background: var(--sky); padding: 14px 16px; min-height: 48px; font: inherit; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--brand); outline-offset: 1px; background: #fff; }
.info-list li { border-radius: var(--r-xl); }
.map-consent { border-radius: var(--r-xl); background: var(--sky); }

/* Bandeau CTA (fin de page) */
.section--brand.cta { background: linear-gradient(90deg, rgba(9,24,58,.86), rgba(9,24,58,.55)), url(/img/photos/hero-alpes-960.webp) center / cover no-repeat, var(--brand-900); color: #fff; }
.section--brand.cta h2 { color: #fff; }
.section--brand.cta .btn--primary, .section--brand.cta .btn { background: var(--sun); color: var(--ink); border-color: var(--sun); }
@media (max-width: 640px) { .anchor-nav { position: static; border-radius: var(--r-xl); } .page-hero h1 { max-width: none; } }
.breadcrumb { font-family: var(--font-body, inherit); text-transform: none; letter-spacing: 0; }

/* ---------- Cadres photo uniformes (même angle, même contour que la carte du hero) ---------- */
.feature__art--photo { overflow: visible; border: 6px solid #fff; border-radius: 36px; box-shadow: 0 40px 70px -34px rgba(28,71,145,.55), 0 0 0 1px var(--sky-200); transform: rotate(3deg); background: #fff; }
.feature__art--photo img { border-radius: 30px; display: block; }
.feature:nth-of-type(even) .feature__art--photo, .feature--flip .feature__art--photo { transform: rotate(-3deg); }
@media (prefers-reduced-motion: no-preference) { .feature__art--photo { transition: transform .5s var(--ease-in-out); } .feature__art--photo:hover { transform: rotate(0deg) scale(1.02); } }

/* Sans orange : bleu foncé et noir sur blanc, blanc et bleu clair sur fond sombre */
:root { --sun: #0f284f; }
.btn--light { background: #fff; color: var(--brand-900); }
.btn--light:hover { background: var(--sky); }
.btn--sun { background: var(--brand-900); color: #fff; }
.btn--sun:hover { background: var(--brand-700); }
.hl { --hl: var(--brand-900); }
.hero3 h1 em, .hero3__eyebrow span, .steps2 span, .on-dark .hl { color: #b9d3ff; }
.steps2 span { color: #b9d3ff; }
.hero3__eyebrow span { color: #fff; }
.feature__num, .steps__num, .plan__flag { background: var(--brand-900); color: #fff; }
.doc-list .box { background: var(--brand-900); border-color: var(--brand-900); }
.eyebrow::before { color: var(--brand); }
.hero3__rating span { color: var(--brand); }
.finalcta::after { background: repeating-linear-gradient(90deg, #b9d3ff 0 60px, transparent 60px 110px); }
.section--brand.cta .btn { background: #fff; color: var(--brand-900); border-color: #fff; }
.finalcta .hl, .section--dark .hl, .section--brand .hl { --hl: #b9d3ff; }

/* Encadré prix du hero */
.hero3__card--price { background: var(--sky); aspect-ratio: auto; min-height: 400px; padding: 34px 30px 96px; display: flex; flex-direction: column; justify-content: center; color: var(--ink); overflow: visible; }
.hero3__card--price::before { display: none; }
.hero3__kicker { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; color: var(--brand-700); margin: 0 0 14px; }
.hero3__card--price .hero3__price { position: static; text-align: left; color: var(--brand-900); }
.hero3__card--price .hero3__price small { color: var(--ink); font-size: 1.1rem; opacity: 1; }
.hero3__card--price .hero3__price b { display: block; font-size: clamp(4rem, 7vw, 6.4rem); line-height: .95; margin: 4px 0 14px; }
.hero3__card--price .hero3__price span { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); }
.hero3__car { position: absolute; left: 50%; bottom: -34px; width: 118%; max-width: none; transform: translateX(-50%) rotate(-3deg); height: auto !important; border-radius: 0 !important; filter: drop-shadow(0 22px 18px rgba(15,40,79,.35)); }

/* Cartes d'entrée */
.entry { padding-block: var(--sp-6) 0; }
.entry__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.entry__grid a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border-radius: 24px; background: var(--sky); color: var(--ink); text-decoration: none; position: relative; transition: transform .25s, background .25s; }
.entry__grid a:hover { transform: translateY(-4px); background: var(--sky-200); }
.entry__grid b { font-family: var(--font-display); font-style: normal; font-size: 1.7rem; color: var(--brand-900); }
.entry__grid span { font-size: .95rem; }
.entry__grid i { margin-top: auto; padding-top: 10px; width: 34px; color: var(--brand-900); }
.entry__grid svg { width: 26px; height: 26px; }
@media (max-width: 900px) { .entry__grid { grid-template-columns: repeat(2, 1fr); } }
/* VALLIER en pied de page */
.footer { position: relative; overflow: hidden; }
.footer__word { font-family: var(--font-display); font-style: normal; font-weight: 700; font-size: 24vw; line-height: .8; text-align: center; color: rgba(255,255,255,.07); margin-top: var(--sp-6); letter-spacing: .02em; user-select: none; white-space: nowrap; }
/* Bandeau mobile */
.stickybar { display: none; }
@media (max-width: 640px) {
  .stickybar { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; padding: 8px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); box-shadow: 0 14px 30px -10px rgba(15,40,79,.5); }
  .stickybar a { text-align: center; padding: 13px 10px; border-radius: 999px; font-weight: 800; text-decoration: none; }
  .stickybar__call { background: var(--sky); color: var(--brand-900); }
  .stickybar__prices { background: var(--brand-900); color: #fff; }
  body { padding-bottom: 84px; }
  .to-top { bottom: 92px; }
}
/* Étapes en défilement horizontal sur mobile */
@media (max-width: 760px) {
  .steps2 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter, 16px) * -1); padding: 4px var(--gutter, 16px) 14px; scrollbar-width: none; }
  .steps2::-webkit-scrollbar { display: none; }
  .steps2 li { flex: 0 0 82%; scroll-snap-align: center; }
}

/* Avis Google */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.review { margin: 0; background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 0 0 1px var(--sky-200); display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--brand); letter-spacing: 3px; font-size: 1.1rem; }
.review blockquote { margin: 0; color: var(--ink); line-height: 1.55; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; color: #45526b; }
.review figcaption b { color: var(--ink); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Avis en défilement horizontal */
.reviews { display: flex; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--sp-3); padding: 6px 4px 18px; scrollbar-width: thin; }
.review { flex: 0 0 min(86%, 380px); scroll-snap-align: start; }

/* Voiture à cheval sur le haut de l'encadré, texte compacté vers le bas */
.hero3__card--price { min-height: 0; padding: clamp(120px, 12vw, 160px) 30px 30px; justify-content: flex-end; }
.hero3__car { position: absolute; z-index: 3; left: 50%; top: 0; bottom: auto; height: auto; width: 92%; transform: translate(-50%, -50%) rotate(-3deg); filter: none; }
.hero3__car img { width: 100%; height: auto !important; border-radius: 0 !important; display: block; }
.hero3__card--price .hero3__price b { font-size: clamp(3.4rem, 5.6vw, 5.2rem); margin: 2px 0 10px; }
.hero3__card--price .hero3__kicker { margin-bottom: 8px; }
.hero3__card--price .hero3__rating { position: static; transform: rotate(-2deg); align-self: flex-start; margin: 18px 0 0; font-size: 1rem; padding: 10px 18px; }
@media (max-width: 900px) { .hero3 .container.hero3__grid { padding-top: 70px; } }

/* Encadré plus bas : hauteur réduite, voiture au même endroit sur le bord haut */
.hero3__card--price { padding: clamp(92px, 7vw, 104px) 28px 36px; }
.hero3__card--price .hero3__kicker { margin: 0 0 4px; }
.hero3__card--price .hero3__price small { display: inline; margin-right: 8px; font-size: 1rem; }
.hero3__card--price .hero3__price b { display: inline-block; font-size: clamp(2.8rem, 4.2vw, 3.8rem); margin: 0 0 6px; vertical-align: baseline; }
.hero3__card--price .hero3__price span { font-size: .95rem; }
.hero3__card--price .hero3__rating { position: absolute; left: 18px; bottom: -22px; margin: 0; align-self: auto; }

/* Police du hero : sans serif moderne, gras et normal (plus de condensée italique) */
.hero3 { font-family: "Plus Jakarta Sans", var(--font-body); }
.hero3 h1 { font-family: "Plus Jakarta Sans", var(--font-body); font-style: normal; font-weight: 700; font-size: clamp(2.3rem, 1.3rem + 3.8vw, 4.4rem); line-height: 1.06; letter-spacing: -.025em; }
.hero3 h1 em { font-style: normal; font-weight: 700; }
.hero3__lead { font-weight: 400; line-height: 1.55; }
.hero3__price b, .hero3__card--price .hero3__price b { font-family: "Plus Jakarta Sans", var(--font-body); font-style: normal; font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.4rem, 3.4vw, 3.4rem); }
.hero3__kicker, .hero3__rating, .hero3__link, .hero3 .btn { font-family: "Plus Jakarta Sans", var(--font-body); }

/* ---------- Page tarifs : comparatif + reçu par formule (modèle En Voiture Simone) ---------- */
.compare { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow-x: auto; max-width: 860px; margin: 0 auto; }
.compare table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 1rem; }
.compare th, .compare td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare .num { text-align: right; font-family: var(--font-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare tbody th { font-weight: 700; }
.compare tbody th a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--brand),var(--brand)) no-repeat 0 100% / 0 2px; transition: background-size .3s; }
.compare tbody th a:hover { background-size: 100% 2px; }
.compare tbody td:last-child { font-weight: 800; color: var(--brand-900); }
.detail-title { text-align: center; }
.has-js .anchor-nav { justify-content: center; }
.has-js .anchor-nav a[aria-current="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.has-js .formule:not(.is-active) { display: none; }
.formule table { min-width: 0; }
@media (max-width: 600px) { .formule table { font-size: .88rem; } .formule__head, .formule__body { padding-left: var(--sp-4); padding-right: var(--sp-4); } .compare th, .compare td { padding: 14px 12px; } }

/* Hero des pages intérieures : même hero que l'accueil, plus bas */
.hero3--page { min-height: auto; padding-bottom: clamp(3.5rem, 3rem + 3vw, 5.5rem); }
.hero3--page h1 { font-size: clamp(3rem, 1rem + 6vw, 7rem); }
.hero3--page .hero3__card { width: min(100%, 460px); }
@media (max-width: 900px) { .hero3--page h1 { font-size: clamp(2.8rem, 13vw, 4.4rem); } }

/* Hero tarifs : photo propre à la page, encadré = liste des prix (pas de voiture détourée) */
.hero3--keys .hero3__bg::after { background: linear-gradient(90deg, rgba(15,40,79,.78) 0%, rgba(15,40,79,.55) 100%); }
.pricecard { justify-self: end; width: min(100%, 440px); background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); box-shadow: 0 30px 60px -24px rgba(4,16,38,.55); transform: rotate(2deg); }
.pricecard__kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--slate-600); margin-bottom: var(--sp-3); }
.pricecard__list li + li { border-top: 1px solid var(--line); }
.pricecard__list a { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4); padding: 14px 2px; color: var(--ink); text-decoration: none; font-weight: 600; }
.pricecard__list a:hover span { text-decoration: underline; text-underline-offset: 4px; }
.pricecard__list b { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 1.15rem; color: var(--brand-900); white-space: nowrap; }
@media (max-width: 900px) { .pricecard { justify-self: center; transform: none; } }

.formule .table-wrap { background: transparent; }
.formule .table-wrap table { background: transparent; font-size: 1rem; line-height: 1.45; }
.formule .table-wrap tbody tr, .formule .table-wrap tbody tr:nth-child(even) { background: transparent; }
.formule .table-wrap tbody th { font-weight: 600; text-align: left; }
.formule .table-wrap td:not(:first-child) { font-variant-numeric: tabular-nums; font-weight: 600; }
.formule .note, .formule .pay-list li { border-radius: 16px; }

/* Tarifs : en-tête sobre sur fond bleu très pâle, sans photo (modèle) */
.tarif-intro { background: var(--sky); text-align: center; padding: clamp(7rem, 6rem + 3vw, 8.5rem) 0 clamp(2.5rem, 2rem + 3vw, 4rem); }
.tarif-intro h1 { font-size: clamp(2.6rem, 1.2rem + 5vw, 5rem); line-height: 1; color: var(--brand-900); max-width: 16ch; margin: 0 auto; }
.tarif-intro__lead { max-width: 40em; margin: var(--sp-5) auto 0; color: var(--ink); font-size: 1.15rem; }
.tarif-intro__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: center; margin-top: var(--sp-6); }

/* Étapes : fond bleu clair du site, cartes blanches */
.section--sky .steps2 li { background: #fff; border: 1px solid var(--sky-200, #cfe0fb); box-shadow: var(--shadow); }
.section--sky .steps2 h3 { color: var(--brand-900); }
.section--sky .steps2 p { color: var(--ink); }
.section--sky .steps2 span { color: var(--brand); }

/* ---------- Clair partout : texte foncé sur fond clair ---------- */
/* Reçu des formules : carte blanche, en-tête bleu clair */
.formule { background: #fff; color: var(--ink); border: 1px solid var(--sky-200); border-radius: 24px; box-shadow: 0 30px 60px -40px rgba(28,71,145,.5); max-width: 860px; margin-left: auto; margin-right: auto; }
.formule__head { background: var(--sky); border-bottom: 1px solid var(--sky-200); }
.formule__head h2, .formule__head h3 { color: var(--brand-900); }
.formule__total { color: var(--brand); font-size: 2rem; }
.formule .table-wrap, .formule .table-wrap table, .formule .table-wrap tbody tr, .formule .table-wrap tbody tr:nth-child(even) { background: transparent; }
.formule .table-wrap table { min-width: 0; font-size: 1rem; line-height: 1.45; }
.formule .table-wrap thead th { background: transparent; color: var(--slate-600); font-size: .78rem; font-weight: 700; letter-spacing: .06em; border-bottom: 2px solid var(--brand-900); }
.formule .table-wrap td, .formule .table-wrap th { padding: 16px 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
.formule .table-wrap tbody th { font-weight: 600; text-align: left; }
.formule .table-wrap td:not(:first-child) { font-variant-numeric: tabular-nums; font-weight: 600; }
.formule .table-wrap tr.subtotal td, .formule .table-wrap tr.subtotal th { background: var(--sky); color: var(--brand-900); font-weight: 800; }
.formule .table-wrap tfoot td, .formule .table-wrap tfoot th { background: transparent; color: var(--brand-900); font-weight: 800; font-size: 1.1rem; border-top: 2px solid var(--brand-900); border-bottom: 0; }
.formule .note { background: var(--sky); color: var(--ink); border-radius: 16px; }
.formule .note strong, .formule .pay-list b, .formule .extras strong { color: var(--brand-900); }
.formule .pay-list li { background: #fff; border: 1px solid var(--sky-200); color: var(--ink); border-radius: 16px; }
.formule .extras { color: var(--slate-600); }
@media (max-width: 600px) { .formule .table-wrap td, .formule .table-wrap th { padding: 14px 12px; } .formule .table-wrap table { font-size: .92rem; } .formule__head, .formule__body { padding-left: var(--sp-4); padding-right: var(--sp-4); } }

/* Pied de page : bleu clair, texte foncé */
.footer { background: var(--sky); color: var(--ink); border-top: 1px solid var(--sky-200); }
.footer img { filter: none; }
.footer h3 { color: var(--brand-900); }
.footer a { color: var(--brand-900); }
.footer a:hover { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.footer p, .footer li, .footer address { color: var(--ink); }
.footer__bottom { border-top: 1px solid var(--sky-200); color: var(--slate-600); }
.footer__bottom a { color: var(--slate-600); }
.footer__word { color: rgba(28,71,145,.06); }
.hero__road { background: var(--brand-900); }

/* Quiz : clair, texte foncé */
.quiz { background: #fff; color: var(--ink); border: 1px solid var(--sky-200); box-shadow: 0 30px 60px -40px rgba(28,71,145,.5); }
.quiz h2 { color: var(--brand-900); }
.quiz .lead { color: var(--ink); }
.quiz .chip--line { border-color: var(--brand); color: var(--brand); }
.quiz .hl { --hl: var(--brand); }
.quiz__body { background: var(--sky); }

/* ---------- Typo unique : Plus Jakarta Sans, titres droits et serrés ---------- */
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h3, h4 { letter-spacing: -.015em; line-height: 1.2; }
body { font-weight: 450; }
main .section h2 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); line-height: 1.08; }
.page-hero h1 { font-size: clamp(2.4rem, 1rem + 4.4vw, 4.6rem); line-height: 1.04; }
.hero3--page h1 { font-size: clamp(2.4rem, 1rem + 4.4vw, 4.6rem); }
.finalcta h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.tarif-intro h1 { font-size: clamp(2.4rem, 1rem + 4vw, 4.2rem); line-height: 1.04; }
.callbox__tel { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.steps2 span { font-size: 2.2rem; font-weight: 800; letter-spacing: -.03em; }
.quiz__name { font-size: 1.8rem; font-weight: 800; letter-spacing: -.02em; }
.quiz__price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.03em; }
.formule__total { font-weight: 800; letter-spacing: -.02em; font-size: 1.8rem; }
.formule__head h2, .formule__head h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); }
.compare thead th, .formule .table-wrap thead th, .pricecard__kicker, .quiz__kicker { font-weight: 700; letter-spacing: .07em; }
.compare .num, .pricecard__list b { font-weight: 700; }
@media (max-width: 600px) { main .section h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); } }
/* Ponctuation : 700 au lieu de 800 (point moins détaché), espace des mots un peu plus large */
h1, h2, .hero3 h1, .tarif-intro h1, .finalcta h2 { font-weight: 700; letter-spacing: -.02em; word-spacing: .04em; }
/* Encadré du hero : place pour la pastille des avis sous le texte */
.hero3__card--price { padding-bottom: 64px; }
.hero3__card--price .hero3__price span { line-height: 1.35; }

/* Mobile : hero sur une colonne, en-tête qui tient sur une ligne */
@media (max-width: 900px) {
  .hero3__grid, .hero3--page .hero3__grid { grid-template-columns: 1fr; }
  .hero3__card, .pricecard { justify-self: center; }
  .hero3 h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); }
}
.header__actions .btn--sm { white-space: nowrap; }
@media (max-width: 420px) {
  .header__actions { gap: 6px; }
  .header__actions .btn--sm { padding-inline: 12px; font-size: .82rem; }
}
@media (max-width: 420px) { .header--float .brand img { height: 32px; } }

/* Carte du hero : plus large, plus basse, pastille avis sous le texte (aucun chevauchement) */
@media (min-width: 901px) {
  .hero3__grid { grid-template-columns: 1.2fr .8fr; }
  .hero3__card--price { width: min(100%, 330px); margin-top: 72px; }
}
.hero3__card--price { padding-bottom: 28px; }
.hero3__card--price .hero3__rating { position: static; transform: rotate(-2deg); align-self: flex-start; margin: 18px 0 0; left: auto; bottom: auto; }
@media (min-width: 901px) {
  .hero3__grid { grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr); }
  .hero3 h1 em { white-space: normal; }
  .hero3__card--price .hero3__rating { white-space: nowrap; }
}

/* Hero : carte visible à droite jusqu'à 641 px, fond bleu pendant le chargement de la photo */
.hero3 { background-color: var(--brand-900); }
@media (min-width: 641px) and (max-width: 900px) {
  .hero3__grid { grid-template-columns: minmax(0, 1fr) minmax(250px, .8fr); gap: 28px; }
  .hero3__card { width: 100%; justify-self: end; }
  .hero3__card--price { min-height: 0; padding: 84px 22px 26px; justify-content: flex-start; }
  .hero3 h1 { font-size: clamp(2.4rem, 6.4vw, 3.4rem); }
  .hero3__card--price .hero3__price b { font-size: clamp(2.8rem, 6vw, 3.6rem); }
  .hero3__card--price .hero3__rating { white-space: normal; }
}
/* Tarifs : texte à gauche, carte des 5 prix à droite, sans photo */
.tarif-intro__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; text-align: left; }
.tarif-intro__grid h1, .tarif-intro__grid .tarif-intro__lead { margin-left: 0; }
.tarif-intro__grid .tarif-intro__actions { justify-content: flex-start; }
.tarif-intro .pricecard { box-shadow: 0 30px 60px -30px rgba(28,71,145,.45); border: 1px solid var(--sky-200); }
@media (max-width: 640px) { .tarif-intro__grid { grid-template-columns: 1fr; } .tarif-intro .pricecard { justify-self: center; transform: none; } }

/* Section finale : pas de pointillés */
.finalcta::after { content: none; display: none; }

/* Photos provisoires (Unsplash, licence libre) : à remplacer par celles de l’école, voir PHOTOS-PROVISOIRES.md */
.page-hero--formations { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/route-col-1400.webp) 50% 55% / cover no-repeat, var(--brand-900); }
@media (max-width: 800px) { .page-hero--formations { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/route-col-800.webp) 50% 55% / cover no-repeat, var(--brand-900); } }
.page-hero--documents { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/route-lacets-1400.webp) 50% 50% / cover no-repeat, var(--brand-900); }
@media (max-width: 800px) { .page-hero--documents { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/route-lacets-800.webp) 50% 50% / cover no-repeat, var(--brand-900); } }
.page-hero--faq { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/volant-1400.webp) 50% 45% / cover no-repeat, var(--brand-900); }
@media (max-width: 800px) { .page-hero--faq { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/volant-800.webp) 50% 45% / cover no-repeat, var(--brand-900); } }
.page-hero--contact { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/grenoble-quais-1400.webp) 50% 55% / cover no-repeat, var(--brand-900); }
@media (max-width: 800px) { .page-hero--contact { background: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/grenoble-quais-800.webp) 50% 55% / cover no-repeat, var(--brand-900); } }
@media (min-width: 1500px) { .page-hero--formations { background-image: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/route-col-2000.webp); } .page-hero--documents { background-image: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/route-lacets-2000.webp); } .page-hero--faq { background-image: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/volant-2000.webp); } .page-hero--contact { background-image: linear-gradient(90deg, rgba(9,24,58,.78) 0%, rgba(9,24,58,.45) 60%, rgba(9,24,58,.2) 100%), url(/img/photos/grenoble-quais-2000.webp); } }
.photoband { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: var(--sp-4); margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.photoband__item { margin: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--sky-200); aspect-ratio: 4 / 5; }
.photoband__item--wide { aspect-ratio: auto; }
.photoband img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) { .photoband { grid-template-columns: 1fr 1fr; } .photoband__item { aspect-ratio: 1 / 1; } .photoband__item.photoband__item--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
.cityband { margin: 0 0 var(--sp-4); border-radius: var(--r-xl); overflow: hidden; background: var(--sky-200); aspect-ratio: 21 / 8; }
.cityband img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; display: block; }
@media (max-width: 640px) { .cityband { aspect-ratio: 4 / 3; } }

/* Bandeau final des pages intérieures : air entre le titre et les boutons */
.section--brand.cta h2 { margin: 0 0 clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem); }
.section--brand.cta .cta__actions { gap: 14px 16px; }

/* Header mobile : l'icône du menu reste dans la pastille */
@media (max-width: 400px) {
  .header--float .brand img { height: 28px; }
  .header__actions .btn--sm { padding-inline: 10px; font-size: .78rem; }
}
@media (max-width: 368px) {
  .header--float .brand img { height: 23px; }
  .header--float .container { padding-inline: 10px; }
  .header__actions .btn--sm { padding-inline: 8px; font-size: .74rem; }
}
