
:root {
  color-scheme: dark;
  --bg: #0c0d11;
  --bg-2: #101218;
  --surface: #15171f;
  --surface-2: #1b1e28;
  --elev: #21242f;
  --line: #2a2e3b;
  --line-soft: #232733;
  --glass: #08090c;
  --text: #edeff5;
  --muted: #99a0b2;
  --faint: #6b7280;
  --body-2: #c9cedb;
  --accent: #ff6b2c;
  --accent-2: #ffb020;
  --ok: #36c28b;
  --good: #5bb36a;
  --warn: #f5a524;
  --danger: #f2545b;
  --radius: 16px;
  --radius-sm: 11px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --display: 'Sora', 'Inter', -apple-system, 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --head: 68px;
  --t-xs: 12.5px;
  --t-sm: 14px;
  --t-base: 16.5px;
  --t-md: 19px;
  --t-lg: 24px;
  --t-xl: clamp(28px, 3.1vw, 40px);
  --t-2xl: clamp(34px, 4.4vw, 58px);
  --t-hero: clamp(40px, 5.4vw, 74px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head) + 16px); scrollbar-color: #2b3040 var(--bg); scrollbar-width: thin; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 var(--t-base)/1.6 var(--font); -webkit-font-smoothing: antialiased; caret-color: var(--accent); }
::selection { background: rgba(255, 107, 44, 0.38); color: #fff; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #262a36; border-radius: 99px; border: 3px solid var(--bg); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.03em; }
p { margin: 0; text-wrap: pretty; }
table, .num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--accent-2); color: #1a1206; font-weight: 700; border-radius: 9px; text-decoration: none; }
.skip:focus { top: 10px; }
main:focus { outline: none; }

/* ── Boutons ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--radius-sm); font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer; border: 0; white-space: nowrap; transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s var(--ease); }
.btn:active { transform: scale(0.985); }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #1a1206; box-shadow: 0 10px 22px -12px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.btn-primary svg.i { stroke-width: 0; fill: currentColor; }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-sm { min-height: 38px; padding: 0 14px; font-size: 14px; gap: 8px; }
.btn-sm svg.i { width: 17px; height: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); font-weight: 600; text-decoration: none; }
.link-arrow svg.i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.link-arrow:hover svg.i { transform: translateX(4px); }

/* ── En-tête ─────────────────────────────── */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(12, 13, 17, 0.97); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--head); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand svg { width: 30px; height: 30px; border-radius: 8px; }
.brand b { font: 700 15px/1 var(--display); letter-spacing: 0.16em; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 10px 12px; font-size: var(--t-sm); font-weight: 500; color: var(--muted); text-decoration: none; border-radius: 8px; transition: color 0.2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent); }
.head-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 10px; background: transparent; color: var(--muted); border: 1px solid transparent; border-radius: 9px; font: 600 13px/1 var(--font); cursor: pointer; }
.lang-btn:hover { color: var(--text); border-color: var(--line); }
.lang-btn svg.i { width: 17px; height: 17px; }
.lang-pop { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, calc(100vw - 32px)); max-height: 60vh; overflow: auto; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 16px -10px rgba(0, 0, 0, 0.9); }
.lang-pop p { font-size: var(--t-xs); color: var(--muted); margin-bottom: 10px; }
.lang-pop ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.lang-pop li button { width: 100%; text-align: start; padding: 8px 10px; background: none; border: 0; color: var(--text); font: 500 14px/1.3 var(--font); border-radius: 8px; cursor: pointer; }
.lang-pop li button:hover { background: var(--surface-2); }
.lang-pop li button[aria-current="true"] { background: var(--surface-2); color: var(--accent-2); }
.menu-btn { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.mobile-menu { border-top: 1px solid var(--line-soft); padding: 12px var(--gutter) 20px; display: grid; gap: 4px; }
.mobile-menu a:not(.btn) { padding: 12px 4px; font: 600 17px/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 12px; }

/* ── Vues ─────────────────────────────────── */
[data-view] { view-transition-name: page; }
::view-transition-old(page) { animation: 180ms ease-in both vt-out; }
::view-transition-new(page) { animation: 420ms var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
.sec { padding-block: clamp(72px, 10vw, 136px); }
.sec-tight { padding-block: clamp(56px, 7vw, 96px); }
.sec-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: var(--t-2xl); line-height: 1.04; font-weight: 700; }
.sec-head p { font-size: var(--t-md); color: var(--muted); max-width: 62ch; }
.band { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.note { font-size: var(--t-xs); color: var(--muted); }

/* ── Héros ────────────────────────────────── */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.25fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: var(--t-hero); line-height: 0.98; font-weight: 800; letter-spacing: -0.04em; }
.hero h1 .hl { color: var(--accent); display: block; }
.hero .lead { margin-top: 26px; font-size: var(--t-md); line-height: 1.55; color: var(--muted); max-width: 44ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: var(--t-sm); color: var(--muted); }
.facts li { display: inline-flex; align-items: center; gap: 8px; }
.facts svg.i { width: 17px; height: 17px; color: var(--accent-2); }

/* ── Tambours (odomètre, prix) ───────────── */
/* Chiffres, tambours et séparateurs partagent EXACTEMENT la même boîte (--dh) :
   leurs lignes de base sont donc identiques, virgule comprise. */
.drums { --dh: 1.3em; position: relative; display: inline-flex; align-items: flex-start; gap: 3px; }
.drum, .strip > span, .drums .sep { display: inline-block; height: var(--dh); line-height: var(--dh); }
.drum { position: relative; width: 0.78em; overflow: hidden; clip-path: inset(0); border-radius: 5px; background: #16181f; box-shadow: inset 0 0 0 1px #262a35; }
.drum::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.62), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,0.62)); }
.strip { display: flex; flex-direction: column; }
.strip > span { text-align: center; }
.drums .sep { min-width: 0.26em; text-align: center; }
.drums.plain { --dh: 1.08em; gap: 0; }
.drums.plain .drum { width: 0.62em; background: none; box-shadow: none; border-radius: 0; }
.drums.plain .drum::after { display: none; }
.drums.plain .sep { min-width: 0.22em; }

/* ── Combiné d'instruments ────────────────── */
.cluster { margin: 0; }
.binnacle { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(14px, 2vw, 26px); align-items: center; padding: clamp(18px, 2.4vw, 30px) clamp(16px, 2.2vw, 28px) 20px; background: linear-gradient(180deg, #13151c 0%, #0d0e13 58%, #0b0c10 100%); border: 1px solid var(--line); border-radius: 30px 30px 22px 22px; box-shadow: 0 12px 16px -12px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.binnacle::before { content: ""; position: absolute; inset: -1px -1px auto; height: 26px; border-radius: 30px 30px 0 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent); pointer-events: none; }
.dial svg { width: 100%; height: auto; display: block; overflow: visible; }
.dial-num { font: 600 13px var(--font); fill: #8a91a3; }
.dial-read { font: 800 52px var(--display); fill: var(--text); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.dial-sub { font: 600 11px var(--font); fill: #8a91a3; letter-spacing: 0.16em; }
.mfd { background: var(--glass); border: 1px solid #1d2029; border-radius: 16px; padding: 18px 18px 16px; box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.7); position: relative; overflow: hidden; }
.mfd-data { display: grid; gap: 14px; transition: opacity 0.35s var(--ease); }
.mfd-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.mfd-model { font: 600 12px/1.35 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px; border-radius: 99px; font: 600 12.5px/1 var(--font); }
.chip svg.i { width: 14px; height: 14px; stroke-width: 2.4; }
.chip-good { color: var(--good); background: rgba(91, 179, 106, 0.13); }
.chip-ok { color: var(--ok); background: rgba(54, 194, 139, 0.13); }
.chip-warn { color: var(--warn); background: rgba(245, 165, 36, 0.12); }
.mfd-label { font: 600 11px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.odo-row { display: grid; gap: 9px; }
.odo .drums { font: 700 clamp(26px, 2.6vw, 34px) var(--display); color: #f4f5f8; }
.odo .unit { align-self: flex-end; font: 600 15px/1 var(--font); color: var(--muted); margin-left: 8px; padding-bottom: 8px; }
.mfd-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px; }
.mfd-cell { display: grid; gap: 7px; padding-top: 12px; border-top: 1px solid #1d2029; }
.mfd-cell b { font: 700 clamp(16px, 1.45vw, 20px)/1.1 var(--display); letter-spacing: -0.02em; white-space: nowrap; }
.mfd-cell b small { font: 600 12px var(--font); color: var(--muted); margin-left: 4px; letter-spacing: 0; }
.mfd-test { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; opacity: 0; transition: opacity 0.3s; pointer-events: none; font: 600 12px/1.4 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-2); }
.cluster.testing .mfd-data { opacity: 0.16; }
.cluster.testing .mfd-test { opacity: 1; }
.tt-row { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 12px 6px 4px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; border-top: 1px solid #1a1d26; }
.tt { display: grid; justify-items: center; gap: 7px; min-width: 0; }
.tt .ico { position: relative; }
.tt svg.i { width: 26px; height: 26px; color: #353a48; transition: color 0.12s linear; stroke-width: 1.9; }
.tt .st { position: absolute; right: -9px; top: -7px; width: 15px; height: 15px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); opacity: 0; transition: opacity 0.2s; }
.tt .st svg.i { width: 11px; height: 11px; stroke-width: 3; }
.tt span.lbl { font: 500 11px/1.2 var(--font); color: var(--muted); text-align: center; }
.tt[data-state="test"] > .ico > svg.i, .tt[data-state="warn"] > .ico > svg.i { color: var(--accent-2); }
.tt[data-state="ok"] > .ico > svg.i { color: var(--good); }
.tt[data-state="warn"] .st, .tt[data-state="ok"] .st { opacity: 1; }
.tt[data-state="warn"] .st { color: var(--accent-2); }
.tt[data-state="ok"] .st { color: var(--good); }
.cluster figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin-top: 16px; font-size: var(--t-xs); color: var(--muted); }
.legend { display: inline-flex; flex-wrap: wrap; gap: 8px 16px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend svg.i { width: 14px; height: 14px; stroke-width: 2.6; }
.btn-key { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 9px; font: 600 13px/1 var(--font); cursor: pointer; transition: border-color 0.2s; }
.btn-key:hover { border-color: var(--accent); }
.btn-key svg.i { width: 16px; height: 16px; color: var(--accent-2); transition: transform 0.5s var(--ease); }
.btn-key:active svg.i { transform: rotate(-38deg); }

/* ── Captures réelles ─────────────────────── */
.plates { display: grid; gap: 12px; }
.plates img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.plates figcaption { font-size: var(--t-xs); color: var(--muted); }
.report .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 90px); align-items: center; }
.report .sec-head { margin-bottom: 0; }
.notes { list-style: none; margin: 30px 0 0; padding: 0; display: grid; }
.notes li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.notes li:last-child { border-bottom: 1px solid var(--line-soft); }
.notes .k { color: var(--accent-2); padding-top: 2px; }
.notes b { display: block; font-weight: 600; }
.notes span.d { color: var(--muted); font-size: var(--t-sm); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 24px); align-items: start; }
.shots > figure { margin: 0; }
.shots > figure:nth-child(2) { margin-top: clamp(40px, 7vw, 96px); }

/* ── Zone par zone ────────────────────────── */
.zones-panel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.zones-stage { padding: clamp(18px, 3vw, 36px); display: grid; gap: 18px; align-content: start; border-inline-end: 1px solid var(--line-soft); }
.seg { display: inline-flex; padding: 4px; background: var(--glass); border: 1px solid var(--line-soft); border-radius: 12px; justify-self: start; }
.seg button { padding: 9px 16px; border: 0; background: none; color: var(--muted); font: 600 14px/1 var(--font); border-radius: 9px; cursor: pointer; transition: background 0.2s, color 0.2s; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 -2px 0 var(--accent), 0 6px 16px -10px rgba(0, 0, 0, 0.9); }
.schema svg { width: 100%; height: auto; display: block; }
.hs { cursor: pointer; }
.hs .ring { transition: r 0.25s var(--ease); }
.hs .focus { opacity: 0; }
.hs text { font: 600 11px var(--font); fill: #8a91a3; transition: fill 0.2s; }
.hs:hover text, .hs[aria-pressed="true"] text { fill: var(--text); }
.hs:focus { outline: none; }
.hs:focus-visible .focus { opacity: 1; }
.zone-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--t-xs); color: var(--muted); }
.zone-legend span { display: inline-flex; align-items: center; gap: 7px; }
.zone-legend svg.i { width: 14px; height: 14px; stroke-width: 2.6; }
.zones-read { padding: clamp(20px, 3vw, 36px); background: var(--bg-2); display: grid; gap: 16px; align-content: start; min-height: 360px; }
.zones-read h3 { font-size: var(--t-lg); font-weight: 700; }
.zones-read .src { font-size: var(--t-xs); color: var(--muted); }
.pts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pts li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--body-2); }
.pts svg.i { width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.2; }
.pts .p { color: var(--ok); } .pts .m { color: var(--danger); } .pts .v { color: var(--accent-2); }
.read-anim { animation: readIn 0.45s var(--ease) both; }
@keyframes readIn { from { opacity: 0.2; transform: translateY(6px); } }

/* ── Voyants = outils ─────────────────────── */
.tools-bar { display: flex; gap: 4px; padding: 8px; background: var(--glass); border: 1px solid var(--line); border-radius: 18px; }
.tool-tab { flex: 1 1 0; min-width: 0; display: grid; justify-items: center; gap: 9px; padding: 14px 4px 12px; background: none; border: 0; border-radius: 12px; color: var(--muted); cursor: pointer; transition: background 0.2s, color 0.2s; }
.tool-tab svg.i { width: 28px; height: 28px; color: #3b404f; transition: color 0.15s linear, transform 0.4s var(--ease); stroke-width: 1.8; }
.tool-tab span { font: 500 12px/1.25 var(--font); text-align: center; }
.tool-tab:hover svg.i { color: #6a7083; }
.tool-tab[aria-selected="true"] { background: rgba(255, 176, 32, 0.07); color: var(--text); }
.tool-tab[aria-selected="true"] svg.i { color: var(--accent-2); transform: translateY(-1px); }
.tool-panel { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
.tool-panel h3 { font-size: var(--t-xl); font-weight: 700; line-height: 1.08; }
.tool-panel .desc { margin-top: 16px; font-size: var(--t-md); color: var(--body-2); max-width: 48ch; }
.gets-title { font: 600 var(--t-sm)/1 var(--font); color: var(--muted); margin-bottom: 14px; }
.gets { list-style: none; margin: 0; padding: 0; display: grid; }
.gets li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
.gets svg.i { width: 18px; height: 18px; margin-top: 3px; color: var(--accent-2); stroke-width: 2.2; }
.access { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--muted); }
.access svg.i { width: 16px; height: 16px; color: var(--accent-2); }
.tools-foot { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-sm); color: var(--muted); }

/* ── Moto ─────────────────────────────────── */
.moto .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.moto .sec-head { margin-bottom: 0; }
.moto .plates { grid-template-columns: 1fr 1fr; align-items: start; }
.moto .plates figure { margin: 0; }
.moto .plates figure:nth-child(2) { margin-top: clamp(28px, 5vw, 64px); }

/* ── Étapes ───────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--line) 70%); }
.steps li { position: relative; display: grid; gap: 12px; align-content: start; }
.steps .n { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); font: 700 17px/1 var(--display); color: var(--accent-2); }
.steps h3 { font-size: var(--t-lg); font-weight: 700; margin-top: 8px; }
.steps p { color: var(--muted); }

/* ── Tarifs (aperçu) ──────────────────────── */
.price-strip { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: var(--surface); }
.price-main { padding: clamp(24px, 4vw, 44px); display: grid; gap: 16px; align-content: start; border-inline-end: 1px solid var(--line-soft); }
.price-main h3 { font-size: var(--t-lg); }
.price-big { display: flex; align-items: flex-end; gap: 10px; }
.price-big .drums { font: 800 clamp(44px, 5vw, 64px) var(--display); letter-spacing: -0.02em; }
.price-big .per { font: 600 17px var(--font); color: var(--muted); padding-bottom: 12px; }
.price-main ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.price-main li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; color: var(--body-2); }
.price-main li svg.i { width: 18px; height: 18px; margin-top: 3px; color: var(--good); stroke-width: 2.2; }
.price-side { padding: clamp(24px, 4vw, 44px); background: var(--bg-2); display: grid; gap: 18px; align-content: start; }
.price-side h3 { font-size: var(--t-md); font-weight: 700; }
.fees { width: 100%; border-collapse: collapse; }
.fees th, .fees td { padding: 13px 0; border-top: 1px solid var(--line-soft); vertical-align: top; text-align: start; font-weight: 400; }
.fees td { text-align: end; font: 700 17px/1.4 var(--display); white-space: nowrap; padding-inline-start: 16px; }
.fees small { display: block; color: var(--muted); font: 400 var(--t-xs)/1.45 var(--font); margin-top: 2px; }

/* ── Blog ─────────────────────────────────── */
.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.posts a { display: grid; grid-template-columns: 160px minmax(0, 1fr) 28px; gap: 24px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.posts time { font-size: var(--t-sm); color: var(--muted); }
.posts h3 { font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; letter-spacing: -0.015em; }
.posts svg.i { color: var(--muted); transition: transform 0.3s var(--ease), color 0.2s; }
.posts a:hover svg.i { transform: translateX(4px); color: var(--accent-2); }

/* ── Clôture ──────────────────────────────── */
.close .wrap { display: grid; gap: 28px; }
.close h2 { font-size: clamp(44px, 7vw, 96px); line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; }
.close h2 span { color: var(--accent); }
.close p { font-size: var(--t-md); color: var(--muted); max-width: 52ch; }

/* ── Pied de page ─────────────────────────── */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: 48px 36px; }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h2 { font: 600 var(--t-sm)/1 var(--font); color: var(--muted); letter-spacing: 0; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--body-2); font-size: var(--t-sm); }
.foot a:hover { color: var(--text); text-decoration: underline; }
.foot .about p { color: var(--muted); font-size: var(--t-sm); margin-top: 14px; max-width: 34ch; }
.foot .muted { color: var(--muted); font-size: var(--t-sm); }
.mail { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: var(--t-sm); }
.mail code { font: 500 14px var(--font); color: var(--text); user-select: all; }
.copy { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 8px; color: var(--muted); cursor: pointer; }
.copy:hover { color: var(--text); border-color: var(--accent); }
.copy svg.i { width: 15px; height: 15px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--t-xs); color: var(--muted); }

/* ── Pages intérieures ────────────────────── */
.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); line-height: 0.98; font-weight: 800; letter-spacing: -0.04em; max-width: 16ch; }
.page-head p { margin-top: 22px; font-size: var(--t-md); color: var(--muted); max-width: 58ch; }

/* Bandeau de voyants collant (page Fonctionnalités) */
.ft-strip { position: sticky; top: calc(var(--head) + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(12, 13, 17, 0.97); border-bottom: 1px solid var(--line-soft); }
.ft-strip .wrap { display: flex; align-items: center; gap: 18px; padding-block: 10px; }
.ft-phase { font: 600 var(--t-sm)/1.2 var(--font); color: var(--text); min-width: 10ch; }
.ft-lights { display: flex; gap: 2px; padding: 5px; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; flex: 1; justify-content: space-between; }
.ft-lights a { display: grid; place-items: center; width: 36px; height: 34px; border-radius: 8px; color: #3b404f; transition: color 0.2s linear, background 0.2s; }
.ft-lights a svg.i { width: 21px; height: 21px; stroke-width: 1.9; }
.ft-lights a.on { color: var(--accent-2); background: rgba(255, 176, 32, 0.07); }
.ft-lights a:hover { color: var(--muted); }

.phase { padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.phase-head { display: grid; gap: 10px; max-width: 640px; margin-bottom: clamp(26px, 3.5vw, 40px); }
.phase-head h2 { font-size: var(--t-xl); font-weight: 700; line-height: 1.05; }
.phase-head p { color: var(--muted); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.tool-name { display: flex; align-items: center; gap: 14px; }
.tool-name .ico { display: grid; place-items: center; flex: none; color: var(--accent-2); }
.tool-name .ico svg.i { width: 30px; height: 30px; stroke-width: 1.6; }
.tool-name h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; }
.feature .desc { margin-top: 16px; color: var(--body-2); font-size: var(--t-md); max-width: 52ch; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line-soft); }
.pair > article { padding: 28px clamp(0px, 3vw, 36px) 8px 0; }
.pair > article + article { padding-inline: clamp(18px, 3vw, 36px) 0; border-inline-start: 1px solid var(--line-soft); }
.pair .desc { margin-top: 12px; color: var(--body-2); max-width: 52ch; }
.chips { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 11px; border: 1px solid var(--line); border-radius: 99px; font-size: 13.5px; color: var(--body-2); }
.acc { margin-top: 12px; font-size: var(--t-sm); color: var(--muted); }
.legend-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(28px, 5vw, 64px); }
.legend-list > article { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding-block: 20px; border-top: 1px solid var(--line-soft); }
.legend-list svg.i { width: 24px; height: 24px; color: var(--accent-2); margin-top: 2px; }
.legend-list h3 { font-size: 19px; font-weight: 700; }
.legend-list p { margin-top: 6px; color: var(--body-2); font-size: 15.5px; }
.legend-list .acc { margin-top: 8px; font-size: 13.5px; }
.pro-box { padding: clamp(22px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; display: grid; gap: 12px; max-width: 860px; }
.pro-box p { color: var(--body-2); max-width: 64ch; }

.walk-step { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(28px, 6vw, 90px); align-items: center; padding-block: clamp(44px, 6vw, 80px); border-top: 1px solid var(--line); }
.trip { display: inline-flex; align-items: center; gap: 12px; }
.trip .drums { font: 700 28px var(--display); color: #f4f5f8; }
.trip .mfd-label { color: var(--accent-2); }
.walk-step h2 { font-size: var(--t-xl); font-weight: 700; margin-top: 18px; line-height: 1.08; }
.walk-step p { margin-top: 14px; color: var(--muted); font-size: var(--t-md); max-width: 46ch; }
.walk-step .plates { max-width: 400px; justify-self: center; width: 100%; }
.spec-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; max-width: 460px; }
.spec-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: var(--t-sm); }
.spec-list li span:first-child { color: var(--muted); }
.devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.device { padding: clamp(22px, 3vw, 32px); display: grid; gap: 10px; align-content: start; border-inline-end: 1px solid var(--line-soft); background: var(--surface); }
.device:last-child { border-inline-end: 0; background: var(--bg-2); }
.device h3 { font-size: var(--t-md); }
.device p { color: var(--muted); font-size: var(--t-sm); }
.device .state { font-size: var(--t-sm); font-weight: 600; color: var(--good); display: inline-flex; align-items: center; gap: 7px; }
.device .state.soon { color: var(--muted); }
.faq { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 2px; font: 600 clamp(17px, 1.6vw, 20px)/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg.i { color: var(--muted); transition: transform 0.35s var(--ease); }
.faq details[open] summary svg.i { transform: rotate(180deg); color: var(--accent-2); }
.faq details p { padding: 0 2px 22px; color: var(--body-2); max-width: 66ch; }

.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.tarif { width: 100%; min-width: 780px; border-collapse: collapse; }
.tarif th, .tarif td { padding: 16px 18px; text-align: start; border-top: 1px solid var(--line-soft); vertical-align: top; }
.tarif thead tr:first-child th, .tarif thead tr:first-child td { border-top: 0; padding-bottom: 6px; font: 600 12.5px/1 var(--font); color: var(--muted); }
.tarif thead tr:last-child th { font: 700 18px/1.2 var(--display); border-top: 0; padding-top: 6px; }
.tarif thead .pr { display: flex; align-items: flex-end; gap: 4px; margin-top: 10px; }
.tarif thead .pr .drums { font: 800 30px var(--display); }
.tarif thead .pr small { font: 600 13px var(--font); color: var(--muted); padding-bottom: 5px; }
.tarif tbody th { font: 500 var(--t-sm)/1.45 var(--font); color: var(--muted); width: 25%; }
.tarif td { font-size: 15px; color: #d6dae4; }
.tarif .col-prem { background: rgba(255, 107, 44, 0.045); }
.tarif thead tr:last-child th.col-prem { box-shadow: inset 0 2px 0 var(--accent); }
.tarif .yes, .tarif .no { display: inline-flex; align-items: center; gap: 6px; }
.tarif .yes { color: var(--good); }
.tarif .no { color: var(--muted); }
.tarif .yes svg.i, .tarif .no svg.i { width: 17px; height: 17px; stroke-width: 2.4; }
.table-note { margin-top: 14px; font-size: var(--t-xs); color: var(--muted); max-width: 92ch; }
.onetime { display: grid; border-top: 1px solid var(--line); }
.onetime-row { display: grid; grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1.45fr); gap: clamp(20px, 5vw, 72px); padding-block: clamp(26px, 3.4vw, 40px); border-bottom: 1px solid var(--line); align-items: start; }
.onetime-row .amt .drums { font: 800 clamp(40px, 4.6vw, 60px) var(--display); letter-spacing: -0.02em; }
.onetime-row .amt small { display: block; margin-top: 10px; color: var(--muted); font-size: var(--t-sm); }
.onetime-row h3 { font-size: var(--t-lg); font-weight: 700; }
.onetime-row p { margin-top: 10px; color: var(--body-2); max-width: 58ch; }
.onetime-row .chips li b { color: var(--text); font-weight: 600; }

/* ── Responsive ───────────────────────────── */
@media (min-width: 1081px) { .mobile-menu { display: none !important; } }
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .hero .wrap, .report .wrap, .moto .wrap { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .zones-panel, .tool-panel, .feature { grid-template-columns: 1fr; }
  .zones-stage { border-inline-end: 0; border-bottom: 1px solid var(--line-soft); }
  .foot { grid-template-columns: 1fr 1fr; }
  .ft-phase { display: none; }
}
@media (max-width: 760px) {
  .head-actions .btn-ghost { display: none; }
  .binnacle { grid-template-columns: 1fr; border-radius: 24px; }
  .dial { max-width: 320px; justify-self: center; width: 100%; }
  .tt-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  .tools-bar { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; }
  .tool-tab { padding: 10px 2px; gap: 6px; }
  .tool-tab svg.i { width: 24px; height: 24px; }
  .tool-tab span { font-size: 11px; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line) 70%); }
  .steps li { grid-template-columns: 46px 1fr; column-gap: 16px; }
  .steps li > :not(.n) { grid-column: 2; }
  .steps li .n { grid-row: 1 / span 2; }
  .steps h3 { margin-top: 10px; }
  .price-strip { grid-template-columns: 1fr; }
  .price-main { border-inline-end: 0; border-bottom: 1px solid var(--line-soft); }
  .posts a { grid-template-columns: 1fr 24px; gap: 6px 16px; }
  .posts time, .posts h3 { grid-column: 1; }
  .posts svg.i { grid-row: 1 / span 2; grid-column: 2; }
  .walk-step { grid-template-columns: 1fr; }
  .devices { grid-template-columns: 1fr; }
  .device { border-inline-end: 0; border-bottom: 1px solid var(--line-soft); }
  .onetime-row { grid-template-columns: 1fr; }
  .pair, .legend-list { grid-template-columns: 1fr; }
  .pair > article + article { padding-inline: 0; border-inline-start: 0; border-top: 1px solid var(--line-soft); }
  .foot { grid-template-columns: 1fr; }
  .ft-lights a { width: auto; flex: 1; }
}
@media (max-width: 420px) {
  .head-actions .btn-primary span.t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .head-actions .btn-primary { padding: 0 12px; }
  .lang-btn span.code { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .cta-row .btn { width: 100%; }
  .mfd-grid { grid-template-columns: 1fr; }
  .shots, .moto .plates { grid-template-columns: 1fr; }
  .shots > figure:nth-child(2), .moto .plates figure:nth-child(2) { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ── Ajouts production : bandeau de langue, liste des langues, écritures et sens de lecture ── */
.lang-banner{position:fixed;inset-inline:16px;bottom:16px;z-index:60;display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;max-width:560px;margin-inline:auto;padding:14px 16px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);box-shadow:0 18px 40px rgba(0,0,0,.45)}
.mfd-cell{min-width:0}.mfd-cell b{overflow:hidden}.mfd-cell .mfd-label{display:block;max-width:100%;overflow:hidden}
.lang-banner p{margin:0;flex:1 1 220px;color:var(--text);font-size:15px;line-height:1.45}
#langList a{display:block;width:100%;text-align:start;padding:8px 10px;color:var(--text);font:500 14px/1.3 var(--font);border-radius:8px;text-decoration:none}
#langList a:hover{background:var(--surface-2)}
#langList a[aria-current="true"]{background:var(--surface-2);color:var(--accent-2)}
h1,h2,h3,h4{overflow-wrap:anywhere;hyphens:auto}
.phase-head{grid-template-columns:minmax(0,1fr)}
.tool-tab span{max-width:100%;overflow:hidden}
/* En-tête : si la navigation traduite ne tient pas, on passe par étapes au menu compact. */
html.hdr-1 .nav{display:none}
html.hdr-1 .menu-btn{display:inline-flex}
html.hdr-1 .mobile-menu:not([hidden]){display:grid!important}
html.hdr-2 .head-actions .btn-ghost{display:none}
html.hdr-3 .head-actions .btn-primary span.t{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
html.hdr-3 .head-actions .btn-primary{padding:0 12px}
/* Écritures de droite à gauche : la mise en page s'inverse, les instruments et les nombres restent de gauche à droite. */
[dir=rtl] #odo,[dir=rtl] .drums,[dir=rtl] svg:not(.i){direction:ltr}
[dir=rtl] #odo{justify-content:flex-end}
[dir=rtl] .mfd-cell b{unicode-bidi:plaintext;text-align:right}
[dir=rtl] .skip{left:auto;right:12px}
[dir=rtl] .head-actions{margin-left:0;margin-right:auto}
[dir=rtl] .lang-pop{right:auto;left:0}
[dir=rtl] .tt .st{right:auto;left:-9px}
[dir=rtl] .steps::before{background:linear-gradient(270deg,var(--accent),var(--line) 70%)}
@media (max-width:760px){[dir=rtl] .steps::before{left:auto;right:23px;background:linear-gradient(180deg,var(--accent),var(--line) 70%)}}
[dir=rtl] svg.i:has(use[href="#i-right"]){transform:scaleX(-1)}
[dir=rtl] .link-arrow:hover svg.i,[dir=rtl] .posts a:hover svg.i{transform:scaleX(-1) translateX(4px)}
:lang(zh) *,:lang(ja) *,:lang(ko) *{letter-spacing:0!important;word-break:normal}
:lang(zh),:lang(ja){line-break:strict}
:lang(th),:lang(lo),:lang(km),:lang(my){word-break:normal;overflow-wrap:anywhere}
/* Pages légales traduites */
.legal-page{padding:clamp(40px,7vw,84px) 0 clamp(56px,8vw,96px)}
.legal-page .wrap{max-width:760px}
.legal-page h1{font:700 clamp(30px,4.4vw,44px)/1.08 var(--display);letter-spacing:-.02em;margin:0 0 10px}
.legal-page h2{font:700 20px/1.25 var(--display);margin:34px 0 10px}
.legal-page p,.legal-page li{color:var(--body-2);line-height:1.65}
.legal-page p{margin:0 0 12px}
.legal-page ul{margin:0;padding-inline-start:22px;display:grid;gap:8px}
.legal-page .muted{color:var(--muted)}
.legal-page a:not(.btn){color:var(--accent-2)}
.legal-page b{color:var(--text)}
.legal-page .card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;margin:14px 0}
.legal-page .card h2{margin-top:0}
.legal-page a.btn{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;margin-top:6px;border-radius:12px;background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#1a1206;font-weight:700;text-decoration:none;white-space:normal;max-width:100%;text-align:center;line-height:1.3}
.legal-page code,.legal-page a{overflow-wrap:anywhere}
.legal-note{margin:0 0 28px;padding:12px 14px;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-sm);color:var(--muted);font-size:14px;line-height:1.5}
.legal-note a{color:var(--accent-2)}
