/* Mobility Formation, maquette v4 (29/10/2026) : base v3 « le cours de Mourad », couleurs du local et du nouveau logo.
   Monde : tableau blanc de la salle de cours, feuilles imprimées aimantées,
   feutre bleu marine, surligneur or, feutre rouge réservé aux corrections. */

:root {
  /* v5 (10/11/2026) : fond chaud, aux couleurs du local (demande de Mourad : « le fond trop pâle ») */
  --tableau: #f1e8d8;
  --sable: #e7d8bf;
  --tableau-fantome: rgba(110, 80, 30, .045);
  --cadre: #dccdb3;
  --papier: #fffcf6;
  --papier-ligne: #eadfcc;
  --encre: #0d1830;
  --encre-2: #2c3750;
  --encre-3: #46516a;
  --marine: #0b1e46;
  --marine-2: #16295a;
  --feutre: #2a5c9f;
  --or: #c8962e;
  --or-fonce: #866113;
  --or-clair: #e4b444;
  --surligneur: rgba(240, 184, 58, .55);
  --rouge: #c0362c;

  --f-texte: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-chiffres: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --f-feutre: "Shantell Sans", "Comic Neue", "Segoe Print", cursive;

  --ombre-feuille: 0 1px 2px rgba(14, 26, 51, .07), 0 16px 30px -16px rgba(14, 26, 51, .32);
  --ombre-aimant: 0 3px 4px -1px rgba(14, 26, 51, .45);
  --r-papier: 3px;
  --r-ctrl: 6px;

  --header-h: 84px;
  --wrap: 1200px;
  --gout: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-tiroir: cubic-bezier(.32, .72, 0, 1);
  --ease-feutre: cubic-bezier(.45, .05, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  interpolate-size: allow-keywords;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--encre);
  background-color: var(--tableau);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
svg { flex: none; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
button, a, summary, label, .btn { touch-action: manipulation; }
::selection { background: var(--surligneur); color: var(--encre); }
input, select { caret-color: var(--feutre); }
:focus-visible { outline: 3px solid var(--feutre); outline-offset: 3px; border-radius: 3px; }
.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; }
.wrap { width: min(100% - 2 * var(--gout), var(--wrap)); margin-inline: auto; }

h1, h2, h3 { margin: 0; font-family: var(--f-texte); color: var(--marine); text-wrap: balance; }
h1 {
  font-weight: 800;
  font-size: clamp(2.35rem, 1.1rem + 3.5vw, 3.85rem);
  line-height: 1;
  letter-spacing: -.028em;
}
h2 {
  font-weight: 800;
  font-size: clamp(2rem, 1.15rem + 2.4vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -.024em;
  max-width: 19ch;
}
h3 { font-weight: 700; font-size: 1.32rem; line-height: 1.2; letter-spacing: -.01em; }
.chiffre { font-family: var(--f-chiffres); font-weight: 700; font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.005em; }
.chapo { font-size: clamp(1.15rem, 1.05rem + .35vw, 1.3rem); line-height: 1.5; color: var(--encre-2); max-width: 52ch; }
.doux { color: var(--encre-2); }

/* Coupes franches : chaque partie du cours s'ouvre sur un titre imprimé plein format */
.partie { padding-block: clamp(76px, 9vw, 140px); position: relative; }
.partie + .partie { padding-top: 0; }
.titre-partie { margin-bottom: clamp(30px, 4vw, 54px); display: grid; gap: 16px; }

/* ---------- Matériaux : feuille, aimant, photo épinglée ---------- */
.feuille {
  position: relative;
  background: var(--papier);
  border-radius: var(--r-papier);
  box-shadow: var(--ombre-feuille);
  padding: clamp(22px, 3vw, 38px);
  rotate: var(--rot, 0deg);
}
.aimant {
  position: absolute; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  top: -10px; left: calc(50% - 11px);
  background: var(--marine);
  box-shadow: 0 2px 3px -1px rgba(14, 26, 51, .4);
}
.aimant.or { background: var(--or); }
.aimant.g { left: 18px; }
.aimant.d { left: auto; right: 18px; }

.photo {
  position: relative;
  background: var(--papier);
  padding: 10px 10px 12px;
  border-radius: 2px;
  box-shadow: var(--ombre-feuille);
  rotate: var(--rot, 0deg);
  margin: 0;
}
.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; filter: saturate(.92) contrast(1.02); }
.photo figcaption { font-size: .82rem; color: var(--encre-3); padding: 8px 2px 0; line-height: 1.3; }

/* ---------- Le feutre ---------- */
.note {
  font-family: var(--f-feutre);
  font-variation-settings: "INFM" 100;
  font-weight: 600;
  color: var(--feutre);
  font-size: clamp(1.15rem, 1rem + .5vw, 1.42rem);
  line-height: 1.18;
  rotate: var(--rot, -2deg);
  margin: 0;
}
.note.rouge { color: var(--rouge); }
.trait { position: absolute; pointer-events: none; overflow: visible; }
.trait path {
  fill: none; stroke: var(--feutre); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round;
}
.trait.rouge path { stroke: var(--rouge); }
.trait.or path { stroke: var(--or); }
/* Le feutre passe en dernier : il se dessine quand le bloc entre à l'écran */
.js .dessin path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset var(--duree, 650ms) var(--ease-feutre) var(--d, 250ms); }
.js .vu .dessin path, .js .dessin.vu path { stroke-dashoffset: 0; }
.js .vu .note.ecrit, .js .note.ecrit.vu { clip-path: inset(-20% -10% -20% -10%); }
.js .note.ecrit { clip-path: inset(-20% 100% -20% -10%); transition: clip-path 700ms var(--ease-feutre) var(--d, 500ms); }

.surligne {
  background-image: linear-gradient(100deg, transparent .1em, var(--surligneur) .25em, var(--surligneur) calc(100% - .25em), transparent calc(100% - .1em));
  background-repeat: no-repeat;
  background-position: 0 88%;
  background-size: 100% .5em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.js .surligne { background-size: 0% .5em; transition: background-size 650ms var(--ease-out) var(--d, 350ms); }
.js .vu .surligne, .js .surligne.vu { background-size: 100% .5em; }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px;
  border: 0; border-radius: var(--r-ctrl);
  background: var(--marine); color: #fff;
  font-family: var(--f-texte); font-weight: 700; font-size: 1.06rem; line-height: 1.15;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  -webkit-user-select: none; user-select: none;
  transition: transform 140ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 6px 14px -8px rgba(11, 30, 70, .7);
}
.btn svg { width: 19px; height: 19px; }
.btn:active { transform: scale(.97); }
.btn-clair { background: #fff; color: var(--marine); box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); }
.btn-ligne { background: transparent; color: var(--marine); box-shadow: inset 0 0 0 2px var(--marine); }
.btn-bloc { width: 100%; }
.lien {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; color: var(--marine); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: var(--or-clair);
  transition: text-decoration-color 160ms ease;
}
.lien svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--marine-2); }
  .btn-clair:hover { background: #eef1f6; }
  .btn-ligne:hover { background: rgba(11, 30, 70, .06); }
  .lien:hover { text-decoration-color: var(--marine); }
  .lien:hover svg { transform: translateX(3px); }
}
.tel-gros {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-chiffres); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); line-height: 1;
  color: var(--marine); text-decoration: none; letter-spacing: .01em;
}
.tel-gros svg { width: .72em; height: .72em; color: var(--or); }

/* ---------- Bandeau maquette ---------- */
.bandeau-maquette { background: var(--marine); color: #fff; text-align: center; font-size: .85rem; font-weight: 600; padding: 7px var(--gout); line-height: 1.35; }
.bandeau-maquette strong { color: var(--or-clair); }

/* ---------- En-tête : le haut du tableau ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(251, 252, 253, .94);
  border-bottom: 1px solid var(--cadre);
}

.header .wrap { display: flex; align-items: center; gap: 26px; height: var(--header-h); }
.logo { display: block; flex: none; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav-groupe > button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 11px; border: 0; background: none; cursor: pointer;
  color: var(--encre); text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: var(--r-ctrl);
  transition: background-color 150ms ease, color 150ms ease;
}
.nav > a[aria-current="page"] { color: var(--feutre); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; text-decoration-color: var(--or-clair); }
.nav-groupe { position: relative; }
.nav-groupe > button svg { width: 14px; height: 14px; transition: rotate 200ms var(--ease-out); }
.nav-groupe.ouvert > button svg { rotate: 180deg; }
.sous-menu {
  position: absolute; top: calc(100% + 10px); left: -12px; width: 350px; padding: 10px;
  background: var(--papier); border-radius: var(--r-papier); box-shadow: 0 2px 4px rgba(14,26,51,.06), 0 24px 44px -16px rgba(14,26,51,.35);
  opacity: 0; visibility: hidden; transform-origin: 30px 0; transform: translateY(-4px) scale(.97);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s 180ms;
}
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-groupe.ouvert .sous-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sous-menu a { display: block; padding: 10px 12px; border-radius: 4px; text-decoration: none; transition: background-color 140ms ease; }
.sous-menu strong { display: block; font-size: 1rem; color: var(--marine); }
.sous-menu span { display: block; font-size: .9rem; color: var(--encre-2); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.header-tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.3rem; color: var(--marine); white-space: nowrap; }
.header-tel svg { width: 18px; height: 18px; color: var(--or); }
.header .btn { min-height: 46px; padding: 10px 18px; font-size: 1rem; }
.burger { display: none; width: 46px; height: 46px; place-items: center; border: 1px solid var(--cadre); border-radius: var(--r-ctrl); background: var(--papier); color: var(--marine); cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) {
  .nav > a:hover, .nav-groupe > button:hover { background: rgba(11, 30, 70, .05); }
  .nav-groupe:hover .sous-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-groupe:hover > button svg { rotate: 180deg; }
  .sous-menu a:hover { background: #f2f5f9; }
}
@media (max-width: 1180px) {
  .header-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-tel { width: 46px; height: 46px; justify-content: center; border: 1px solid var(--cadre); border-radius: var(--r-ctrl); background: var(--papier); }
}
@media (max-width: 1060px) {
  .nav, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .burger { display: grid; }
  .logo img { height: 38px; }
}

/* ---------- Héros : le tableau en début de cours ---------- */
.hero { padding-block: clamp(28px, 3.4vw, 52px) clamp(64px, 7vw, 110px); position: relative; }
.hero-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
.hero-texte { grid-column: 1 / 8; position: relative; z-index: 2; padding-top: clamp(4px, 1.4vw, 22px); }
.hero h1 { max-width: none; }
.hero h1 .ligne2 { display: block; color: var(--feutre); }
.hero .chapo { margin-top: 18px; }
.hero-note { position: relative; display: flex; align-items: flex-start; gap: 6px; margin: 10px 0 0 clamp(40px, 6vw, 96px); max-width: 30ch; }
.hero-note .trait { position: static; width: 74px; height: 46px; margin-top: -22px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }

/* La fiche à cases fixes : mêmes cases, même place, sur chaque page */
.fiche {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 26px; max-width: min(100%, 640px);
  background: var(--papier); border-radius: var(--r-papier); box-shadow: var(--ombre-feuille);
}
.fiche > div { padding: 14px 16px 15px; }
.fiche > div + div { border-left: 1px dashed var(--papier-ligne); }
.fiche dt { font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--encre-3); }
.fiche dd { margin: 4px 0 0; font-family: var(--f-chiffres); font-weight: 700; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); line-height: 1.05; color: var(--marine); }
.fiche dd small { display: block; font-family: var(--f-texte); font-weight: 500; font-size: .85rem; color: var(--encre-2); margin-top: 3px; }

.hero-visuel { grid-column: 8 / 13; position: relative; z-index: 1; }
.hero-visuel .photo { --rot: 1.6deg; }
.hero-visuel .photo img { aspect-ratio: 4 / 3.2; }
.hero-rappel { --rot: -1.2deg; position: relative; z-index: 3; margin: -44px 0 0 -14px; width: min(100%, 350px); }
.hero-visuel .photo figcaption { text-align: right; }
.hero-rappel h2 { font-size: 1.5rem; max-width: none; }
.hero-rappel .ou { margin: 14px 0 0; font-size: .95rem; color: var(--encre-2); }
.hero-rappel .tel-gros { font-size: 2rem; margin-top: 2px; }

/* ---------- Formulaires (feuilles) ---------- */
.champs { display: grid; gap: 12px; margin: 16px 0 16px; }
.champs.deux { grid-template-columns: 1fr 1fr; }
.champ label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--encre); }
.champ input, .champ select {
  width: 100%; min-height: 50px; padding: 11px 13px;
  font-size: 1.0625rem; /* ≥ 16 px : pas de zoom sur iPhone */
  background: #fff; color: var(--encre);
  border: 1.5px solid #c3cad6; border-radius: var(--r-ctrl);
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--marine) 50%), linear-gradient(135deg, var(--marine) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.champ input:focus, .champ select:focus { outline: none; border-color: var(--feutre); box-shadow: 0 0 0 3px rgba(29, 58, 138, .2); }
.champ input:user-invalid { border-color: var(--rouge); }
.champ .erreur { display: none; margin-top: 5px; font-size: .9rem; font-weight: 600; color: var(--rouge); }
.champ input:user-invalid + .erreur { display: block; }
.mention { font-size: .9rem; color: var(--encre-3); margin-top: 10px; }
.merci { display: none; }
.merci .note { font-size: 1.7rem; --rot: -3deg; }
.merci p { margin-top: 10px; color: var(--encre-2); }
form.envoye > :not(.merci) { display: none; }
form.envoye .merci { display: block; animation: apparait 320ms var(--ease-out) both; }
@keyframes apparait { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: none; } }

/* ---------- Conditions : la case à cocher au feutre ---------- */
.conditions { display: grid; gap: 8px; }
.liste-conditions { max-width: 820px; border-top: 2px solid var(--marine); }
.coche {
  position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start;
  padding: 16px 0; cursor: pointer;
}
.coche + .coche { border-top: 1px solid var(--papier-ligne); }
.coche input { position: absolute; opacity: 0; width: 44px; height: 44px; margin: 0; cursor: pointer; }
.coche .case { position: relative; width: 36px; height: 36px; border: 2.5px solid var(--marine); border-radius: 4px; margin-top: 2px; }
.coche .case svg { position: absolute; left: -4px; top: -12px; width: 48px; height: 48px; overflow: visible; }
.coche .case path { fill: none; stroke: var(--feutre); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset 280ms var(--ease-out); }
.coche input:checked + .case path { stroke-dashoffset: 0; }
.coche input:focus-visible + .case { outline: 3px solid var(--feutre); outline-offset: 3px; }
.coche strong { display: block; font-size: 1.15rem; color: var(--marine); }
.coche .txt { display: block; color: var(--encre-2); font-size: 1.02rem; margin-top: 2px; }
.verdict { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 2px solid var(--marine); }
.verdict .compte { font-weight: 700; color: var(--encre); }
.verdict .note { display: none; }
.verdict.pret .compte { display: none; }
.verdict.pret .note { display: block; --rot: -2deg; font-size: 1.45rem; }

.conditions .taxi { margin-top: 16px; font-size: .98rem; color: var(--encre-2); }

/* ---------- Le formateur ---------- */
.formateur { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.formateur .photo { grid-column: 1 / 5; --rot: -2deg; }
.photo-vide { aspect-ratio: 4 / 5; display: grid; place-items: center; align-content: center; gap: 10px; background: #eef1f5; outline: 2px dashed #c3cad6; outline-offset: -12px; color: var(--encre-3); text-align: center; font-weight: 600; padding: 20px; }
.photo-vide svg { width: 38px; height: 38px; color: var(--marine); opacity: .5; }
.formateur-texte { grid-column: 6 / 13; position: relative; }
.citation { font-weight: 600; font-size: clamp(1.4rem, 1rem + 1.5vw, 2.05rem); line-height: 1.3; letter-spacing: -.012em; color: var(--marine); margin: 24px 0 22px; max-width: 30ch; }
.citation::before { content: "« "; color: var(--or); }
.citation::after { content: " »"; color: var(--or); }
.signature { font-weight: 700; color: var(--encre); }
.signature span { font-weight: 500; color: var(--encre-2); }
.faits { display: grid; gap: 10px; margin-top: 26px; font-size: 1.05rem; }
.faits li { display: flex; gap: 12px; align-items: baseline; }
.faits li::before { content: ""; flex: none; width: 14px; height: 3px; background: var(--or); translate: 0 -5px; border-radius: 2px; }
.formateur-texte .note { position: absolute; right: 0; top: -30px; --rot: 3deg; max-width: 15ch; text-align: right; }

/* ---------- Les métiers (feuilles aimantées, tailles inégales) ---------- */
.metiers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 28px; align-items: start; }
.metier { display: block; text-decoration: none; color: inherit; }
.metier .feuille { padding: 12px 12px 24px; }
.metier img { width: 100%; object-fit: cover; border-radius: 1px; }
.metier .corps { padding: 18px 10px 0; }
.metier h3 { font-size: clamp(1.45rem, 1.1rem + 1vw, 1.95rem); font-weight: 800; letter-spacing: -.02em; }
.metier p { margin: 8px 0 0; color: var(--encre-2); max-width: 44ch; }
.metier .bas { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 16px; }
.metier .prix { font-family: var(--f-chiffres); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--marine); }
.metier .prix small { font-family: var(--f-texte); font-weight: 500; font-size: .9rem; color: var(--encre-2); margin-right: 6px; }
.metier-vtc { grid-column: 1 / 7; }
.metier-vtc .feuille { --rot: -1deg; }
.metier-vtc img { aspect-ratio: 4 / 3.5; }
.metiers-cote { grid-column: 7 / 13; display: grid; gap: 34px; padding-top: 40px; }
.metier-court .feuille { display: grid; grid-template-columns: 44% 1fr; gap: 0; padding: 12px; }
.metier-court img { aspect-ratio: 1; height: 100%; }
.metier-court .corps { padding: 6px 4px 6px 20px; }
.metier-court h3 { font-size: 1.4rem; }
.metier-court p { font-size: 1rem; }
.metier-court .prix { font-size: 1.75rem; }
.metiers-cote .metier:nth-child(1) .feuille { --rot: 1.2deg; }
.metiers-cote .metier:nth-child(2) .feuille { --rot: -.6deg; }
.metier .fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--marine); }
.metier .fleche svg { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .metier .feuille { transition: rotate 300ms var(--ease-out), translate 300ms var(--ease-out), box-shadow 300ms var(--ease-out); }
  .metier:hover .feuille { rotate: 0deg; translate: 0 -4px; box-shadow: 0 1px 2px rgba(14,26,51,.07), 0 26px 40px -18px rgba(14,26,51,.38); }
  .metier:hover .fleche svg { transform: translateX(4px); }
}

/* Tarifs imprimés (pointillés) */
.tarifs { grid-column: 1 / -1; --rot: .3deg; margin-top: 14px; }
.tarifs-haut { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; padding-bottom: 14px; border-bottom: 2px solid var(--marine); }
.tarifs-haut h3 { font-size: 1.6rem; font-weight: 800; }
.tarifs-haut p { margin: 0; color: var(--encre-2); }
.liste-prix { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.liste-prix a, .liste-prix div.l { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--papier-ligne); text-decoration: none; color: inherit; }
.liste-prix .nom { font-weight: 700; }
.liste-prix .nom small { display: block; font-weight: 400; font-size: .92rem; color: var(--encre-2); }
.liste-prix .points { border-bottom: 2px dotted #b9c1cd; translate: 0 -6px; }
.liste-prix .chiffre { font-size: 1.55rem; color: var(--marine); }
@media (hover: hover) and (pointer: fine) { .liste-prix a:hover .nom { text-decoration: underline; text-decoration-color: var(--or-clair); text-decoration-thickness: 2px; text-underline-offset: 4px; } }

/* ---------- L'examen, expliqué au tableau ---------- */
.examen-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 18px 32px; margin-bottom: clamp(30px, 4vw, 50px); }
.bascule { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; }
.bascule-choix { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 8px; background: var(--papier); box-shadow: var(--ombre-feuille); position: relative; }
.bascule-choix::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 5px; background: var(--marine); transition: transform 240ms var(--ease-out); }
.bascule-choix[data-actif="taxi"]::before { transform: translateX(100%); }
.bascule-choix button { position: relative; z-index: 1; min-width: 88px; min-height: 44px; border: 0; background: none; cursor: pointer; font-weight: 700; color: var(--encre-2); transition: color 200ms ease; }
.bascule-choix button[aria-pressed="true"] { color: #fff; }

.schema { display: grid; grid-template-columns: 1.55fr auto 1fr auto .9fr; align-items: start; gap: 0; }
.bloc-dessine { position: relative; padding: 26px 26px 24px; }
.bloc-dessine .cadre-feutre { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bloc-dessine .cadre-feutre rect { x: 2px; y: 2px; width: calc(100% - 4px); height: calc(100% - 4px); rx: 12px; fill: none; stroke: var(--feutre); stroke-width: 2.6; stroke-linecap: round; }
.js .bloc-dessine .cadre-feutre { clip-path: inset(0 100% 0 0); transition: clip-path 800ms var(--ease-feutre) var(--d, 200ms); }
.js .schema.vu .bloc-dessine .cadre-feutre { clip-path: inset(-6px); }
.bloc-dessine .etiquette { font-weight: 800; font-size: 1.35rem; color: var(--marine); }
.bloc-dessine .quand { font-weight: 600; color: var(--encre-2); font-size: 1rem; }
.lettres { display: grid; gap: 7px; margin: 16px 0 0; }
.lettres li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; font-size: 1rem; line-height: 1.25; }
.lettres .l { width: 34px; height: 34px; display: grid; place-items: center; background: var(--papier); box-shadow: 0 1px 1px rgba(14,26,51,.12), 0 4px 8px -4px rgba(14,26,51,.35); border-radius: 4px; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.25rem; color: var(--marine); }
.lettres .specifique .l { background: var(--marine); color: #fff; }
.lettres .specifique span:last-child { font-weight: 700; }
.lettres [data-taxi] { display: none; }
.schema[data-metier="taxi"] .lettres [data-vtc] { display: none; }
.schema[data-metier="taxi"] .lettres [data-taxi] { display: inline; }
.seuil { position: relative; display: inline-block; margin-top: 18px; padding: 6px 16px; }
.seuil .chiffre { font-size: 2.3rem; line-height: 1; color: var(--feutre); }
.seuil .trait { inset: -6px -12px; width: calc(100% + 24px); height: calc(100% + 12px); }
.seuil-txt { display: block; font-weight: 600; color: var(--encre-2); font-size: .98rem; }
.fleche-schema { align-self: start; margin-top: 64px; width: 70px; height: 40px; position: relative; }
.fleche-schema .trait { position: static; width: 70px; height: 40px; }
.schema .note { margin-top: 12px; font-size: 1.08rem; }
.schema-bas { margin-top: 26px; color: var(--encre-2); font-size: 1rem; max-width: 70ch; }

/* ---------- QCM : testez-vous ---------- */
.qcm-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 34px; align-items: start; }
.qcm-zone .titre-partie { grid-column: 1 / 5; }
.qcm { grid-column: 5 / 13; --rot: -.4deg; }
.qcm-entete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--marine); }
.qcm-entete .num { font-family: var(--f-chiffres); font-weight: 700; font-size: 1.15rem; color: var(--encre-2); letter-spacing: .04em; }
.qcm-entete .src { font-size: .88rem; color: var(--encre-3); }
.question { display: none; padding-top: 18px; }
.question.active { display: block; animation: apparait 300ms var(--ease-out) both; }
.question h3 { font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); line-height: 1.25; max-width: 34ch; }
.reponses { display: grid; gap: 10px; margin-top: 18px; }
.reponse {
  position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  width: 100%; min-height: 56px; padding: 10px 16px 10px 12px; text-align: left;
  background: #fff; border: 1.5px solid #cfd5df; border-radius: var(--r-ctrl); cursor: pointer;
  font-size: 1.06rem; font-weight: 500; color: var(--encre);
  transition: border-color 150ms ease, background-color 150ms ease;
}
.reponse .l { width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid var(--marine); border-radius: 50%; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.15rem; color: var(--marine); }
.reponse .trait { inset: -8px -10px; width: calc(100% + 20px); height: calc(100% + 16px); }
.reponse .trait { opacity: 0; }
.reponse.juste .trait.entoure, .reponse.faux .trait.barre { opacity: 1; }
.reponse .trait path { stroke-dasharray: 1 2; stroke-dashoffset: 1; transition: stroke-dashoffset 520ms var(--ease-in-out); }
.reponse.juste .trait.entoure path, .reponse.faux .trait.barre path { stroke-dashoffset: 0; }
.reponse.juste { border-color: var(--feutre); }
.reponse.faux { border-color: var(--rouge); color: var(--encre-2); }
.question.repondue .reponse { cursor: default; }
.question.repondue .reponse:not(.juste):not(.faux) { opacity: .55; }
@media (hover: hover) and (pointer: fine) { .question:not(.repondue) .reponse:hover { border-color: var(--marine); background: #f6f8fb; } }
.explication { display: none; margin-top: 16px; padding: 14px 16px; background: #f5f7fa; border-radius: var(--r-ctrl); }
.question.repondue .explication { display: block; animation: apparait 300ms var(--ease-out) both; }
.explication .note { font-size: 1.25rem; --rot: -1.5deg; margin-bottom: 6px; }
.explication p { margin: 0; color: var(--encre-2); }
.qcm-suite { display: none; margin-top: 16px; }
.question.repondue .qcm-suite { display: inline-flex; }
.qcm-fin { display: none; padding-top: 22px; }
.qcm-fin.active { display: block; animation: apparait 300ms var(--ease-out) both; }
.qcm-fin .score { font-family: var(--f-feutre); font-variation-settings: "INFM" 100; font-weight: 700; color: var(--feutre); font-size: 3.4rem; line-height: 1; rotate: -3deg; display: inline-block; }
.qcm-fin p { margin: 14px 0 20px; max-width: 46ch; color: var(--encre-2); }

/* ---------- Emploi du temps + prix ---------- */
.rythme-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 38px; align-items: start; }
.rythme-zone .titre-partie { grid-column: 1 / -1; margin-bottom: 0; }
.edt { grid-column: 1 / 8; --rot: -.5deg; }
.edt-choix { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.edt-choix label { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #cfd5df; cursor: pointer; font-weight: 700; color: var(--encre-2); transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.edt-choix input { position: absolute; opacity: 0; pointer-events: none; }
.edt-choix label:has(input:checked) { background: var(--marine); border-color: var(--marine); color: #fff; }
.edt-choix label:has(input:focus-visible) { outline: 3px solid var(--feutre); outline-offset: 3px; }
.grille-edt { display: grid; grid-template-columns: 52px repeat(5, minmax(0, 1fr)); grid-template-rows: 30px repeat(26, minmax(8px, 1fr)); height: 400px; font-size: .85rem; position: relative; }
.grille-edt .jr { text-align: center; font-weight: 700; color: var(--marine); font-size: .92rem; align-self: center; }
.grille-edt .h { grid-column: 1; color: var(--encre-3); font-family: var(--f-chiffres); font-weight: 600; font-size: .95rem; align-self: start; translate: 0 -.6em; }
.grille-edt .ligne-h { grid-column: 2 / -1; border-top: 1px solid var(--papier-ligne); }
.creneau {
  margin: 2px 3px; border-radius: 4px; background: var(--marine); color: #fff; padding: 6px 7px;
  font-family: var(--f-chiffres); font-weight: 600; font-size: .95rem; line-height: 1.1; z-index: 1;
  clip-path: inset(0 0 0 0 round 4px);
  transition: opacity 200ms var(--ease-out), clip-path 320ms var(--ease-feutre) calc(var(--i, 0) * 30ms);
}
.creneau.soir { grid-row: 20 / 27; }
.creneau.jour { grid-row: 2 / 18; background: #2b4a8f; }
.grille-edt[data-mode="soir"] .creneau.jour, .grille-edt[data-mode="jour"] .creneau.soir { opacity: 0; clip-path: inset(0 0 100% 0 round 4px); pointer-events: none; transition-duration: 160ms, 160ms; transition-delay: 0s; }
.edt-legende { margin-top: 14px; font-size: 1rem; color: var(--encre-2); }
.edt-legende strong { color: var(--marine); }
.prix-zone { grid-column: 8 / 13; position: relative; padding-top: 10px; }
.gros-prix { position: relative; display: inline-block; padding: 8px 26px 4px 18px; }
.gros-prix .chiffre { font-size: clamp(4.4rem, 3rem + 4vw, 6.6rem); line-height: .9; color: var(--marine); }
.gros-prix .chiffre small { font-size: .45em; vertical-align: .6em; margin-left: 4px; }
.gros-prix .trait { inset: -14px -18px -10px -16px; width: calc(100% + 34px); height: calc(100% + 24px); }
.prix-zone .doux { margin-top: 10px; max-width: 30ch; }
.prix-zone .note { margin-top: 10px; --rot: -3deg; }
.prix-zone .btn { margin-top: 22px; }
.complements { margin-top: 30px; }
.complements p.t { font-weight: 700; margin-bottom: 2px; }

/* ---------- Planning imprimé ---------- */
.planning { position: relative; --rot: .4deg; }
.planning-haut { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding-bottom: 14px; border-bottom: 2px solid var(--marine); }
.planning-haut h3 { font-size: 1.6rem; font-weight: 800; }
.provisoire { position: absolute; right: clamp(18px, 4vw, 46px); top: -16px; z-index: 2; --rot: -4deg; }
.session { display: grid; grid-template-columns: 9rem 1.2fr 1fr 10rem auto; align-items: center; gap: 10px 24px; padding: 16px 0; border-bottom: 1px solid var(--papier-ligne); }
.session:last-of-type { border-bottom: 0; }
.session .date { display: flex; align-items: baseline; gap: 8px; color: var(--marine); }
.session .date .j { font-family: var(--f-chiffres); font-weight: 700; font-size: 2.5rem; line-height: 1; }
.session .date .m { font-family: var(--f-chiffres); font-weight: 600; font-size: 1.2rem; text-transform: uppercase; }
.session strong { display: block; color: var(--encre); }
.session span.s { display: block; font-size: .95rem; color: var(--encre-2); }
.session .heures { font-family: var(--f-chiffres); font-weight: 600; font-size: 1.25rem; color: var(--marine); }
.session .lien { justify-self: end; min-height: 44px; }
.session.cache { display: none; }
.session.pause { grid-template-columns: 9rem 1fr; color: var(--encre-3); }
.planning-bas { margin-top: 14px; font-size: .98rem; color: var(--encre-2); }

/* ---------- Le calcul des revenus (au tableau) ---------- */
.calcul-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 34px; align-items: start; }
.calcul-zone .titre-partie { grid-column: 1 / 6; }
.calcul { grid-column: 6 / 13; }

.reglage { margin-bottom: 20px; }
.reglage label { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; margin-bottom: 8px; }
.reglage output { font-family: var(--f-chiffres); font-weight: 700; font-size: 1.35rem; color: var(--feutre); white-space: nowrap; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(var(--marine) 0 0) 0 / var(--p, 50%) 100% no-repeat, #dde2ea; }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: #dde2ea; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--marine); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%; background: #fff; border: 3px solid var(--marine); box-shadow: 0 3px 8px rgba(14,26,51,.3); transition: transform 140ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--marine); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.operation { margin-top: 10px; padding-top: 16px; border-top: 2px solid var(--marine); font-family: var(--f-chiffres); font-weight: 600; color: var(--encre); font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.55; }
.operation .ligne { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.operation .moins { font-family: var(--f-feutre); font-variation-settings: "INFM" 100; color: var(--rouge); font-size: .95em; }
.resultat { margin: 14px 0 0; padding-top: 12px; border-top: 3px double var(--marine); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.resultat .chiffre { font-size: clamp(2.8rem, 2.1rem + 2.4vw, 4rem); line-height: 1; color: var(--marine); }
.resultat .par-mois { font-weight: 600; color: var(--encre-2); }
.carreaux { background-color: #fff; background-image: linear-gradient(rgba(29, 58, 138, .075) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 58, 138, .075) 1px, transparent 1px); background-size: 19px 19px; background-position: -1px -1px; }
.calcul .mention { margin-top: 14px; }

/* ---------- Le centre ---------- */
.centre { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 34px; align-items: start; }
.centre .plan { grid-column: 1 / 8; --rot: -.6deg; padding: 12px; }
.centre .plan svg { width: 100%; height: auto; display: block; }
.centre-infos { grid-column: 8 / 13; display: grid; gap: 22px; }
.centre-infos dl { margin: 0; display: grid; gap: 18px; }
.centre-infos dt { font-weight: 800; color: var(--marine); font-size: 1.15rem; }
.centre-infos dd { margin: 2px 0 0; color: var(--encre-2); }

/* ---------- FAQ ---------- */
.faq-zone { display: grid; gap: 8px; }
.faq { max-width: 860px; border-top: 2px solid var(--marine); }
.faq details { border-bottom: 1px solid var(--papier-ligne); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 30px; gap: 18px; align-items: center; padding: 18px 0; font-weight: 700; font-size: 1.15rem; line-height: 1.35; color: var(--marine); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--marine); }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; margin: -1.25px 0 0 -6px; background: var(--marine); border-radius: 2px; transition: rotate 250ms var(--ease-out); }
.faq summary .plus::after { rotate: 90deg; }
.faq details[open] summary .plus::after { rotate: 0deg; }
.faq summary:focus-visible { outline-offset: -2px; }
.faq .reponse-faq { padding: 0 44px 20px 0; color: var(--encre-2); max-width: 66ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 260ms var(--ease-out), content-visibility 260ms allow-discrete; }
.faq details[open]::details-content { block-size: auto; }

/* ---------- Appel final : la porte du centre ---------- */
.porte { background: var(--marine); color: #fff; padding-block: clamp(72px, 9vw, 130px); position: relative; overflow: hidden; }
.porte h2 { color: #fff; }
.porte-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 40px; align-items: center; }
.porte-texte { grid-column: 1 / 7; }
.porte-texte .chapo { color: #c9d1e0; margin-top: 18px; }
.porte .tel-gros { color: #fff; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); margin-top: 28px; }
.porte .tel-gros svg { color: var(--or-clair); }
.porte .horaire { display: block; margin-top: 10px; color: #c9d1e0; }
.porte .feuille { grid-column: 8 / 13; --rot: 1deg; color: var(--encre); }
.porte .feuille h3 { font-size: 1.5rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--marine); color: #c9d1e0; padding: 10px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.08); }
.footer-grille { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-top: 50px; }
.footer .logo img { height: 116px; }
.footer h4 { margin: 0 0 14px; color: #fff; font-size: 1rem; }
.footer ul { display: grid; gap: 9px; font-size: 1rem; }
.footer a { text-decoration: none; }
.footer-legal { margin-top: 18px; font-size: .95rem; }
.footer-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .92rem; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #fff; } }

/* ---------- Barre d'action mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .barre-mobile {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: 1fr 1.35fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(251, 252, 253, .97); border-top: 1px solid var(--cadre);
    box-shadow: 0 -10px 24px -16px rgba(14, 26, 51, .35);
    transition: transform 200ms var(--ease-out);
  }
  .js .barre-mobile { transform: translateY(110%); }
  .js .barre-mobile.visible { transform: none; transition: transform 280ms var(--ease-tiroir); }
  .barre-mobile .btn { min-height: 52px; }
}

/* ---------- Menu mobile ---------- */
.menu-mobile {
  position: fixed; inset: 0; z-index: 60; background: var(--tableau); color: var(--encre);
  display: flex; flex-direction: column;
  padding: calc(14px + env(safe-area-inset-top, 0px)) var(--gout) calc(18px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform 220ms var(--ease-out), visibility 0s 220ms;
}
.menu-mobile.ouvert { transform: none; visibility: visible; transition: transform 340ms var(--ease-tiroir), visibility 0s; }
.menu-mobile .haut { display: flex; justify-content: space-between; align-items: center; min-height: 54px; margin-bottom: 14px; }
.menu-mobile .haut img { height: 38px; width: auto; }
.menu-mobile nav { display: grid; }
.menu-mobile nav a { padding: 12px 0; font-weight: 800; font-size: 1.35rem; text-decoration: none; color: var(--marine); border-bottom: 1px solid var(--papier-ligne); }
.menu-mobile nav a.sous { font-weight: 600; font-size: 1.08rem; padding: 9px 0 9px 18px; color: var(--encre-2); border-bottom: 0; }
.menu-mobile .btn { position: sticky; bottom: 0; margin-top: 22px; }
.fermer { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--cadre); border-radius: var(--r-ctrl); background: var(--papier); color: var(--marine); cursor: pointer; }
.fermer svg { width: 20px; height: 20px; }

/* ---------- Pop-up de rappel (une feuille aimantée) ---------- */
.popup { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; visibility: hidden; transition: visibility 0s 220ms; }
.popup.ouvert { visibility: visible; transition: visibility 0s; }
.popup-fond { position: absolute; inset: 0; background: rgba(11, 20, 40, .55); opacity: 0; transition: opacity 220ms ease; }
.popup.ouvert .popup-fond { opacity: 1; }
.popup-boite {
  position: relative; width: min(500px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--papier); border-radius: var(--r-papier); box-shadow: 0 40px 80px -24px rgba(0,0,0,.55);
  padding: 34px clamp(22px, 4vw, 34px) 28px;
  opacity: 0; transform: scale(.96) rotate(-1deg);
  transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.popup.ouvert .popup-boite { opacity: 1; transform: rotate(-.6deg); transition-duration: 260ms; }
.popup .aimant { top: -10px; }
.popup .fermer { position: absolute; top: 12px; right: 12px; }
.popup h2 { font-size: 1.7rem; max-width: 16ch; padding-right: 44px; }
.popup .intro { margin-top: 10px; color: var(--encre-2); }
.popup .rappel-session { display: none; margin: 14px 0 0; }
.popup .rappel-session.actif { display: inline-block; }
.popup .ou { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin: 14px 0; color: var(--encre-3); font-size: .92rem; }
.popup .ou::before, .popup .ou::after { content: ""; height: 1px; background: var(--papier-ligne); }
.poignee { display: none; }
@media (max-width: 760px) {
  .popup { place-items: end stretch; padding: 0; }
  .popup-boite {
    width: 100%; max-height: calc(100dvh - 20px); border-radius: 14px 14px 0 0;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
    opacity: 1; transform: translateY(100%); transition: transform 220ms var(--ease-out);
  }
  .popup.ouvert .popup-boite { transform: none; transition: transform 380ms var(--ease-tiroir); }
  .popup .aimant { display: none; }
  .poignee { display: block; width: 44px; height: 5px; border-radius: 3px; background: #cfd5df; margin: -20px auto 16px; }
}

/* ---------- Page formation ---------- */
.ariane { display: flex; flex-wrap: wrap; gap: 8px; font-size: .95rem; color: var(--encre-2); margin-bottom: 22px; }
.ariane a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .ariane a:hover { text-decoration: underline; } }
.programme { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 34px; align-items: start; }
.programme .titre-partie { grid-column: 1 / 5; position: sticky; top: calc(var(--header-h) + 30px); }
.programme .feuille { grid-column: 5 / 13; --rot: -.3deg; }
.module { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--papier-ligne); }
.module:last-child { border-bottom: 0; }
.module .l { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 5px; background: var(--papier); box-shadow: 0 1px 1px rgba(14,26,51,.12), 0 5px 10px -5px rgba(14,26,51,.4); font-family: var(--f-chiffres); font-weight: 700; font-size: 1.55rem; color: var(--marine); }
.module.specifique .l { background: var(--marine); color: #fff; }
.module.pratique .l { background: var(--or-fonce); color: #fff; font-size: 1.1rem; }
.module h3 { font-size: 1.2rem; color: var(--marine); }
.module p { margin: 4px 0 0; color: var(--encre-2); font-size: 1.02rem; }
.module .coef { font-size: .9rem; color: var(--encre-3); }
.apres { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.apres-trait { position: absolute; left: 22px; right: 22px; top: 22px; height: 30px; width: calc(100% - 44px); }
.etape { position: relative; padding-top: 70px; }
.etape .rond { position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--papier); box-shadow: var(--ombre-feuille); font-family: var(--f-chiffres); font-weight: 700; font-size: 1.4rem; color: var(--marine); }
.etape h3 { font-size: 1.2rem; }
.etape p { margin: 6px 0 0; color: var(--encre-2); font-size: 1.02rem; }
.continue { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: center; --rot: -.4deg; }
.continue h3 { font-size: 1.45rem; }
.continue p { margin: 6px 0 0; color: var(--encre-2); }
.bientot { min-height: 64vh; display: grid; place-items: center; text-align: center; padding-block: 96px; }
.bientot .feuille { max-width: 620px; margin-inline: auto; --rot: -.8deg; }
.bientot h1 { font-size: clamp(2rem, 1.2rem + 3vw, 3rem); margin-bottom: 16px; }
.bientot p { color: var(--encre-2); margin: 0 auto 24px; max-width: 44ch; }

/* ---------- Apparitions sobres (avec JS seulement) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .fleche-schema { margin-top: 0; }
  .session { grid-template-columns: 7.5rem 1fr auto; }
  .session .formule-col { display: none; }
  .session .heures { grid-column: 2; grid-row: 2; font-size: 1.1rem; }
  .session .lien { grid-column: 3; grid-row: 1 / span 2; }
  .schema { grid-template-columns: 1fr; }
  .fleche-schema { justify-self: start; margin-left: 40px; width: 40px; height: 64px; }
  .fleche-schema .trait { width: 40px; height: 64px; }
  .fleche-schema .h { display: none; }
  .fleche-schema .v { display: block !important; }
}
@media (max-width: 900px) {
  .feuille, .photo { rotate: 0deg !important; }
  .hero-grille, .conditions, .formateur, .metiers, .qcm-zone, .rythme-zone, .calcul-zone, .centre, .faq-zone, .porte-grille, .programme { grid-template-columns: 1fr; }
  .hero-grille > *, .conditions > *, .formateur > *, .metiers > *, .qcm-zone > *, .rythme-zone > *, .calcul-zone > *, .centre > *, .faq-zone > *, .porte-grille > *, .programme > * { grid-column: 1 / -1 !important; }
  .hero-visuel { margin-top: 34px; }
  .hero-visuel .photo { width: 92%; }
  .hero-rappel { margin: -40px 0 0 auto; width: min(100%, 420px); }
  .metiers-cote { padding-top: 0; }
  .faq-zone .titre-partie, .programme .titre-partie { position: static; }
  .formateur .photo { max-width: 340px; }
  .formateur .note { position: static; text-align: left; margin-bottom: 16px; }
  .apres { grid-template-columns: 1fr 1fr; }
  .apres-trait { display: none; }
  .footer-grille { grid-template-columns: 1fr 1fr; }
  .footer-grille > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .hero { padding-top: 26px; }
  .hero-note { margin-left: 34px; }
  .fiche { grid-template-columns: 1fr 1fr; }
  .fiche > div:nth-child(3) { border-left: 0; }
  .fiche > div:nth-child(n+3) { border-top: 1px dashed var(--papier-ligne); }
  .hero-visuel .photo { width: 100%; }
  .hero-rappel { margin: 14px 0 0; width: 100%; }
  .champs.deux { grid-template-columns: 1fr; }
  .metier-court .feuille { grid-template-columns: 36% 1fr; }
  .metier-court .corps { padding-left: 14px; }
  .metier-court p { display: none; }
  .liste-prix { grid-template-columns: 1fr; }
  .liste-prix a, .liste-prix div.l { grid-template-columns: 1fr auto; }
  .liste-prix .points { display: none; }
  .session { grid-template-columns: 4.4rem 1fr auto; gap: 4px 14px; }
  .session .date { flex-direction: column; gap: 0; }
  .session .date .j { font-size: 2.1rem; }
  .session .date .m { font-size: 1rem; }
  .session .lien .txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .session .lien { width: 44px; height: 44px; justify-content: center; border: 2px solid var(--marine); border-radius: 50%; text-decoration: none; }
  .session.pause { grid-template-columns: 4.4rem 1fr; }
  .provisoire { top: -14px; right: 16px; font-size: 1.1rem; }
  .metier .prix { white-space: nowrap; font-size: 1.5rem; }
  .metier-court .bas { flex-wrap: wrap; gap: 6px 14px; }
  .qcm-entete { flex-direction: column; gap: 2px; }
  .grille-edt { grid-template-columns: 40px repeat(5, minmax(0, 1fr)); height: 330px; }
  .creneau { font-size: .78rem; padding: 4px; margin: 2px 1px; }
  .creneau .det { display: none; }
  .operation .ligne { display: block; }
  .apres { grid-template-columns: 1fr; gap: 0; }
  .etape { padding: 0 0 26px 66px; min-height: 60px; }
  .continue { grid-template-columns: 1fr; }
  .footer-grille { grid-template-columns: 1fr; }
  .verdict { grid-template-columns: 1fr; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .js .dessin path, .reponse .trait path, .coche .case path { transition: none; }
  .js .surligne { transition: none; background-size: 100% .5em; }
  .js .note.ecrit { transition: none; clip-path: none; }
  .js .bloc-dessine .cadre-feutre { transition: none; clip-path: none; }
  .js .monte { transition: opacity 200ms ease; translate: none; }
  .menu-mobile, .menu-mobile.ouvert, .popup-boite, .popup.ouvert .popup-boite, .barre-mobile { transition: opacity 160ms ease, visibility 0s; transform: none; }
  .barre-mobile:not(.visible) { opacity: 0; pointer-events: none; }
  .popup:not(.ouvert) .popup-boite { opacity: 0; }
  .creneau, .bascule-choix::before, .metier .feuille { transition: none; }
}

/* Filtres du planning (page formation) */
.filtres { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.filtres button { min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #cfd5df; background: #fff; cursor: pointer; font-weight: 700; color: var(--encre-2); transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease; }
.filtres button[aria-pressed="true"] { background: var(--marine); border-color: var(--marine); color: #fff; }
.nav .sous-menu a[aria-current="page"] strong { text-decoration: underline; text-decoration-color: var(--or-clair); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Emploi du temps : ce qui reste libre */
.edt-libre { grid-column: 2 / -1; align-self: center; justify-self: center; text-align: center; font-size: clamp(1.05rem, .95rem + .4vw, 1.3rem); pointer-events: none; transition: opacity 240ms var(--ease-out); }
.edt-libre.matin { grid-row: 6 / 15; }
.edt-libre.soiree { grid-row: 20 / 27; }
.grille-edt[data-mode="soir"] .edt-libre.soiree, .grille-edt[data-mode="jour"] .edt-libre.matin { opacity: 0; }

/* Bandeau photo (page VTC) */
.photo-bandeau img { aspect-ratio: 21 / 8; }

/* Corrections de la revue de fin (mobile) */
@media (max-width: 760px) {
  .hero-visuel { display: flex; flex-direction: column; }
  .hero-rappel { order: -1; margin: 0 0 26px; }
  .formateur .photo { max-width: 200px; margin-inline: auto; }
  .photo-bandeau img { aspect-ratio: 4 / 3; }
  .plan svg text { font-size: 27px; }
  .plan .mineur { display: none; }
  .photo figcaption { font-size: .9375rem; }
  .fiche dd small { font-size: .9375rem; }
  .fiche dt { font-size: .8125rem; }
  .creneau { font-size: .9375rem; }
  .coche .txt, .liste-prix .nom small, .calcul .mention, .mention { font-size: 1rem; }
  h2 { font-size: clamp(2rem, 1.4rem + 3vw, 2.4rem); }
}


/* =========================================================
   Passe des skills (v3.5) : taste, Emil, animations, mobile, regard client
   ========================================================= */

/* Bandeau : s'adresse à Mourad */
.bandeau-maquette { background: #f3e5c4; color: var(--marine); font-weight: 600; }
.bandeau-maquette strong { color: var(--marine); }
.bandeau-maquette .court { display: none; }
@media (max-width: 760px) { .bandeau-maquette .long { display: none; } .bandeau-maquette .court { display: inline; } }

/* Bandeau « Ouverture prochaine » (remplace le bandeau maquette, 30/10) */
.bandeau-ouverture { background: var(--or-clair); color: var(--marine); text-align: center; font-size: .9rem; font-weight: 600; padding: 8px var(--gout); line-height: 1.35; }
.bandeau-ouverture strong { font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.bandeau-ouverture a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.bandeau-ouverture .court { display: none; }
@media (max-width: 760px) { .bandeau-ouverture .long { display: none; } .bandeau-ouverture .court { display: inline; } }

/* En-tête aux couleurs du logo */
.header { background: var(--marine); border-bottom: 3px solid var(--or); }
.logo img { height: 50px; }
.nav > a, .nav-groupe > button, .header-tel { color: #fff; }
.nav > a[aria-current="page"] { color: var(--or-clair); text-decoration-color: var(--or); }
.header-tel svg { color: var(--or-clair); }
.burger { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .32); }
@media (hover: hover) and (pointer: fine) { .nav > a:hover, .nav-groupe > button:hover { background: rgba(255, 255, 255, .09); color: #fff; } }
@media (max-width: 1180px) { .header-tel { background: transparent; border-color: rgba(255, 255, 255, .32); } }
@media (max-width: 1060px) { .logo img { height: 44px; } }

/* Boutons : marine = ce que vous choisissez, or = ce qu'il faut faire */
.btn { background: var(--or-clair); color: var(--marine); box-shadow: inset 0 0 0 1.5px var(--or-fonce), 0 6px 14px -8px rgba(134, 98, 42, .55); }
.btn-ligne { background: transparent; color: var(--marine); box-shadow: inset 0 0 0 2px var(--marine); }
.btn-icone { width: 52px; padding: 0; }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #e3c27f; } .btn-ligne:hover { background: rgba(11, 30, 70, .06); } }
.wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; font-weight: 700; color: var(--marine); text-decoration: underline; text-decoration-color: var(--or-clair); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.wa svg { width: 20px; height: 20px; color: #1f8f4e; }
.porte .wa { color: #fff; }
.porte .wa svg { color: #6fd39a; }

/* Champs et choix : contours lisibles en plein jour */
.champ input, .champ select { border-color: #7d879a; }
.reponse, .edt-choix label, .filtres button { border-color: #8a94a6; }

/* Fond plus soutenu sous les feuilles */
.barre-mobile { background: rgba(238, 242, 246, .97); }

/* Mourad : la marque en attendant sa photo */
.photo-marque { background: var(--marine); outline-color: rgba(217, 180, 106, .45); gap: 16px; }
.photo-marque img { width: 86%; height: auto; }
.photo-marque .note { position: static; max-width: none; text-align: left; color: var(--or-clair); --rot: -3deg; }

/* Les tarifs « Déjà chauffeur ? » rejoignent la partie Tarifs */
#deja-chauffeur { grid-column: 1 / -1; margin-top: 30px; }

/* L'examen, sur un vrai tableau, au mur marine */
.mur { background: var(--marine); color: #e8ecf4; }
.partie.mur, .partie + .partie.mur { padding-block: clamp(72px, 9vw, 128px); }
.partie.mur + .partie { padding-top: clamp(76px, 9vw, 140px); }
.mur h2 { color: #fff; }
.mur .chapo, .mur .schema-bas, .mur .bascule > span { color: #c9d1e0; }
.tableau-blanc { position: relative; padding: clamp(18px, 3vw, 40px); background: #fff; border: 10px solid #d9dee6; border-radius: 8px; box-shadow: inset 0 0 0 1px #c3cad5, 0 26px 40px -24px rgba(0, 0, 0, .6); color: var(--encre); }
.tableau-blanc .auget { position: absolute; left: 12%; right: 12%; bottom: -21px; height: 11px; background: #c9d0da; border-radius: 0 0 5px 5px; box-shadow: 0 6px 10px -6px rgba(0, 0, 0, .5); }
.mur .schema-bas { margin-top: 40px; }
.mur .photo-bandeau { margin-top: clamp(56px, 6vw, 80px) !important; }
@media (max-width: 760px) { .tableau-blanc { border-width: 6px; padding: 14px 12px; } .tableau-blanc .auget { bottom: -17px; height: 9px; } }

/* Page VTC : la tuile « P » reste dans la palette */
.module.pratique .l { background: var(--papier); color: var(--marine); box-shadow: inset 0 0 0 2px var(--or), 0 5px 10px -5px rgba(14, 26, 51, .4); }

/* Calcul : une feuille large, résultat souligné deux fois */
.calcul-zone { grid-template-columns: 1fr; }
.calcul-zone .titre-partie, .calcul { grid-column: 1 / -1; }
@media (min-width: 901px) {
  .calcul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; align-items: end; }
  .calcul .operation { grid-column: 1 / 3; }
  .calcul .resultat { grid-column: 3; align-self: end; border-top: 0; padding-top: 0; }
  .calcul .mention { grid-column: 1 / -1; }
}
.res-num { position: relative; display: inline-block; }
.res-num .double { position: absolute; left: -2%; bottom: -12px; width: 104%; height: 14px; }
.res-num .double path { stroke-width: 2.6; }
.js .res-num .double path { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.js .res-num .double.trace path { animation: tracer 220ms var(--ease-feutre) both; }
.js .res-num .double.trace path + path { animation-delay: 110ms; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes ecrire { from { clip-path: inset(-20% 100% -20% -10%); } to { clip-path: inset(-20% -10% -20% -10%); } }
@keyframes fondu { from { opacity: 0; } }

/* Retour tactile partout où l'on touche */
.lien, .tel-gros, .header-tel, .burger, .fermer, .edt-choix label, .filtres button, .bascule-choix button, .coche .case, .wa { transition: scale 140ms var(--ease-out), text-decoration-color 160ms ease, background-color 160ms ease, color 160ms ease; }
:is(.lien, .tel-gros, .header-tel, .burger, .fermer, .edt-choix label, .filtres button, .bascule-choix button, .wa):active { scale: .96; }
.question:not(.repondue) .reponse:active { scale: .985; }
.metier:active .feuille { scale: .985; }
.coche:active .case { scale: .92; }
.liste-prix a:active, .faq summary:active { background-color: rgba(11, 30, 70, .05); }
.menu-mobile nav a:active { color: var(--feutre); }
.reponse, .bascule-choix button, .filtres button, .edt-choix label, .faq summary { -webkit-user-select: none; user-select: none; }

/* QCM : le feutre corrige dans l'ordre (barrer, puis entourer, puis expliquer) */
.reponse { transition: border-color 150ms ease, background-color 150ms ease, opacity 220ms ease, scale 140ms var(--ease-out); }
.reponse .trait path { transition: stroke-dashoffset 420ms var(--ease-feutre); }
.reponse .trait.barre path { transition-duration: 240ms; }
.question:has(.reponse.faux) .reponse.juste .trait.entoure path { transition-delay: 200ms; }
.question.repondue .explication { animation: apparait 300ms var(--ease-out) 360ms both; }
.question.repondue .qcm-suite { animation: apparait 300ms var(--ease-out) 420ms both; }
.qcm-fin:focus { outline: none; }
.score-zone { position: relative; display: inline-block; padding: 8px 22px; }
.score-zone .trait { inset: -6px -10px; width: calc(100% + 20px); height: calc(100% + 12px); }
.score-zone .trait path { stroke-width: 3.6; stroke-dasharray: 1 2; stroke-dashoffset: 1; }
.qcm-fin .score { font-weight: 600; }
.qcm-fin.active .score { animation: ecrire 420ms var(--ease-feutre) 120ms both; }
.qcm-fin.active .score-zone .trait path { animation: tracer 560ms var(--ease-feutre) 520ms both; }

/* Interrupteur VTC / Taxi : F et G se réécrivent */
@keyframes reecrit { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -2% -10% 0); } }
.lettres .specifique.reecrit > span:last-child { animation: reecrit 420ms var(--ease-feutre) both; }
.lettres .specifique.reecrit + .specifique.reecrit > span:last-child { animation-delay: 90ms; }

/* Conditions : le « C'est bon » s'écrit après la troisième coche */
.verdict.pret .note { animation: ecrire 650ms var(--ease-feutre) 180ms both; }

/* Merci : écrit et souligné */
.merci .souligne { position: static; display: block; width: min(220px, 70%); height: 14px; }
.merci .souligne path { stroke-dasharray: 1 2; stroke-dashoffset: 1; }
form.envoye { display: grid; align-content: center; }
form.envoye .merci .note { animation: ecrire 700ms var(--ease-feutre) 60ms both; }
form.envoye .merci .souligne path { animation: tracer 380ms var(--ease-feutre) 700ms both; }

/* Tableau de l'examen sur mobile : chaque bloc se dessine à l'écran, sans attendre */
.js .schema.par-bloc .bloc-dessine.vu .cadre-feutre { clip-path: inset(-6px); }
@media (max-width: 1060px) {
  .schema .bloc-dessine, .schema .fleche-schema .dessin { --d: 0ms !important; }
  .schema .seuil .dessin { --d: 500ms !important; }
  .schema .note.ecrit { --d: 650ms !important; }
}

/* Sous-menu : fermeture plus rapide que l'ouverture */
.sous-menu { transition: opacity 120ms var(--ease-out), transform 120ms var(--ease-out), visibility 0s 120ms; }
.nav-groupe.ouvert .sous-menu { transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s; }

/* Page « bientôt » : le plan du site */
.plan-site { text-align: left; margin: 0 auto 26px; padding-left: 1.6em; max-width: 30ch; display: grid; gap: 6px; font-weight: 600; color: var(--encre-2); list-style: decimal; }
.plan-site .fait { color: var(--marine); }
.plan-site .fait a { color: var(--marine); text-decoration-color: var(--or-clair); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.plan-site .fait::after { content: "  (dans la maquette)"; font-weight: 500; color: var(--or-fonce); }

/* Mobile : cibles, tailles, planning, pop-up */
.lien { min-height: 44px; }
.tel-gros { min-height: 44px; }
.ariane a { padding-block: 10px; }
.footer ul { gap: 0; }
.footer li a, .footer-bas a { display: inline-block; padding-block: 11px; }
input[type="range"] { height: 44px; }
input[type="range"]::-webkit-slider-thumb { width: 34px; height: 34px; margin-top: -14px; }
input[type="range"]::-moz-range-thumb { width: 28px; height: 28px; }
@media (max-width: 760px) {
  .barre-mobile { grid-template-columns: 52px 1fr 1.2fr; }
  .session { grid-template-columns: 4.4rem 1fr; }
  .session .lien .txt { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .session .lien { grid-column: 2; grid-row: auto; justify-self: start; width: auto; height: auto; border: 0; border-radius: 0; text-decoration: underline; text-decoration-color: var(--or-clair); text-decoration-thickness: 2px; text-underline-offset: 5px; }
  .session strong { text-wrap: balance; }
  .fiche dt { font-size: .875rem; }
  .hero-rappel .ou, .qcm-entete .src, .metier .prix small { font-size: 1rem; }
  .plan svg text { font-size: 32px; }
  .header .logo img { height: 40px; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .popup-boite { padding-top: 24px; }
  .popup h2 { font-size: 1.4rem; }
  .rappel-session.actif ~ .intro { display: none; }
  .popup .ou { margin: 10px 0; }
}

/* Mouvement réduit : du fondu, jamais de déplacement */
@media (prefers-reduced-motion: reduce) {
  .faq details::details-content { transition: none; }
  .question.active, .question.repondue .explication, .question.repondue .qcm-suite, .qcm-fin.active, form.envoye .merci { animation-name: fondu; }
  .verdict.pret .note, .qcm-fin.active .score, form.envoye .merci .note, .lettres .specifique.reecrit > span:last-child { animation: fondu 200ms ease both; }
  .js .res-num .double path, .score-zone .trait path, .merci .souligne path { animation: none; stroke-dashoffset: 0; }
  .creneau { transition: opacity 160ms ease; clip-path: none; }
}

.ariane { align-items: center; }
.footer-bas { align-items: center; }

/* Menu toujours sur une ligne (écrans de 1060 à 1280 px) */
.nav > a, .nav-groupe > button { white-space: nowrap; }
@media (max-width: 1279px) {
  .header-tel span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header-tel { width: 46px; height: 46px; justify-content: center; border: 1px solid rgba(255, 255, 255, .32); border-radius: var(--r-ctrl); }
  .header .wrap { gap: 18px; }
  .nav > a, .nav-groupe > button { padding-inline: 9px; }
}
@media (max-width: 1140px) {
  .nav, .header-actions .btn { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .burger { display: grid; }
}

/* ---------- v4 (29/10/2026) ---------- */
/* Nouveau logo (voiture + MOBILITY + FORMATION) : plus haut que le mot seul de la v3 */
.logo img { height: 60px; }
@media (max-width: 1060px) { .logo img { height: 54px; } }
@media (max-width: 760px) { .header .logo img { height: 46px; } }
.footer .logo img { height: 128px; }

/* Le parcours : du premier appel à la carte pro */
.parcours-grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 28px; align-items: center; }
.etapes { grid-column: 1 / 8; list-style: none; margin: 0; padding: clamp(24px, 3vw, 38px); display: grid; gap: 24px; --rot: -.6deg; }
.etapes li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.etapes .num { width: 46px; height: 46px; display: grid; place-items: center; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.55rem; color: var(--marine); border: 2.5px solid var(--feutre); border-radius: 52% 46% 50% 48% / 48% 52% 46% 50%; }
.etapes h3 { margin: 2px 0 4px; font-size: 1.22rem; line-height: 1.25; }
.etapes p { margin: 0; color: var(--encre-2); font-size: 1.04rem; }
.parcours-grille .photo { grid-column: 8 / 13; --rot: 1.4deg; }
.parcours-grille .photo img { aspect-ratio: 5 / 4.4; }

/* Tarifs : ce qui est compris */
.faits.compris { margin: 8px 0 20px; font-size: 1rem; gap: 7px; }
.complements p.t + .liste-prix { margin-top: 4px; }

/* Qualiopi : cartouche blanc obligatoire (charte du 15/03/2023) */
.qualiopi { margin-top: 22px; max-width: 260px; }
.qualiopi img { display: block; width: 100%; height: auto; background: #fff; }
.qualiopi p { margin: 10px 0 0; font-size: .8rem; line-height: 1.4; color: #dfe5ef; }
.qualiopi strong { color: #fff; letter-spacing: .02em; }

@media (max-width: 900px) {
  .parcours-grille { grid-template-columns: 1fr; }
  .parcours-grille > * { grid-column: 1 / -1 !important; }
  .parcours-grille .photo { width: 92%; justify-self: end; }
}
@media (max-width: 760px) {
  .etapes li { grid-template-columns: 40px 1fr; gap: 14px; }
  .etapes .num { width: 40px; height: 40px; font-size: 1.35rem; }
}

/* ---------- v4 : pages intérieures (29/10/2026) ---------- */
.hero-court { padding-bottom: clamp(30px, 4vw, 56px); }
.hero-court .hero-texte { max-width: 860px; }
.hero-court + .partie { padding-top: clamp(20px, 3vw, 40px); }
.sommaire { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; counter-reset: s; }
.sommaire li { counter-increment: s; }
.sommaire a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: var(--papier); border-radius: var(--r-ctrl); box-shadow: var(--ombre-feuille); font-weight: 700; text-decoration: none; color: var(--marine); }
.sommaire a::before { content: counter(s); font-family: var(--f-chiffres); color: var(--or-fonce); }

/* Feuille « compris dans le prix » à gauche du gros prix */
.compris-feuille { grid-column: 1 / 8; --rot: -.5deg; }
.compris-feuille h3 { font-size: 1.3rem; }
.compris-feuille .t { font-weight: 700; margin: 6px 0 2px; }

/* Taxi ou VTC */
.comparatif { padding: clamp(14px, 2vw, 26px) clamp(18px, 3vw, 34px); --rot: -.3deg; }
.comp-ligne { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--papier-ligne); font-size: 1.02rem; }
.comp-ligne:last-child { border-bottom: 0; }
.comp-ligne > span:first-child { font-weight: 700; color: var(--marine); }
.comp-ligne > span:not(:first-child) { color: var(--encre-2); }
.comp-tete { border-bottom: 2px solid var(--marine); padding-top: 4px; }
.comp-tete strong { font-size: 1.25rem; color: var(--marine); }

/* Passerelles */
.passerelles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.passerelle { display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 24px); }
.passerelle:nth-child(1) { --rot: -.6deg; } .passerelle:nth-child(2) { --rot: .4deg; } .passerelle:nth-child(3) { --rot: -.3deg; }
.passerelle .sens { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; text-transform: uppercase; color: var(--or-fonce); }
.passerelle .sens svg { width: 18px; height: 18px; }
.passerelle h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2rem); }
.passerelle > p { color: var(--encre-2); margin: 12px 0 0; }
.passerelle .faits { margin-top: 16px; font-size: 1rem; }
.passerelle .bas { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.prix-passerelle { font-family: var(--f-chiffres); font-weight: 700; font-size: 2.1rem; color: var(--marine); line-height: 1; }
.prix-passerelle.petit { font-family: var(--f-feutre); font-weight: 600; font-size: 1.15rem; color: var(--feutre); }

/* Deux feuilles côte à côte (paiement / financement, Qualiopi / agrément) */
.paiement { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.paiement .feuille:nth-child(1) { --rot: -.5deg; } .paiement .feuille:nth-child(2) { --rot: .5deg; }
.paiement h2 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); }
.paiement p { color: var(--encre-2); }
.paiement .faits { margin-top: 14px; }
.paiement .note { margin-top: 12px; --rot: -2deg; }
.qualiopi-clair { margin-top: 20px; }
.qualiopi-clair img { box-shadow: 0 0 0 1px var(--papier-ligne); }
.qualiopi-clair p { color: var(--encre-2); }
.qualiopi-clair strong { color: var(--marine); }

/* Le centre : ce que vous trouvez */
.atouts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.atout { padding: 24px 26px; }
.atout:nth-child(odd) { --rot: -.4deg; } .atout:nth-child(even) { --rot: .4deg; }
.atout h3 { font-size: 1.2rem; }
.atout p { margin: 6px 0 0; color: var(--encre-2); font-size: 1.02rem; }

/* Contact : la porte devient la page */
.porte-page { padding-top: clamp(40px, 5vw, 72px); }
.porte-page h1 { color: #fff; }
.porte .h3 { font-size: 1.5rem; letter-spacing: -.01em; max-width: none; }
.ariane-claire, .ariane-claire a { color: #c9d1e0; }
.champ textarea { width: 100%; padding: 11px 13px; font: inherit; font-size: 1.0625rem; background: #fff; color: var(--encre); border: 1.5px solid #c3cad6; border-radius: var(--r-ctrl); resize: vertical; }
.champ textarea:focus { outline: none; border-color: var(--feutre); box-shadow: 0 0 0 3px rgba(29, 58, 138, .2); }
.facultatif { font-weight: 500; color: var(--encre-3); }

/* Mentions légales */
.texte-legal { max-width: 820px; --rot: 0deg; }
.texte-legal h2 { font-size: 1.45rem; margin: 30px 0 8px; max-width: none; scroll-margin-top: calc(var(--header-h) + 24px); }
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p { margin: 0 0 10px; color: var(--encre-2); }

@media (max-width: 900px) {
  .compris-feuille { grid-column: 1 / -1 !important; }
  .passerelles, .paiement { grid-template-columns: 1fr; }
  .atouts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .atouts { grid-template-columns: 1fr; }
  .comp-ligne { grid-template-columns: 1fr 1fr; gap: 4px 14px; }
  .comp-ligne > span:first-child { grid-column: 1 / -1; }
  .comp-tete > span:first-child { display: none; }
}

/* =========================================================
   v5 (10/11/2026) : retours de Mourad du 08/11
   « chaleureux, accueillant, classe, sérieux et professionnel »,
   comme le centre (murs marine, fauteuils moutarde, bois, lumière chaude).
   Textes plus gras et plus gros, fond plus soutenu, plus d'écriture feutre.
   ========================================================= */

/* Texte : plus gros, plus gras */
body { font-size: 1.1875rem; font-weight: 500; line-height: 1.6; }
@media (max-width: 760px) { body { font-size: 1.125rem; } }
.chapo { font-size: clamp(1.2rem, 1.08rem + .4vw, 1.38rem); font-weight: 500; color: var(--encre-2); }
h3 { font-weight: 800; }
.faits { font-size: 1.12rem; font-weight: 600; }
.coche .txt, .etapes p, .metier p, .module p, .etape p, .atout p, .faq .reponse-faq, .centre-infos dd, .comp-ligne, .liste-prix .nom small, .passerelle > p { font-weight: 500; }
.etapes p, .metier p, .atout p, .module p, .etape p { font-size: 1.1rem; }
.fiche dd small, .sous-menu span { font-weight: 600; }
.nav > a, .nav-groupe > button { font-weight: 700; }

/* Plus d'écriture « feutre » : une mention nette, en moutarde foncée */
.note {
  font-family: var(--f-texte); font-variation-settings: normal; font-weight: 700;
  font-size: clamp(1.05rem, 1rem + .25vw, 1.2rem); line-height: 1.3;
  color: var(--or-fonce); rotate: 0deg;
}
.note.rouge { color: var(--rouge); }
.qcm-fin .score { font-family: var(--f-chiffres); font-weight: 700; color: var(--marine); rotate: 0deg; }
.operation .moins { font-family: var(--f-chiffres); }
.prix-passerelle.petit { font-family: var(--f-texte); font-weight: 700; color: var(--or-fonce); }
.js .note.ecrit, .js .vu .note.ecrit, .js .note.ecrit.vu { clip-path: none; transition: none; }
.verdict.pret .note, form.envoye .merci .note { animation: fondu 300ms ease both; }
.qcm-fin.active .score { animation: fondu 300ms ease both; }
/* Les traits dessinés à la main disparaissent (gardés seulement dans le schéma de l'examen et le QCM) */
.hero-note .trait, .gros-prix .trait, .seuil .trait, .res-num .double, .plan .trait, .merci .souligne, .score-zone .trait { display: none; }
.hero-note { margin-left: 0; }

/* Les matériaux : des cartes nettes, droites, aux coins doux (plus de feuilles penchées ni d'aimants) */
.feuille, .photo { rotate: 0deg !important; }
.aimant { display: none; }
.feuille {
  background: var(--papier); border-radius: 14px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset, 0 1px 2px rgba(60, 40, 10, .06), 0 18px 36px -22px rgba(40, 28, 8, .32);
  border: 1px solid rgba(160, 130, 80, .16);
}
.photo { padding: 0; background: none; border-radius: 16px; overflow: hidden; box-shadow: 0 24px 44px -26px rgba(30, 20, 5, .55); }
.photo img { border-radius: 0; filter: saturate(1.02) contrast(1.02); }
.fiche { border-radius: 14px; background: var(--papier); box-shadow: 0 1px 2px rgba(60,40,10,.06), 0 14px 28px -20px rgba(40,28,8,.35); }
.fiche > div + div { border-left: 1px solid var(--papier-ligne); }
.metier .feuille { padding: 0; overflow: hidden; }
.metier .corps { padding: 20px 22px 24px; }
.metier-court .feuille { padding: 0; }
.metier-court .corps { padding: 16px 18px 16px 20px; }
.metier img { border-radius: 0; }
.carreaux { background-image: none; }

/* Fonds : crème chaud, sable (bois clair) et marine (murs du centre), en alternance */
.partie { padding-block: clamp(70px, 8vw, 120px); }
.partie + .partie { padding-top: clamp(70px, 8vw, 120px); }
.partie.sable { background: var(--sable); }
.partie.sombre { background: var(--marine); color: #e9edf5; }
.partie.sombre h2, .partie.sombre h3 { color: #fff; }
.partie.sombre .chapo, .partie.sombre .doux { color: #cfd7e6; }
.partie.sombre .faits li::before { background: var(--or-clair); }
.partie.sable + .partie.sable, .partie.sombre + .partie.sombre { padding-top: 0; }
.barre-mobile { background: rgba(255, 252, 246, .97); border-top-color: var(--cadre); }
.menu-mobile { background: var(--tableau); }
.surligne { background-image: linear-gradient(transparent 0 0); background-color: transparent; box-shadow: inset 0 -.32em 0 rgba(228, 180, 68, .75); background-size: auto !important; }
.js .surligne { transition: none; }

/* Boutons plus francs */
.btn { font-weight: 800; border-radius: 10px; }
.champ input, .champ select, .champ textarea { border-radius: 10px; background: #fff; }
.champ label { font-weight: 800; }

/* ---------- Héros marine (comme les murs du centre) ---------- */
.hero { background: var(--marine); color: #e9edf5; padding-block: clamp(40px, 5vw, 76px) clamp(56px, 6vw, 92px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, rgba(228, 180, 68, .16), transparent 70%); pointer-events: none; }
.hero h1 { color: #fff; font-size: clamp(2.5rem, 1.2rem + 3.7vw, 4.1rem); line-height: 1.02; }
.hero h1 .ligne2 { color: var(--or-clair); display: inline; }
.hero .chapo { color: #d5dcea; margin-top: 22px; }
.hero .chapo strong { color: #fff; }
.hero .fiche { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); max-width: min(100%, 680px); }
.hero .fiche > div + div { border-left-color: rgba(255, 255, 255, .14); }
.hero .fiche dt { color: #b9c3d6; }
.hero .fiche dd { color: #fff; }
.hero .fiche dd small { color: #cfd7e6; }
.hero .fiche dd .etoile { color: var(--or-clair); }
.hero .lien { color: #fff; }
.hero-visuel .photo img { aspect-ratio: 4 / 3; }
.hero-rappel { margin: -56px 0 0 -18px; }
.hero-rappel .ou { font-weight: 500; }
.hero .note { color: var(--or-clair); }
.renvoi { margin: 14px 0 0; font-size: .98rem; font-weight: 500; color: #b9c3d6; max-width: 60ch; }
.partie:not(.sombre) .renvoi, .tarifs-page .renvoi { color: var(--encre-3); }

/* Qualiopi + CPF : bien visible (demande de Mourad) */
.label-qualiopi { display: flex; align-items: center; gap: 18px; margin-top: 26px; max-width: 640px; }
.label-qualiopi .cartouche { flex: none; width: 170px; background: #fff; border-radius: 8px; padding: 8px 10px; }
.label-qualiopi .cartouche img { width: 100%; height: auto; display: block; }
.label-qualiopi p { margin: 0; font-size: 1.05rem; line-height: 1.4; font-weight: 600; color: #fff; }
.label-qualiopi p small { display: block; margin-top: 4px; font-size: .8rem; font-weight: 500; color: #b9c3d6; }
.partie:not(.sombre) .label-qualiopi p { color: var(--marine); }
.partie:not(.sombre) .label-qualiopi p small { color: var(--encre-3); }
.partie:not(.sombre) .label-qualiopi .cartouche { box-shadow: 0 0 0 1px var(--papier-ligne); }
.cpf { display: inline-block; padding: 2px 8px; margin-right: 4px; border-radius: 5px; background: var(--or-clair); color: var(--marine); font-weight: 800; font-size: .9em; letter-spacing: .02em; }

/* ---------- Plateformes (Uber, Bolt, Heetch) ---------- */
.plateformes { padding-block: clamp(30px, 4vw, 46px); border-bottom: 1px solid var(--cadre); }
.plateformes .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.plateformes p { margin: 0; font-weight: 700; font-size: 1.15rem; color: var(--marine); max-width: 34ch; }
.plateformes p small { display: block; font-weight: 500; font-size: .9rem; color: var(--encre-3); margin-top: 2px; }
.logos-plateformes { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 46px; color: var(--marine); }
.logos-plateformes svg { display: block; height: 30px; width: auto; }
.logos-plateformes .l-uber { height: 26px; }
.logos-plateformes .l-bolt { height: 34px; }
.logos-plateformes .l-heetch { height: 22px; }

/* ---------- Comment se passent les cours ---------- */
.cours-zone { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 28px; align-items: center; }
.cours-zone .photo { grid-column: 1 / 7; }
.cours-zone .photo img { aspect-ratio: 4 / 3.1; }
.cours-texte { grid-column: 7 / 13; }
.atouts-cours { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; margin-top: 32px; }
.atouts-cours h3 { font-size: 1.22rem; display: flex; align-items: center; gap: 12px; }
.atouts-cours h3 .pic { flex: none; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(228, 180, 68, .16); color: var(--or-clair); }
.atouts-cours h3 .pic svg { width: 22px; height: 22px; }
.atouts-cours p { margin: 8px 0 0; font-size: 1.06rem; color: #cfd7e6; }
.reussite { margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 1.2rem; font-weight: 700; color: #fff; }
.reussite span { color: var(--or-clair); }

/* ---------- Le centre : une vraie carte, grande ---------- */
.centre .plan, .carte { grid-column: 1 / 9; padding: 0; overflow: hidden; }
.carte iframe { display: block; width: 100%; height: clamp(340px, 42vw, 520px); border: 0; }
.carte-bas { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; padding: 14px 20px; border-top: 1px solid var(--papier-ligne); font-size: 1rem; font-weight: 600; color: var(--encre-2); }
.carte-bas a { font-weight: 800; color: var(--marine); text-decoration-color: var(--or-clair); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.centre-infos { grid-column: 9 / 13; }
.centre-infos dd { font-size: 1.1rem; }
.centre-infos .itineraires { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.btn-ligne { box-shadow: inset 0 0 0 2px var(--marine); }

/* Pied de page : l'agrément en petit, à sa place */
.footer-legal { color: #b9c3d6; }

@media (max-width: 1060px) {
  .centre .plan, .carte, .centre-infos { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .cours-zone { grid-template-columns: 1fr; }
  .cours-zone > * { grid-column: 1 / -1 !important; }
  .hero-rappel { margin: -40px 0 0 auto; }
  .centre .plan, .carte, .centre-infos { grid-column: 1 / -1 !important; }
}
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(2.2rem, 1.2rem + 5vw, 2.7rem); }
  .hero-rappel { margin: 0 0 22px; }
  .atouts-cours { grid-template-columns: 1fr; gap: 22px; }
  .label-qualiopi { flex-direction: column; align-items: flex-start; gap: 12px; }
  .plateformes .wrap { flex-direction: column; align-items: flex-start; }
  .logos-plateformes { gap: 18px 34px; }
  .barre-mobile { grid-template-columns: 1fr 1.2fr; }
  .carte iframe { height: 360px; }
}

/* L'examen sur un grand écran (comme dans la salle du centre), plus sur un tableau blanc */
.tableau-blanc.ecran { border: 14px solid #141b2b; border-radius: 18px; background: #fffdf8; box-shadow: inset 0 0 0 1px rgba(0,0,0,.25), 0 30px 50px -26px rgba(0, 0, 0, .7); }
.tableau-blanc.ecran .pied-ecran { position: absolute; left: 50%; bottom: -46px; width: 120px; height: 32px; margin-left: -60px; background: linear-gradient(#141b2b, #0e1422); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.mur .schema-bas { margin-top: 64px; }
@media (max-width: 760px) { .tableau-blanc.ecran { border-width: 8px; border-radius: 12px; } .tableau-blanc.ecran .pied-ecran { bottom: -34px; height: 24px; width: 90px; margin-left: -45px; } }
/* Deux parties crème qui se suivent : pas de double espace */
.partie:not(.sable):not(.sombre):not(.mur) + .partie:not(.sable):not(.sombre):not(.mur) { padding-top: 0; }
.plateformes + .partie { padding-top: clamp(56px, 6vw, 90px); }

/* v5 : compléments des pages intérieures */
.etoile { color: var(--or-fonce); }
.hero .etoile { color: var(--or-clair); }
.tel-second { display: inline-block; margin-top: 8px; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.4rem; color: #fff; text-decoration: none; }
.liste-prix .chiffre .cpf-ligne { display: block; font-family: var(--f-texte); font-size: .82rem; font-weight: 700; color: var(--or-fonce); text-align: right; }
.bloc-qualite { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 48px; align-items: center; }
.bloc-qualite h2 { font-size: clamp(1.7rem, 1.2rem + 1.2vw, 2.3rem); max-width: 22ch; }
.bloc-qualite p { color: var(--encre-2); margin-top: 14px; }
.bloc-qualite .qualiopi { margin-top: 0; max-width: 300px; }
.partie.sombre .faits li { color: #fff; }
.partie.sombre .cours-texte .faits { margin-top: 26px; }
@media (max-width: 900px) { .bloc-qualite { grid-template-columns: 1fr; } }
.hero .ariane, .hero .ariane a { color: #b9c3d6; }
.hero .ariane [aria-current] { color: #fff; }
.hero h1 .surligne { box-shadow: inset 0 -.18em 0 rgba(228, 180, 68, .55); }

/* =========================================================
   v5.1 (11/11/2026) : relecture des retours de Mourad du 08/11
   Textes franchement plus gros, 150 €* en avant, vides comblés.
   ========================================================= */

/* Texte courant : 20 px, et plus aucun texte de lecture sous 16 px */
body { font-size: 1.25rem; }
@media (max-width: 760px) { body { font-size: 1.1875rem; } }
.chapo { font-size: clamp(1.25rem, 1.12rem + .42vw, 1.45rem); }
.etapes p, .metier p, .atout p, .module p, .etape p { font-size: 1.15rem; }
.metier-court p { font-size: 1.08rem; }
.atouts-cours p { font-size: 1.12rem; }
.coche strong { font-size: 1.22rem; }
.coche .txt { font-size: 1.1rem; }
.faits.compris, .passerelle .faits { font-size: 1.1rem; }
.liste-prix .nom small { font-size: 1.02rem; }
.fiche dt { font-size: .86rem; }
.fiche dd small { font-size: .98rem; }
.renvoi, .conditions .taxi, .schema-bas, .edt-legende { font-size: 1.06rem; }
.mention, .calcul .mention { font-size: 1rem; }
.session span.s { font-size: 1.02rem; }
.comp-ligne { font-size: 1.1rem; }
.label-qualiopi p { font-size: 1.14rem; }
.label-qualiopi p small { font-size: .94rem; }
.qualiopi p { font-size: .94rem; }
.footer ul { font-size: 1.06rem; }
.footer h4 { font-size: 1.06rem; }
.footer-legal { font-size: 1.02rem; }
.footer-bas { font-size: .98rem; }
.sous-menu strong { font-size: 1.08rem; }
.sous-menu span { font-size: .98rem; }
.bandeau-ouverture { font-size: 1rem; }
.champ label { font-size: 1.02rem; }
.hero-rappel .ou { font-size: 1.02rem; }
.ariane { font-size: 1rem; }
.seuil-txt, .bloc-dessine .quand { font-size: 1.04rem; }
.lettres li { font-size: 1.08rem; }
.photo figcaption { font-size: .95rem; }
.qcm-entete .src { font-size: .98rem; }
.carte-bas { font-size: 1.05rem; }
.plateformes p small { font-size: 1rem; }

/* Le prix : « dès 150 €* » en grand (demande de Mourad), 890 € sans CPF juste dessous */
.prix-zone { padding-top: 0; }
.prix-carte { background: var(--marine); color: #e9edf5; border-radius: 16px; padding: 28px 28px 30px; box-shadow: 0 24px 44px -26px rgba(11, 30, 70, .7); }
.prix-etiquette { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-weight: 700; font-size: 1.08rem; line-height: 1.3; color: #fff; }
.prix-150 { margin: 16px 0 0; font-family: var(--f-chiffres); font-weight: 700; font-size: clamp(4.4rem, 3.2rem + 3.4vw, 6.4rem); line-height: .9; color: var(--or-clair); white-space: nowrap; }
.prix-150 small { font-family: var(--f-texte); font-size: 1.35rem; font-weight: 700; color: #fff; margin-right: 2px; }
.prix-150 .etoile { color: var(--or-clair); font-size: .5em; vertical-align: top; }
.prix-reste { margin: 12px 0 0; font-size: 1.06rem; font-weight: 600; color: #cfd7e6; }
.prix-sans { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 1.08rem; color: #cfd7e6; }
.prix-sans strong { display: block; margin-bottom: 4px; font-family: var(--f-chiffres); font-weight: 700; font-size: 1.95rem; line-height: 1.1; color: #fff; }
.prix-carte .btn { margin-top: 22px; width: 100%; white-space: normal; text-align: center; }
.prix-zone .prix-apres { margin-top: 16px; max-width: none; }
.liste-prix .chiffre .cpf-ligne { font-size: 1rem; }
@media (max-width: 760px) { .liste-prix .chiffre .cpf-ligne { max-width: 14ch; margin-left: auto; line-height: 1.25; } }

/* « Compris / à prévoir » : une carte en pleine largeur, sous le planning et le prix */
.compris-large { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 56px; align-items: start; }
.compris-large h3 { font-size: 1.3rem; margin-bottom: 10px; }
.compris-large .faits.compris { margin-bottom: 0; }
@media (max-width: 760px) { .compris-large { grid-template-columns: 1fr; } }

/* Les conditions : des cartes côte à côte sur ordinateur (plus de moitié de page vide) */
@media (min-width: 901px) {
  .liste-conditions { max-width: none; border-top: 0; display: flex; flex-wrap: wrap; gap: 18px; }
  .liste-conditions > .coche { flex: 1 1 230px; }
  .liste-conditions > :not(.coche) { flex: 1 1 100%; }
  .coche, .coche + .coche { background: var(--papier); border: 1px solid rgba(160, 130, 80, .18); border-radius: 14px; padding: 22px 22px 24px; box-shadow: 0 1px 2px rgba(60, 40, 10, .06), 0 14px 28px -22px rgba(40, 28, 8, .32); }
  .verdict { margin-top: 8px; }
}

/* L'examen à l'écran : les écrits à gauche, la pratique puis la carte à droite (plus de grand blanc) */
@media (min-width: 1061px) {
  #schema { grid-template-columns: 1.25fr auto 1fr; align-items: stretch; }
  #schema > .bloc-dessine:nth-child(1) { grid-column: 1; grid-row: 1 / 4; }
  #schema > .fleche-schema:nth-child(2) { grid-column: 2; grid-row: 1 / 4; align-self: center; margin: 0 8px; }
  #schema > .bloc-dessine:nth-child(3) { grid-column: 3; grid-row: 1; }
  #schema > .fleche-schema:nth-child(4) { grid-column: 3; grid-row: 2; justify-self: center; align-self: center; margin: 6px 0; width: 40px; height: 64px; }
  #schema > .fleche-schema:nth-child(4) .trait { width: 40px; height: 64px; }
  #schema > .fleche-schema:nth-child(4) .h { display: none; }
  #schema > .fleche-schema:nth-child(4) .v { display: block !important; }
  #schema > .bloc-dessine:nth-child(5) { grid-column: 3; grid-row: 3; }
}

/* Téléphone : la photo du centre arrive juste après le titre (avant, l'écran d'ouverture était tout en texte) */
@media (max-width: 760px) {
  .hero-grille > .hero-texte, .hero-grille > .hero-visuel { display: contents; }
  .hero-texte > * { order: 6; }
  .hero-texte > .ariane { order: 0; }
  .hero-texte > h1 { order: 1; }
  .hero-texte > .chapo { order: 2; }
  .hero-visuel > .photo { order: 3; width: 100%; margin: 24px 0 4px; }
  .hero-visuel > .photo img { aspect-ratio: 16 / 10; }
  .hero-texte > .fiche { order: 4; }
  .hero-texte > .renvoi { order: 5; }
  .hero-visuel > .hero-rappel { order: 7; margin: 28px 0 0; }
}

/* Pied de page : le renvoi de l'astérisque du bandeau */
.footer-renvoi { margin: 34px 0 0; max-width: 90ch; font-size: .98rem; color: #b9c3d6; }
.footer-renvoi + .footer-bas { margin-top: 20px; }
@media (max-width: 760px) { .bandeau-ouverture { font-size: .92rem; } }
@media (max-width: 760px) { .cpf-ligne .sep { display: none; } .cpf-ligne .sans { display: block; } }
.mur .photo figcaption, .partie.sombre .photo figcaption { color: #cfd7e6; }


/* ============ v5.2 (11/11/2026) : logos des plateformes plus grands, aux couleurs des marques ============ */
.plateformes { padding-block: clamp(34px, 4.5vw, 54px); }
.plateformes p { font-size: 1.3rem; line-height: 1.3; max-width: 26ch; }
.logos-plateformes { gap: 16px; }
.logos-plateformes svg { box-sizing: content-box; padding: 22px 32px; background: #fff; border: 1px solid var(--cadre); border-radius: 16px; box-shadow: 0 10px 22px -16px rgba(11, 30, 70, .45); }
.logos-plateformes .l-uber { height: 36px; color: #000; }
.logos-plateformes .l-bolt { height: 46px; padding-block: 17px; color: #2bb673; }
.logos-plateformes .l-heetch { height: 30px; padding-block: 25px; color: #e6007e; }
@media (max-width: 760px) {
  .plateformes p { font-size: 1.2rem; max-width: none; }
  .logos-plateformes { gap: 12px; width: 100%; }
  .logos-plateformes svg { padding-inline: 22px; flex: 1 1 auto; }
  .logos-plateformes .l-uber { height: 30px; padding-block: 21px; }
  .logos-plateformes .l-bolt { height: 40px; padding-block: 16px; }
  .logos-plateformes .l-heetch { height: 26px; padding-block: 23px; }
}

/* ============ v5.3 (12/11/2026) : carte, bouton « quartier de près / vue d'ensemble » ============ */
.carte-bas .carte-zoom { appearance: none; font: inherit; font-weight: 800; color: var(--marine); background: var(--papier); border: 2px solid var(--marine); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background .15s, color .15s; }
.carte-bas .carte-zoom:hover, .carte-bas .carte-zoom:focus-visible { background: var(--marine); color: #fff; }

/* ============ v5.4 (12/11/2026) : accueil plus chaleureux ============
   Photo de l'accueil du centre en grand, formulaire en bandeau sous le héros (plus posé sur la photo),
   mot de bienvenue, section « formateurs » remontée et passée sur fond chaud. */
.hero-accueil { overflow: visible; }
.hero-accueil::before { background: radial-gradient(52% 62% at 78% 36%, rgba(232, 172, 84, .24), transparent 72%); }
.bienvenue { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font-size: 1.02rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--or-clair); }
.bienvenue::before { content: ""; flex: none; width: 36px; height: 2px; background: var(--or-clair); }
.hero-accueil h1 { font-size: clamp(2.4rem, 1rem + 3.4vw, 3.9rem); }
.hero-accueil .label-qualiopi { max-width: none; }
.rappel-tel { margin: 0; }
.rappel-tel span { display: block; font-size: 1rem; font-weight: 600; color: var(--encre-2); }
.hero-accueil .rappel-barre { width: auto; margin: 30px 0 0; }
.hero-accueil .rappel-barre h2 { font-size: 1.5rem; }
.hero-accueil .rappel-barre .ou { margin: 4px 0 0; }
.hero-accueil .rappel-barre .tel-gros { font-size: 1.75rem; margin-top: 0; }
.hero-accueil .rappel-barre .rappel-tel { margin-top: 14px; }

@media (min-width: 901px) {
  .hero-accueil { padding-bottom: clamp(44px, 5vw, 72px); }
  .hero-accueil .hero-grille { align-items: center; column-gap: 28px; }
  .hero-accueil .hero-texte { grid-column: 1 / 7; padding-top: 0; }
  .hero-accueil .hero-visuel { grid-column: 7 / 13; }
  .hero-accueil .hero-visuel .photo img { aspect-ratio: 3 / 2; } /* photo entière : logo au mur et taxi dans la vitrine visibles */
  .hero-accueil .label-qualiopi { margin-top: 24px; }
  .hero-accueil .rappel-barre { position: relative; z-index: 4; margin: clamp(40px, 4.4vw, 64px) 0 0; padding: 24px 30px 30px; }
  .hero-accueil .rappel-barre .form-rappel { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: end; gap: 18px 28px; }
  .hero-accueil .rappel-barre .rappel-titre { align-self: center; }
  .hero-accueil .rappel-barre .champs { margin: 0; gap: 14px; }
  .hero-accueil .rappel-barre .champ { position: relative; }
  .hero-accueil .rappel-barre .champ .erreur { position: absolute; left: 0; top: 100%; margin-top: 3px; font-size: .85rem; white-space: nowrap; }
  .hero-accueil .rappel-barre .btn-bloc { width: auto; white-space: nowrap; }
  .hero-accueil .rappel-barre .rappel-tel { margin-top: 0; }
  .hero-accueil .rappel-barre .tel-gros { white-space: nowrap; }
  .hero-accueil .rappel-barre form.envoye { display: block; }
}
@media (min-width: 901px) and (max-width: 1140px) {
  .hero-accueil .rappel-barre .form-rappel { grid-template-columns: minmax(0, 1fr) auto auto; }
  .hero-accueil .rappel-barre .rappel-titre { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 16px; }
}
@media (max-width: 900px) {
  .hero-accueil .hero-visuel .photo { width: 100%; }
}
@media (max-width: 760px) {
  .hero-accueil .hero-texte > .bienvenue { order: 0; font-size: .92rem; margin-bottom: 12px; }
  .hero-accueil .hero-visuel > .label-qualiopi { order: 6; }
}

/* Section « formateurs » sur fond chaud */
.partie.sable .atouts-cours p { color: var(--encre-2); }
.partie.sable .atouts-cours h3 .pic { background: var(--marine); }
.partie.sable .reussite { color: var(--marine); border-top-color: rgba(11, 30, 70, .18); }
.partie.sable .reussite span { color: inherit; box-shadow: inset 0 -.38em 0 rgba(228, 180, 68, .6); }
@media (min-width: 901px) and (max-width: 1140px) {
  .hero-accueil .fiche { grid-template-columns: 1fr 1fr; }
  .hero-accueil .fiche > div:nth-child(3) { border-left: 0; }
  .hero-accueil .fiche > div:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 420px) { .bienvenue::before { display: none; } }

/* ============ v5.5 (13/11/2026) ============ */
/* Les plateformes : texte et logos regroupés au centre (le texte était collé à gauche, loin des logos) */
@media (min-width: 761px) {
  .plateformes .wrap { justify-content: center; gap: 20px 48px; }
  .plateformes p { max-width: 30ch; text-align: right; }
}
/* Le parcours en 5 étapes : l'étape au milieu de l'écran s'allume en or (script dans main.js) */
.etapes.au-defilement .num { transition: background-color 380ms var(--ease-out), border-color 380ms var(--ease-out), color 380ms var(--ease-out), scale 380ms var(--ease-out), box-shadow 380ms var(--ease-out); }
.etapes.au-defilement h3 { transition: color 380ms var(--ease-out); }
.etapes li.allume .num { background: var(--or-clair); border-color: var(--or-clair); color: var(--marine); scale: 1.12; box-shadow: 0 0 0 7px rgba(228, 180, 68, .22); }
@media (prefers-reduced-motion: reduce) {
  .etapes.au-defilement .num, .etapes.au-defilement h3 { transition: none; }
  .etapes li.allume .num { scale: 1; }
}
/* Entre 761 et 1180 px, le texte passe au-dessus des logos : on le centre */
@media (min-width: 761px) and (max-width: 1180px) { .plateformes p { text-align: center; max-width: 34ch; } }

/* ============ v5.7 (13/11/2026) : téléphone, l'en-tête se cache en descendant (script dans main.js) ============ */
@media (max-width: 900px) {
  .header { transition: transform 280ms var(--ease-out); }
  .header.cache { transform: translateY(calc(-100% - 4px)); }
  .header.cache:focus-within { transform: none; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) { .header { transition: none; } }

/* ============ v5.8 (26/11/2026) : retours de Mourad du 23/11 ============ */
/* Tarifs : prix après le lancement, sous le prix de lancement (en gris, pas en or) */
.liste-prix .chiffre .cpf-ligne.apres { color: var(--encre-2); font-weight: 600; }

/* ============ v5.9 (27/11/2026) : « TAXI / VTC » + slogan sous le logo (accueil), demandé par Mourad le 23/11 ============ */
:root:has(.logo-slogan) { --header-h: 104px; }
.header .logo-slogan { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.header .logo-slogan img { height: 46px; }
.ls-metiers { display: flex; align-items: center; gap: 7px; width: 100%; margin-top: 5px; font-family: var(--f-texte); font-weight: 800; font-size: 11px; letter-spacing: .06em; color: #fff; white-space: nowrap; }
.ls-metiers::before, .ls-metiers::after { content: ""; flex: 1; min-width: 14px; height: 1.5px; background: var(--or-clair); }
.ls-phrase { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 5px; font-family: var(--f-texte); font-weight: 500; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.ls-phrase em { font-style: normal; font-weight: 700; color: #7fb2ec; }
@media (max-width: 760px) {
  :root:has(.logo-slogan) { --header-h: 92px; }
  .header .logo-slogan img { height: 38px; }
  .ls-metiers { font-size: 9.5px; margin-top: 4px; }
  .ls-phrase { font-size: 8px; margin-top: 4px; }
}
