/* Site vitrine Drivo (public/index.html). Tokens de marque : app.css. Classes préfixées « s- ».
   Parti pris : mise en page éditoriale, filets plutôt que cartes, rayons faibles (4–6 px), pas d'ombres diffuses. */
:root { --s-r: 6px; --s-r-sm: 4px; --s-rule: var(--line); --s-ink-band: #17181b; }

html { height: auto; background: var(--surface); scroll-behavior: smooth; scroll-padding-top: 72px; }
body.site { height: auto; min-height: 100%; background: var(--surface); color: var(--ink); font-family: var(--font); line-height: 1.55; overflow-x: hidden; font-variant-numeric: tabular-nums; }
:where(body.site) :is(h1, h2, h3) { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }
:where(body.site) p { margin: 0 0 10px; }
:where(body.site) :is(dl, dd, figure) { margin: 0; }
body.site img, body.site svg { max-width: 100%; }
.s-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.s-muted { color: var(--ink-2); }

:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.s-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--surface); padding: 10px 16px; border-radius: var(--s-r-sm); font-weight: 700; text-decoration: none; }
.s-skip:focus { top: 12px; color: var(--surface); }

/* ---------- surtitre : capitales + filet ---------- */
.s-over { display: flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px !important; }
.s-over::before { content: ''; width: 28px; height: 2px; background: var(--primary); flex: none; }

/* ---------- boutons ---------- */
.s-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: var(--s-r); font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.s-btn-lg { padding: 14px 22px; font-size: 16px; }
.s-btn-primary { background: var(--primary); color: var(--on-brand); }
.s-btn-primary:hover { background: var(--primary-hover); color: var(--on-brand); }
.s-btn-line { color: var(--ink); border-color: var(--ink); }
.s-btn-line:hover { background: var(--ink); color: var(--surface); }
.s-btn-line-inv { color: #fff; border-color: rgba(255,255,255,.75); }
.s-btn-line-inv:hover { background: #fff; color: #17181b; }
.s-btn-white { background: #fff; color: #a01323; }
.s-btn-white:hover { background: #ffefec; color: #a01323; }
.s-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.s-actions-tight { margin-top: 18px; }

/* ---------- en-tête ---------- */
.s-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--s-rule); }
.s-header-in { display: flex; align-items: center; gap: 16px; height: 64px; }
.s-brand { text-decoration: none; color: var(--ink); flex: none; }
.s-brand:hover { color: var(--ink); }
.s-brand .logo { font-size: 26px; }
.s-nav { display: flex; align-items: center; gap: 26px; margin-left: 32px; }
.s-nav > a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
/* Liens secondaires : seulement dans le menu mobile (et le pied de page), pour aérer l'en-tête. */
.s-nav > a.s-nav-extra { display: none; }
.s-nav > a:hover { color: var(--ink); }
.s-nav > a.on { color: var(--ink); border-bottom-color: var(--primary); }
.s-nav-cta { display: none; }
.s-header-end { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
#langSwitch:empty { display: none; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--s-r-sm); overflow: hidden; }
.lang-switch [data-lang] { padding: 6px 9px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: none; border: 0; cursor: pointer; line-height: 1.2; }
.lang-switch [data-lang] + [data-lang] { border-left: 1px solid var(--line-strong); }
.lang-switch [data-lang]:hover { color: var(--ink); }
.lang-switch [data-lang].on { background: var(--ink); color: var(--surface); }
.s-burger { display: none; width: 44px; height: 44px; border-radius: var(--s-r); align-items: center; justify-content: center; color: var(--ink); flex: none; }
.s-burger:hover { background: var(--bg); }

@media (max-width: 1180px) {
  .s-burger { display: inline-flex; }
  .s-nav { display: none; position: absolute; left: 0; right: 0; top: 64px; margin: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--surface); border-bottom: 1px solid var(--s-rule); max-height: calc(100dvh - 64px); overflow-y: auto; }
  .s-nav.open { display: flex; }
  .s-nav > a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--s-rule); color: var(--ink); }
  .s-nav > a.on { border-bottom-color: var(--s-rule); color: var(--primary-text); }
  .s-nav-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
  .s-nav-cta .s-btn { padding: 13px; }
}
@media (max-width: 760px) { .s-hide-md { display: none; } }
@media (max-width: 480px) { .s-hide-sm { display: none; } .s-brand .logo { font-size: 23px; } }

/* ---------- hero ---------- */
.s-hero { padding: 64px 0 72px; border-bottom: 1px solid var(--s-rule); }
.s-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.s-hero h1 { font-size: clamp(42px, 6.2vw, 80px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; margin-bottom: 28px; }
.s-h1-a, .s-h1-b { display: block; text-wrap: balance; }
.s-h1-b { color: var(--primary-text); }
.s-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 520px; margin-bottom: 6px !important; }
.s-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 44px; border-top: 2px solid var(--ink); }
.s-facts > div { padding: 14px 16px 0 0; }
.s-facts > div + div { padding-left: 16px; border-left: 1px solid var(--s-rule); }
.s-facts dt { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; }
.s-facts dd { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }

.mp-land { fill: #f1efe8; }
.mp-river { fill: none; stroke: #b9dcef; stroke-width: 34; stroke-linecap: round; }
.mp-road { fill: none; stroke: #fff; stroke-width: 8; }
.mp-route { fill: none; stroke: var(--primary); stroke-width: 5; stroke-linecap: round; }
.mp-a { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.mp-b { fill: var(--primary); stroke: #fff; stroke-width: 3; }
.mp-car { fill: #292b2e; }
.mp-l { font: 600 14px var(--font); fill: #6b6e74; }
.mp-l-k { font-weight: 800; font-size: 17px; fill: #292b2e; }
.mp-l-w { font-style: italic; fill: #4f8bb0; }
.s-num { text-align: right !important; white-space: nowrap; }
.s-caption { font-size: 12.5px; color: var(--ink-2); padding: 10px 16px 12px; border-top: 1px solid var(--s-rule); }

/* ---------- style « app » : téléphone et écrans ---------- */
.s-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.s-phone { position: relative; width: 290px; max-width: 100%; aspect-ratio: 9 / 19; background: #17181b; border-radius: 40px; padding: 10px; box-shadow: 0 1px 0 #2d2f34 inset, 0 24px 48px rgba(23, 24, 27, .22); }
.s-phone::before { content: ''; position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 78px; height: 20px; border-radius: 12px; background: #17181b; z-index: 3; }
.s-phone-screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: var(--surface); container-type: size; }
.s-screen { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.s-screen.is-on { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.s-shot { display: block; width: 100%; height: auto; position: absolute; top: 0; left: 0; z-index: 2; }
.s-screen.has-shot .am { display: none; }
.s-phone:has(.s-screen.is-on.has-shot)::before { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .s-shot.is-tall { animation: s-pan 16s ease-in-out 1.5s infinite alternate; }
}
@keyframes s-pan { to { transform: translateY(calc(-100% + 100cqh)); } }

/* maquette d'écran (reprend l'app : carte, feuille blanche, rouge Drivo) */
.am { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 11.5px; line-height: 1.3; color: var(--ink); background: var(--bg); }
.am p { margin: 0 !important; }
.am-map { flex: 1; min-height: 0; position: relative; }
.am-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.am-map-sm { flex: 0 0 26%; }
.am-map-sm + .am-sheet { flex: 1; }
.am-map-tall { flex: 1.4; }
.am-sheet { background: var(--surface); border-radius: 18px 18px 0 0; margin-top: -18px; position: relative; padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 7px; box-shadow: 0 -4px 14px rgba(0,0,0,.06); }
.am-sheet::before { content: ''; width: 32px; height: 4px; border-radius: 2px; background: var(--line-strong); align-self: center; margin: -6px 0 2px; }
.am-plain { background: var(--surface); padding-top: 40px; }
.am-sheet-full { flex: 1; margin: 0; border-radius: 0; box-shadow: none; padding: 8px 14px 16px; gap: 8px; }
.am-sheet-full::before { display: none; }
.am-center { align-items: center; text-align: center; justify-content: center; }
.am-title { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.am-sub { color: var(--ink-2); font-size: 11.5px; }
.am-hint { color: var(--success); font-weight: 700; font-size: 11px; }
.am-total { font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.am-btn { display: block; text-align: center; background: var(--primary); color: #fff; font-weight: 800; font-size: 12.5px; padding: 10px; border-radius: 12px; }
.am-btn-2 { background: var(--track); color: var(--ink); }
.am-btn-2.on { background: var(--ink); color: var(--surface); }
.am-btn-sos { background: var(--danger); letter-spacing: .1em; }
.am-btns { display: flex; gap: 6px; align-self: stretch; }
.am-btns .am-btn { flex: 1; }
.am-cats { display: flex; gap: 4px; }
.am-cats span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: var(--track); font-weight: 700; font-size: 10.5px; }
.am-cats .on { background: var(--primary-50); color: var(--primary-text); box-shadow: inset 0 0 0 1.5px var(--primary); }
.am-stepper { display: flex; align-items: center; justify-content: space-between; background: var(--track); border-radius: 12px; padding: 6px; }
.am-stepper span { width: 30px; height: 30px; display: grid; place-items: center; background: var(--surface); border-radius: 9px; font-weight: 800; font-size: 16px; }
.am-stepper b { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; }
.am-offer { display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.am-offer-pick { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.am-ava { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 800; background: #ffd6c9; color: #841c05; }
.am-ava-2 { background: #d6e8ff; color: #002968; } .am-ava-3 { background: #d8f5e5; color: #0d5b3c; }
.am-ava-lg { width: 52px; height: 52px; font-size: 16px; }
.am-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.am-who b { font-size: 11.5px; }
.am-who small, .am-price small { font-size: 10px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-price { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.am-price b { font-size: 12.5px; white-space: nowrap; }
.am-ok { color: var(--success) !important; font-weight: 700; }
.am-warn { color: var(--warning-ink) !important; font-weight: 700; }
.am-plate { align-self: flex-start; font: 800 20px/1 var(--font); letter-spacing: .06em; padding: 7px 10px; border: 2px solid var(--ink); border-radius: 6px; background: #fff; color: #17181b; }
.am-row { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.am-row span { color: var(--ink-2); }
.am-row-total b { color: var(--primary-text); font-size: 14px; }
.am-list { display: flex; flex-direction: column; }
.am-list span { padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.am-list span::after { content: '›'; float: right; color: var(--ink-2); }
.am-radio { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; }
.am-radio::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line-strong); flex: none; }
.am-radio.on { border-color: var(--primary); }
.am-radio.on::before { border: 4px solid var(--primary); }
.am-stars { color: var(--warning); font-size: 24px; letter-spacing: 4px; }
.am-docs { display: flex; flex-direction: column; }
.am-docs span { padding: 8px 0 8px 22px; border-bottom: 1px solid var(--line); font-weight: 600; position: relative; }
.am-docs span::before { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; border: 2px dashed var(--line-strong); box-sizing: border-box; }
.am-docs span.ok::before { border: 0; background: var(--success); }
.am-top { position: absolute; top: 40px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 1; }
.am-toggle, .am-bal { background: var(--surface); border-radius: 14px; padding: 7px 10px; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.am-toggle::after { content: ''; display: inline-block; vertical-align: middle; width: 26px; height: 15px; margin-left: 6px; border-radius: 8px; background: var(--primary) radial-gradient(circle at 18px 50%, #fff 5px, transparent 5.5px); }
.am-tabs { display: flex; background: var(--track); border-radius: 10px; padding: 3px; }
.am-tabs span { flex: 1; text-align: center; padding: 6px 0; font-weight: 700; color: var(--ink-2); font-size: 10.5px; }
.am-tabs .on { background: var(--surface); border-radius: 8px; color: var(--ink); }
.am-req { border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: flex; flex-direction: column; gap: 4px; }
.am-req .am-row { border: 0; padding: 0 0 4px; }
.am-req .am-row b { font-size: 16px; font-weight: 900; }
.am-stop { font-weight: 700; padding-left: 16px; position: relative; }
.am-stop::before { content: ''; position: absolute; left: 2px; top: 4px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.am-stop-b::before { background: var(--primary); }
.am-counter { display: flex; gap: 5px; }
.am-counter span { flex: 1; text-align: center; background: var(--track); border-radius: 10px; padding: 7px 0; font-weight: 800; }
.am-nav { position: absolute; top: 36px; left: 8px; right: 8px; z-index: 1; background: #17181b; color: #fff; border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; }
.am-nav b { font-size: 20px; font-weight: 900; }
.am-next { margin-top: 6px; padding: 10px; border-radius: 12px; background: var(--primary-50); }
.am-next-t { font-weight: 800; font-size: 13px; }

/* hero : carte + téléphone */
.s-hero-fig { position: relative; }
.s-hero-stage { position: relative; border-radius: var(--s-r); overflow: hidden; min-height: 560px; display: flex; align-items: center; justify-content: flex-end; padding: 32px 32px 32px 0; }
.s-hero-map { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.s-phone-hero { width: 280px; z-index: 1; }
.s-hero-fig .s-caption { border-top: 0; padding: 10px 0 0; }
.s-draw { stroke-dasharray: 400; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .s-draw { animation: s-draw 1.6s ease-out .3s both; }
}
@keyframes s-draw { from { stroke-dashoffset: 400; } }

/* comment ça marche : onglets + deux parcours */
.s-tabs { display: inline-flex; justify-self: end; border: 1.5px solid var(--ink); border-radius: var(--s-r); overflow: hidden; }
.s-tabs[hidden] { display: none; }
.s-tabs [role="tab"] { padding: 12px 18px; font-weight: 800; font-size: 15px; color: var(--ink); background: var(--surface); }
.s-tabs [role="tab"] + [role="tab"] { border-left: 1.5px solid var(--ink); }
.s-tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--surface); }
.s-journey { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: start; }
.s-journey + .s-journey { margin-top: 72px; }
.s-js .s-journey + .s-journey { margin-top: 0; }
.s-journey[hidden] { display: none; }
.s-journey-t { grid-column: 1 / -1; font-size: 22px; }
.s-js .s-journey-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.s-jsteps { list-style: none; counter-reset: j; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.s-jsteps li { counter-increment: j; position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line-strong); cursor: pointer; transition: background .2s; }
.s-jsteps li::before { content: counter(j); position: absolute; left: 0; top: 14px; width: 40px; font-size: 34px; font-weight: 900; line-height: 1; color: var(--line-strong); letter-spacing: -0.04em; transition: color .2s; }
.s-jsteps li.is-on::before { color: var(--primary); }
.s-jsteps li.is-on { box-shadow: inset 3px 0 0 var(--primary); }
.s-jsteps h4 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.s-jsteps p { color: var(--ink-2); font-size: 15px; margin-bottom: 4px !important; max-width: 560px; }
.s-jsteps li:focus-visible { outline-offset: -3px; }
.s-jphone { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; }
.s-jphone .s-phone { width: 300px; }
.s-jphone .s-caption { border-top: 0; text-align: center; }
.s-journey-cta { margin-top: 40px; }

/* apparitions au défilement (seulement si JS et mouvement autorisé) */
@media (prefers-reduced-motion: no-preference) {
  .s-anim .s-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
  .s-anim .s-reveal.in { opacity: 1; transform: none; }
}

/* ---------- sections ---------- */
.s-section { padding: 88px 0; }
.s-alt { background: var(--bg); }
body.site h2 { font-size: clamp(30px, 3.8vw, 46px); font-weight: 800; letter-spacing: -0.03em; max-width: 18ch; }
.s-head { margin-bottom: 44px; }
.s-head-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.s-intro { font-size: 17px; color: var(--ink-2); max-width: 560px; }
.s-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.s-split h2 { margin-bottom: 20px; }
.s-split > div > p:not(.s-over):not(.s-pull) { color: var(--ink-2); font-size: 17px; max-width: 520px; }
.s-side { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
.s-side-head { position: sticky; top: 100px; }
.s-side-head h2 { margin-bottom: 18px; }

/* tableaux génériques */
.s-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.s-table caption { text-align: left; font-weight: 800; font-size: 18px; padding-bottom: 12px; }
.s-table th, .s-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--s-rule); vertical-align: top; }
.s-table thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); font-weight: 700; border-bottom: 1.5px solid var(--ink); }
.s-table tbody th { font-weight: 800; }
.s-table td { color: var(--ink-2); }

/* catégories : fiches en lignes */
.s-cats { border-top: 2px solid var(--ink); }
.s-catrow { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr) minmax(0, 5fr); gap: 12px 40px; padding: 26px 0; border-bottom: 1px solid var(--line-strong); align-items: start; }
.s-catrow > .s-cat-desc { grid-column: 2; }
.s-catrow > .s-cat-desc + .s-cat-desc { margin-top: -4px !important; }
.s-cat-name { grid-row: 1 / span 3; }
.s-cat-spec { grid-column: 3; grid-row: 1 / span 3; }
.s-cat-name h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -0.03em; }
.s-cat-price { font-weight: 800; color: var(--primary-text); margin-top: 6px !important; }
.s-cat-desc { font-size: 16px; color: var(--ink); margin: 0 !important; }
.s-cat-spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.s-cat-spec dt { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); }
.s-cat-spec dd { font-size: 15px; font-weight: 600; margin-top: 2px; }
.s-catrow-hl .s-cat-name h3 { color: var(--primary-text); }
.s-cats-note { margin-top: 16px !important; }

/* listes de définitions éditoriales */
.s-deflist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.s-deflist > div { padding: 20px 0; border-top: 1px solid var(--line-strong); }
.s-deflist dt { font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.s-deflist dd { color: var(--ink-2); font-size: 15.5px; }
.s-deflist-1 { grid-template-columns: minmax(0, 1fr); }

/* prix : reçu */
.s-pull { margin-top: 28px !important; padding-left: 18px; border-left: 3px solid var(--primary); font-size: 19px; font-weight: 700; line-height: 1.4; max-width: 480px; }
.s-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--warning-ink); background: var(--warning-50); padding: 3px 7px; border-radius: var(--s-r-sm); }
.s-receipt { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--s-r); padding: 26px 28px 22px; }
.s-receipt figcaption { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1.5px dashed var(--line-strong); justify-items: start; }
.s-receipt-t { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.s-receipt-s { color: var(--ink-2); font-size: 14px; }
.s-receipt table { width: 100%; border-collapse: collapse; margin: 8px 0 16px; font-size: 15px; }
.s-receipt th { text-align: left; font-weight: 500; color: var(--ink-2); padding: 8px 12px 8px 0; }
.s-receipt td { text-align: right; padding: 8px 0; white-space: nowrap; font-weight: 600; }
.s-receipt tfoot th, .s-receipt tfoot td { border-top: 1.5px dashed var(--line-strong); }
.s-total th { color: var(--ink); font-weight: 800; font-size: 16px; padding-top: 14px; }
.s-total td { font-size: 22px; font-weight: 900; color: var(--primary-text); padding-top: 14px; }
.s-compare th, .s-compare td { border-top: 0 !important; color: var(--ink-2); font-weight: 500; }
.s-fine { font-size: 12.5px; color: var(--ink-2); margin-bottom: 4px !important; }

/* chauffeurs : bande sombre */
.s-dark { background: var(--s-ink-band); color: #f1f2f5; }
.s-dark h2, .s-dark h3 { color: #fff; }
.s-dark .s-over { color: #b4b8bf; }
.s-dark .s-intro, .s-dark .s-fine, .s-dark p { color: #b4b8bf; }
.s-drv-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: end; margin-bottom: 56px; }
.s-drv-top h2 { margin-bottom: 18px; }
.s-split-fig figcaption { font-weight: 700; color: #fff; margin-bottom: 12px; }
.s-splitbar { display: flex; height: 56px; gap: 3px; }
.s-splitbar span { width: var(--w); }
.s-splitbar-a { background: var(--primary); border-radius: var(--s-r-sm) 0 0 var(--s-r-sm); }
.s-splitbar-b { background: #56575a; border-radius: 0 var(--s-r-sm) var(--s-r-sm) 0; }
.s-split-legend { display: flex; justify-content: space-between; gap: 16px; margin: 12px 0 14px; }
.s-split-legend dt { font-size: 13px; color: #b4b8bf; }
.s-split-legend dd { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -0.02em; }
.s-split-legend div:last-child { text-align: right; }
.s-split-legend div:last-child dd { color: #b4b8bf; font-size: 20px; }
.s-numlist { list-style: none; counter-reset: n; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.s-numlist li { counter-increment: n; padding: 20px 0 18px; border-top: 1px solid #34363c; }
.s-numlist li::before { content: counter(n, decimal-leading-zero); display: block; font-size: 13px; font-weight: 800; color: var(--primary); margin-bottom: 8px; letter-spacing: .04em; }
.s-numlist h3 { font-size: 17.5px; margin-bottom: 6px; }
.s-numlist p { font-size: 15px; margin: 0; }
.s-dark .s-btn-primary:focus-visible, .s-dark .s-btn-line-inv:focus-visible { outline-color: #fff; }

/* flottes : tableau de bord */
.s-dash { border: 1px solid var(--line-strong); border-radius: var(--s-r); background: var(--surface); overflow: hidden; }
.s-dash-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--s-rule); }
.s-dash-logo { font-size: 19px; }
.s-dash-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); border-bottom: 1px solid var(--s-rule); }
.s-dash-map { position: relative; min-height: 250px; border-right: 1px solid var(--s-rule); }
.s-dash-map svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.st-on { fill: var(--success); } .st-trip { fill: #2f6fdb; } .st-off { fill: #8a9099; } .st-bat { fill: var(--warning); } .st-gps { fill: var(--danger); }
.s-dash-map circle { stroke: #fff; stroke-width: 3; }
.s-dash-rev { padding: 18px; display: flex; flex-direction: column; }
.s-dash-k { font-size: 13px; color: var(--ink-2); font-weight: 600; margin: 0 !important; }
.s-dash-v { font-size: 28px; font-weight: 900; letter-spacing: -0.02em; margin: 2px 0 0 !important; }
.s-rev { flex: 1; min-height: 120px; display: flex; align-items: flex-end; gap: 6px; margin-top: 16px; border-bottom: 1px solid var(--line-strong); }
.s-rev i { flex: 1; height: var(--h); background: var(--line-strong); border-radius: 2px 2px 0 0; }
.s-rev i:nth-child(6) { background: var(--primary); }
.s-rev-lbl { display: flex; gap: 6px; margin-top: 6px; }
.s-rev-lbl span { flex: 1; text-align: center; font-size: 11px; color: var(--ink-2); font-weight: 600; }
.s-dash-table { font-size: 14px; }
.s-dash-table th, .s-dash-table td { padding: 10px 16px; }
.s-dash-table td:first-child { color: var(--ink); font-weight: 700; }
.s-dash-table tbody tr:last-child td { border-bottom: 0; }
.s-dash-table td:nth-child(3) { white-space: nowrap; }
.s-st { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }
.s-st.st-on { background: var(--success); } .s-st.st-trip { background: #2f6fdb; } .s-st.st-off { background: #8a9099; } .s-st.st-bat { background: var(--warning); } .s-st.st-gps { background: var(--danger); }
.s-dash .s-caption { border-top: 1px solid var(--s-rule); }
.s-cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; margin-top: 48px; }
.s-cols3 > div { padding: 18px 0; border-top: 1px solid var(--line-strong); }
.s-cols3 dt { font-weight: 800; font-size: 16.5px; margin-bottom: 6px; }
.s-cols3 dd { color: var(--ink-2); font-size: 15px; }

/* sécurité : trois temps */
.s-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; }
.s-timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); }
.s-timeline > section { position: relative; padding: 36px 32px 0 0; }
.s-timeline > section::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--primary); box-sizing: border-box; }
.s-timeline h3 { font-size: 22px; margin-bottom: 14px; }
.s-timeline ul { list-style: none; padding: 0; margin: 0; }
.s-timeline li { padding: 12px 0; border-top: 1px solid var(--line-strong); color: var(--ink-2); font-size: 15.5px; }

/* paiements */
.s-marks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.s-mark { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--s-r-sm); font-weight: 800; font-size: 15px; background: var(--surface); }
.s-mark .ic-brand { border-radius: 3px; }
.s-mark-visa { font-style: italic; font-weight: 900; letter-spacing: .03em; color: #1a1f71; background: #fff; border-color: #dfe3ea; font-size: 17px; }
.s-mark-mc { color: #1f1f1f; background: #fff; border-color: #dfe3ea; }
.mc-dots { position: relative; width: 30px; height: 18px; flex: none; }
.mc-dots::before, .mc-dots::after { content: ''; position: absolute; top: 0; width: 18px; height: 18px; border-radius: 50%; }
.mc-dots::before { left: 0; background: #eb001b; }
.mc-dots::after { right: 0; background: #f79e1b; mix-blend-mode: multiply; }

/* villes : liste typographique */
.s-cities { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.s-cities li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.s-city { font-size: clamp(34px, 6vw, 64px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; }
.s-region { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }

/* applications */
.s-apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.s-app { display: flex; gap: 20px; padding: 28px 32px 8px 0; align-items: flex-start; }
.s-app + .s-app { padding-left: 32px; border-left: 1px solid var(--s-rule); }
.s-app h3 { font-size: 26px; margin-bottom: 4px; }
.s-app-ic { width: 56px; height: 56px; border-radius: 12px; flex: none; display: grid; place-items: center; }
.s-app-ic-pro { background: var(--ink); color: var(--surface); }
.s-stores { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.s-store { display: inline-flex; flex-direction: column; justify-content: center; min-width: 140px; padding: 7px 14px; border-radius: var(--s-r); border: 1px dashed var(--line-strong); color: var(--ink-2); cursor: not-allowed; line-height: 1.2; }
.s-store small { font-size: 11px; font-weight: 600; }
.s-store b { font-size: 15.5px; }

/* FAQ : filets */
.s-faq { border-top: 2px solid var(--ink); }
.s-faq details { border-bottom: 1px solid var(--line-strong); }
.s-faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-weight: 700; font-size: 17px; position: relative; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::before, .s-faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--ink); transition: transform .2s; }
.s-faq summary::after { transform: rotate(90deg); }
.s-faq details[open] summary::after { transform: rotate(0); }
.s-faq summary:hover { color: var(--primary-text); }
.s-faq details p { color: var(--ink-2); max-width: 640px; margin-bottom: 8px !important; }
.s-faq details p:last-child { margin-bottom: 22px !important; }
.s-more { color: var(--primary-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.s-more::after { content: ' →'; }

/* CTA final */
.s-cta { background: #c8192c; color: #fff; padding: 64px 0; }
.s-cta-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
body.site .s-cta h2 { color: #fff; max-width: 14ch; }
.s-cta p { font-size: 18px; color: #fff; }

/* pied de page */
.s-footer { background: var(--surface); border-top: 1px solid var(--s-rule); padding: 56px 0 24px; }
.s-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.s-footer-logo { font-size: 26px; margin-bottom: 8px; }
.s-footer h3 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); margin-bottom: 14px; }
.s-footer nav { display: flex; flex-direction: column; gap: 8px; }
.s-footer nav a { color: var(--ink); text-decoration: none; font-weight: 500; }
.s-footer nav a:hover { color: var(--primary-text); text-decoration: underline; }
.s-footer-bottom { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--s-rule); color: var(--ink-2); font-size: 13.5px; }
.s-footer-bottom p { margin: 0 !important; }
.s-top { margin-left: auto; color: var(--ink-2); font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .s-hero-grid, .s-split, .s-side, .s-drv-top, .s-head-row, .s-cta-in { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .s-side-head { position: static; }
  .s-head-row { gap: 16px; align-items: start; }
  .s-numlist, .s-cols3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-catrow { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .s-cat-name { grid-row: 1 / span 2; }
  .s-catrow > .s-cat-desc { grid-column: 2; }
  .s-cat-spec { grid-column: 2; grid-row: auto; }
  .s-footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .s-footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .s-journey { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .s-jphone .s-phone { width: 260px; }
  .s-tabs { justify-self: start; }
}
@media (max-width: 720px) {
  .s-journey { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .s-jphone { position: sticky; top: 72px; z-index: 2; order: -1; background: var(--surface); padding: 8px 0 10px; margin: 0 calc(-1 * var(--gutter)); border-bottom: 1px solid var(--s-rule); }
  .s-jphone .s-phone { width: 300px; zoom: .56; }
  .s-jphone .s-caption { padding: 6px 0 0; }
  .s-jsteps li { padding-left: 48px; }
  .s-jsteps li::before { font-size: 28px; }
  .s-tabs { display: flex; width: 100%; }
  .s-tabs [role="tab"] { flex: 1; padding: 12px 8px; font-size: 14px; }
  .s-hero-stage { min-height: 0; padding: 24px 0; justify-content: center; }
  .s-phone-hero { width: 250px; }

  .s-section { padding: 60px 0; }
  .s-hero { padding: 36px 0 48px; }
  .s-head { margin-bottom: 32px; }
  .s-timeline, .s-apps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .s-timeline::before { top: 0; bottom: 0; left: 7px; right: auto; width: 2px; height: auto; }
  .s-timeline > section { padding: 0 0 28px 36px; }
  .s-apps .s-app, .s-apps .s-app + .s-app { padding: 24px 0; border-left: 0; border-top: 2px solid var(--ink); }
  .s-deflist, .s-numlist, .s-cols3, .s-cities { grid-template-columns: minmax(0, 1fr); }
  .s-catrow { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .s-catrow > .s-cat-desc, .s-cat-spec { grid-column: 1; }
  .s-cat-name, .s-cat-spec { grid-row: auto; }
  .s-cat-name { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .s-cat-spec { margin-top: 6px; }
  .s-dash-grid { grid-template-columns: minmax(0, 1fr); }
  .s-dash-map { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--s-rule); }
  .s-col-car { display: none; }
  .s-dash-table th, .s-dash-table td { padding-left: 12px; padding-right: 12px; }
  .s-actions .s-btn-lg { flex: 1 1 100%; }
  .s-receipt { padding: 20px 18px 16px; }
  .s-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 400px) {
  .s-facts { grid-template-columns: minmax(0, 1fr); }
  .s-facts > div, .s-facts > div + div { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--s-rule); }
  .s-facts dt { font-size: 26px; min-width: 96px; }
}

/* ---------- mode sombre (tokens déjà basculés par app.css) ---------- */
@media (prefers-color-scheme: dark) {
  .am-ava { background: #4a2a1f; color: #ffc9b8; } .am-ava-2 { background: #14203a; color: #b9d2ff; } .am-ava-3 { background: #0f2e22; color: #9fe6c3; }
  .s-phone { box-shadow: 0 0 0 1px #34363c, 0 24px 48px rgba(0,0,0,.5); }
  :root { --s-ink-band: #111214; }
  .mp-land { fill: #2a2c31; }
  .mp-road { stroke: #3b3e45; }
  .mp-river { stroke: #1f3b52; }
  .mp-car { fill: #e8e9ec; }
  .mp-a { fill: #f1f2f5; stroke: #1d1e21; } .mp-b { stroke: #1d1e21; }
  .mp-l { fill: #9aa0a8; } .mp-l-k { fill: #f1f2f5; } .mp-l-w { fill: #7fb2d3; }
  .s-dash-map circle { stroke: #1d1e21; }
  .s-dark { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Villes : carte du Cameroun + tarifs de départ ---------- */
.s-cities-wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.s-cmap { margin: 0; position: sticky; top: 96px; }
.s-cmap svg { width: 100%; max-width: 360px; height: auto; display: block; margin: 0 auto; }
.s-cmap-land { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; stroke-linejoin: round; }
.s-map-city circle { fill: var(--primary); }
.s-map-city text { font: 700 12px/1 'DM Sans', system-ui, sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; }
.s-map-pulse { fill: none !important; stroke: var(--primary); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: s-pulse 2.4s ease-out infinite; }
.s-map-city.on circle:first-child { r: 7; }
.s-map-city.on text { fill: var(--primary); }
@keyframes s-pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(3.2); opacity: 0; } }
.s-cmap figcaption { font-size: 13px; color: var(--ink-2); margin-top: 16px; max-width: 360px; margin-left: auto; margin-right: auto; }
.s-city-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); counter-reset: city; }
.s-city-row { padding: 20px 0 18px; border-bottom: 1px solid var(--line-strong); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; align-items: end; transition: background .2s; }
.s-city-row:hover, .s-city-row.on { background: linear-gradient(90deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent 70%); }
.s-city-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.s-city-row .s-city { font-size: clamp(28px, 4vw, 44px); }
.s-city-desc { grid-column: 1; margin: 0; font-size: 14px; color: var(--ink-2); }
.s-city-prices { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 18px; margin: 0; }
.s-city-prices div { text-align: right; }
.s-city-prices dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.s-city-prices dd { margin: 2px 0 0; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 900px) {
  .s-cities-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .s-cmap { position: static; }
  .s-cmap svg { max-width: 260px; }
  .s-city-row { grid-template-columns: minmax(0, 1fr); }
  .s-city-prices { grid-column: 1; grid-row: auto; justify-content: flex-start; margin-top: 8px; }
  .s-city-prices div { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .s-map-pulse { animation: none; opacity: 0; } }
@media (max-width: 1180px) { .s-nav > a.s-nav-extra { display: block; } }

/* ---------- pages des applications (drivo.html, drivo-pro.html) ---------- */
.s-app-link { display: inline-block; margin-top: 16px; }
.s-crumbs { display: flex; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 28px; }
.s-crumbs a { color: var(--ink-2); }
.s-crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.s-apphero { padding: 48px 0 72px; border-bottom: 1px solid var(--s-rule); background: linear-gradient(to right, var(--surface) 0 55%, var(--bg) 55%); }
.s-apphero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 64px; align-items: center; }
.s-apphero h1 { font-size: clamp(40px, 5.2vw, 64px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; margin-bottom: 24px; }
.s-apphero .s-lead { margin-bottom: 8px !important; }
.s-stores-lg { margin-top: 28px; }
.s-stores-lg .s-store { min-width: 170px; padding: 10px 16px; }
.s-stores-lg + .s-fine { margin-top: 8px !important; }
.s-apphero-fig { display: flex; flex-direction: column; align-items: center; }
.s-apphero-fig .s-caption { border-top: 0; text-align: center; }
.s-apphero-fig .s-phone { width: 300px; }

.s-fblocks { padding-top: 24px; }
.s-fblock { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px 0; border-bottom: 1px solid var(--s-rule); }
.s-fblock:last-child { border-bottom: 0; }
.s-fblock:nth-child(even) .s-fblock-text { order: 2; }
.s-fblock-text { max-width: 520px; }
.s-fblock:nth-child(even) .s-fblock-text { justify-self: end; }
.s-fnum { font-size: 64px; font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: var(--primary); margin-bottom: 16px !important; }
body.site .s-fblock h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 16px; }
.s-fblock-text > p:not(.s-fnum) { color: var(--ink-2); font-size: 16.5px; }
.s-fpoints { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--line-strong); }
.s-fpoints li { padding: 10px 0; border-bottom: 1px solid var(--line-strong); font-weight: 600; font-size: 15px; }
.s-fblock-fig { display: flex; justify-content: center; position: relative; }
.s-fblock-fig::before { content: ''; position: absolute; inset: 12% 8%; background: var(--bg); z-index: 0; }
.s-fblock-fig .s-phone { width: 290px; z-index: 1; }
.s-split-fig-light { margin-top: 28px; }
.s-split-fig-light figcaption { color: var(--ink); }
.s-split-fig-light .s-split-legend dt { color: var(--ink-2); }
.s-split-fig-light .s-split-legend dd { color: var(--ink); }
.s-split-fig-light .s-split-legend div:last-child dd { color: var(--ink-2); }
.s-split-fig-light .s-splitbar-b { background: var(--line-strong); }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .s-fblock-fig.s-reveal { transform: translateY(32px); }
  .s-anim .s-fblock-fig.s-reveal.in { transform: none; }
}
@media (max-width: 900px) {
  .s-apphero { background: var(--surface); }
  .s-apphero-grid, .s-fblock { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .s-fblock:nth-child(even) .s-fblock-text { order: 0; justify-self: start; }
  .s-fblock { padding: 48px 0; }
  .s-fblock-fig .s-phone, .s-apphero-fig .s-phone { width: 300px; zoom: .8; }
}
@media (max-width: 480px) {
  .s-fnum { font-size: 48px; }
  .s-stores-lg .s-store { min-width: 0; flex: 1; }
}

/* ---------- liste d'attente « Bientôt disponible » (#applications) ---------- */
.s-wait { margin-top: 28px; padding: 22px 24px; border: 1.5px solid var(--ink); border-radius: var(--s-r); }
.s-wait h3 { font-size: 20px; margin-bottom: 6px; }
.s-wait-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-top: 12px; }
.s-wait-f { display: flex; flex-direction: column; gap: 4px; flex: 1 1 200px; min-width: 0; }
.s-wait-f label { font-size: 13px; font-weight: 700; }
.s-wait-f input, .s-wait-f select { font: inherit; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: var(--s-r); background: var(--surface); color: var(--ink); min-width: 0; }
.s-wait-f input[aria-invalid="true"] { border-color: var(--danger); }
.s-wait-row[hidden] { display: none; }
.s-wait-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.s-wait-msg { margin: 12px 0 0 !important; font-weight: 600; }
.s-wait-err { color: var(--danger); }
.s-wait-ok { color: #137a50; }
@media (max-width: 560px) { .s-wait { padding: 18px 16px; } .s-wait-row .s-btn { width: 100%; } }

/* ---------- page 404 ---------- */
.s-404 { min-height: calc(100vh - 64px - 120px); display: flex; align-items: center; }
.s-404-in { padding-top: 56px; padding-bottom: 56px; }
.s-404-code { font-size: clamp(64px, 16vw, 128px); font-weight: 900; line-height: 1; color: var(--primary); margin-bottom: 12px !important; letter-spacing: -0.04em; }
.s-404 h1 { font-size: clamp(26px, 5vw, 40px); max-width: 22ch; margin-bottom: 12px; }
.s-404-text { color: var(--ink-2); font-size: 17px; }
.s-404-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.s-404 + .s-footer { padding-top: 0; }
.s-404 + .s-footer .s-footer-bottom { margin-top: 0; }
.s-ref-banner .s-ref-t { margin: 0 0 4px; }
.s-ref-banner .s-ref-how { margin: 0; font-weight: 500; }

/* ---------- nouveautés : course partagée, zones moto, SOS ---------- */
.s-motozone { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 56px; padding-top: 40px; border-top: 2px solid var(--ink); }
.s-motozone h3 { font-size: 24px; margin-bottom: 12px; }
.s-motozone p { color: var(--ink-2); max-width: 560px; }
.s-motozone .s-deflist { margin-top: 16px; max-width: 560px; }
.s-motozone-fig .s-phone, .s-sos-fig .s-phone, .s-share-fig .s-phone { width: 300px; zoom: .8; }

.s-share { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
.s-share-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.s-share-col h3 { font-size: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.s-share-col .s-deflist > div:first-child { border-top: 0; }
.s-share-fig { display: flex; flex-direction: column; align-items: center; position: sticky; top: 96px; }
.s-share-fig .s-caption, .s-sos-fig .s-caption { border-top: 0; text-align: center; }
.s-share-bottom { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: 56px; }
.s-meet { border: 1px solid var(--line-strong); border-radius: var(--s-r); overflow: hidden; }
.s-meet svg { display: block; width: 100%; height: auto; }
.mt-lane { fill: none; stroke: #d9d4c7; stroke-width: 5; stroke-dasharray: 2 6; stroke-linecap: round; }
.mt-main { fill: none; stroke: #9aa0a8; stroke-width: 22; }
.mt-car-route { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round; }
.mt-walk { fill: none; stroke: var(--ink); stroke-width: 3; stroke-dasharray: 4 6; stroke-linecap: round; }
.mt-meet { fill: #fff; stroke: var(--primary); stroke-width: 5; }
.mt-lbl { font-weight: 700; fill: var(--ink); }
.s-meet .s-caption { border-top: 1px solid var(--s-rule); }
.s-share-ex caption { font-size: 16px; }
.s-share-ex td { color: var(--ink); font-weight: 800; }

.s-sos { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; margin-top: 64px; padding-top: 40px; border-top: 2px solid var(--ink); }
.s-sos h3 { font-size: 26px; margin-bottom: 18px; }
.s-sos-steps { list-style: none; counter-reset: sos; padding: 0; margin: 0 0 24px; }
.s-sos-steps li { counter-increment: sos; position: relative; padding: 14px 0 14px 48px; border-bottom: 1px solid var(--line-strong); color: var(--ink-2); }
.s-sos-steps li::before { content: counter(sos); position: absolute; left: 0; top: 10px; font-size: 28px; font-weight: 900; color: var(--primary); line-height: 1; }
.s-sos-steps b { color: var(--ink); display: block; margin-bottom: 2px; }
.s-sos-fig { display: flex; flex-direction: column; align-items: center; }
.s-sos-fleet { grid-column: 1 / -1; margin: 8px 0 0; border: 1px solid var(--line-strong); border-radius: var(--s-r); overflow: hidden; background: var(--surface); }
.s-sos-fleet img { display: block; width: 100%; height: auto; }
.s-sos-fleet .s-caption { border-top: 1px solid var(--s-rule); }

@media (max-width: 1000px) {
  .s-share, .s-sos { grid-template-columns: minmax(0, 1fr) 240px; gap: 32px; }
  .s-share-cols { grid-template-columns: minmax(0, 1fr); }
  .s-share-bottom { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .s-share, .s-sos, .s-motozone { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .s-share-fig { position: static; order: -1; }
  .s-motozone-fig, .s-sos-fig { justify-self: center; }
  .s-motozone-fig .s-phone, .s-sos-fig .s-phone, .s-share-fig .s-phone { zoom: .72; }
}
@media (prefers-color-scheme: dark) {
  .mt-lane { stroke: #4a4d55; }
  .mt-main { stroke: #5b6068; }
  .mt-meet { fill: #1d1e21; }
}

/* ---------- navigation Drivo Pro (fonction phare) ---------- */
.s-navshots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-items: start; }
.s-navshot { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.s-navshot .s-phone { width: 300px; zoom: .9; }
.s-navshot figcaption { display: flex; flex-direction: column; gap: 4px; max-width: 300px; border-top: 2px solid var(--ink); padding-top: 12px; align-self: stretch; }
.s-navshot figcaption b { font-size: 17px; }
.s-navshot figcaption span { color: var(--ink-2); font-size: 15px; }
.s-navlist { margin-top: 56px; }
.s-dark .s-navshot figcaption { border-top-color: #fff; }
.s-dark .s-navshot figcaption b, .s-dark .s-cols3 dt { color: #fff; }
.s-dark .s-navshot figcaption span, .s-dark .s-cols3 dd { color: #b4b8bf; }
.s-dark .s-cols3 > div { border-top-color: #34363c; }
.s-dark .s-phone { box-shadow: 0 0 0 1px #34363c, 0 24px 48px rgba(0, 0, 0, .5); }
.s-more-inv { color: #fff; }
.s-more-inv:hover { color: #ffd6d9; }
@media (max-width: 1000px) {
  .s-navshot .s-phone { zoom: .72; }
}
@media (max-width: 720px) {
  .s-navshots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); scroll-padding-left: var(--gutter); }
  .s-navshot { scroll-snap-align: start; }
  .s-navshot .s-phone { zoom: .74; }
  .s-navlist { margin-top: 36px; }
}
.s-city-link { margin: 6px 0 0; font-size: 14px; }

/* ---------- nouveautés (accueil) et page covoiturage (covoiturage.html) ----------
   Animations : CSS seulement, lancées quand l'élément entre à l'écran (.in, site.js) ; état final = état par défaut,
   si bien qu'avec prefers-reduced-motion (animations coupées plus haut) tout reste lisible et immobile. */
@media (prefers-reduced-motion: no-preference) {
  .s-anim .s-reveal { transition-delay: calc(var(--i, 0) * 90ms); }
}
.s-badge-new { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--primary-50); color: var(--primary-text); font-weight: 700; font-size: 14px; text-decoration: none; }
.s-badge-new b { background: #c8102e; color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
.s-badge-new:hover { color: var(--primary-text); text-decoration: underline; }

/* cartes « façons de partir » */
.s-new-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.s-new-card { display: flex; flex-direction: column; border: 1px solid var(--line-strong); border-radius: var(--s-r); background: var(--surface); overflow: hidden; }
.s-new-card h3 { font-size: 21px; margin-bottom: 8px; }
.s-new-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.s-new-body p { color: var(--ink-2); font-size: 15px; }
.s-new-body .s-more { margin-top: auto; padding-top: 8px; font-size: 15px; }
.s-new-tag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px !important; }
.s-new-demo { position: relative; height: 132px; background: var(--bg); border-bottom: 1px solid var(--s-rule); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 14px 18px; font-size: 13px; }
.nd-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong); font-weight: 800; font-size: 14px; white-space: nowrap; max-width: 100%; }
.nd-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; background: var(--surface); border: 1.5px solid var(--success); font-weight: 700; }
.nd-row small { color: var(--ink-2); font-weight: 600; margin-left: auto; }
.nd-ava { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 9.5px; font-weight: 800; background: #ffd6c9; color: #841c05; flex: none; }
.nd-ok { color: #137a50; font-weight: 800; }
.nd-bar { height: 8px; border-radius: 4px; background: var(--track); overflow: hidden; }
.nd-bar i { display: block; height: 100%; width: 100%; background: var(--primary); border-radius: 4px; transform-origin: left; }
.nd-seats { display: flex; gap: 8px; }
.nd-seats > span { width: 30px; height: 30px; border-radius: 8px; background: var(--primary); display: grid; place-items: center; color: #fff; }
.nd-seats > span.free { background: transparent; border: 2px dashed var(--line-strong); }
.nd-line { position: relative; display: flex; align-items: center; justify-content: space-between; font-weight: 800; }
.nd-track { position: relative; height: 4px; margin: 4px 6px 0; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 8px, transparent 8px 14px); }
.nd-track::before, .nd-track::after { content: ''; position: absolute; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 3px solid var(--bg); box-sizing: border-box; }
.nd-track::before { left: -7px; } .nd-track::after { right: -7px; background: var(--primary); }
.nd-car { position: absolute; top: -9px; left: 0; width: 22px; height: 12px; border-radius: 3px; background: var(--ink); }
.nd-sub { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .s-new-card.in .nd-row { animation: nd-in 7s ease-out 0.4s infinite both; }
  .s-anim .s-new-card.in .nd-row + .nd-ok { animation: nd-in 7s ease-out 0.4s infinite both; animation-name: nd-in-late; }
  .s-anim .s-new-card.in .nd-bar i { animation: nd-fill 6s ease-in-out 0.3s infinite both; }
  .s-anim .s-new-card.in .nd-fast { animation: nd-in-late 6s ease-out 0.3s infinite both; }
  .s-anim .s-new-card.in .nd-seats > span:not(.free) { animation: nd-seat 8s ease-out infinite both; }
  .s-anim .s-new-card.in .nd-seats > span:nth-child(2) { animation-delay: .8s; }
  .s-anim .s-new-card.in .nd-seats > span:nth-child(3) { animation-delay: 1.6s; }
  .s-anim .s-new-card.in .nd-car { animation: nd-drive 7s ease-in-out infinite both; }
}
@keyframes nd-in { 0%, 25% { opacity: 0; transform: translateY(8px); } 35%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nd-in-late { 0%, 45% { opacity: 0; transform: translateY(6px); } 55%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nd-fill { 0% { transform: scaleX(0); } 45%, 92% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes nd-seat { 0%, 10% { opacity: 0; transform: scale(.6); } 20%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes nd-drive { 0%, 8% { left: 0; } 88%, 100% { left: calc(100% - 22px); } }

/* bloc « changement de destination » */
.s-dest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; margin-top: 64px; padding-top: 40px; border-top: 2px solid var(--ink); }
.s-dest h3 { font-size: 26px; margin-bottom: 14px; }
.s-dest > div > p { color: var(--ink-2); max-width: 560px; }
.s-quote { border: 1px solid var(--line-strong); border-radius: var(--s-r); background: var(--surface); padding: 18px 20px; }
.s-quote ol { list-style: none; margin: 0; padding: 0; }
.s-quote li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line-strong); }
.s-quote li:last-child { border-bottom: 0; }
.s-quote li > span:first-child { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--track); font-weight: 800; font-size: 13px; }
.s-quote li b { font-weight: 800; }
.s-quote li small { display: block; color: var(--ink-2); font-size: 13px; }
.s-quote li > em { font-style: normal; font-weight: 800; white-space: nowrap; }
.s-quote li.q-ok > span:first-child { background: var(--success); color: #fff; }
.s-quote li.q-total > em { color: var(--primary-text); font-size: 18px; }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .s-quote.in li { animation: nd-step .5s ease-out both; animation-delay: calc(var(--i, 0) * .7s + .2s); }
}
@keyframes nd-step { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

.s-new-phone { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: center; margin-top: 56px; }
.s-new-phone figure { display: flex; flex-direction: column; align-items: center; }
.s-new-phone .s-phone { width: 300px; zoom: .85; }
.s-new-phone .s-caption { border-top: 0; text-align: center; }
.s-new-phone h3 { font-size: 24px; margin-bottom: 12px; }
.s-new-phone p { color: var(--ink-2); max-width: 560px; }
.s-pricing-hl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 20px; border-top: 2px solid var(--ink); }
.s-pricing-hl > div { padding: 14px 16px 0 0; }
.s-pricing-hl > div + div { padding-left: 16px; border-left: 1px solid var(--s-rule); }
.s-pricing-hl dt { font-size: 28px; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: var(--primary-text); }
.s-pricing-hl dd { font-size: 13.5px; color: var(--ink-2); margin-top: 4px; }

@media (max-width: 1100px) { .s-new-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .s-dest, .s-new-phone { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .s-new-phone figure { order: -1; }
}
@media (max-width: 560px) {
  .s-new-grid { grid-template-columns: minmax(0, 1fr); }
  .s-new-phone .s-phone { zoom: .72; }
  .s-pricing-hl { grid-template-columns: minmax(0, 1fr); }
  .s-pricing-hl > div, .s-pricing-hl > div + div { padding: 10px 0; border-left: 0; border-bottom: 1px solid var(--s-rule); display: flex; gap: 14px; align-items: baseline; }
  .s-pricing-hl dt { min-width: 104px; font-size: 24px; }
}

/* ---------- page covoiturage ---------- */
.cv-hero { padding: 48px 0 72px; border-bottom: 1px solid var(--s-rule); overflow: hidden; }
.cv-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.cv-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 900; letter-spacing: -0.045em; line-height: .98; margin-bottom: 24px; }
.cv-modes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.cv-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1.5px solid var(--line-strong); font-weight: 700; font-size: 14.5px; color: var(--ink); text-decoration: none; background: var(--surface); }
.cv-chip:hover { border-color: var(--ink); color: var(--ink); }
.cv-chip .ic { color: var(--primary-text); }
.cv-scene { position: relative; border-radius: var(--s-r); overflow: hidden; border: 1px solid var(--line-strong); }
.cv-scene svg { display: block; width: 100%; height: auto; }
.cv-scene .s-caption { border-top: 1px solid var(--s-rule); }
.cv-main { fill: none; stroke: #b9bec6; stroke-width: 26; stroke-linecap: round; }
.cv-mid { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 10 12; }
.cv-seat { fill: none; stroke: var(--line-strong); stroke-width: 2; stroke-dasharray: 4 3; }
.cv-seat-on { fill: var(--primary); }
.cv-card { fill: var(--surface); stroke: var(--line-strong); }
.cv-t { font: 800 15px var(--font); fill: var(--ink); }
.cv-ts { font: 600 12px var(--font); fill: var(--ink-2); }
.cv-pax { fill: var(--primary); stroke: #fff; stroke-width: 3; }

.cv-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.cv-mode { border-top: 4px solid var(--primary); padding-top: 20px; }
.cv-mode + .cv-mode { border-top-color: var(--ink); }
.cv-mode h3 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; }
.cv-mode > p { color: var(--ink-2); font-size: 16px; margin-top: 8px !important; }
.cv-mode .s-cat-spec { margin-top: 18px; }

.cv-flow { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: start; }
.cv-flow-figs { position: sticky; top: 96px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cv-flow-figs .s-phone { width: 300px; zoom: .9; }
.cv-flow-figs .s-caption { border-top: 0; text-align: center; }
.cv-steps { list-style: none; counter-reset: cv; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.cv-steps > li { counter-increment: cv; position: relative; padding: 20px 0 18px 68px; border-bottom: 1px solid var(--line-strong); }
.cv-steps > li::before { content: counter(cv); position: absolute; left: 0; top: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; font-weight: 900; color: var(--primary-text); background: var(--primary-50); }
.cv-steps h3 { font-size: 19px; margin-bottom: 6px; }
.cv-steps p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 4px !important; max-width: 600px; }
.cv-steps ul { margin: 6px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.cv-steps li li { padding: 2px 0; }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .cv-steps > li.s-reveal::before { transform: scale(.6); transition: transform .5s cubic-bezier(.2, 1.4, .4, 1) .15s; }
  .s-anim .cv-steps > li.s-reveal.in::before { transform: none; }
}
.cv-rules { margin-top: 40px; }
.cv-sub { font-size: 22px; margin: 48px 0 0; }

.cv-route { margin: 0 0 32px; border: 1px solid var(--line-strong); border-radius: var(--s-r); overflow: hidden; background: var(--surface); }
.cv-route svg { display: block; width: 100%; height: auto; }
.cv-road-ic { fill: none; stroke: var(--primary); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 6 9; }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .cv-road-ic { animation: cv-dash 1.4s linear infinite; }
}
@keyframes cv-dash { to { stroke-dashoffset: -30; } }

.cv-gains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.cv-gain { border: 1px solid var(--line-strong); border-radius: var(--s-r); background: var(--surface); padding: 24px 24px 18px; }
.cv-gain figcaption { display: grid; gap: 4px; justify-items: start; margin-bottom: 18px; }
.cv-gain-t { font-size: 21px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.cv-gain-s { color: var(--ink-2); font-size: 14px; }
.cv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cv-bars li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; font-size: 14.5px; }
.cv-bars li > span:first-child { font-weight: 600; }
.cv-bars b { font-weight: 900; white-space: nowrap; text-align: right; }
.cv-track { grid-column: 1 / -1; height: 14px; border-radius: 4px; background: var(--track); overflow: hidden; }
.cv-fill { display: block; height: 100%; width: var(--w); background: var(--ink-2); border-radius: 4px; transform-origin: left; }
.cv-fill-hl { background: var(--primary); }
@media (prefers-reduced-motion: no-preference) {
  .s-anim .cv-gain.s-reveal .cv-fill { transform: scaleX(0); transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(.3s + var(--d, 0s)); }
  .s-anim .cv-gain.s-reveal.in .cv-fill { transform: none; }
}
.cv-gain .s-fine { margin-top: 14px !important; }
.cv-net { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1.5px dashed var(--line-strong); font-weight: 800; }
.cv-net span:last-child { color: var(--primary-text); font-size: 20px; white-space: nowrap; }

.cv-safety { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.cv-safety > div { padding: 20px 0; border-top: 1px solid var(--line-strong); }
.cv-safety dt { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 6px; }
.cv-safety dt .ic { color: var(--primary-text); flex: none; }
.cv-safety dd { color: var(--ink-2); font-size: 15.5px; }

.cv-docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.cv-docs h3 { font-size: 19px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; }
.cv-docs ul { list-style: none; margin: 0; padding: 0; }
.cv-docs li { padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line-strong); position: relative; font-size: 15px; }
.cv-docs li::before { content: ''; position: absolute; left: 2px; top: 16px; width: 12px; height: 7px; border-left: 2.5px solid var(--success); border-bottom: 2.5px solid var(--success); transform: rotate(-45deg); }
.cv-docs li small { display: block; color: var(--ink-2); font-size: 13px; }

.cv-dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--ink); margin-top: 8px; }
.cv-dl > div { padding: 24px 32px 8px 0; }
.cv-dl > div + div { padding-left: 32px; border-left: 1px solid var(--s-rule); }
.cv-dl h3 { font-size: 24px; margin-bottom: 6px; }

@media (max-width: 1000px) {
  .cv-hero-grid, .cv-flow { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cv-flow-figs { position: static; flex-direction: row; justify-content: center; gap: 24px; }
  .cv-flow-figs figure { display: flex; flex-direction: column; align-items: center; }
  .cv-flow-figs .s-phone { zoom: .75; }
  .cv-safety, .cv-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .cv-hero { padding: 32px 0 48px; }
  .cv-compare, .cv-gains, .cv-safety, .cv-docs, .cv-dl { grid-template-columns: minmax(0, 1fr); }
  .cv-dl > div, .cv-dl > div + div { padding: 20px 0; border-left: 0; }
  .cv-dl > div + div { border-top: 1px solid var(--s-rule); }
  .cv-steps > li { padding-left: 58px; }
  .cv-steps > li::before { width: 40px; height: 40px; font-size: 19px; }
  .cv-flow-figs { overflow-x: auto; justify-content: flex-start; scroll-snap-type: x mandatory; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .cv-flow-figs figure { scroll-snap-align: center; flex: none; }
  .cv-flow-figs .s-phone { zoom: .66; }
  .cv-gain { padding: 20px 16px 16px; }
  .cv-route .cv-rl-long { display: none; }
  .cv-route .mp-l-k { font-size: 40px; }
  .cv-route circle { r: 18; }
}
@media (prefers-color-scheme: dark) {
  .cv-main { stroke: #4a4d55; }
  .cv-mid { stroke: #7d828b; }
  .cv-pax { stroke: #1d1e21; }
  .nd-ava { background: #4a2a1f; color: #ffc9b8; }
  .nd-ok { color: #48d597; }
  .s-badge-new b { background: #c8102e; }
}

/* ---------- vidéos de présentation (site-video.js) : petit élément (vignette + bouton lecture), lecture en fenêtre ---------- */
.vd { margin: 28px 0 0; max-width: 420px; }
.vd-open { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 18px 8px 8px; border: 1px solid var(--line-strong); border-radius: var(--s-r); background: var(--surface); color: var(--ink); font: inherit; text-align: left; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.vd-open:hover, .vd-open:focus-visible { border-color: var(--ink); box-shadow: 0 6px 18px rgba(23, 24, 27, .10); }
.vd-thumb { position: relative; flex: none; width: 112px; aspect-ratio: 16 / 9; border-radius: var(--s-r-sm); overflow: hidden; background: #0d0e10; }
.vd-poster { display: block; width: 100%; height: 100%; object-fit: cover; }
.vd-play { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(255,255,255,.28); transition: transform .15s ease, background .15s; }
.vd-play svg { width: 16px; height: 16px; fill: #fff; margin-left: 2px; }
.vd-open:hover .vd-play, .vd-open:focus-visible .vd-play { transform: scale(1.1); background: var(--primary-hover); }
.vd-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vd-txt b { font-size: 15.5px; }
.vd-txt span { font-size: 13.5px; color: var(--ink-2); }
.s-dark .vd-open { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.28); color: #fff; }
.s-dark .vd-open:hover, .s-dark .vd-open:focus-visible { border-color: #fff; box-shadow: none; }
.s-dark .vd-txt span { color: rgba(255,255,255,.7); }

/* fenêtre de lecture */
html.vd-lock { overflow: hidden; }
.vd-modal { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100dvh; width: 100vw; height: 100dvh; margin: 0; color: #fff; }
.vd-modal::backdrop { background: rgba(8, 9, 11, .88); }
.vd-modal[open] { display: flex; align-items: center; justify-content: center; }
.vd-modal-in { display: flex; flex-direction: column; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom)); max-width: 100%; }
.vd-modal-bar { display: flex; align-items: center; gap: 10px 16px; flex-wrap: wrap; }
.vd-modal-bar b { flex: 1 1 auto; font-size: 16px; min-width: 0; }
.vd-modal-stage { position: relative; background: #000; border-radius: var(--s-r); overflow: hidden; margin-inline: auto; }
.vd-modal[data-fmt="16x9"] .vd-modal-stage { aspect-ratio: 16 / 9; width: min(1200px, 100vw - 32px, (100dvh - 110px) * 16 / 9); }
.vd-modal[data-fmt="9x16"] .vd-modal-stage { aspect-ratio: 9 / 16; height: min(100dvh - 110px, (100vw - 32px) * 16 / 9); }
.vd-modal-in:has([data-fmt="9x16"][aria-pressed="true"]) { width: max-content; }
.vd-modal video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; background: #000; }
.vd-fmt { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: var(--s-r-sm); overflow: hidden; }
.vd-fmt button { padding: 6px 10px; font: inherit; font-size: 13px; font-weight: 700; color: rgba(255,255,255,.8); background: none; border: 0; cursor: pointer; line-height: 1.2; }
.vd-fmt button + button { border-left: 1px solid rgba(255,255,255,.35); }
.vd-fmt button:hover { color: #fff; }
.vd-fmt button[aria-pressed="true"] { background: #fff; color: #17181b; }
.vd-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); display: grid; place-items: center; cursor: pointer; flex: none; }
.vd-close:hover { background: rgba(255,255,255,.26); }
.vd-close svg { width: 20px; height: 20px; stroke: #fff; stroke-width: 2.2; fill: none; stroke-linecap: round; }

/* ---------- page « Investir dans une voiture » (scripts/site-investir.js) ---------- */
.iv-hero { background: linear-gradient(to right, var(--surface) 0 48%, var(--bg) 48%); }
.iv-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.iv-hero h1 { font-size: clamp(38px, 4.8vw, 60px); font-weight: 900; letter-spacing: -0.045em; line-height: 1; margin-bottom: 24px; text-wrap: balance; }
.iv-hero-fig { position: relative; margin: 0; padding: 0 0 48px; }
.iv-hero-fig .s-caption { border-top: 0; margin-top: 24px; padding-right: 190px; }
.iv-hero-phone { position: absolute !important; right: -8px; bottom: 0; width: 168px !important; padding: 7px; border-radius: 28px; }
.iv-hero-phone .s-phone-screen { border-radius: 22px; }
.iv-browser { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 48px rgba(23, 24, 27, .14); }
.iv-browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: var(--bg); border-bottom: 1px solid var(--line); }
.iv-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.iv-browser-bar span { margin-left: 10px; font-size: 12px; color: var(--ink-2); }
.iv-browser img { display: block; width: 100%; height: auto; }

.iv-ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.iv-ex h2 { margin-bottom: 18px; text-wrap: balance; }
.iv-ex .s-intro + .s-intro { margin-top: 10px; }
.iv-receipt { margin: 0; border-top: 2px solid var(--ink); }
.iv-receipt-h { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 14px 0 4px; }
.iv-receipt dl div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line-strong); }
.iv-receipt dt { color: var(--ink-2); }
.iv-receipt dd { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.iv-receipt .iv-receipt-sum { border-bottom: 2px solid var(--ink); padding: 18px 0; }
.iv-receipt .iv-receipt-sum dt { color: var(--ink); font-weight: 700; }
.iv-receipt .iv-receipt-sum dd { font-size: 24px; color: var(--primary); letter-spacing: -0.02em; }
.iv-receipt figcaption { font-size: 13.5px; color: var(--ink-2); margin-top: 12px; }

.iv-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.iv-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 48px 0; border-top: 1px solid var(--line-strong); }
.iv-step:nth-child(even) .iv-step-text { order: 2; }
.iv-step-n { display: block; font-size: 13px; font-weight: 800; color: var(--primary); letter-spacing: .08em; margin-bottom: 10px; }
.iv-step h3 { font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -0.02em; margin-bottom: 10px; }
.iv-step p { color: var(--ink-2); font-size: 16.5px; max-width: 46ch; }
.iv-step-fig { margin: 0; }
.iv-step-phone .iv-step-fig { display: flex; justify-content: center; }
.iv-step-phone .s-phone { width: 250px; }

.iv-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 56px; align-items: center; }
.iv-ctrl figure { margin: 0; }
.iv-ctrl .s-caption { border-top: 0; }
.iv-ticks { list-style: none; margin: 22px 0 0; padding: 0; }
.iv-ticks li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.iv-ticks li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 10px; height: 6px; border-left: 2px solid var(--primary); border-bottom: 2px solid var(--primary); transform: rotate(-45deg); }
.iv-ticks b { color: var(--ink); }

@media (max-width: 900px) {
  .iv-hero { background: var(--surface); }
  .iv-hero-grid, .iv-ex, .iv-ctrl, .iv-step { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .iv-step:nth-child(even) .iv-step-text { order: 0; }
  .iv-hero-fig { padding-bottom: 40px; }
  .iv-hero-fig .s-caption { padding-right: 130px; }
  .iv-hero-phone { width: 120px !important; right: 0; border-radius: 22px; padding: 5px; }
  .iv-hero-phone .s-phone-screen { border-radius: 17px; }
  .iv-step-phone .s-phone { width: 220px; }
}
.vd-opts { display: inline-flex; gap: 8px; flex-wrap: wrap; }
