/* Polices servies par ce site, pas par un tiers : une page ne doit pas
   envoyer l'adresse IP du visiteur a un autre serveur pour afficher du texte.
   Inter et JetBrains Mono, SIL Open Font License, voir assets/fonts/. */


@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-400.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-500.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/inter-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-700.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jbmono-400.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/jbmono-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jbmono-600.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/jbmono-ext-600.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

/* FixMyMesh - dark graphite, technical, quiet.
   One accent colour, three status colours, nothing else. */

:root {
  --bg: #0d0f12;
  --surface: #14171c;
  --surface-2: #191d23;
  --border: #262b33;
  --border-strong: #343b45;
  --text: #e8eaed;
  --text-muted: #8a919c;
  /* #6b727d echouait le contraste WCAG AA (3,5 a 4,0 selon le fond).
     #838a98 donne 4,65 a 5,53, mesure, tout en restant en retrait du gris
     principal. Verifie par tools/audit.js. */
  --text-dim: #838a98;
  --accent: #5b8def;
  --accent-soft: rgba(91, 141, 239, 0.12);
  --pass: #52b788;
  --warn: #e0a33e;
  --fail: #d9534f;
  --radius: 12px;
  --radius-lg: 18px;
  --max: 1160px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", "Cascadia Mono", Consolas, "SF Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 15, 18, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: 66px;
}
.brand {
  display: flex; align-items: baseline; gap: 9px;
  font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
}
.brand-mark { width: 28px; height: 28px; align-self: center; }
.brand .brand-sub {
  font-size: 11px; font-weight: 500; color: var(--text-dim);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  color: var(--text-muted); text-decoration: none; font-size: 14.5px;
  transition: color 0.15s ease;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.header-cta { display: flex; gap: 10px; align-items: center; }

.nav-toggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid var(--border);
  color: var(--text); border-radius: 8px; padding: 8px 12px;
  font-size: 14px; cursor: pointer;
}

@media (max-width: 620px) {
  .brand .brand-sub { display: none; }
  .header-inner { gap: 12px; }
  .nav-toggle { padding: 8px 10px; }
}

@media (max-width: 900px) {
  .nav, .header-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: 10px; }
  .site-header.open .nav {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; left: 0; right: 0; top: 66px;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 12px 20px 18px;
  }
  .site-header.open .nav a { padding: 10px 0; font-size: 16px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 15px;
  padding: 12px 20px; border-radius: 10px;
  border: 1px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--text); color: #0d0f12; }
.btn-primary:hover { background: #ffffff; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--text-muted); background: var(--surface-2); }
.btn-accent { background: var(--accent); color: #0d0f12; }
.btn-accent:hover { background: #6d9bf2; }
.btn-sm { padding: 9px 15px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section + section { border-top: 1px solid var(--border); }
@media (max-width: 700px) { section { padding: 60px 0; } }

.eyebrow {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-dim); margin: 0 0 14px;
}
h1, h2, h3 { letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 5.2vw, 56px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-muted); max-width: 62ch; margin: 0 0 28px; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.muted { color: var(--text-muted); }
.small { font-size: 13.5px; }

/* ---------- Hero ---------- */

.hero { padding: 92px 0 72px; }
.hero h1 { max-width: 16ch; }
.hero .lead { max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin: 16px 0 0; color: var(--text-dim); font-size: 14px; }

.engine-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; list-style: none; }
.engine-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 999px; padding: 6px 14px; font-size: 13px; color: var(--text-muted);
}
.dot { width: 7px; height: 7px; border-radius: 50%; flex: none; }
.dot-pass { background: var(--pass); }
.dot-warn { background: var(--warn); }
.dot-soon { background: var(--text-dim); }

/* ---------- Product frame (screenshot placeholder) ---------- */

.frame {
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--surface); overflow: hidden;
}
.frame-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-bottom: 1px solid var(--border);
  background: var(--surface-2); font-size: 12.5px; color: var(--text-dim);
}
.frame-bar .lights { display: flex; gap: 6px; }
.frame-bar .lights i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); display: block; }
.frame-body { padding: 24px; }
.frame-placeholder {
  aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center;
  background:
    repeating-linear-gradient(45deg, #15181e 0 12px, #171b21 12px 24px);
  color: var(--text-dim); font-size: 13px; text-align: center; padding: 20px;
}

/* ---------- Run mock ---------- */

.run-mock { font-family: var(--mono); font-size: 14px; }
.run-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 11px 0; border-bottom: 1px solid var(--border);
}
.run-row:last-child { border-bottom: none; }
.run-file { color: var(--text); font-size: 15px; }
.status { font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; }
.status-pass { color: var(--pass); }
.status-warn { color: var(--warn); }
.status-fail { color: var(--fail); }

/* ---------- Grid helpers ---------- */

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--text-muted); font-size: 15px; }
.card-step .step-n {
  font-family: var(--mono); font-size: 12px; color: var(--text-dim);
  display: block; margin-bottom: 12px;
}
.card-highlight { border-color: var(--border-strong); background: var(--surface-2); }

/* ---------- Comparison (validator vs FixMyMesh) ---------- */

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }
@media (max-width: 860px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; background: var(--surface); }
.compare-col.dim { opacity: 0.72; }
.compare-col.win { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 45%), var(--surface); }
.flow { list-style: none; margin: 18px 0; padding: 0; font-family: var(--mono); font-size: 13.5px; color: var(--text-muted); }
.flow li { padding: 7px 0; }
.flow li strong { color: var(--text); font-weight: 600; }
.flow li + li::before { content: "\2193"; display: block; color: var(--text-dim); margin-bottom: 7px; }

/* ---------- Pipeline ---------- */

.pipeline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-family: var(--mono); font-size: 13px; color: var(--text-muted); }
.pipeline span { border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px; background: var(--surface); }
.pipeline em { color: var(--text-dim); font-style: normal; }

/* ---------- Result card ---------- */

.result-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.result-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border); background: var(--surface-2);
}
.result-head h3 { margin: 0; font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; }
.metric-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px; border-bottom: 1px solid var(--border);
  font-family: var(--mono); font-size: 14px;
}
.metric-row:last-of-type { border-bottom: none; }
.metric-row span:first-child { color: var(--text-muted); }
.result-note { padding: 18px 20px; border-top: 1px solid var(--border); background: #11141a; }
.result-note p { margin: 0 0 6px; font-size: 14.5px; color: var(--text-muted); }
.result-note strong { color: var(--text); }

/* ---------- Matrix ---------- */

.matrix-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.matrix { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 14px; min-width: 520px; }
table.matrix th, table.matrix td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--border); }
table.matrix thead th { color: var(--text-dim); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
table.matrix tbody th { color: var(--text-muted); font-weight: 400; }

/* ---------- Pricing ---------- */

.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }
.price-card { border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); padding: 30px; }
.price-card.featured { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 40%), var(--surface); }
.price-tag { display: flex; align-items: baseline; gap: 12px; margin: 14px 0 4px; }
.price-now { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; }
.price-was { font-size: 18px; color: var(--text-dim); text-decoration: line-through; }
.price-label {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; margin-bottom: 4px;
}
.price-sub { color: var(--text-muted); font-size: 14.5px; margin: 0 0 22px; }
.feature-list { list-style: none; margin: 0 0 26px; padding: 0; }
.feature-list li { padding: 8px 0 8px 26px; position: relative; color: var(--text-muted); font-size: 15px; }
.feature-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--pass); }
.feature-list li.off { color: var(--text-dim); }
.feature-list li.off::before { content: "\2013"; color: var(--text-dim); }

/* ---------- FAQ ---------- */

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  cursor: pointer; padding: 20px 0; font-weight: 600; font-size: 16.5px;
  list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--text-dim); font-weight: 400; font-size: 21px; flex: none; }
.faq-item[open] summary::after { content: "\2013"; }
.faq-item div { padding: 0 0 20px; color: var(--text-muted); max-width: 72ch; }
.faq-item div p { margin: 0 0 10px; }

/* ---------- Forms ---------- */

.form-row { display: flex; gap: 10px; flex-wrap: wrap; max-width: 480px; }
.form-row input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 15px;
}
.form-row input::placeholder { color: var(--text-dim); }
.form-msg { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.form-msg.ok { color: var(--pass); }
.form-msg.err { color: var(--fail); }

/* ---------- Callout ---------- */

.callout {
  border: 1px solid var(--border); border-left: 3px solid var(--warn);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; color: var(--text-muted); font-size: 15px;
}
.callout strong { color: var(--text); }

.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Prose (docs, legal) ---------- */

.prose { max-width: 74ch; }
.prose h2 { margin-top: 46px; font-size: 25px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 7px 0; }
.prose code {
  font-family: var(--mono); font-size: 0.92em; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 5px; padding: 1px 6px; color: var(--text);
}
.prose pre {
  font-family: var(--mono); font-size: 13.5px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; overflow-x: auto;
}
.prose a:not(.btn) { color: var(--accent); }

/* ---------- Changelog ---------- */

.release { border-left: 1px solid var(--border); padding: 0 0 34px 24px; position: relative; }
.release::before {
  content: ""; position: absolute; left: -4.5px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong);
}
.release h3 { font-family: var(--mono); font-size: 16px; margin-bottom: 4px; }
.release time { color: var(--text-dim); font-size: 13px; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--border); padding: 54px 0 40px; background: #0b0d10; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid h4 { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin: 0 0 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin: 0 0 9px; }
.footer-grid a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.footer-grid a:hover { color: var(--text); }
.footer-bottom {
  margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 13px;
}

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Landing (SITE-R) : test, correction, retest ---------- */

.lead-lg { font-size: clamp(17px, 1.9vw, 20px); max-width: 52ch; margin-bottom: 30px; }

/* Hero : le texte a gauche, l'image a droite, jamais de texte pose sur l'image. */
.hero-split { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.hero-split h1 { font-size: clamp(34px, 4.4vw, 52px); max-width: 14ch; }
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.9);
}
.hero-visual picture { display: block; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-split h1 { max-width: 18ch; }
}
@media (max-width: 700px) { .hero-split { padding: 44px 0 52px; } }

.shot { margin: 40px 0 0; }
.shot img { width: 100%; }
.shot figcaption { margin-top: 12px; font-size: 13px; color: var(--text-dim); }

.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .lead { margin-inline: auto; margin-bottom: 0; }

/* Trois etapes */
.steps { list-style: none; margin: 0; padding: 0; }
.card-step .step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%; margin-bottom: 14px;
  border: 1px solid var(--accent); color: var(--accent); font-size: 14px;
}

/* Rapport */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 44px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.split .result-card { margin-top: 22px; }
.report-more { color: var(--text-muted); margin: 18px 0 0; max-width: 52ch; }
.report-more a { color: var(--accent); white-space: nowrap; }
.diag-card { position: relative; }
.diag { margin: 0; padding: 8px 20px 20px; }
.diag dt {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim);
  margin-top: 16px;
}
.diag dd { margin: 4px 0 0; font-size: 16px; color: var(--text); }
.diag-tag {
  margin: 0; padding: 10px 20px; border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-dim); background: #11141a;
}

/* Reparer, puis prouver */
.band { background: var(--surface); }
.fix-kinds { margin-top: 30px; }
.fix-kind { border-top: 2px solid var(--border-strong); padding-top: 16px; }
.fix-kind h3 { margin-bottom: 6px; }
.fix-kind p { margin: 0; color: var(--text-muted); font-size: 15px; }
.fix-auto { border-top-color: var(--pass); }
.fix-confirm { border-top-color: var(--warn); }
.fix-manual { border-top-color: var(--accent); }

/* Reassurance et prix */
.reassure {
  list-style: none; margin: 0 auto; padding: 0; max-width: 820px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px;
}
.reassure li { position: relative; padding-left: 26px; color: var(--text-muted); }
.reassure li::before { content: "\2713"; position: absolute; left: 0; color: var(--pass); }
@media (max-width: 700px) { .reassure { grid-template-columns: 1fr; } }
#try .engine-badges { justify-content: center; margin: 24px 0 40px; }
.price-grid-home { max-width: 820px; margin-inline: auto; }

/* ---------- Language switcher ---------- */

.lang-switch {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--border);
}
.lang-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.lang-switch a { color: var(--text-muted); text-decoration: none; font-size: 14.5px; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a[aria-current="true"] { color: var(--text); font-weight: 600; }

/* Les variantes verticales des schemas sont servies via <picture>. */
.shot picture { display: block; }
.shot picture img { width: 100%; }

/* ---------- Bandeau de langue ---------- */

.lang-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  color: var(--text-muted);
}
.lang-bar-inner {
  display: flex; align-items: center; gap: 14px;
  padding-top: 10px; padding-bottom: 10px;
}
.lang-bar-cta { color: var(--accent); text-decoration: none; font-weight: 600; }
.lang-bar-cta:hover { text-decoration: underline; }
.lang-bar-close {
  margin-left: auto; background: none; border: none; color: var(--text-dim);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.lang-bar-close:hover { color: var(--text); }

/* ---------- Blog ---------- */

.post-card { padding: 26px 0; border-bottom: 1px solid var(--border); }
.post-card h2 { font-size: 24px; margin: 8px 0 10px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { margin: 0; }
.post-meta { font-size: 13px; color: var(--text-dim); margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.post-tag {
  border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px;
  font-size: 12px; color: var(--text-muted);
}
.post-cta {
  margin-top: 48px; padding: 28px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--surface);
}
.post-cta h3 { margin-bottom: 8px; }
.post-cta .hero-actions { margin-top: 18px; }
.post-title { max-width: none; font-size: clamp(28px, 4vw, 44px); }
.prose table.matrix { margin: 18px 0; font-size: 13.5px; min-width: 0; }
.prose table.matrix td, .prose table.matrix th { padding: 10px 14px; }

/* Titres centres equilibres (pas de mot orphelin), code du texte d'accroche. */
h1, h2 { text-wrap: balance; }
.lead code { font-family: var(--mono); font-size: 0.9em; color: var(--text); }

/* Exemple de rapport : dit en toutes lettres que ce n'est pas un vrai test. */
.illustration-badge {
  display: inline-block; margin: 0; padding: 6px 14px; border-radius: 999px;
  border: 1px solid var(--warn); color: var(--warn); font-size: 13.5px; font-weight: 600;
}

/* Telephone : un libelle de bouton long passe a la ligne au lieu de deborder
   (mesure SITE-R : "Schreiben Sie uns fuer die Benachrichtigung" faisait 412 px a 390 px). */
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; } }
