/* ==========================================================================
   Laptency — site.css
   Direction : précision, immédiateté. Noir écran, grille de pixels,
   bleu → cyan → blanc (les trois colonnes du logo), chiffres en mono.
   Une seule feuille, aucune dépendance externe, polices hébergées (OFL).
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* Surfaces : du noir de la télé au gris de l'icône */
  --bg: #07080b;
  --bg-2: #0c0e13;
  --surface: #11141b;
  --surface-2: #171b24;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.13);

  /* Texte */
  --ink: #f3f6fb;
  --ink-2: #c9d1de;
  --muted: #8a94a6;
  --faint: #5b6577;

  /* Les trois colonnes du logo */
  --blue: #1a7aff;
  --cyan: #66d1ff;
  --white: #ffffff;
  --blue-soft: rgba(26, 122, 255, 0.14);
  --cyan-soft: rgba(102, 209, 255, 0.12);

  /* Rythme */
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --radius-lg: 10px;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Les transitions sont courtes : rien ne doit sembler attendre */
  --t: 90ms;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 80px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--blue); color: var(--white); }

h1, h2, h3 { font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--white); color: #000; padding: 10px 14px; font-weight: 600; }
.skip:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typo utilitaire ---------- */
.mono { font-family: var(--mono); font-feature-settings: "zero"; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.kicker::before {
  /* trois pixels : bleu, cyan, blanc */
  content: ""; width: 22px; height: 6px; flex: none;
  background:
    linear-gradient(var(--blue), var(--blue)) 0 0 / 6px 6px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) 8px 0 / 6px 6px no-repeat,
    linear-gradient(var(--white), var(--white)) 16px 0 / 6px 6px no-repeat;
}
.lede { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 19px); max-width: 60ch; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 18px;
  border: 1px solid transparent; border-radius: var(--radius);
  font: 500 15px/1 var(--font); letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background var(--t) linear, border-color var(--t) linear, color var(--t) linear, transform var(--t) linear;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--white); color: #05070a; }
.btn-primary:hover { background: var(--cyan); color: #05070a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--white); }
.btn[aria-disabled="true"] { color: var(--muted); border-style: dashed; border-color: var(--line-2); cursor: default; pointer-events: none; }
.btn-sm { --h: 36px; padding: 0 12px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(7, 8, 11, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 600; letter-spacing: -0.02em; font-size: 17px; }
.brand:hover { color: var(--white); }
.brand .mark { width: 22px; height: 22px; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  color: var(--muted); text-decoration: none; font-size: 14px;
  padding: 8px 10px; border-radius: var(--radius);
  transition: color var(--t) linear, background var(--t) linear;
}
.nav a:hover { color: var(--ink); background: var(--surface); }
.nav a[aria-current="page"] { color: var(--ink); }
.lang {
  display: inline-flex; align-items: center; gap: 0;
  margin-left: 8px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.lang a {
  color: var(--muted); text-decoration: none; font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; padding: 6px 8px; line-height: 1;
}
.lang a:hover { color: var(--ink); background: var(--surface); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--surface); }
.header-cta { display: none; }
@media (min-width: 760px) { .header-cta { display: inline-flex; } }
@media (max-width: 520px) {
  .nav a[data-nav="contact"] { display: none; }
  .site-header .bar { gap: 12px; }
}

/* ---------- Héros ---------- */
.hero { position: relative; padding: clamp(48px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero::before {
  /* grille de pixels très discrète, qui s'efface vers le bas */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  opacity: 0.6;
}
.hero-grid { position: relative; display: grid; gap: clamp(40px, 6vw, 64px); }
.hero-copy { max-width: 760px; }
.hero h1 {
  font-size: clamp(42px, 8.2vw, 96px);
  letter-spacing: -0.045em; line-height: 0.98;
  margin: 18px 0 22px;
}
.hero h1 .accent { color: var(--cyan); }
.hero .lede { margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 6px; height: 6px; background: var(--cyan); }

/* ---------- Démo miroir ---------- */
.mirror {
  position: relative;
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
  align-items: end;
  user-select: none; -webkit-user-select: none;
  touch-action: pan-y;
}
@media (min-width: 820px) {
  .mirror { grid-template-columns: minmax(0, 0.82fr) 92px minmax(0, 1.18fr); gap: 0; }
}
.device { position: relative; }
.device-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.device-label b { color: var(--ink); font-weight: 500; }
.coords { color: var(--faint); font-variant-numeric: tabular-nums; text-transform: none; letter-spacing: 0; }
.coords output { color: var(--ink-2); display: inline-block; min-width: 4ch; text-align: right; }

.screen {
  position: relative; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  cursor: none;
}
.device-tv .screen { aspect-ratio: 16 / 9; background: #000; border-radius: 4px; border-width: 1px; box-shadow: 0 0 0 6px #0d0f14, 0 0 0 7px var(--line-2), 0 30px 80px -30px rgba(26, 122, 255, 0.35); }
.device-tv .stand { width: 22%; height: 10px; margin: 13px auto 0; border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); border-radius: 4px 4px 0 0; }
.device-mac .screen { border-radius: 10px 10px 4px 4px; }
.device-mac .base { height: 8px; margin: 0 -4%; background: linear-gradient(var(--surface-2), var(--surface)); border: 1px solid var(--line-2); border-top: 0; border-radius: 0 0 10px 10px; }

/* Sur la télé 16:9, l'image 16:10 du Mac est recopiée telle quelle (mode Défaut : bandes noires) */
.tv-inner { position: absolute; top: 0; bottom: 0; left: 50%; height: 100%; aspect-ratio: 16 / 10; transform: translateX(-50%); overflow: hidden; }
.mode-tag { position: absolute; right: 8px; bottom: 6px; z-index: 4; font-family: var(--mono); font-size: 10px; color: var(--faint); letter-spacing: 0.04em; }

/* Bureau schématique (identique sur les deux écrans) */
.desk { position: absolute; inset: 0; }
.desk .menubar { position: absolute; left: 0; right: 0; top: 0; height: 5%; background: rgba(255, 255, 255, 0.05); border-bottom: 1px solid var(--line); }
.desk .win { position: absolute; background: var(--surface); border: 1px solid var(--line-2); border-radius: 3px; overflow: hidden; }
.desk .win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9%; min-height: 6px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.desk .w1 { left: 7%; top: 13%; width: 52%; height: 62%; }
.desk .w2 { left: 48%; top: 30%; width: 44%; height: 52%; }
.desk .w1 i, .desk .w2 i { position: absolute; left: 8%; height: 5%; min-height: 2px; border-radius: 1px; background: rgba(255, 255, 255, 0.10); }
.desk .w1 i:nth-child(1) { top: 22%; width: 60%; background: var(--blue); opacity: 0.85; }
.desk .w1 i:nth-child(2) { top: 36%; width: 76%; }
.desk .w1 i:nth-child(3) { top: 48%; width: 52%; }
.desk .w1 i:nth-child(4) { top: 60%; width: 68%; }
.desk .w2 i:nth-child(1) { top: 22%; width: 40%; background: var(--cyan); opacity: 0.8; }
.desk .w2 i:nth-child(2) { top: 36%; width: 80%; }
.desk .w2 i:nth-child(3) { top: 48%; width: 64%; }
.desk .dock { position: absolute; left: 50%; bottom: 3%; transform: translateX(-50%); width: 34%; height: 6%; border-radius: 3px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); }

.cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; margin: -1px 0 0 -1px; pointer-events: none; will-change: transform; z-index: 3; }
.cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.6)); }
.cursor.ghost { opacity: 0; transition: opacity 120ms linear; }
.mirror.compare .cursor.ghost { opacity: 0.55; }

/* Lien entre les deux appareils */
.link { display: none; position: relative; height: 100%; }
@media (min-width: 820px) {
  .link { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding-bottom: 8%; }
}
.link .track { position: relative; width: 100%; height: 6px; }
.link .track::before { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; border-top: 1px dashed var(--line-2); }
.link .pkt { position: absolute; top: 0; width: 6px; height: 6px; background: var(--cyan); opacity: 0; }
.link .lan { font-family: var(--mono); font-size: 10px; letter-spacing: 0.04em; color: var(--faint); text-transform: uppercase; }
@media (prefers-reduced-motion: no-preference) {
  .mirror.live .link .pkt { animation: pkt 520ms linear infinite; }
  .mirror.live .link .pkt:nth-child(2) { animation-delay: 170ms; background: var(--blue); }
  .mirror.live .link .pkt:nth-child(3) { animation-delay: 340ms; background: var(--white); }
}
@keyframes pkt { 0% { left: 6px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: calc(100% - 12px); opacity: 0; } }

.mirror-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 22px; }
.hint { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--ink-2); }
.toggle input { appearance: none; -webkit-appearance: none; margin: 0; width: 34px; height: 20px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line-2); position: relative; cursor: pointer; transition: background var(--t) linear; flex: none; }
.toggle input::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform var(--t) linear, background var(--t) linear; }
.toggle input:checked { background: var(--blue); border-color: var(--blue); }
.toggle input:checked::after { transform: translateX(14px); background: var(--white); }
.legend { display: none; gap: 16px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.mirror-wrap.compare .legend { display: inline-flex; flex-wrap: wrap; }
.legend .sw { display: inline-block; width: 9px; height: 9px; margin-right: 6px; vertical-align: -1px; }
.legend .sw.now { background: var(--white); }
.legend .sw.late { background: var(--white); opacity: 0.45; }
.note-illu { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.section-head h2 { font-size: clamp(32px, 5vw, 56px); letter-spacing: -0.04em; }
.section-head h2 .dim { color: var(--faint); }
.split { display: grid; gap: 40px; }
@media (min-width: 900px) { .split { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

/* Fiche technique */
.spec { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--line); gap: 1px; }
@media (min-width: 640px) { .spec { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .spec { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .spec.spec-3 { grid-template-columns: repeat(3, 1fr); } }
.mirror-takeaway { margin-top: 14px; }
.spec-cell { background: var(--bg); padding: 26px 22px 28px; display: grid; gap: 14px; align-content: start; min-height: 220px; }
.spec-cell .idx { font-family: var(--mono); font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; }
.spec-cell h3 { font-size: 21px; letter-spacing: -0.02em; }
.spec-cell p { color: var(--muted); font-size: 15px; }
.spec-viz { height: 54px; display: flex; align-items: flex-end; gap: 6px; margin-top: auto; }
.spec-viz .tv { width: 44px; height: 26px; border: 1px solid var(--line-2); border-radius: 2px; position: relative; background: #000; }
.spec-viz .tv::after { content: ""; position: absolute; left: 3px; right: 3px; bottom: -6px; height: 2px; background: var(--line-2); }
.spec-viz .tv i { position: absolute; left: 4px; bottom: 4px; width: 3px; background: var(--cyan); }
.spec-viz .tv:nth-child(1) i { height: 14px; }
.spec-viz .tv:nth-child(2) i { height: 8px; background: var(--blue); }
.spec-viz .tv:nth-child(3) i { height: 18px; background: var(--white); }
.modes { display: flex; gap: 6px; margin-top: auto; }
.modes span { font-family: var(--mono); font-size: 11.5px; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); }
.modes span:first-child { border-color: var(--cyan); color: var(--white); }
.wave { display: flex; align-items: center; gap: 3px; height: 30px; margin-top: auto; }
.wave i { width: 3px; background: var(--ink-2); border-radius: 1px; }
.cur-viz { margin-top: auto; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.cur-viz svg { width: 16px; height: 16px; }

/* À la maison */
.home-band { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .home-band { grid-template-columns: 1fr 1fr; gap: 64px; } }
.home-band h2 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -0.035em; margin: 14px 0 16px; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; counter-reset: s; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; background: var(--bg); padding: 26px 22px; display: grid; gap: 12px; align-content: start; }
.steps li::before { content: "0" counter(s); font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: 0.06em; }
.steps h3 { font-size: 19px; letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: 15px; }
.steps .shot { margin-top: 6px; border: 1px solid var(--line-2); border-radius: 4px; overflow: hidden; background: #000; }

/* Compatibilité */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.compat { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.compat th, .compat td { text-align: left; padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compat thead th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); }
.compat tbody tr:last-child td { border-bottom: 0; }
.compat td:first-child { color: var(--ink); font-weight: 500; }
.compat td { color: var(--muted); }
.lvl { display: inline-flex; gap: 3px; vertical-align: middle; margin-right: 10px; }
.lvl i { width: 7px; height: 12px; background: var(--surface-2); border: 1px solid var(--line-2); }
.lvl[data-l="3"] i, .lvl[data-l="2"] i:nth-child(-n+2), .lvl[data-l="1"] i:first-child { background: var(--cyan); border-color: var(--cyan); }
.lvl.var i { background: transparent; border-style: dashed; }
.no-list { margin-top: 18px; font-size: 15px; color: var(--muted); }
.no-list b { color: var(--ink-2); font-weight: 500; }

/* Prix */
.prices { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 860px) { .prices { grid-template-columns: 1fr 1fr 1.25fr; } }
.price { background: var(--bg); padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start; }
.price .tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.price .amount { font-size: clamp(40px, 5vw, 56px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .amount small { font-size: 0.42em; color: var(--muted); font-weight: 500; letter-spacing: -0.01em; margin-left: 4px; }
.price p { color: var(--muted); font-size: 15px; }
.price.hl { background: linear-gradient(180deg, var(--blue-soft), transparent 75%), var(--bg); position: relative; }
.price.hl::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--white)); }
.price.hl .tag { color: var(--cyan); }
.price ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.price li { display: flex; gap: 10px; }
.price li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--cyan); }
.price-foot { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); }
.price-foot strong { color: var(--ink); font-weight: 500; }

/* Pourquoi */
.why { display: grid; gap: 40px; }
@media (min-width: 900px) { .why { grid-template-columns: 7fr 5fr; gap: 72px; align-items: end; } }
.why blockquote { margin: 0; font-size: clamp(24px, 3.2vw, 36px); line-height: 1.22; letter-spacing: -0.03em; font-weight: 500; color: var(--ink); text-wrap: balance; }
.why blockquote .dim { color: var(--faint); }
.why .sig { margin-top: 22px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.why aside { border-left: 1px solid var(--line-2); padding-left: 24px; display: grid; gap: 14px; color: var(--muted); font-size: 15px; }
.why aside .kicker { color: var(--ink-2); }
.why aside .fv-tagline {
  margin: 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.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: 20px;
  padding: 20px 0; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  transition: color var(--t) linear;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--white); }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--muted); flex: none; width: 18px; text-align: center; }
.faq details[open] summary::after { content: "−"; color: var(--cyan); }
.faq-a { color: var(--muted); padding: 0 40px 22px 0; max-width: 72ch; font-size: 16px; }
.faq-cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .faq-cols { grid-template-columns: 4fr 8fr; gap: 64px; } }

/* Liste de guides (index) */
.guide-rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); counter-reset: g; }
.guide-rows li { counter-increment: g; border-bottom: 1px solid var(--line); }
.guide-rows a {
  display: grid; grid-template-columns: 40px 1fr 20px; gap: 6px 16px; align-items: baseline;
  padding: 20px 0; color: var(--ink); text-decoration: none;
  transition: background var(--t) linear;
}
.guide-rows a::before { content: counter(g, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: var(--faint); grid-row: 1 / span 2; padding-top: 3px; }
.guide-rows a::after { content: "→"; font-family: var(--mono); color: var(--faint); grid-column: 3; grid-row: 1; transition: transform var(--t) linear, color var(--t) linear; }
.guide-rows a:hover::after { transform: translateX(4px); color: var(--cyan); }
.guide-rows a:hover h3 { color: var(--white); }
.guide-rows h3 { font-size: clamp(17px, 2vw, 20px); letter-spacing: -0.02em; font-weight: 500; grid-column: 2; }
.guide-rows p { grid-column: 2; color: var(--muted); font-size: 15px; max-width: 80ch; }
.guide-rows.compact p { display: none; }
.more-link { display: inline-flex; gap: 8px; margin-top: 22px; font-family: var(--mono); font-size: 13px; text-decoration: none; }

/* ---------- Pages intérieures ---------- */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  opacity: 0.45;
}
.page-head .wrap { position: relative; }
.page-head h1 { font-size: clamp(34px, 6vw, 64px); letter-spacing: -0.04em; margin: 16px 0 18px; max-width: 18ch; }
.page-head.long h1 { max-width: 26ch; font-size: clamp(30px, 4.6vw, 52px); }
.page-head .lede { max-width: 62ch; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--faint); }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 4px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

/* Guide : article + colonne */
.doc { display: grid; gap: 48px; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
@media (min-width: 1000px) { .doc { grid-template-columns: minmax(0, 1fr) 300px; gap: 72px; } }
.doc-side { display: none; }
@media (min-width: 1000px) { .doc-side { display: block; } .doc-side .sticky { position: sticky; top: 92px; display: grid; gap: 28px; } }
.toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc .kicker { margin: 0 0 10px 16px; }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--white); border-left-color: var(--cyan); }
.side-cta { border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 18px; display: grid; gap: 12px; background: var(--bg-2); }
.side-cta p { font-size: 14px; color: var(--muted); }
.side-cta .btn { width: 100%; }

.answer { position: relative; border: 1px solid rgba(102, 209, 255, 0.3); background: linear-gradient(180deg, var(--cyan-soft), transparent 80%), var(--bg-2); border-radius: var(--radius-lg); padding: 22px 24px 24px; margin-bottom: 44px; }
.answer .kicker { margin-bottom: 12px; color: var(--cyan); }
.answer p { font-size: clamp(17px, 1.8vw, 19px); color: var(--ink); line-height: 1.55; }

.prose { max-width: 70ch; font-size: 17px; color: var(--ink-2); }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(23px, 2.6vw, 28px); letter-spacing: -0.03em; color: var(--ink); margin-top: 52px; padding-top: 4px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; color: var(--ink); margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 22px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 0.72em; width: 6px; height: 6px; background: var(--cyan); }
.prose ol { padding-left: 22px; display: grid; gap: 10px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 140px; }
.prose thead th, .prose tr:first-child th { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); background: var(--bg-2); }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--ink); }
.prose td { color: var(--muted); }

.app-box { position: relative; margin: 56px 0; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 26px 24px 24px; background: var(--bg-2); display: grid; gap: 14px; max-width: 70ch; overflow: hidden; }
.app-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--white)); }
.app-box h2 { font-size: 22px; letter-spacing: -0.025em; display: flex; align-items: center; gap: 12px; }
.app-box h2 .mark { width: 22px; height: 22px; }
.app-box p { color: var(--ink-2); }
.app-box .cta-row { margin-top: 6px; }

.block-title { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: -0.03em; margin: 64px 0 20px; }
.doc .faq { max-width: 70ch; }

.related { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { background: var(--bg); padding: 20px; display: grid; gap: 10px; color: var(--ink); text-decoration: none; align-content: start; transition: background var(--t) linear; }
.related a:hover { background: var(--bg-2); }
.related a span { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.related a h3 { font-size: 16px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.3; }

/* Page Mac */
.dl { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 900px) { .dl { grid-template-columns: 7fr 5fr; gap: 56px; align-items: start; } }
.dl-card { border: 1px solid var(--line-2); border-radius: var(--radius-lg); background: var(--bg-2); overflow: hidden; }
.dl-card .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
.dl-card .row:last-child { border-bottom: 0; }
.dl-card .row span:first-child { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); padding-top: 2px; }
.dl-card .row span:last-child { color: var(--ink-2); text-align: right; }
.dl-card .row.head { padding: 20px; align-items: center; background: var(--bg); }
.dl-card .row.head .mark { width: 40px; height: 40px; }
.dl-card .row.head div { display: grid; gap: 2px; margin-right: auto; }
.dl-card .row.head b { font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.dl-card .row.head small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.dl-card .action { padding: 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.dl-card .action .btn { width: 100%; }
.status { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #e0a43a; box-shadow: 0 0 0 3px rgba(224, 164, 58, 0.15); }

.num-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: n; border-top: 1px solid var(--line); }
.num-steps li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.num-steps li::before { content: counter(n, decimal-leading-zero); font-family: var(--mono); font-size: 12.5px; color: var(--cyan); padding-top: 3px; }
.num-steps b { color: var(--ink); font-weight: 500; }
.path { font-family: var(--mono); font-size: 0.9em; color: var(--ink); background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; white-space: normal; }

.blocks-2 { display: grid; gap: 48px; }
@media (min-width: 900px) { .blocks-2 { grid-template-columns: 1fr 1fr; gap: 64px; } }
.blocks-2 h2 { font-size: clamp(24px, 2.8vw, 30px); letter-spacing: -0.03em; margin: 14px 0 20px; }
.blocks-2 > div > p { color: var(--ink-2); max-width: 60ch; }

.placeholder { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 14px 16px; color: var(--muted); font-family: var(--mono); font-size: 12.5px; background: repeating-linear-gradient(-45deg, rgba(255,255,255,0.025) 0 8px, transparent 8px 16px); }

/* Légal */
.legal { display: grid; gap: 48px; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
@media (min-width: 1000px) { .legal { grid-template-columns: 240px minmax(0, 1fr); gap: 72px; } .legal .toc-wrap { position: sticky; top: 92px; align-self: start; } }
.legal .legal-toc { display: grid; gap: 2px; border-left: 1px solid var(--line); }
.legal .legal-toc a { padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; font-size: 14px; }
.legal .legal-toc a:hover { color: var(--ink); }
.legal .legal-toc a.on { color: var(--white); border-left-color: var(--cyan); }
.legal .toc-wrap .kicker { margin: 0 0 10px 16px; }
.legal-body { max-width: 72ch; }
.essentials { border: 1px solid rgba(102, 209, 255, 0.3); background: linear-gradient(180deg, var(--cyan-soft), transparent 80%), var(--bg-2); border-radius: var(--radius-lg); padding: 22px 24px; margin-bottom: 48px; }
.essentials h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cyan); margin-bottom: 14px; }
.essentials ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; color: var(--ink); }
.essentials li { position: relative; padding-left: 20px; font-size: 16px; }
.essentials li::before { content: ""; position: absolute; left: 1px; top: 0.7em; width: 6px; height: 6px; background: var(--cyan); }
.legal-section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal-section h2 { font-size: 21px; letter-spacing: -0.025em; margin-bottom: 14px; }
.legal-section p, .legal-section li { color: var(--ink-2); font-size: 16px; }
.legal-section p + p { margin-top: 12px; }
.legal-section iframe { margin-top: 14px; border: 1px solid var(--line) !important; border-radius: var(--radius); background: var(--bg-2) !important; }

/* Contact */
.contact { display: grid; gap: 48px; padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
@media (min-width: 960px) { .contact { grid-template-columns: 4fr 7fr; gap: 72px; } }
.contact-side { display: grid; gap: 20px; align-content: start; color: var(--muted); font-size: 15px; }
.contact-side .line { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-side .line span { font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.contact-side .line a, .contact-side .line b { color: var(--ink); font-weight: 500; font-size: 16px; }
.contact-form { display: grid; gap: 18px; max-width: 640px; }
.contact-form .field { margin: 0; display: grid; gap: 8px; }
.contact-form .row-2 { display: grid; gap: 18px; }
@media (min-width: 640px) { .contact-form .row-2 { grid-template-columns: 1fr 1fr; } }
.contact-form label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink);
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 12px 14px; transition: border-color var(--t) linear, background var(--t) linear;
}
.contact-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); background: var(--surface); }
.contact-form textarea { min-height: 170px; resize: vertical; }
.contact-form .field.check label { display: grid; grid-template-columns: auto 1fr; gap: 12px; text-transform: none; letter-spacing: 0; font-family: var(--font); font-size: 14px; color: var(--muted); }
.contact-form .field.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--cyan); }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .form-actions { margin: 4px 0 0; }
.contact-form .form-status { margin: 0; padding: 12px 14px; border-radius: var(--radius); font-size: 15px; }
.contact-form .form-status.is-err { background: rgba(255, 92, 92, 0.1); color: #ffb3b3; border: 1px solid rgba(255, 92, 92, 0.35); }
.contact-done { padding: 24px 0; display: grid; gap: 14px; justify-items: start; }
.contact-done-mark { font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.contact-done h1, .contact-done .h1-like {
  font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.04em; margin: 0;
  font-weight: 600; color: var(--ink);
}

/* 404 */
.nf { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf .code { font-family: var(--mono); font-size: 13px; color: var(--faint); letter-spacing: 0.1em; }
.nf h1 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -0.045em; margin: 16px 0; }
.nf .lede { margin: 0 auto 28px; }
.nf .pixels { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; }
.nf .pixels i { width: 14px; height: 14px; background: var(--surface-2); border: 1px solid var(--line-2); }
.nf .pixels i:nth-child(2) { background: transparent; border-style: dashed; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--muted); font-size: 14px; background: var(--bg); }
.foot-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr; } }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .brand { font-size: 18px; }
.foot-brand .sig { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }
.fv { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); text-decoration: none; }
.fv::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3ecf8e; }
.fv:hover { color: var(--white); }
.site-footer h2 { font-family: var(--mono); font-size: 11.5px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.todo { font-family: var(--mono); font-size: 11px; color: #e0a43a; }

/* Bouton collant mobile */
.sticky-mac { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(7, 8, 11, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 160ms ease-out; }
.sticky-mac .btn { width: 100%; }
.sticky-mac.show { transform: none; }
@media (max-width: 759px) {
  .sticky-mac { display: block; }
  body.has-sticky { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}

/* À la maison : schéma télé + commandes */
.remote { display: grid; gap: 12px; }
.remote-tv { position: relative; aspect-ratio: 16 / 9; background: #000; border: 1px solid var(--line-2); border-radius: 4px; box-shadow: 0 0 0 6px #0d0f14, 0 0 0 7px var(--line-2); display: grid; place-items: center; overflow: hidden; }
.remote-tv::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 45%, rgba(26,122,255,0.22), transparent 70%); }
.playglyph { position: relative; width: 0; height: 0; border-left: 26px solid var(--white); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.prog { position: absolute; left: 6%; right: 6%; bottom: 8%; height: 3px; background: rgba(255,255,255,0.15); }
.prog i { position: absolute; left: 0; top: 0; bottom: 0; width: 38%; background: var(--cyan); }
.remote-ctrl { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.remote-ctrl span { font-family: var(--mono); font-size: 12px; padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 4px; color: var(--ink-2); background: var(--bg-2); }
.remote-ctrl span.on { border-color: var(--cyan); color: var(--white); }
.remote-ctrl em { font-style: normal; font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-left: 6px; }

/* Ajustements */
.section-head { align-content: start; }
.faq-cols { align-items: start; }
.split .section-head h2 { font-size: clamp(30px, 3.6vw, 46px); }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.link .lan { white-space: nowrap; }
@media (max-width: 819px) {
  .mirror { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 12px; align-items: end; }
  .device-label { font-size: 10px; margin-bottom: 6px; }
  .device-label .coords { display: none; }
  .mode-tag { display: none; }
  .device-tv .screen { box-shadow: 0 0 0 3px #0d0f14, 0 0 0 4px var(--line-2), 0 20px 50px -24px rgba(26,122,255,.35); }
  .device-tv .stand { margin-top: 8px; height: 6px; }
  .cursor { width: 12px; height: 12px; }
  .stage { flex: 1 1 calc(50% - 4px); font-size: 11px; }
  .stage.buffer { flex-basis: 100%; }
  .cursor-lane { flex-wrap: wrap; }
  .cursor-lane .bar { flex-basis: 30px; }
  .pipe-head { flex-direction: column; gap: 4px; }
}
.doc, .legal, .contact { padding-left: var(--gutter); padding-right: var(--gutter); }
.answer { max-width: 70ch; }
[hidden] { display: none !important; }
.site-footer .brand { color: var(--ink); }

/* ==========================================================================
   Composants v2
   ========================================================================== */

/* Câble ou sans fil */
.versus { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin: 0 0 44px; max-width: 70ch; }
@media (min-width: 680px) { .versus { grid-template-columns: 1fr 1fr; } }
.vs-card { margin: 0; background: var(--bg); padding: 22px 20px 22px; display: grid; gap: 16px; align-content: start; }
.vs-air { background: linear-gradient(180deg, var(--cyan-soft), transparent 70%), var(--bg); }
.vs-svg { width: 100%; height: auto; }
.vs-svg .o { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.vs-svg .cable { fill: none; stroke: var(--ink-2); stroke-width: 2; }
.vs-svg .adapter { fill: var(--surface-2); stroke: var(--muted); stroke-width: 1.2; }
.vs-svg .air { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 3 4; }
.vs-svg .p1 { fill: var(--blue); } .vs-svg .p2 { fill: var(--cyan); } .vs-svg .p3 { fill: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .vs-svg .p1, .vs-svg .p2, .vs-svg .p3 { animation: vsflow 900ms linear infinite; }
  .vs-svg .p2 { animation-delay: 300ms; } .vs-svg .p3 { animation-delay: 600ms; }
}
@keyframes vsflow { 0% { transform: translateX(-20px); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(26px); opacity: 0; } }
.vs-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-2); }
.vs-list li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.vs-list li::before { font-family: var(--mono); font-size: 13px; line-height: 1.55; }
.vs-list .plus::before { content: "+"; color: var(--cyan); }
.vs-list .minus::before { content: "−"; color: var(--faint); }

/* Ports du MacBook Air */
.ports { margin: 0 0 44px; max-width: 70ch; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); padding: 22px 20px 14px; }
.ports-svg { width: 100%; height: auto; }
.ports-svg .edge { fill: var(--surface); stroke: var(--line-2); }
.ports-svg .port { fill: #000; stroke: var(--muted); stroke-width: 1.2; }
.ports-svg .usb { stroke: var(--cyan); }
.ports-svg text { font-family: var(--mono); font-size: 12px; fill: var(--ink-2); }
.ports-svg .lbl-side { font-size: 10.5px; fill: var(--faint); letter-spacing: 0.08em; }
.ports-svg .nohdmi path { fill: none; stroke: var(--faint); stroke-width: 1.3; stroke-dasharray: 3 3; }
.ports-svg .nohdmi .x { stroke: #ff7a7a; stroke-dasharray: none; stroke-width: 1.6; }
.ports-svg .warn { fill: #ff9d9d; }
.ports figcaption { margin-top: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--faint); }

/* Vidéo protégée */
.drm { margin: 28px 0 40px; max-width: 70ch; }
.drm .device-tv .screen { aspect-ratio: 16 / 9; }
.drm .drm-win { background: #000; border-color: var(--line-2); display: grid; place-items: center; }
.drm .drm-win::before { display: none; }
.drm .drm-win span { font-family: var(--mono); font-size: clamp(9px, 1.4vw, 12px); color: var(--faint); text-align: center; line-height: 1.4; }
.drm figcaption { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Verdict box opérateur */
.verdict { --c: var(--cyan); margin: 0 0 44px; max-width: 70ch; border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--c) 10%, transparent), transparent 80%), var(--bg-2); border-radius: var(--radius-lg); padding: 20px 22px; display: grid; gap: 12px; }
.verdict[data-state="ko"] { --c: #ff7a7a; }
.verdict[data-state="test"] { --c: #e0a43a; }
.v-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.v-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c); }
.v-badge::before { content: ""; width: 8px; height: 8px; background: var(--c); }
.v-device { font-weight: 600; letter-spacing: -0.015em; }
.verdict p { color: var(--ink-2); }
.v-specs { margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 28px; }
.v-specs div { display: grid; gap: 2px; }
.v-specs dt { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); }
.v-specs dd { margin: 0; font-size: 15px; color: var(--ink); }

/* Page de référence des composants */
.comps { display: grid; gap: 56px; padding: 48px var(--gutter) 96px; }
.comp { display: grid; gap: 18px; }
.comp-head { display: grid; gap: 6px; }
.comp-view { border: 1px dashed var(--line-2); border-radius: var(--radius-lg); padding: 24px; }
.comp-view > * { margin-bottom: 0 !important; }
.comp-code summary { cursor: pointer; font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.comp-code pre { overflow-x: auto; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; font-size: 12px; color: var(--ink-2); }
.ports-svg .tick { fill: none; stroke: var(--faint); stroke-width: 1; }

/* ==========================================================================
   Corrections v3 — plusieurs écrans, usages, familles
   ========================================================================== */
.ecrans-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) {
  .ecrans-grid { grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
}
.ecrans-grid .app-shot { margin: 0; max-width: 420px; }
.ecrans-grid .app-shot img {
  width: 100%; height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  display: block;
}
.steps-words { counter-reset: none; list-style: none; padding: 0; }
.steps-words > li { list-style: none; }
.steps-words > li::marker { content: ""; }
.steps-words > li h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin: 0 0 8px;
}
.local-dots { display: flex; gap: 10px; align-items: center; margin-top: 16px; }
.local-dots i { width: 10px; height: 10px; border-radius: 2px; display: block; }
.local-dots .d1 { background: var(--blue); }
.local-dots .d2 { background: var(--cyan); }
.local-dots .d3 { background: var(--white); }
.usages-cards { display: grid; gap: 12px; }
@media (min-width: 760px) { .usages-cards { grid-template-columns: repeat(3, 1fr); } }
.guide-families { display: grid; gap: 48px; }
.guide-family h2 { font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.03em; margin: 0 0 8px; }
.guide-family .family-intro { color: var(--muted); margin: 0 0 18px; max-width: 60ch; }
.app-shot { max-width: 420px; }
