/* Site SlotPiste Compteur – charte « Night Grid » (docs/charte.md, section 6). Aucune ressource externe,
   aucun style dans les pages (la CSP refuse les attributs style=) : tout est ici. */

/* Polices embarquées (SIL OFL 1.1), les mêmes que l'application. */
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-700-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('fonts/barlow-condensed-latin-800-italic.woff2') format('woff2'); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('fonts/jetbrains-mono-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #0A0C0F;
  --bar: #0E1115;
  --panel: #12161B;
  --raised: #1A2027;
  --line: #262D36;
  --line-strong: #333B46;
  --line-soft: #1F252D;
  --ink: #F3F5F8;
  --ink-3: #C9D0D9;
  --muted: #9AA4B2;
  --label: #8590A0;
  --accent: #FF5B1F;
  --accent-hover: #FF7A45;
  --on-accent: #0A0C0F;
  --purple: #B46CFF;
  --purple-bg: #160E22;
  --purple-line: #4A2A73;
  --green: #2FD67B;
  --green-bg: #0D2619;
  --yellow: #FFD23F;
  --yellow-bg: #2A2208;
  --red: #FF2E2E;
  --red-soft: #FF6B6B;
  --red-bg: #2A0F10;
  --lamp-off: #2A1416;
  --box: #07090B;
  --club-bg: #21140E;
  --lane-red: #E5383B;
  --lane-blue: #3A7BEF;
  --lane-yellow: #F2C531;
  --lane-green: #2DB467;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 40px);
  --stripes: repeating-linear-gradient(115deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px);
  --plate: polygon(22% 0, 100% 0, 78% 100%, 0 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
img, svg { max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .5px; overflow-wrap: break-word; hyphens: auto; }
p, li, summary, address { overflow-wrap: break-word; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 700; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.hl { color: var(--accent); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--yellow); color: var(--bg); font-weight: 600; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--bg); }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); box-sizing: content-box; }
.wrap-narrow { max-width: 860px; }

/* ---------- marque ---------- */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; padding: 6px 0; }
.brand-mark { width: 40px; height: 30px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 27px; letter-spacing: 1px; line-height: 1; color: var(--ink); }
.brand-name .piste { color: var(--accent); }
.brand-sub { font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-strong); padding-left: 10px; }

/* ---------- en-tête ---------- */
.site-head { position: sticky; top: 0; z-index: 10; background: rgba(14, 17, 21, .96); border-bottom: 1px solid var(--line-soft); }
.head-row { padding-top: 12px; padding-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 36px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 0 26px; flex: 1 1 auto; }
.main-nav a { color: var(--ink-3); text-decoration: none; font-size: 15px; font-weight: 500; padding: 12px 0; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); }
.head-actions { display: flex; align-items: center; gap: 10px; }

/* sélecteur de langue : un menu dépliant sans script */
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 10px; color: var(--ink-3); font-size: 14px; font-weight: 600; }
.lang summary::-webkit-details-marker { display: none; }
.lang[open] summary svg { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; padding: 6px; min-width: 200px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .55); }
.lang li a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang li a:hover { background: var(--raised); }
.lang li a[aria-current] { color: var(--accent); font-weight: 600; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; line-height: 1.1; text-align: center; }
.btn svg { flex: none; }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 22px; }
.btn-sm { min-height: 44px; padding: 0 16px; border-radius: 10px; font-size: 18px; }
.btn-primary { background: var(--accent); color: var(--on-accent); font-weight: 800; }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-ghost { background: var(--panel); border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-outline { border: 1px solid var(--accent); color: var(--accent); }
.btn-outline:hover { background: var(--club-bg); color: var(--accent-hover); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: none; }

/* ---------- éléments communs ---------- */
.eyebrow { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); }
.title { font-size: clamp(38px, 5.2vw, 64px); line-height: .95; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-3); }
.section { padding: clamp(72px, 9vw, 112px) 0; }
.band { background: var(--bar); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 760px; }
.section-head .title { margin-top: 14px; }
.section-head .lead { margin-top: 20px; }
.checker { height: 24px; background: repeating-conic-gradient(var(--ink) 0 25%, var(--bg) 0 50%) 0 0 / 24px 24px; }
.check { flex: none; color: var(--green); }
.checks { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--ink-3); }
.checks li { display: flex; align-items: center; gap: 8px; }
.list-checks { display: flex; flex-direction: column; gap: 12px; font-size: 16px; color: var(--ink); }
.list-checks li { display: flex; gap: 10px; align-items: flex-start; }
.list-checks .check { margin-top: 3px; }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--ink-3); }
.pill-club { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 999px; background: var(--club-bg); color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; }
.state { display: inline-block; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.state-available { background: var(--green-bg); color: var(--green); }
.state-testing { background: var(--yellow-bg); color: var(--yellow); }
.state-planned { background: var(--raised); color: var(--muted); }
.state-study { padding: 2px 8px; border: 1px dashed var(--line-strong); color: var(--muted); }
.fine { font-size: 13px; line-height: 1.6; color: var(--label); }

/* feux de départ : boîtier, lampes rouges, vertes ou éteintes */
.lights { display: inline-flex; gap: 8px; padding: 10px 12px; background: var(--box); border: 1px solid var(--line); border-radius: 10px; }
.lamp { width: 22px; height: 22px; border-radius: 50%; background: var(--lamp-off); }
.lamp.on-red { background: var(--red); box-shadow: 0 0 12px rgba(255, 46, 46, .6); }
.lamp.on-green { background: var(--green); box-shadow: 0 0 12px rgba(47, 214, 123, .55); }
.lights-sm { gap: 6px; padding: 8px 10px; border-radius: 9px; }
.lights-sm .lamp { width: 16px; height: 16px; }
.lights-lg { gap: 10px; padding: 12px 14px; border-radius: 12px; }
.lights-lg .lamp { width: 28px; height: 28px; }

/* plaque de piste : parallélogramme à la couleur de la piste */
.plate { display: inline-flex; align-items: center; justify-content: center; clip-path: var(--plate); font-family: var(--display); font-weight: 800; font-style: normal; color: var(--on-accent); }
.lane-red { background: var(--lane-red); }
.lane-blue { background: var(--lane-blue); }
.lane-yellow { background: var(--lane-yellow); }
.lane-green { background: var(--lane-green); }

/* ---------- héros ---------- */
.hero { background: var(--stripes), var(--bg); overflow: hidden; }
.hero-in { padding-top: clamp(48px, 7vw, 80px); }
.hero-text { max-width: 880px; }
.release { display: inline-flex; align-items: center; gap: 16px; padding: 10px 20px 10px 12px; background: var(--panel); border: 1px solid var(--line-strong); border-radius: 14px; }
.release-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label); }
.release-when { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 28px; line-height: 1.05; text-transform: uppercase; }
.hero .eyebrow { margin-top: 32px; display: flex; align-items: center; gap: 12px; font-size: 18px; }
.eyebrow-plate { width: 26px; height: 16px; flex: none; background: var(--accent); clip-path: var(--plate); }
.display { margin-top: 18px; font-size: clamp(60px, 10vw, 128px); line-height: .96; }
.hero-lead { margin-top: 28px; max-width: 660px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink-3); }
.hero-news { margin-top: 14px; max-width: 660px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--ink); }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero .checks { margin-top: 30px; }

/* ---------- aperçu de l'écran Course (illustration en HTML, traduite) ---------- */
.mock { margin-top: 64px; border: 1px solid var(--line-strong); border-bottom: 0; border-radius: 16px 16px 0 0; background: var(--bg); overflow: hidden; }
.mock-scroll { overflow-x: auto; }
.mock-in { min-width: 1160px; }
.mock-bar { height: 50px; background: var(--bar); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 26px; padding: 0 20px; }
.mock-brand { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px; letter-spacing: 1px; }
.mock-brand svg { width: 26px; height: 20px; }
.mock-tabs { display: flex; gap: 22px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.mock-tabs span { padding: 14px 0; }
.mock-tabs .on { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }
.mock-settings { margin-left: auto; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--label); }
.mock-band { display: flex; align-items: center; gap: 28px; padding: 14px 20px; background: var(--bar); border-bottom: 1px solid var(--line-soft); }
.status { font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); }
.clock { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 32px; font-weight: 700; line-height: 1.1; }
.chips { display: flex; gap: 10px; }
.chip { padding: 8px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--muted); }
.chip b { color: var(--ink); }
.mock-buttons { margin-left: auto; display: flex; gap: 10px; }
.mock-btn { height: 44px; padding: 0 18px; display: flex; align-items: center; border: 1px solid var(--line-strong); color: var(--ink-3); border-radius: 10px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: 1px; text-transform: uppercase; }
.mock-btn.pause { border-color: var(--yellow); color: var(--yellow); }
.mock-body { display: flex; }
.mock-lanes { flex: 1 1 auto; min-width: 0; }
.lane-row { display: grid; grid-template-columns: 60px 52px minmax(0, 1fr) 60px 80px 80px 84px 76px 96px; gap: 0 10px; align-items: center; height: 92px; padding-right: 20px; border-bottom: 1px solid var(--line-soft); }
.lane-row:last-child { border-bottom: 0; }
.lane-head { height: 32px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label); border-bottom: 1px solid var(--line-soft); }
.lane-head span:first-child { text-align: center; }
.lane-tab { height: 100%; display: flex; align-items: center; justify-content: center; background: var(--panel); }
.lane-tab .plate { width: 44px; height: 34px; font-size: 22px; }
.pos { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 34px; }
.pos.lead-pos { color: var(--accent); }
.pilot-name { font-family: var(--display); font-weight: 700; font-size: 23px; text-transform: uppercase; white-space: nowrap; }
.pilot-top { display: flex; align-items: center; gap: 10px; }
.tag-pen { padding: 2px 8px; border-radius: 6px; background: var(--red-bg); color: var(--red-soft); font-size: 11px; font-weight: 700; letter-spacing: .5px; white-space: nowrap; }
.progress { margin-top: 8px; height: 6px; background: var(--raised); border-radius: 3px; }
.progress span { display: block; height: 100%; border-radius: 3px; }
.w77 { width: 77%; } .w75 { width: 75%; } .w72 { width: 72%; } .w71 { width: 71%; } .w62 { width: 62%; } .w48 { width: 48%; } .w22 { width: 22%; }
.n-laps { font-family: var(--mono); font-size: 30px; font-weight: 700; }
.n-time { font-family: var(--mono); font-size: 19px; font-weight: 700; }
.n-small { font-family: var(--mono); font-size: 14px; color: var(--ink-3); white-space: nowrap; }
.n-small small { font-size: 11px; color: var(--label); }
.c-purple { color: var(--purple); }
.c-green { color: var(--green); }
.c-yellow { color: var(--yellow); }
.c-soft { color: var(--ink-3); }
.c-muted { color: var(--muted); }
.fuel-bar { height: 8px; background: var(--raised); border-radius: 4px; }
.fuel-bar span { display: block; height: 100%; background: var(--ink-3); border-radius: 4px; }
.fuel-bar span.low { background: var(--yellow); }
.fuel-val { margin-top: 5px; font-family: var(--mono); font-size: 11px; color: var(--label); }
.mock-aside { flex: 0 0 280px; border-left: 1px solid var(--line); background: var(--bar); padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.best-card { background: var(--purple-bg); border: 1px solid var(--purple-line); border-radius: 12px; padding: 14px; }
.best-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--purple); }
.best-time { margin-top: 4px; font-family: var(--mono); font-size: 30px; font-weight: 700; color: var(--purple); }
.best-who { margin-top: 2px; font-size: 13px; color: var(--muted); }
.aside-label { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label); }
.events { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-3); }
.events div { display: flex; gap: 10px; }
.events .mono { color: var(--label); }
.legend-times { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 11px; color: var(--label); line-height: 1.5; }

/* ---------- comment ça marche ---------- */
.steps { margin-top: 48px; }
.step { flex: 1 1 320px; gap: 14px; }
.step-visual { height: 184px; background: var(--bar); border: 1px solid var(--line-soft); border-radius: 10px; padding: 16px; }
.step-no { font-family: var(--mono); font-size: 14px; font-weight: 700; color: var(--accent); }
.step h3 { font-size: 32px; line-height: 1; }
.step p { font-size: 16px; line-height: 1.6; }
.grid-plan { display: grid; grid-template-columns: 34px repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(5, minmax(0, 1fr)); gap: 6px; align-items: center; justify-items: center; height: 100%; font-family: var(--display); font-weight: 700; font-size: 17px; }
.grid-plan .plate { width: 30px; height: 20px; font-size: 14px; }
.grid-plan .heat { font-size: 12px; color: var(--label); letter-spacing: 1px; }
.r1 { color: var(--ink); } .r2 { color: var(--ink-3); } .r3 { color: var(--muted); } .r4 { color: var(--label); }
.step-start { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; height: 100%; }
.step-start .lamp { width: 30px; height: 30px; }
.step-input { font-family: var(--mono); font-size: 12px; color: var(--label); text-align: center; line-height: 1.7; }
.step-input span { color: var(--ink-3); }
.mini-results { display: flex; flex-direction: column; justify-content: center; gap: 8px; height: 100%; }
.mini-row { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 10px; background: var(--panel); border-radius: 8px; }
.mini-row .p { width: 18px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 22px; }
.mini-row .p.first { color: var(--accent); }
.mini-row .n { flex: 1; font-family: var(--display); font-weight: 700; font-size: 17px; text-transform: uppercase; }
.mini-row .mono { font-size: 13px; color: var(--ink-3); }
.mini-row .mono.c-purple { color: var(--purple); font-weight: 700; }
.badge-record { align-self: flex-start; margin-top: 4px; padding: 4px 10px; border-radius: 6px; background: var(--purple-bg); border: 1px solid var(--purple-line); color: var(--purple); font-size: 12px; font-weight: 600; }

/* ---------- écran public et téléphones ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split-text { flex: 1 1 380px; min-width: 0; }
.split-text .title { margin-top: 14px; }
.split-text .lead { margin-top: 22px; }
.split-text .lead + .lead { margin-top: 14px; }
.split-text .list-checks { margin-top: 26px; }
.list-checks .pill-club { margin-left: 6px; vertical-align: 1px; }
.devices { flex: 2 1 600px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 24px; }
.tv { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; align-items: center; }
.tv-frame { width: 100%; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-strong); border-radius: 14px; padding: 9px; }
.tv-screen { width: 100%; height: 100%; background: var(--bg); border-radius: 6px; overflow: hidden; padding: 4% 4.5%; display: flex; flex-direction: column; gap: 4%; }
.tv-top { display: flex; align-items: center; gap: 14px; }
.tv-top .lights { gap: 5px; padding: 5px 7px; border-radius: 7px; border: 0; }
.tv-top .lamp { width: 12px; height: 12px; box-shadow: none; }
.tv-heat { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(14px, 1.6vw, 20px); text-transform: uppercase; }
.tv-clock { margin-left: auto; font-family: var(--mono); font-size: clamp(14px, 1.6vw, 20px); font-weight: 700; }
.tv-rows { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.tv-row { display: flex; align-items: center; gap: 12px; }
.tv-row .p { width: 34px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(18px, 2.2vw, 28px); }
.tv-row .p.first { color: var(--accent); }
.tv-row .plate { width: 30px; height: 22px; }
.tv-row .n { flex: 1; min-width: 0; font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.9vw, 24px); text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.tv-row .l { font-family: var(--mono); font-size: clamp(14px, 1.7vw, 22px); font-weight: 700; }
.tv-row .g { width: 70px; text-align: right; font-family: var(--mono); font-size: clamp(11px, 1.2vw, 15px); color: var(--ink-3); }
.tv-row .g.c-purple { color: var(--purple); }
.tv-stand { width: 22%; height: 16px; background: var(--raised); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.phone { flex: 0 0 210px; width: 210px; height: 420px; border: 7px solid var(--raised); border-radius: 34px; background: var(--bg); padding: 22px 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.phone-brand { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 14px; letter-spacing: .5px; }
.phone-brand svg { width: 20px; height: 15px; }
.phone .status { font-size: 11px; letter-spacing: 1.5px; }
.phone-heat { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 21px; text-transform: uppercase; line-height: 1.1; }
.phone-rows { display: flex; flex-direction: column; gap: 6px; }
.phone-row { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 8px; background: var(--panel); border-radius: 8px; }
.phone-row .p { width: 12px; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px; }
.phone-row .p.first { color: var(--accent); }
.phone-row .bar { width: 4px; height: 22px; border-radius: 2px; }
.phone-row .n { flex: 1; min-width: 0; font-family: var(--display); font-weight: 700; font-size: 15px; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.phone-row .mono { font-size: 13px; font-weight: 700; }
.phone-best { margin-top: auto; background: var(--purple-bg); border: 1px solid var(--purple-line); border-radius: 8px; padding: 8px 10px; }
.phone-best .best-label { font-size: 10px; letter-spacing: 1px; }
.phone-best .mono { font-size: 15px; font-weight: 700; color: var(--purple); }

/* ---------- fonctions ---------- */
.features { margin-top: 48px; }
.feature { flex: 1 1 260px; }
.feature-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.icon-tile { width: 48px; height: 48px; border-radius: 12px; background: var(--raised); display: flex; align-items: center; justify-content: center; flex: none; }
.icon-tile svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 26px; line-height: 1; }
.feature p { font-size: 15px; line-height: 1.6; }
.more { margin-top: 28px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- matériel ---------- */
.hw-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.hw-head .section-head { flex: 1 1 600px; max-width: 880px; }
.hw-cards { margin-top: 44px; }
.hw-card { flex: 1 1 250px; padding: 22px; }
.hw-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.hw-card h3 { font-size: 24px; }
.hw-sub { font-size: 13px; color: var(--label); }
.hw-list { display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--ink); }
.hw-brands { margin-top: 22px; }

/* ---------- bêta en club ---------- */
.beta { background: var(--panel); border: 2px solid var(--accent); border-radius: 18px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; }
.beta-text { flex: 3 1 420px; min-width: 0; }
.beta-text .title { margin-top: 14px; font-size: clamp(36px, 4.8vw, 60px); }
.beta-text .lead { margin-top: 20px; }
.beta-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.beta-actions .note { font-size: 14px; color: var(--muted); }
.beta-list { flex: 2 1 300px; min-width: 0; background: var(--bar); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.beta-list p { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label); }
.beta-list ol { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.beta-list li { display: flex; gap: 12px; align-items: baseline; }
.beta-list .mono { font-size: 13px; font-weight: 700; color: var(--accent); }

/* ---------- éditions ---------- */
.editions-section { padding-top: 0; }
.editions { margin-top: 44px; gap: 24px; align-items: stretch; }
.edition { flex: 1 1 340px; padding: 32px; gap: 22px; }
.edition h3 { font-size: 38px; line-height: 1; }
.edition-name { display: flex; align-items: center; gap: 12px; }
.edition-for { margin-top: 6px; font-size: 15px; color: var(--muted); }
.edition-plus { font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--label); }
.edition .list-checks { margin-top: -8px; }
.edition .list-checks:first-of-type { margin-top: 0; }
.edition-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- questions ---------- */
.faq { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 17px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex: none; width: 20px; height: 20px; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.faq details[open] summary .v { display: none; }
.faq details p { padding: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--ink-3); }

/* ---------- appel final ---------- */
.cta { background: var(--stripes), var(--panel); border-top: 1px solid var(--line); }
.cta-in { padding-top: clamp(64px, 8vw, 96px); padding-bottom: clamp(64px, 8vw, 96px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta h2 { font-size: clamp(44px, 6.5vw, 84px); line-height: .92; }
.cta .lead { max-width: 600px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ---------- pied de page ---------- */
.site-foot { background: var(--bar); border-top: 1px solid var(--line-soft); }
.foot-in { padding-top: 56px; padding-bottom: 32px; }
.foot-cols { display: flex; flex-wrap: wrap; gap: 40px 56px; }
.foot-about { flex: 2 1 300px; display: flex; flex-direction: column; gap: 16px; }
.foot-about .brand-mark { width: 36px; height: 27px; }
.foot-about .brand-name { font-size: 24px; }
.foot-about .brand-sub { font-size: 14px; }
.foot-about p { max-width: 380px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.foot-nav { flex: 1 1 150px; display: flex; flex-direction: column; gap: 4px; }
.foot-nav p { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label); margin-bottom: 6px; }
.foot-nav a { color: var(--ink-3); text-decoration: none; font-size: 15px; padding: 6px 0; }
.foot-nav a:hover { color: var(--ink); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; font-weight: 600; }
.foot-langs a { color: var(--muted); text-decoration: none; padding: 8px 0; }
.foot-langs a[aria-current] { color: var(--accent); }
.foot-copy { font-size: 13px; color: var(--label); }
.foot-legal { margin-top: 14px; font-size: 12px; line-height: 1.6; color: var(--label); }

/* ---------- page Matériel ---------- */
.page-head { background: var(--stripes), var(--bg); border-bottom: 1px solid var(--line-soft); }
.page-head-in { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(40px, 5vw, 56px); }
.crumb ol { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--label); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb li + li::before { content: '›'; margin-right: 8px; color: var(--label); }
.crumb [aria-current] { color: var(--ink-3); }
.page-title { margin-top: 18px; font-size: clamp(48px, 7vw, 92px); line-height: .92; }
.page-head .lead { margin-top: 22px; max-width: 700px; }
.legend { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: 10px; }
.table-section { padding: clamp(48px, 6vw, 72px) 0; }
.table-box { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.hw-table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
.hw-table caption { text-align: left; padding: 18px 22px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--line); }
.hw-table thead tr { background: var(--bar); }
.hw-table th[scope="col"] { text-align: left; padding: 12px 16px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label); }
.hw-table tbody tr { border-top: 1px solid var(--line-soft); }
.hw-table th[scope="row"] { text-align: left; padding: 18px 16px; font-weight: 600; color: var(--ink); }
.hw-table td { padding: 18px 16px; color: var(--ink-3); }
.hw-table th:first-child { padding-left: 22px; }
.hw-table th:last-child, .hw-table td:last-child { padding-right: 22px; }
.hw-table tr.row-keyboard { background: var(--bar); }
.notes { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.connect .title { font-size: clamp(36px, 4.6vw, 56px); }
.connect ol { margin-top: 36px; }
.connect li { flex: 1 1 280px; gap: 10px; }
.connect h3 { font-size: 26px; line-height: 1; }
.connect li p { font-size: 15px; line-height: 1.6; }
.duo .card { flex: 1 1 420px; padding: 32px; gap: 14px; }
.duo h2 { font-size: 34px; line-height: 1; }
.duo p { font-size: 16px; line-height: 1.6; }
.duo .btn { align-self: flex-start; margin-top: 6px; }
.keys { margin-top: 6px; display: flex; gap: 10px; }
.keys span { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-bottom-width: 4px; border-radius: 8px; background: var(--raised); font-family: var(--mono); font-size: 18px; font-weight: 700; }
.key-red { color: var(--lane-red); } .key-blue { color: var(--lane-blue); } .key-yellow { color: var(--lane-yellow); } .key-green { color: var(--lane-green); }

/* ---------- pages de texte (mentions légales, confidentialité) ---------- */
.prose { padding-top: clamp(48px, 6vw, 72px); padding-bottom: clamp(64px, 8vw, 96px); }
.prose .title { font-size: clamp(40px, 6vw, 72px); }
.prose .updated { margin-top: 10px; font-size: 14px; color: var(--label); }
.prose h2 { margin-top: 40px; font-size: 28px; line-height: 1.1; }
.prose p, .prose address { margin-top: 14px; font-style: normal; color: var(--ink-3); line-height: 1.7; }
.prose .summary { margin-top: 28px; padding: 20px 22px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.prose .summary p { margin-top: 0; color: var(--ink); }

/* ---------- 404 ---------- */
.notfound { padding-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.notfound .display { font-size: clamp(48px, 8vw, 96px); }
.notfound-list { margin-top: 32px; display: flex; flex-direction: column; gap: 10px; color: var(--ink-3); }

@media (max-width: 720px) {
  .site-head { position: static; }
  .head-row { gap: 4px 20px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 0 18px; }
  .head-actions { margin-left: auto; }
  .release { padding-right: 14px; }
  .btn-lg { width: 100%; }
}
@media (max-width: 480px) {
  .site-head .brand-sub, .site-head .btn-label { display: none; }
  .brand-name { font-size: 24px; }
}
