/* Auto-école Nimbus — feuille de style du site.
   Direction artistique (16/11/2026) : bleu ciel et blanc (demande du gérant), sur le modèle de la maquette « meilleures-auto-ecoles »
   donnée par Filo : fond très clair, cartes blanches aux ombres douces, icônes bleues au trait, bouton orange, titres mi-normal mi-gras,
   grande illustration de rue (dessinée pour Nimbus). Titres Plus Jakarta Sans, texte Inter (auto-hébergées).
   Le logo du client (texte blanc) est toujours posé sur une pastille bleu nuit. */
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/jakarta-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Jakarta'; font-style: normal; font-weight: 500 800; font-display: swap; src: url(../fonts/jakarta-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/inter-var.woff2) format('woff2'); }

:root {
  --blanc: #ffffff; --fond: #f4f7fc; --ciel-50: #eef6ff; --ciel-100: #e2effd; --ciel-200: #c9e2fb; --ciel-300: #9ccbf5;
  --ciel: #36a6f5; --azur: #1e88e5; --azur-fonce: #0d64b8;
  --encre: #1d2a44; --nuit: #13213a; --nuit-2: #1d3150; --texte: #1d2a44; --gris: #5b6780; --gris-2: #8a94a8; --gris-n: #b5c3d3; --txt-n: #f3f7fb;
  --trait: #e3eaf3; --trait-2: rgba(29, 42, 68, .18); --trait-n: rgba(255, 255, 255, .14);
  --orange: #ff7a59; --orange-2: #ff9472; --or: #ffc53d; --route: #aeb8c6;
  --titre: 'Jakarta', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 18px; --r-m: 16px; --r-s: 12px; --ease: cubic-bezier(.22, 1, .36, 1); --tete: 76px;
  --ombre: 0 20px 44px -22px rgba(29, 42, 68, .3); --ombre-s: 0 10px 28px -16px rgba(29, 42, 68, .26);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
* { -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--tete) + 12px); }
body { margin: 0; background: var(--blanc); color: var(--texte); font: 400 16.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
main { background: var(--blanc); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, address, pre { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
a, button, select, input, textarea { touch-action: manipulation; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--azur); outline-offset: 3px; border-radius: 8px; }
.planche { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.evite { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--nuit); color: #fff; font-weight: 700; }
.evite:focus { left: 8px; }
.in { width: min(1140px, 100% - 32px); margin-inline: auto; }
.cache { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bandeau-pre { padding: 7px 16px; background: var(--nuit); color: #cfdcea; font-size: 13px; text-align: center; text-wrap: balance; }

/* ---------- Titres et textes : mi-normal, mi-gras ---------- */
.kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; font: 700 12.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--azur); }
.kicker .ic { width: 18px; height: 18px; fill: var(--ciel); stroke: none; }
.t1 { font: 500 clamp(30px, 4.4vw, 46px)/1.18 var(--titre); letter-spacing: -.025em; text-wrap: balance; color: var(--encre); }
.t1-p { max-width: 24ch; }
.t2 { font: 500 clamp(26px, 3.3vw, 38px)/1.2 var(--titre); letter-spacing: -.022em; text-wrap: balance; max-width: 26ch; color: var(--encre); }
.t1 em, .t2 em { font-style: normal; font-weight: 800; }
.chapo { margin-top: 14px; max-width: 60ch; font-size: clamp(16px, 1.5vw, 18px); line-height: 1.6; color: var(--gris); text-wrap: pretty; }
.note { margin-top: 24px; font-size: 14.5px; color: var(--gris); }
.note a, .prose a, .q a, .parcours a, .liste-c a, .formu-note a { color: var(--azur-fonce); font-weight: 600; text-underline-offset: 3px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.in.c, .in-c { text-align: center; }
.in.c > .t2, .in.c > .chapo, .in.c > .note, .in-c > .t2, .in-c > .chapo, .note.in-c { margin-inline: auto; }
.in.c > :not(.kicker):not(.t2):not(.chapo):not(.note) { text-align: start; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 999px; font: 700 15.5px/1.1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .15s ease-out, box-shadow .2s ease-out, filter .15s ease-out; }
.btn:active { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; stroke-width: 2.3; }
.btn-l { min-height: 54px; padding: 0 28px; font-size: 16.5px; }
.btn-p { background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: var(--nuit); box-shadow: 0 14px 28px -14px rgba(255, 122, 89, .8); }
.btn-p:hover { filter: brightness(1.04) saturate(1.06); }
.btn-n { background: var(--nuit); color: #fff; }
.btn-n:hover { background: var(--nuit-2); }
.btn-n .ic { color: #8fd0ff; }
.btn-b { border-color: var(--trait); background: var(--blanc); color: var(--encre); box-shadow: var(--ombre-s); }
.btn-b:hover { border-color: var(--ciel-300); }
.btn-b .ic { color: var(--azur); }
.btn-s { border-color: rgba(255, 255, 255, .35); color: var(--txt-n); }
.btn-s:hover { border-color: #fff; background: rgba(255, 255, 255, .07); }
.btn-s-c { border-color: var(--trait-2); background: var(--blanc); color: var(--encre); }
.btn-s-c:hover { border-color: var(--azur); }
.rond { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); color: var(--encre); transition: background-color .15s ease-out; }
.rond:hover { background: var(--ciel-50); }
.rond-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); }
.rond-ic .ic { width: 24px; height: 24px; stroke-width: 1.6; }

/* ---------- En-tête : simple et clair, une ombre quand on fait défiler ---------- */
.tete { position: sticky; top: 0; z-index: 40; background: rgba(244, 247, 252, .9); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid transparent; transition: box-shadow .2s ease-out, border-color .2s ease-out, background-color .2s ease-out; }
.tete.ombre { background: rgba(255, 255, 255, .94); border-bottom-color: var(--trait); box-shadow: 0 10px 30px -22px rgba(29, 42, 68, .45); }
.tete-in { display: flex; align-items: center; gap: 22px; min-height: var(--tete); }
.logo { flex: none; display: grid; place-items: center; height: 50px; padding: 0 12px; border-radius: 12px; background: var(--nuit); }
.logo img { width: auto; height: 38px; }
.menu { display: none; gap: 4px; margin-inline-start: auto; }
.menu a { position: relative; padding: 10px 12px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--encre); transition: color .15s ease-out; }
.menu a:hover { color: var(--azur); }
.menu a[aria-current] { color: var(--azur-fonce); font-weight: 700; }
.menu a[aria-current]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ciel); }
.tete-act { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.tete-tel { display: none; align-items: center; gap: 8px; padding: 10px; font-weight: 600; font-size: 15px; text-decoration: none; font-variant-numeric: tabular-nums; }
.tete-tel .ic { color: var(--azur); }
.tete-lieu { display: none; place-items: center; width: 46px; height: 46px; border: 1px solid var(--trait); border-radius: 50%; background: var(--blanc); color: var(--encre); transition: border-color .15s ease-out, color .15s ease-out; }
.tete-lieu:hover { border-color: var(--ciel); color: var(--azur); }
.tete .btn-p { display: none; min-height: 44px; padding: 0 20px; border-color: var(--encre); background: transparent; color: var(--encre); font-size: 14.5px; box-shadow: none; filter: none; }
.tete .btn-p:hover { background: var(--encre); color: #fff; }
.burger { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 12px; background: transparent; color: var(--encre); }
.burger .ic { width: 26px; height: 26px; stroke-width: 1.8; }
@media (min-width: 480px) { .tete .btn-p { display: inline-flex; } }
@media (min-width: 1020px) { .menu { display: flex; } .tete-act { margin-inline-start: 0; } .burger { display: none; } }
@media (min-width: 1180px) { .tete-tel { display: inline-flex; } .tete-lieu { display: grid; } }

/* Menu du téléphone : une feuille qui monte du bas de l'écran (<dialog>) */
.tiroir { width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; padding: 0; border: 0; border-radius: 26px 26px 0 0; background: var(--blanc); color: var(--texte); overflow: auto; box-shadow: 0 -20px 50px -20px rgba(29, 42, 68, .35); }
.tiroir::backdrop { background: rgba(19, 33, 58, .45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.tiroir-in { display: flex; flex-direction: column; gap: 8px; padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); }
.tiroir-in::before { content: ''; width: 44px; height: 5px; margin: 0 auto 6px; border-radius: 3px; background: #d3dde9; }
.tiroir-tete { display: flex; align-items: center; justify-content: space-between; }
.tiroir-tete .logo { height: 48px; } .tiroir-tete .logo img { height: 36px; }
.tiroir-statut { min-height: 32px; }
.tiroir-nav { display: grid; }
.tiroir-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 10px 4px; border-bottom: 1px solid var(--trait); font: 600 19px/1.2 var(--titre); letter-spacing: -.01em; text-decoration: none; }
.tiroir-nav .ic { color: var(--azur); }
.tiroir-pied { display: grid; gap: 10px; margin-top: 8px; }
.tiroir-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiroir-duo .btn { padding-inline: 12px; }
.tiroir[open] { animation: glisse .34s var(--ease); }
@keyframes glisse { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.s { padding: clamp(56px, 7.5vw, 96px) 0; }
.s-blanc { background: var(--blanc); }
.s-ciel { background: var(--fond); }
/* Les blocs forts (inscription, rappel, pack accéléré) : des panneaux bleu nuit arrondis, posés dans la page claire */
.s-noir { padding: 0 0 clamp(40px, 6vw, 72px); background: var(--blanc); }
.tete-p + .s-noir { padding-top: 8px; background: var(--fond); }
.s-noir > .in, .panneau { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; background: var(--nuit); color: var(--txt-n); }
.s-noir > .in { padding: clamp(28px, 4.6vw, 56px); }
.s-noir > .in::before, .panneau::before { content: ''; position: absolute; z-index: -1; inset: auto -12% -70% 30%; height: 120%; border-radius: 50%; background: radial-gradient(closest-side, rgba(54, 166, 245, .35), rgba(54, 166, 245, 0)); pointer-events: none; }
.s-noir .kicker, .panneau .kicker { color: #8fd0ff; }
.s-noir .kicker .ic, .panneau .kicker .ic { fill: #8fd0ff; }
.s-noir .t2, .panneau .t2 { color: #fff; }
.s-noir .chapo, .panneau .chapo { color: var(--gris-n); }

/* ---------- Nuages (Nimbus = nuage) ---------- */
.ciel { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.nuage { position: absolute; width: var(--w, 140px); pointer-events: none; }
.nuage svg { width: 100%; height: auto; fill: url(#g-nuage); filter: drop-shadow(0 12px 16px rgba(30, 110, 190, .12)); animation: derive var(--d, 12s) ease-in-out infinite alternate; }
@keyframes derive { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
.n-panneau { --w: 380px; right: -70px; bottom: -60px; z-index: -1; opacity: .07; }
.n-panneau svg { fill: #fff; filter: none; animation: none; }

/* ---------- Accueil : l'ouverture ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #e8f2fd 0%, #f1f7fd 58%, #f4f8fc 100%); }
.hero .n1 { --w: 130px; --d: 13s; top: 8%; left: 3%; opacity: .9; }
.hero .n2 { --w: 104px; --d: 16s; top: 14%; right: 5%; opacity: .9; }
.hero .n2 svg { animation-delay: -6s; }
.hero-in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; padding: clamp(20px, 3.4vw, 40px) 0 clamp(4px, 1vw, 10px); text-align: center; }
.insec { white-space: nowrap; }
.hero-lieu { min-height: 46px; margin-bottom: clamp(12px, 2vw, 18px); }
.pastille { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; min-height: 46px; padding: 6px 16px 6px 7px; border: 1px solid var(--trait); border-radius: 23px; background: var(--blanc); box-shadow: var(--ombre-s); color: var(--encre); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: border-color .15s ease-out; }
.pastille:hover { border-color: var(--ciel); }
.pastille-a { display: inline-flex; align-items: center; gap: 7px; padding-inline-start: 6px; }
.pastille-a .ic { width: 17px; height: 17px; color: var(--azur); }
.pastille .lg { display: none; }
@media (min-width: 560px) { .pastille .lg { display: inline; } }
@media (max-width: 559px) { .statut:not([hidden]) + .pastille-a .pastille-t { display: none; } .statut:not([hidden]) + .pastille-a { padding-inline: 2px 0; } .pastille:has(.statut:not([hidden])) { padding-inline-end: 12px; } }
.hero-t { max-width: 40ch; font: 500 clamp(29px, 3.5vw, 44px)/1.22 var(--titre); letter-spacing: -.025em; color: var(--encre); text-wrap: balance; }
.hero-t b { font-weight: 800; }
.coupe { display: none; }
@media (min-width: 900px) { .coupe { display: inline; } }
/* le champ en pilule : on choisit un permis, le bouton mène à son forfait */
.cherche { display: flex; align-items: center; gap: 6px; width: min(580px, 100%); margin-top: clamp(20px, 3vw, 32px); padding: 6px 6px 6px 18px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); box-shadow: 0 18px 44px -24px rgba(29, 42, 68, .45); }
.cherche:focus-within { border-color: var(--ciel); box-shadow: 0 0 0 4px rgba(54, 166, 245, .2), 0 18px 44px -24px rgba(29, 42, 68, .45); }
.cherche-ic { flex: none; display: grid; color: var(--gris-2); }
.cherche-ic .ic { width: 22px; height: 22px; }
.cherche select { flex: 1; min-width: 0; min-height: 50px; padding: 0 28px 0 4px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%238a94a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 4px center / 18px; color: var(--encre); font-size: 16px; text-overflow: ellipsis; -webkit-appearance: none; appearance: none; outline: none; }
.cherche .btn { flex: none; min-height: 50px; padding: 0 24px; font-size: 16px; }
.cherche .btn .ic { order: 2; }
.hero-infos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; margin-top: 16px; }
.hero-avis { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; min-height: 44px; font-size: 15px; color: var(--gris); text-decoration: none; }
.hero-avis b { color: var(--encre); }
.hero-infos .pastille { min-height: 44px; padding: 5px 14px 5px 6px; box-shadow: none; }
.etoiles { display: inline-flex; gap: 2px; }
.etoiles .ic { width: 19px; height: 19px; fill: var(--or); stroke: none; }
/* l'illustration de rue (dessinée pour Nimbus) */
.rue-cadre { position: relative; z-index: 1; }
.rue { display: block; width: 100%; height: clamp(250px, 33.34vw, 490px); }
.rue text { font-family: var(--titre); text-rendering: geometricPrecision; } /* sans cela, Chrome arrondit l'espacement des lettres à très petite taille (« ÉCO LE ») */
.r-enseigne { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; }
.r-toit { font-size: 8.4px; font-weight: 800; letter-spacing: .05em; fill: #1d80d8; }
.r-prix { font-size: 9px; font-weight: 800; fill: #13213a; }
.r-num { font-size: 8px; font-weight: 700; fill: #fff; }
.r-ville { fill: #e2ecf7; }
.r-ville-2 { fill: #d6e4f3; }
.r-nuage { fill: url(#g-nuage); animation: r-derive 20s ease-in-out infinite alternate; }
.r-nuage.n2 { animation-duration: 26s; animation-delay: -9s; }
.r-nuage.n3 { animation-duration: 23s; animation-delay: -4s; }
.r-lignes { fill: #eef2f7; animation: r-route 1.05s linear infinite; }
.r-caisse { animation: r-caisse .5s ease-in-out infinite alternate; }
.r-jante { transform-box: fill-box; transform-origin: center; animation: r-tourne .55s linear infinite; }
.r-bras { transform-origin: 823px 360px; animation: r-salut .9s ease-in-out infinite alternate; }
.r-flotte { animation: r-flotte 3.2s ease-in-out infinite alternate; }
.r-flotte.f2 { animation-delay: -1.1s; animation-duration: 3.8s; } .r-flotte.f3 { animation-delay: -2.2s; animation-duration: 3.5s; }
@keyframes r-derive { to { transform: translateX(26px); } }
@keyframes r-route { to { transform: translateX(-70px); } }
@keyframes r-caisse { to { transform: translateY(-1.6px); } }
@keyframes r-tourne { to { transform: rotate(360deg); } }
@keyframes r-salut { from { transform: rotate(8deg); } to { transform: rotate(-14deg); } }
@keyframes r-flotte { to { transform: translateY(-7px); } }
.rue.pause, .rue.pause * { animation-play-state: paused !important; }
/* trois cartes posées sur la route */
.hero-bas { position: relative; z-index: 2; background: linear-gradient(180deg, var(--route) 0, var(--route) 52%, var(--blanc) 52%); }
.hero-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 900px; margin: clamp(-40px, -2.6vw, -20px) auto 0; padding-bottom: clamp(8px, 2vw, 18px); }
.hc { display: grid; justify-items: center; align-content: start; gap: 12px; height: 100%; padding: 26px 22px 24px; border-radius: var(--r); background: var(--blanc); box-shadow: 0 22px 46px -24px rgba(29, 42, 68, .38); color: var(--encre); font-size: 15px; line-height: 1.45; text-align: center; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.hc .ic { width: 40px; height: 40px; stroke-width: 1.4; color: var(--azur); }
a.hc:hover { transform: translateY(-4px); box-shadow: 0 28px 52px -24px rgba(29, 42, 68, .45); }
.hc-go { display: none; }

/* ---------- Comment ça marche ? ---------- */
.comment { padding: clamp(26px, 4vw, 46px); border: 1px solid var(--trait); border-radius: 24px; background: var(--fond); }
.comment-l { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); margin-top: clamp(22px, 3vw, 32px); }
.comment-l li { display: grid; align-content: start; gap: 12px; }
.comment-ill svg { width: 150px; height: auto; }
.ill-euro { font: 800 30px var(--titre); fill: #fff; }
.comment-txt { display: flex; align-items: flex-start; gap: 12px; }
.comment-n { flex: none; font: 800 38px/.9 var(--titre); color: var(--azur); font-variant-numeric: tabular-nums; }
.comment-txt h3 { font: 700 17.5px/1.3 var(--titre); letter-spacing: -.01em; }
.comment-txt p { margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--gris); }
.comment .actions { margin-top: clamp(22px, 3vw, 32px); }

/* ---------- Les permis proposés ---------- */
.permis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.permis-c { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 16px 16px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); text-decoration: none; box-shadow: var(--ombre-s); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .15s ease-out; }
.permis-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 4px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); }
.permis-ic .ic { width: 30px; height: 30px; stroke-width: 1.5; }
.permis-c h3 { font: 700 17.5px/1.25 var(--titre); letter-spacing: -.01em; }
.permis-c p { display: none; font-size: 15px; line-height: 1.5; color: var(--gris); }
.permis-prix { margin-top: auto; padding-top: 4px; font-size: 13.5px; color: var(--gris); }
.permis-prix b { font: 800 21px var(--titre); letter-spacing: -.02em; color: var(--encre); }
.permis-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); transition: background-color .2s ease-out, color .2s ease-out; }
.permis-go .ic { width: 17px; height: 17px; stroke-width: 2.3; transform: rotate(-45deg); }
.permis-c:active { transform: scale(.97); }
@media (hover: hover) { .permis-c:hover { transform: translateY(-4px); border-color: var(--ciel-200); box-shadow: var(--ombre); } .permis-c:hover .permis-go { background: var(--orange); color: var(--nuit); } }
@media (min-width: 900px) { .permis { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; } .permis-c { padding: 24px 22px 22px; } .permis-c p { display: block; } .permis-ic { width: 62px; height: 62px; } .permis-c h3 { font-size: 19px; } }

/* ---------- Forfaits : Voiture / Deux-roues, heures et pack accéléré ---------- */
.forfaits-ctrl { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; max-width: 760px; margin: 26px auto 0; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; flex: 1 1 300px; max-width: 380px; padding: 5px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); box-shadow: var(--ombre-s); }
.seg button { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border: 0; border-radius: 999px; background: none; color: var(--gris); font-size: 16px; font-weight: 700; transition: background-color .2s ease-out, color .2s ease-out, transform .15s ease-out; }
.seg .sel { background: var(--nuit); color: #fff; }
.seg .ic { width: 22px; height: 22px; }
.bascule { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 11px; flex: 1 1 300px; max-width: 380px; min-height: 60px; padding: 8px 12px 8px 16px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); color: var(--encre); text-align: start; box-shadow: var(--ombre-s); transition: border-color .2s ease-out, background-color .2s ease-out, transform .15s ease-out; }
.bascule > .ic { width: 20px; height: 20px; color: var(--orange); }
.bascule b { display: block; font-size: 15px; font-weight: 700; line-height: 1.25; }
.bascule small { display: block; font-size: 12.5px; color: var(--gris); }
.bascule em { font-style: normal; font-size: 14.5px; font-weight: 800; color: var(--azur-fonce); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bascule-b { position: relative; width: 48px; height: 30px; border-radius: 15px; background: #cfd8e3; transition: background-color .2s ease-out; }
.bascule-b::after { content: ''; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .26s var(--ease); }
.bascule.sel { border-color: var(--orange); background: #fff6f2; }
.bascule.sel .bascule-b { background: var(--orange); }
.bascule.sel .bascule-b::after { transform: translateX(18px); }
.seg button:active, .bascule:active, .puce:active { transform: scale(.96); }
.forfaits-titre { margin-top: 30px; font: 700 22px var(--titre); }
.forfaits.pret .forfaits-titre { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rail { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 16px; margin-top: 26px; }
.rail > .forfait { flex: 0 1 calc((100% - 16px) / 2); }
@media (min-width: 1000px) { .rail > .forfait { flex-basis: calc((100% - 32px) / 3); } }
.rail-points { display: none; }
.forfait { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); scroll-margin-top: calc(var(--tete) + 20px); }
.forfait header { display: grid; justify-items: start; gap: 4px; }
.forfait h4 { font: 800 21px/1.15 var(--titre); letter-spacing: -.02em; }
.forfait header p { font-size: 14px; color: var(--gris); }
.vedette-b { margin-bottom: 6px; padding: 5px 11px; border-radius: 999px; background: var(--ciel-100); color: var(--azur-fonce); font-size: 12px; font-weight: 800; letter-spacing: .01em; }
.puces { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.puce { display: inline-flex; align-items: center; justify-content: center; min-width: 64px; min-height: 44px; padding: 0 16px; border: 1px solid var(--trait-2); border-radius: 999px; background: var(--blanc); color: var(--encre); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out, transform .15s ease-out; }
.puce.sel { border-color: var(--nuit); background: var(--nuit); color: #fff; }
.puce.fixe { border-color: var(--ciel-100); background: var(--ciel-50); color: var(--azur-fonce); }
.puces small { margin-inline-start: 4px; font-size: 13px; color: var(--gris); }
.forfait-prix { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 7px; }
.forfait-prix b { display: inline-block; font: 800 44px/1 var(--titre); letter-spacing: -.04em; font-variant-numeric: tabular-nums; transform-origin: left center; transition: color .25s ease-out; }
.forfait-prix small { font-size: 13px; font-weight: 600; color: var(--gris); }
.avec-pack .forfait-prix b { color: var(--azur); }
.saut { animation: saut .42s var(--ease); }
@keyframes saut { 40% { transform: scale(1.08); } }
.forfait-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.forfait-badges span { padding: 4px 10px; border-radius: 999px; background: var(--ciel-50); color: var(--azur-fonce); font-size: 12px; font-weight: 700; }
.forfait-pack { padding: 8px 12px; border-radius: 10px; background: #fff3ee; color: #b5441f; font-size: 13px; font-weight: 700; line-height: 1.35; }
.forfait-pack.non { background: #f1f4f8; color: var(--gris); }
.forfait .btn { width: 100%; }
.forfait-inclus { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed var(--trait-2); }
.forfait-inclus li { display: flex; align-items: flex-start; gap: 9px; font-size: 14.5px; line-height: 1.4; }
.forfait-inclus .ic { width: 19px; height: 19px; margin-top: 1px; padding: 3px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); stroke-width: 3.2; }
.forfait-phrase { padding-top: 14px; border-top: 1px dashed var(--trait-2); font-size: 14.5px; line-height: 1.5; color: var(--gris); }
.forfait.repere { animation: repere 1.8s var(--ease); }
@keyframes repere { 0%, 100% { box-shadow: var(--ombre-s); } 25%, 60% { box-shadow: 0 0 0 4px var(--orange), var(--ombre); } }
/* la carte mise en avant, en bleu nuit */
.forfait.vedette { border-color: var(--nuit); background: var(--nuit); color: #fff; box-shadow: 0 30px 56px -28px rgba(19, 33, 58, .65); }
.vedette .vedette-b { background: var(--ciel); color: var(--nuit); }
.vedette header p, .vedette .forfait-prix small, .vedette .puces small { color: var(--gris-n); }
.vedette .puce { border-color: rgba(255, 255, 255, .28); background: transparent; color: #fff; }
.vedette .puce.sel { border-color: var(--ciel); background: var(--ciel); color: var(--nuit); }
.vedette.avec-pack .forfait-prix b { color: #8fd0ff; }
.vedette .forfait-badges span { background: rgba(143, 208, 255, .16); color: #b3e0ff; }
.vedette .forfait-pack { background: rgba(255, 148, 114, .18); color: #ffc2ad; }
.vedette .forfait-inclus { border-top-color: rgba(255, 255, 255, .2); }
.vedette .forfait-inclus li { color: #d8e5f2; }
.vedette .forfait-inclus .ic { background: rgba(143, 208, 255, .18); color: #8fd0ff; }
@media (max-width: 759px) {
  /* téléphone : les cartes défilent de côté, la suivante dépasse pour inviter à glisser */
  .rail { flex-wrap: nowrap; justify-content: flex-start; gap: 12px; margin: 22px -16px 0; padding: 4px 16px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; overscroll-behavior-x: contain; scrollbar-width: none; }
  .rail::-webkit-scrollbar { display: none; }
  .rail > .forfait { flex: 0 0 84%; scroll-snap-align: start; padding: 22px 18px 20px; }
  .forfait-prix b { font-size: 40px; }
  .rail-points { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
  .rail-points i { width: 7px; height: 7px; border-radius: 4px; background: var(--ciel-200); transition: width .25s var(--ease), background-color .25s ease-out; }
  .rail-points i.on { width: 22px; background: var(--azur); }
  .forfaits-ctrl { gap: 10px; }
  .seg, .bascule { flex-basis: 100%; max-width: none; }
}

/* ---------- L'appli des élèves ---------- */
.appli { display: grid; gap: 28px; align-items: center; }
@media (min-width: 960px) { .appli { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.appli-points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; margin-top: 26px; max-width: 560px; }
.appli-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--gris); }
.appli-points b { display: block; margin-bottom: 2px; font-size: 15.5px; color: var(--encre); }
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.store { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 8px 22px 8px 16px; border-radius: 14px; background: var(--nuit); color: #fff; text-decoration: none; transition: background-color .15s ease-out, transform .15s ease-out; }
.store:hover { background: var(--nuit-2); }
.store:active { transform: scale(.97); }
.store.moi { order: -1; background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: var(--nuit); }
.store .ic { width: 22px; height: 22px; }
.store small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; line-height: 1.2; text-transform: uppercase; opacity: .75; }
.store b { display: block; font: 800 16px/1.2 var(--titre); white-space: nowrap; }
.appli-web a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 6px; font-size: 14.5px; font-weight: 600; color: var(--gris); text-underline-offset: 4px; }
.appli-web .ic { width: 18px; height: 18px; }
/* le téléphone dessiné (illustration neutre, pas une capture de l'appli) */
.appli-vis { position: relative; display: grid; place-items: center; min-height: 500px; }
.appli-vis::before { content: ''; position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(54, 166, 245, .22), rgba(54, 166, 245, 0)); }
.n-appli { --w: 220px; --d: 13s; top: 4%; left: 0; }
.tel { position: relative; z-index: 2; width: 246px; aspect-ratio: 246 / 500; padding: 10px; border-radius: 42px; background: var(--nuit); box-shadow: 0 40px 70px -36px rgba(19, 33, 58, .55), inset 0 0 0 2px #2a4058; transform: rotate(-5deg); }
.tel::before { content: ''; position: absolute; z-index: 2; top: 20px; left: 50%; width: 76px; height: 22px; border-radius: 12px; background: var(--nuit); transform: translateX(-50%); }
.tel-ecran { display: flex; flex-direction: column; gap: 11px; height: 100%; padding: 50px 15px 14px; border-radius: 33px; background: linear-gradient(180deg, #f6fbff, #e2f0ff); overflow: hidden; }
.sk { display: block; height: 9px; border-radius: 6px; background: #d2e4f5; }
.sk.b { background: rgba(255, 255, 255, .7); }
.sk-l35 { width: 35%; } .sk-l40 { width: 40%; } .sk-l45 { width: 45%; } .sk-l55 { width: 55%; } .sk-l60 { width: 60%; } .sk-l70 { width: 70%; }
.sk-tete { display: flex; align-items: center; justify-content: space-between; padding: 0 2px 2px; }
.sk-tete .sk { height: 12px; }
.sk-rond { width: 28px; height: 28px; border-radius: 50%; background: #bfe0ff; }
.sk-carte { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, #4ab3f8, #1e88e5); box-shadow: 0 14px 24px -14px rgba(30, 136, 229, .8); }
.sk-carte > div, .sk-ligne > div { display: grid; flex: 1; gap: 7px; }
.sk-anneau { width: 54px; height: 54px; flex: none; transform: rotate(-90deg); }
.sk-anneau circle { fill: none; stroke-width: 5; }
.sk-anneau .f { stroke: rgba(255, 255, 255, .3); }
.sk-anneau .v { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 30; }
.sk-ligne { display: flex; align-items: center; gap: 10px; padding: 11px; border-radius: 14px; background: #fff; box-shadow: 0 8px 18px -12px rgba(29, 42, 68, .3); }
.sk-ic { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--ciel-50); color: var(--azur); }
.sk-ic .ic { width: 18px; height: 18px; }
.sk-onglets { display: flex; justify-content: space-around; margin-top: auto; padding: 12px 10px; border-radius: 16px; background: #fff; }
.sk-onglets i { width: 24px; height: 6px; border-radius: 4px; background: #d2e4f5; }
.sk-onglets .on { background: var(--orange); }
.js .appli-vis.rev .sk-anneau .v { stroke-dashoffset: 100; }
.js .appli-vis.rev.vu .sk-anneau .v { stroke-dashoffset: 30; transition: stroke-dashoffset 1.6s .5s var(--ease); }
.js .appli-vis.rev .sk-ligne { opacity: 0; transform: translateX(16px); }
.js .appli-vis.rev.vu .sk-ligne { opacity: 1; transform: none; transition: opacity .6s ease-out, transform .6s var(--ease); }
.js .appli-vis.rev.vu .sk-ligne:nth-of-type(3) { transition-delay: .55s; } .js .appli-vis.rev.vu .sk-ligne:nth-of-type(4) { transition-delay: .7s; } .js .appli-vis.rev.vu .sk-ligne:nth-of-type(5) { transition-delay: .85s; }
.qr-carte { position: absolute; z-index: 3; left: 2%; bottom: 7%; display: grid; justify-items: center; gap: 10px; width: 196px; padding: 14px 14px 13px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre); text-align: center; }
.qr { padding: 10px; border-radius: 12px; background: var(--fond); border: 1px solid var(--trait); }
.qr-svg { width: 132px; height: 132px; fill: var(--nuit); }
.qr-carte p { font-size: 13px; line-height: 1.35; color: var(--gris); }
.qr-carte b { display: block; font: 800 16px/1.3 var(--titre); color: var(--encre); }
@media (max-width: 759px) {
  .appli-vis { order: -1; min-height: 0; height: 250px; overflow: hidden; -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .tel { width: 200px; margin-top: 30px; align-self: start; }
  .qr-carte { display: none; }
  .n-appli { --w: 160px; left: -20px; top: 10%; }
  .appli-points { gap: 16px 12px; margin-top: 22px; }
  .appli-points .rond-ic { width: 42px; height: 42px; }
  .stores .store { flex: 1 1 140px; padding-inline: 12px 16px; }
}

/* ---------- Chiffres ---------- */
.reperes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.repere { position: relative; display: grid; align-content: start; gap: 6px; overflow: hidden; padding: 22px 18px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); text-decoration: none; }
.repere b { display: block; font: 800 clamp(28px, 4.6vw, 42px)/1 var(--titre); letter-spacing: -.035em; color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.repere span { font-size: 14.5px; line-height: 1.4; color: var(--gris); }
.repere-avis { border-color: var(--nuit); background: var(--nuit); }
.repere-avis b { color: #fff; }
.repere-avis span { color: var(--gris-n); }
.repere-avis .etoiles { margin-bottom: 4px; }
.repere .repere-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; color: #8fd0ff; font-size: 14px; font-weight: 700; }
.repere-lien .ic { width: 16px; height: 16px; stroke-width: 2.4; }
@media (min-width: 860px) { .reperes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; } .repere { padding: 28px 24px; } }

/* ---------- Listes à coches ---------- */
.coches, .liste-c { display: grid; gap: 11px; }
.coches li, .liste-c li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; line-height: 1.45; }
.coches .ic, .liste-c .ic { width: 20px; height: 20px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); stroke-width: 3.2; }
.s-noir .coches .ic { background: rgba(143, 208, 255, .2); color: #8fd0ff; }
.liste-c { align-content: start; gap: 16px; }
.liste-c li { font-size: 16.5px; }

/* ---------- Financements ---------- */
.carte-va { display: inline-flex; align-items: center; gap: 7px; padding-top: 14px; margin-top: 6px; font-weight: 700; font-size: 15px; color: var(--encre); }
.carte-va .ic { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); stroke-width: 2.4; transition: transform .2s var(--ease), background-color .2s ease-out, color .2s ease-out; }
a:hover > .carte-va .ic { transform: translateX(4px); background: var(--orange); color: var(--nuit); }
.aides { display: grid; gap: 14px; margin-top: 36px; }
.aide { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 22px 20px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); text-decoration: none; transition: transform .25s var(--ease), border-color .15s ease-out, box-shadow .25s var(--ease); }
.aide-m { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--ciel-50); color: var(--azur-fonce); font-weight: 700; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.aide h3 { margin-top: 6px; font: 700 19px/1.25 var(--titre); letter-spacing: -.015em; }
.aide p { font-size: 15px; line-height: 1.5; color: var(--gris); }
.aide .carte-va { margin-top: auto; }
@media (hover: hover) { .aide:hover { transform: translateY(-4px); border-color: var(--ciel-200); box-shadow: var(--ombre); } }
@media (min-width: 640px) { .aides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .aides { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Pourquoi Nimbus ---------- */
.atouts { display: grid; gap: 14px; margin-top: 36px; }
.atout { padding: 24px 22px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); }
.atout > .rond-ic { margin-bottom: 14px; }
.atout h3 { font: 700 18.5px/1.25 var(--titre); letter-spacing: -.01em; }
.atout p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--gris); }
.atout-img { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; background: var(--fond); box-shadow: none; }
.atout-img img { width: 92px; border-radius: 10px; }
@media (min-width: 700px) { .atouts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .atouts { grid-template-columns: repeat(12, minmax(0, 1fr)); } .atout { grid-column: span 3; } .atout-img { grid-column: span 6; grid-template-columns: 116px minmax(0, 1fr); gap: 24px; padding: 28px 26px; } .atout-img img { width: 116px; } }

/* ---------- Parcours et étapes ---------- */
.parcours { display: grid; gap: 0; margin-top: 36px; }
.parcours li { position: relative; padding: 0 0 30px 74px; }
.parcours li::before { content: ''; position: absolute; left: 26px; top: 56px; bottom: 0; width: 2px; background: var(--ciel-200); }
.parcours li:last-child { padding-bottom: 0; }
.parcours li:last-child::before { display: none; }
.num { position: absolute; left: 0; top: 0; display: grid; place-items: center; min-width: 54px; height: 54px; padding: 0 12px; border-radius: 999px; background: var(--blanc); box-shadow: inset 0 0 0 2px var(--ciel-200), var(--ombre-s); color: var(--azur); font: 800 20px/1 var(--titre); font-variant-numeric: tabular-nums; white-space: nowrap; }
.etape { padding-top: 4px; font: 700 12px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--azur); }
.parcours h3 { padding-top: 6px; font: 700 19px/1.25 var(--titre); letter-spacing: -.01em; }
.parcours p:not(.etape) { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--gris); max-width: 46ch; }
.parcours-c li h3 { padding-top: 14px; }
.route { position: relative; margin-top: 36px; }
.route .parcours { margin-top: 0; }
.route .num { z-index: 2; transition: background .45s var(--ease), color .45s var(--ease), box-shadow .45s var(--ease); }
.route-rail { position: absolute; z-index: 1; pointer-events: none; opacity: 0; }
.route.pret .route-rail { opacity: 1; }
.route-rail i { position: absolute; inset: 0; border-radius: 2px; background: var(--ciel); transform-origin: left top; }
.route-rail b { position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255, 122, 89, .25), 0 0 20px 6px rgba(255, 122, 89, .4); }
.route.h .route-rail { height: 2px; } .route.h .route-rail i { transform: scaleX(var(--p, 0)); } .route.h .route-rail b { top: -6px; left: calc(var(--p, 0) * 100% - 7px); }
.route.v .route-rail { width: 2px; } .route.v .route-rail i { transform: scaleY(var(--p, 0)); } .route.v .route-rail b { left: -6px; top: calc(var(--p, 0) * 100% - 7px); }
.route.pret li { opacity: .5; transition: opacity .5s ease-out; }
.route.pret li.fait { opacity: 1; }
.route li.fait .num { background: var(--azur); color: #fff; box-shadow: 0 0 0 7px rgba(30, 136, 229, .16); }
@media (min-width: 900px) {
  .parcours { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
  .parcours-c { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .parcours li { padding: 80px 0 0; }
  .parcours li::before { left: 66px; right: -28px; top: 26px; bottom: auto; width: auto; height: 2px; }
}

/* ---------- S'y rendre ---------- */
.deux, .accel, .inscr { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .deux, .inscr { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } .accel { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; align-items: center; } }
.acces { display: grid; gap: 34px; align-items: start; }
@media (min-width: 960px) { .acces { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } .acces-txt { position: sticky; top: calc(var(--tete) + 24px); } }
.acces-statut { min-height: 32px; margin-top: 18px; }
.acces .actions { margin-top: 18px; }
.horaires { display: grid; margin-top: 26px; max-width: 480px; }
.horaires li { display: flex; justify-content: space-between; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--trait); font-size: 16px; }
.horaires b { font-weight: 700; text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.horaires span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.horaires .auj span { font-weight: 700; }
.horaires .auj span::after { content: 'aujourd’hui'; padding: 3px 9px; border-radius: 999px; background: var(--ciel-100); color: var(--azur-fonce); font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.acces-gares { display: grid; gap: 14px; margin-top: 24px; max-width: 480px; }
.acces-gares li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; line-height: 1.45; color: var(--gris); }
.acces-gares b { display: block; color: var(--encre); font-weight: 700; }
.acces-gares .ic { width: 22px; height: 22px; margin-top: 1px; color: var(--azur); }
.acces-liens { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.acces-liens a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 15px; border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); font-size: 14.5px; font-weight: 600; text-decoration: none; font-variant-numeric: tabular-nums; transition: border-color .15s ease-out; }
.acces-liens a:hover { border-color: var(--ciel); }
.acces-liens .ic { width: 18px; height: 18px; color: var(--azur); }
.plan-carte { position: relative; overflow: hidden; border: 1px solid var(--trait); border-radius: 22px; background: var(--blanc); box-shadow: var(--ombre); }
.plan-lien { display: block; aspect-ratio: 1; }
.plan { width: 100%; height: 100%; }
.plan text { font-family: var(--sans); text-anchor: middle; paint-order: stroke; stroke: #fff; stroke-width: 11px; stroke-linejoin: round; fill: var(--nuit); }
.plan .plan-n { font-size: 40px; font-weight: 800; }
.plan .plan-d { font-size: 32px; font-weight: 500; fill: #4f5d6c; }
.plan .plan-nous { fill: var(--azur-fonce); }
.plan-halo { fill: none; stroke: rgba(54, 166, 245, .25); stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; }
.plan-chemin { fill: none; stroke: var(--azur); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .plan-carte.rev .plan-chemin, .js .plan-carte.rev .plan-halo { stroke-dasharray: 1; stroke-dashoffset: 1; }
.js .plan-carte.rev.vu .plan-chemin, .js .plan-carte.rev.vu .plan-halo { stroke-dashoffset: 0; transition: stroke-dashoffset 2.4s .35s var(--ease); }
.plan-gare { fill: #fff; stroke: var(--nuit); stroke-width: 6; }
.plan-pt { fill: var(--orange); stroke: #fff; stroke-width: 6; }
.plan-coeur { fill: #fff; }
.plan-onde { fill: none; stroke: var(--orange); stroke-width: 4; transform-box: fill-box; transform-origin: center; animation: onde 2.8s ease-out infinite; }
.plan-onde.o2 { animation-delay: 1.4s; }
@keyframes onde { from { transform: scale(.7); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
@media (min-width: 960px) { .plan-etq { transform: scale(.7); } }
.plan-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--trait); }
.plan-modes a { display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 76px; padding: 12px 4px; border-inline-start: 1px solid var(--trait); font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; transition: background-color .15s ease-out, color .15s ease-out; }
.plan-modes a:first-child { border-inline-start: 0; }
.plan-modes a:hover { background: var(--ciel-50); color: var(--azur-fonce); }
.plan-modes .ic { width: 22px; height: 22px; color: var(--azur); }
.plan-source { position: absolute; top: 12px; inset-inline-end: 14px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .88); font-size: 10.5px; color: #4f5d6c; pointer-events: none; }

/* ---------- Fenêtres : envoi (WhatsApp ou e-mail) et « S'y rendre » ---------- */
.envoi { width: min(520px, 100% - 24px); max-height: calc(100% - 24px); padding: 30px 24px 26px; border: 0; border-radius: 24px; background: var(--blanc); color: var(--texte); box-shadow: 0 40px 90px -30px rgba(19, 33, 58, .55); overflow: auto; }
.envoi::backdrop { background: rgba(19, 33, 58, .45); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.envoi[open] { animation: monte .3s var(--ease); }
.envoi-x { position: absolute; top: 14px; inset-inline-end: 14px; }
.envoi h2 { padding-inline-end: 48px; font: 800 24px/1.2 var(--titre); letter-spacing: -.02em; }
.envoi h2:focus { outline: none; }
.envoi-d { margin-top: 8px; font-size: 15.5px; color: var(--gris); }
.envoi-vue { display: grid; gap: 14px; }
.envoi-opt { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 16px; width: 100%; min-height: 78px; padding: 16px 18px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); text-align: start; box-shadow: var(--ombre-s); transition: border-color .15s ease-out, background-color .15s ease-out, transform .15s ease-out; }
a.envoi-opt { text-decoration: none; color: inherit; }
.envoi-opt:hover { border-color: var(--ciel); background: var(--ciel-50); }
.envoi-opt:active { transform: scale(.985); }
.envoi-opt .ic { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--ciel-50); color: var(--azur); }
.envoi-opt b { display: block; font-size: 16.5px; }
.envoi-opt small { display: block; margin-top: 2px; font-size: 14px; color: var(--gris); }
.envoi-recap { padding: 14px 16px; border-radius: 14px; background: var(--fond); border: 1px solid var(--trait); font-size: 14.5px; }
.envoi-recap pre { margin-top: 6px; font: inherit; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--gris); max-height: 150px; overflow: auto; }
.lien-retour { justify-self: center; min-height: 44px; padding: 8px 12px; border: 0; background: none; font-size: 15px; color: var(--gris); text-decoration: underline; text-underline-offset: 4px; }
.envoi-ok { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; background: #dff5e7; color: #0f6a3a; }
.envoi-ok .ic { width: 30px; height: 30px; stroke-width: 2.6; }
.trajet-statut { min-height: 32px; }
.trajet-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trajet-modes a { display: grid; justify-items: center; gap: 6px; min-height: 68px; padding: 11px 4px; border: 1px solid var(--trait); border-radius: 14px; font-size: 13.5px; font-weight: 700; text-align: center; text-decoration: none; transition: border-color .15s ease-out, background-color .15s ease-out; }
.trajet-modes a:hover { border-color: var(--ciel); background: var(--ciel-50); }
.trajet-modes .ic { width: 22px; height: 22px; color: var(--azur); }
[data-copier].fait { border-color: #0f6a3a; color: #0f6a3a; }
@media (max-width: 759px) {
  /* téléphone : les fenêtres montent du bas de l'écran, à portée de pouce */
  .envoi { width: 100%; max-width: 100%; max-height: 92vh; max-height: 92dvh; margin: auto 0 0; padding: 30px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 26px 26px 0 0; }
  .envoi[open] { animation: glisse .34s var(--ease); }
}

/* Statut « ouvert / fermé », calculé à l'heure de Paris */
.statut { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 13px 4px 11px; border-radius: 999px; background: #dff5e7; color: #0f6a3a; font-size: 13.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; font-variant-numeric: tabular-nums; }
.statut::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: bat 2.2s ease-out infinite; }
.statut.pause { background: #fdf0d3; color: #7a5200; }
.statut.ferme { background: rgba(29, 42, 68, .07); color: #435465; }
.statut.pause::before, .statut.ferme::before { animation: none; }
@keyframes bat { 0% { box-shadow: 0 0 0 0 rgba(30, 160, 90, .5); } 100% { box-shadow: 0 0 0 9px rgba(30, 160, 90, 0); } }

/* ---------- On te rappelle ---------- */
.s-rappel { padding: 0 0 clamp(48px, 7vw, 88px); }
.s-rappel.s-ciel { padding-top: clamp(40px, 6vw, 72px); }
.panneau { padding: clamp(26px, 4.4vw, 50px); }
.rappel { display: grid; gap: 22px; align-items: center; }
.rappel h2 { font: 500 clamp(26px, 3.6vw, 36px)/1.15 var(--titre); letter-spacing: -.02em; }
.rappel h2::first-line { font-weight: 800; }
.rappel p { margin-top: 8px; max-width: 40ch; font-size: 16px; line-height: 1.5; color: var(--gris-n); }
.rappel form { display: grid; gap: 10px; }
.rappel .champ input, .rappel .champ select { min-height: 54px; padding-inline: 20px; border-color: transparent; border-radius: 27px; }
.rappel .formu-err { grid-column: 1 / -1; margin: 0; max-width: none; color: #8c1d18; }
@media (min-width: 700px) { .rappel form { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; } }
@media (min-width: 1040px) { .rappel { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px; } }

/* ---------- Questions fréquentes (toutes visibles, rien à déplier) ---------- */
.faq { display: grid; gap: 12px; margin-top: 32px; }
.q { padding: 22px 22px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--fond); }
.q h3 { font: 700 17.5px/1.3 var(--titre); letter-spacing: -.01em; }
.q p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--gris); }
.q a { white-space: nowrap; }
@media (min-width: 860px) { .faq { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .q { padding: 26px; } }
/* téléphone (préparé par le script) : la liste des questions d'un coup d'œil, la réponse s'ouvre dans une feuille */
.faq-liste { gap: 0; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); }
.faq-liste .q { padding: 0; border: 0; border-radius: 0; background: none; }
.faq-liste .q + .q { border-top: 1px solid var(--trait); }
.faq-liste .q > p { display: none; }
.faq-liste .q h3 { font-size: 16.5px; }
.q-b { display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 64px; padding: 14px 16px; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-align: start; cursor: pointer; transition: background-color .15s ease-out; }
.q-b:active { background: var(--ciel-50); }
.q-b .ic { flex: none; width: 18px; height: 18px; color: var(--azur); stroke-width: 2.2; }
.reponse .kicker { margin-bottom: 0; }
.reponse-c p { font-size: 16px; line-height: 1.6; color: var(--gris); }
.reponse-c a { font-weight: 700; color: var(--azur-fonce); white-space: nowrap; text-underline-offset: 3px; }

/* ---------- Inscription ---------- */
.coord { display: grid; gap: 4px; margin-top: 28px; }
.coord li { display: flex; align-items: center; gap: 14px; min-height: 52px; border-bottom: 1px solid var(--trait-n); font-size: 16.5px; }
.coord .ic { color: #8fd0ff; }
.coord a { text-decoration: none; font-variant-numeric: tabular-nums; }
.coord a:hover { color: #b3e0ff; }
.coord a b { display: inline-block; margin-inline-start: 4px; padding: 3px 10px; border: 1px solid #8fd0ff; border-radius: 999px; color: #b3e0ff; font-size: 13px; font-weight: 600; white-space: nowrap; }
.coord li:has(a b) { align-items: flex-start; padding: 13px 0; line-height: 1.5; } .coord li:has(a b) .ic { margin-top: 3px; }
.formu { display: grid; gap: 16px; padding: 24px 20px; border-radius: 20px; background: var(--blanc); color: var(--texte); }
@media (min-width: 640px) { .formu { padding: 32px; } }
.champ { display: grid; gap: 7px; }
.champ > span { font-size: 14.5px; font-weight: 700; }
.champ i { font-style: normal; font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid var(--trait-2); border-radius: var(--r-s); background: var(--blanc); color: var(--texte); font-size: 16px; line-height: 1.4; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
.champ textarea { resize: vertical; min-height: 96px; }
.champ input::placeholder, .champ textarea::placeholder { color: #8a94a8; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--azur); box-shadow: 0 0 0 3px rgba(54, 166, 245, .3); }
.champ [aria-invalid='true'] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179, 38, 30, .16); }
.formu-err, .envoi-err { padding: 12px 14px; border-radius: 12px; background: #fbe9e7; color: #8c1d18; font-size: 15px; font-weight: 600; }
.formu-err a, .envoi-err a { color: inherit; }
.formu-note { font-size: 13.5px; color: var(--gris); }
.piege { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Pied de page : le blanc de la page « pend » en nuages sur le bleu nuit ---------- */
.pied { background: var(--nuit); color: var(--gris-n); font-size: 15px; }
.pied-nuages { display: block; width: 100%; height: clamp(24px, 3.2vw, 42px); fill: var(--blanc); }
.pied-in { display: grid; gap: 34px; padding: 40px 0 36px; }
.pied h2 { margin-bottom: 14px; font: 700 12.5px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--txt-n); }
.pied-marque .logo { justify-self: start; display: inline-grid; height: auto; padding: 10px 16px; background: rgba(255, 255, 255, .06); border-radius: 18px; }
.pied-marque img { height: 92px; width: auto; }
.pied-marque p { margin-top: 14px; max-width: 20ch; font: 600 18px/1.35 var(--titre); color: var(--txt-n); }
.pied a { text-decoration: none; color: var(--gris-n); transition: color .15s ease-out; }
.pied a:hover { color: #fff; }
.pied ul { display: grid; gap: 2px; }
.pied li a { display: inline-flex; align-items: center; min-height: 36px; }
.pied address + p { margin-top: 10px; line-height: 1.9; }
.pied-h { margin-top: 14px; font-size: 14px; }
.pied-h li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 12px; max-width: 340px; padding: 3px 0; font-variant-numeric: tabular-nums; }
.pied-h li span:first-child { color: var(--txt-n); }
.pied-res { display: flex; gap: 10px; margin-top: 16px; }
.pied-res a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--trait-n); border-radius: 50%; color: var(--txt-n); }
.pied-res a:hover { border-color: #8fd0ff; color: #8fd0ff; }
.pied-bas { display: grid; gap: 10px; padding: 22px 0 28px; border-top: 1px solid var(--trait-n); font-size: 13.5px; }
.pied-bas p:last-child { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pied-bas span a { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 760px) { .pied-in { grid-template-columns: repeat(2, minmax(0, 1fr)); } .pied-bas { grid-template-columns: 1fr auto; align-items: center; } }
@media (min-width: 1040px) { .pied-in { grid-template-columns: 1.2fr 1.3fr 1fr 1fr; gap: 48px; } }

/* Barre de contact du téléphone : appeler, écrire, s'y rendre, s'inscrire */
.barre-m { position: fixed; inset: auto 0 0 0; z-index: 35; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.55fr); gap: 2px; align-items: center; padding: 7px 8px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid var(--trait); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 -14px 30px -22px rgba(29, 42, 68, .45); }
.barre-m a { display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 52px; border-radius: 14px; color: var(--encre); font-size: 11.5px; font-weight: 700; line-height: 1.1; text-decoration: none; white-space: nowrap; transition: transform .15s ease-out; }
.barre-m a:active { background: var(--ciel-50); transform: scale(.96); }
.barre-m .ic { width: 21px; height: 21px; color: var(--azur); }
.barre-m .fort { min-height: 50px; margin-inline-start: 6px; border-radius: 999px; background: linear-gradient(180deg, var(--orange-2), var(--orange)); color: var(--nuit); font-size: 15px; }
@media (max-width: 759px) { body { padding-bottom: calc(67px + env(safe-area-inset-bottom)); } html { scroll-padding-bottom: 90px; } }
@media (min-width: 760px) { .barre-m { display: none; } }

/* ---------- Pages intérieures ---------- */
.tete-p { position: relative; isolation: isolate; overflow: hidden; padding: clamp(10px, 2.4vw, 22px) 0 clamp(44px, 6vw, 70px); background: linear-gradient(180deg, #e8f2fd 0%, #f2f7fd 100%); }
.tete-p .in { position: relative; z-index: 2; }
.tete-p .p1 { --w: 140px; --d: 12s; top: 18%; right: 7%; }
.tete-p .p2 { --w: 92px; --d: 15s; top: 58%; right: 24%; opacity: .85; }
.tete-p .p3 { --w: 190px; --d: 17s; bottom: -40px; right: -40px; }
.tete-p .p2 svg { animation-delay: -6s; }
.tete-c { padding-bottom: clamp(30px, 4vw, 48px); }
.vide { min-height: 62vh; display: grid; align-items: center; }
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: clamp(14px, 2.6vw, 26px); font-size: 14px; color: var(--gris); }
.fil a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.fil a:hover { color: var(--azur-fonce); }
.fil a[aria-current] { color: var(--encre); font-weight: 700; }
.accel-prix { display: grid; justify-items: start; gap: 6px; padding: 26px 24px; border: 1px solid var(--trait-n); border-radius: 20px; background: rgba(255, 255, 255, .06); }
.accel-prix b { font: 800 clamp(46px, 7.5vw, 64px)/1 var(--titre); letter-spacing: -.04em; color: var(--orange-2); font-variant-numeric: tabular-nums; }
.accel-prix small { font-size: 14.5px; color: var(--gris-n); }
.accel-prix .btn { margin-top: 18px; }
.accel .coches { margin-top: 24px; }
.encart { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 28px 26px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); }
.encart h3 { font: 700 20px/1.25 var(--titre); letter-spacing: -.01em; }
.encart p { font-size: 16px; line-height: 1.6; color: var(--gris); }
.encart .note { margin-top: 0; }
.duo-cartes { display: grid; gap: 16px; }
@media (min-width: 800px) { .duo-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.docs { display: grid; gap: 14px; margin-top: 36px; }
.docs li { position: relative; display: grid; padding: 24px 22px 24px 88px; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); }
.docs .num { left: 20px; top: 20px; }
.docs h3 { font: 700 16.5px/1.3 var(--sans); }
.docs p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--gris); }
@media (min-width: 700px) { .docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .docs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; font: 700 23px/1.25 var(--titre); letter-spacing: -.015em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: #3a4757; }
.etapes-fin .parcours { margin-top: 36px; }
.tete-appli { padding-bottom: 0; }
.tete-appli + .s { padding-top: clamp(16px, 3vw, 32px); background: linear-gradient(180deg, #f2f7fd, #fff 40%); }

/* ---------- Téléphone : sections resserrées, grilles compactes, gestes nets ---------- */
.aide:active, .acces-liens a:active, .plan-modes a:active, .trajet-modes a:active, .hc:active { transform: scale(.97); }
@media (max-width: 759px) {
  :root { --tete: 66px; }
  .s { padding: 50px 0; }
  .chapo { margin-top: 12px; }
  .logo { height: 46px; padding: 0 10px; } .logo img { height: 34px; }
  .tete .btn-p { min-height: 42px; padding: 0 16px; font-size: 14px; }
  .hero .n1 { --w: 90px; top: 3%; left: -24px; }
  .hero .n2 { --w: 76px; top: 2%; right: -14px; }
  .hero-in { justify-items: start; text-align: start; }
  .hero-infos { justify-content: flex-start; gap: 4px 14px; margin-top: 14px; }
  .hero-infos .statut:not([hidden]) + .pastille-a { display: none; } /* le statut suffit : l'adresse est dans la barre du bas (« S'y rendre ») */
  .hero-infos .pastille:has(.statut:not([hidden])) { padding: 0; border: 0; background: none; }
  .hero-t { font-size: clamp(26px, 7vw, 31px); line-height: 1.24; }
  .hero-t b { display: block; } /* « à ton rythme ou en 20 jours » sur sa propre ligne */
  .t1 { font-size: clamp(27px, 7.6vw, 30px); } /* « Saint-Maur-des-Fossés, » tient sur une ligne dès 360 px */
  .cherche { padding-left: 14px; }
  .cherche-ic { display: none; }
  .cherche .btn { width: 50px; min-width: 50px; padding: 0; border-radius: 50%; }
  .cherche .btn span { display: none; }
  .cherche .btn .ic { width: 22px; height: 22px; }
  .rue { height: 264px; }
  /* les trois cartes deviennent une seule carte à trois rangées, posée sur la route */
  .hero-bas { padding: 14px 0 24px; background: var(--route); }
  .hero-cartes { grid-template-columns: minmax(0, 1fr); gap: 0; margin: 0 auto; padding: 0; overflow: hidden; border-radius: var(--r); background: var(--blanc); box-shadow: 0 22px 46px -24px rgba(29, 42, 68, .38); }
  .hero-cartes > li + li { border-top: 1px solid var(--trait); }
  .hc { grid-template-columns: 40px minmax(0, 1fr); justify-items: start; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 0; box-shadow: none; font-size: 14.5px; text-align: start; }
  a.hc { grid-template-columns: 40px minmax(0, 1fr) 20px; }
  .hero-cartes .hc:active { transform: none; background: var(--ciel-50); }
  .hc .ic { width: 32px; height: 32px; }
  .hc-go { display: grid; color: var(--azur); }
  .hc .hc-go .ic { width: 18px; height: 18px; stroke-width: 2.2; }
  /* les permis : une liste nette, prix à droite du nom */
  .permis { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 24px; }
  .permis-c { display: grid; grid-template-columns: 48px minmax(0, 1fr) 32px; align-items: center; gap: 1px 14px; padding: 12px 14px; }
  .permis-ic { grid-row: 1 / span 2; width: 48px; height: 48px; margin: 0; }
  .permis-ic .ic { width: 25px; height: 25px; }
  .permis-c h3 { grid-column: 2; align-self: end; font-size: 16.5px; }
  .permis-prix { grid-column: 2; align-self: start; margin: 0; padding: 0; }
  .permis-prix b { font-size: 17px; }
  .permis-go { position: static; grid-column: 3; grid-row: 1 / span 2; width: 32px; height: 32px; }
  /* le parcours, resserré */
  .parcours li { padding: 0 0 22px 64px; }
  .parcours li::before { left: 22px; top: 48px; }
  .num { min-width: 46px; height: 46px; font-size: 18px; }
  .etape { padding-top: 0; }
  .parcours h3 { padding-top: 4px; font-size: 18px; }
  .parcours p:not(.etape) { margin-top: 6px; font-size: 14.5px; line-height: 1.5; }
  .comment { padding: 24px 18px; border-radius: 20px; }
  .comment-l { grid-template-columns: 1fr; gap: 18px; }
  .comment-l li { grid-template-columns: 104px minmax(0, 1fr); align-items: center; gap: 12px; }
  .comment-ill svg { width: 104px; }
  .comment-n { font-size: 30px; }
  .comment .actions .btn { flex: 1 1 100%; }
  .aides { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
  .aide { gap: 6px; padding: 16px 14px 12px; }
  .aide p { display: none; }
  .aide h3 { margin-top: 4px; font-size: 16.5px; line-height: 1.25; }
  .aide-m { padding: 4px 10px; font-size: 12.5px; }
  .aide .carte-va { margin-top: auto; padding-top: 10px; font-size: 13.5px; }
  .aide .carte-va .ic { width: 24px; height: 24px; padding: 5px; }
  .atouts { gap: 0; margin-top: 26px; overflow: hidden; border: 1px solid var(--trait); border-radius: var(--r); background: var(--blanc); box-shadow: var(--ombre-s); }
  .atout, .atout-img { padding: 16px; border: 0; border-radius: 0; background: none; box-shadow: none; }
  .atout + .atout { border-top: 1px solid var(--trait); }
  .atout:not(.atout-img) { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 14px; align-items: start; }
  .atout:not(.atout-img) > .rond-ic { grid-row: 1 / span 2; width: 42px; height: 42px; margin: 0; }
  .atout:not(.atout-img) > .rond-ic .ic { width: 21px; height: 21px; }
  .atout h3 { font-size: 16.5px; }
  .atout p { margin-top: 3px; font-size: 14.5px; line-height: 1.45; }
  .atout-img { grid-template-columns: 56px minmax(0, 1fr); gap: 14px; }
  .atout-img img { width: 56px; }
  .docs { margin-top: 26px; }
  .docs li { padding: 18px 16px 18px 74px; } .docs .num { left: 14px; top: 16px; } /* plus de place pour le texte */
  .faq { margin-top: 22px; }
  .q { padding: 20px 18px; }
  .route { margin-top: 28px; }
  .acces { gap: 30px; }
  .s-noir > .in, .s-rappel > .in { width: calc(100% - 20px); }
  .s-noir > .in { padding: 28px 16px 16px; border-radius: 22px; }
  .panneau { border-radius: 22px; padding: 26px 18px 20px; }
  .formu { padding: 22px 16px; border-radius: 18px; }
  .tete-p .p1 { --w: 96px; top: 12%; right: -24px; }
  .tete-p .p2 { display: none; }
  .tete-p .p3 { --w: 130px; bottom: -36px; right: -50px; }
  .tete-p .actions .btn { flex: 1 1 100%; }
  .pied-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 16px; padding: 30px 0 30px; }
  .pied-in > :nth-child(-n+2) { grid-column: 1 / -1; }
  .pied-marque { display: flex; align-items: center; gap: 16px; }
  .pied-marque .logo { padding: 8px 12px; }
  .pied-marque img { height: 64px; }
  .pied-marque p { margin-top: 0; font-size: 16.5px; }
}
/* très petits écrans (320 px) : les noms longs peuvent de nouveau passer à la ligne */
@media (max-width: 359px) { .insec { white-space: normal; } }

/* ---------- Passage d'une page à l'autre (navigateurs qui le gèrent) ---------- */
@view-transition { navigation: auto; }
.tete { view-transition-name: tete; }
.barre-m { view-transition-name: barre; }
::view-transition-old(root) { animation: vt-sort .16s ease-out both; }
::view-transition-new(root) { animation: vt-entre .36s var(--ease) both; }
@keyframes vt-sort { to { opacity: 0; } }
@keyframes vt-entre { from { opacity: 0; transform: translateY(12px); } }

/* ---------- Apparitions (seulement quand le script tourne) ---------- */
.js .rev { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rev.vu { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-in > * { animation: monte .8s var(--ease) both; }
  .hero-in > :nth-child(2) { animation-delay: .06s; } .hero-in > :nth-child(3) { animation-delay: .14s; } .hero-in > :nth-child(4) { animation-delay: .22s; }
  .rue-cadre { animation: monte 1s var(--ease) both; animation-delay: .2s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  .js .rev { opacity: 1; transform: none; transition: none; }
  .plan-onde, .statut::before, .nuage svg, .rue * { animation: none !important; }
  .plan-onde { opacity: 0; }
  .js .plan-carte.rev .plan-chemin, .js .plan-carte.rev .plan-halo { stroke-dashoffset: 0; transition: none; }
  .js .appli-vis.rev .sk-anneau .v { stroke-dashoffset: 30; transition: none; }
  .js .appli-vis.rev .sk-ligne { opacity: 1; transform: none; transition: none; }
  .route.pret li { opacity: 1; transition: none; }
  .tiroir[open], .envoi[open], .forfait.repere { animation: none; }
  .btn, .aide, .envoi-opt, .puce, .bascule, .permis-c, .hc { transition: none; }
}
@media print { .tete, .barre-m, .pied-res, .ciel, .rue-cadre, .bandeau-pre, .s-rappel, .pied-nuages { display: none; } body { padding: 0; background: #fff; } }
