/* ZANCAR — feuille de style unique
   Charte : noir carbone #0B0D0F · bleu électrique #2F8CFF · gris titane #A7ADB4 · secondaire #182A3A · contraste #F4F7FA
   Typo : League Spartan (titres) · Inter (texte) · Rajdhani (accent) */

/* Polices hébergées localement : plus d'appel à Google Fonts (protection des données). */
@font-face {
  font-family: "League Spartan";
  src: url("../fonts/LeagueSpartan-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("../fonts/Rajdhani-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("../fonts/Rajdhani-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Rajdhani";
  src: url("../fonts/Rajdhani-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0B0D0F;
  --ink-2: #182A3A;            /* secondaire de la charte */
  --ink-3: #191E25;
  --titanium: #A7ADB4;
  --paper: #F4F7FA;
  --blue: #2F8CFF;
  --blue-hover: #5AA6FF;
  --blue-deep: #0F5FD1;          /* bleu lisible sur fond papier */

  --text: #F4F7FA;
  --muted: #A7ADB4;
  --line: rgba(167, 173, 180, 0.18);
  --line-strong: rgba(167, 173, 180, 0.34);
  --blue-tint: rgba(47, 140, 255, 0.12);

  --paper-text: #0B0D0F;
  --paper-muted: #48515B;
  --paper-line: rgba(11, 13, 15, 0.16);

  --font-display: "League Spartan", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-accent: "Rajdhani", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 48px);
  --maxw: 1120px;
  --radius: 6px;
  --header-h: 68px;
  --ba-placeholder: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='400' height='500' fill='%23182A3A'/%3E%3Cpath d='M200 214C200 214 176 244 176 260a24 24 0 0 0 48 0C224 244 200 214 200 214Z' fill='none' stroke='%232F8CFF' stroke-width='3'/%3E%3Ctext x='200' y='318' text-anchor='middle' font-family='Arial,Helvetica,sans-serif' font-size='18' fill='%23A7ADB4'%3EPhoto %C3%A0 ajouter%3C/text%3E%3C/svg%3E");
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; }

a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.2rem + 5.4vw, 4.6rem); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 1.1rem + 2.6vw, 2.9rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 3px;
}

.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-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--blue); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.1rem;
}
.on-paper .eyebrow { color: var(--blue-deep); }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem); color: var(--muted); max-width: 54ch; line-height: 1.6; }
.muted { color: var(--muted); }

.arrow { display: inline-block; width: 0.62em; height: 0.31em; vertical-align: 0.14em; margin-inline: 0.12em; }
.arrow path { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--font-accent); font-size: 1.05rem; font-weight: 700; line-height: 1;
  letter-spacing: 0.07em; text-transform: uppercase;
  padding: 16px 24px; border-radius: var(--radius);
  border: 1.5px solid transparent; text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary { background: var(--blue); color: var(--ink); }
.btn-primary:hover { background: var(--blue-hover); }
.btn-primary[aria-disabled="true"] {
  background: transparent; color: var(--muted); border-color: var(--line-strong); cursor: default;
}
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-hover); }
.btn-sm { padding: 11px 16px; font-size: 0.95rem; }
.on-paper .btn-ghost { border-color: var(--paper-line); color: var(--paper-text); }
.on-paper .btn-ghost:hover { border-color: var(--blue-deep); color: var(--blue-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600;
  color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent;
}
.link-arrow:hover { border-bottom-color: currentColor; }
.on-paper .link-arrow { color: var(--blue-deep); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 13, 15, 0.88);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--text); line-height: 1; padding-block: 8px;
}
.lg-mark { width: 61.7px; height: 36px; flex: none; }
.lg-word { width: 128px; height: 14.4px; flex: none; }
.lg-stack { width: 156px; height: 76px; }
.footer-brand .brand { display: inline-block; padding: 0; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.nav ul { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  font-size: 0.925rem; font-weight: 500; color: var(--muted); text-decoration: none;
  padding-block: 8px; border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--blue); }

.nav-toggle {
  display: none; background: none; border: 1.5px solid var(--line-strong); color: var(--text);
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }
.nav-toggle path { stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 820px) {
  .header-inner { flex-wrap: wrap; row-gap: 0; }
  .nav { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 12px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav li { border-top: 1px solid var(--line); }
  .nav a:not(.btn) { display: block; padding: 14px 0; border-bottom: 0; font-size: 1rem; }
  .nav a[aria-current="page"] { color: var(--blue); }
  .nav .btn { margin-top: 8px; }
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; }
  .js .nav.is-open { display: flex; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8.5vw, 112px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
/* Première section d'une page intérieure : le page-head a déjà sa propre marge basse. */
.page-head + .section { padding-top: clamp(28px, 4vw, 48px); }
.on-paper { background: var(--paper); color: var(--paper-text); }
.on-paper .muted, .on-paper .lead { color: var(--paper-muted); }
.surface { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); }
.hero-arcs {
  position: absolute; right: -8%; bottom: -30%; width: min(920px, 120vw); height: auto;
  pointer-events: none; opacity: 0.9;
}
.hero-arcs .arc { fill: none; stroke: var(--titanium); stroke-opacity: 0.16; stroke-width: 1; }
.hero-arcs .blade { stroke: var(--blue); stroke-opacity: 0.55; stroke-width: 1.5; }
.hero-inner { position: relative; }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-bottom: 2rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 2.5rem 0 0; padding: 0; list-style: none;
  font-family: var(--font-accent); font-size: 1rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted);
}
.hero-facts li { display: flex; align-items: center; gap: 9px; }
.hero-facts li::before { content: ""; width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex: none; }

/* ---------- Fiche de mesure ---------- */
.specs { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2.5rem 0 0; padding: 0; }
.spec { padding: 8px clamp(14px, 2vw, 28px) 8px 0; }
.spec + .spec { padding-left: clamp(14px, 2vw, 28px); border-left: 1px solid var(--paper-line); }
.spec dt {
  font-family: var(--font-accent); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--paper-muted); margin-bottom: 0.9rem;
}
.spec .fig {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em;
  font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); line-height: 1; margin: 0 0 0.9rem; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.spec .fig small { font-size: 0.45em; font-weight: 700; letter-spacing: 0; }
.spec .cap { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--paper-muted); }
/* Étiquettes sur deux lignes : les chiffres restent alignés d'une colonne à l'autre */
.spec dt { line-height: 1.4; min-height: 2.8em; }
@media (max-width: 480px) { .spec dt { min-height: 0; } }
.on-paper .more { margin: 1.25rem 0 0; }
.brand-story { border-top: 1px solid var(--line); }
.brand-story h2 { max-width: 14ch; margin-bottom: 0; }
.brand-story .prose p { color: var(--text); }
.brand-story .signature { margin-top: 1.5rem; font-family: var(--font-accent); font-size: 1rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted); }
.source-note { margin-top: 2.25rem; font-size: 0.875rem; color: var(--paper-muted); max-width: 78ch; }
@media (max-width: 900px) {
  .specs { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .spec:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 480px) {
  .specs { grid-template-columns: 1fr; }
  .spec + .spec { padding-left: 0; border-left: 0; border-top: 1px solid var(--paper-line); padding-top: 1.5rem; }
}

/* ---------- Deux colonnes ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.figure { margin: 0; }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { margin-top: 14px; font-size: 0.85rem; color: var(--muted); }
.drop-svg .glass { fill: var(--titanium); fill-opacity: 0.09; }
.drop-svg .surface-line { stroke: var(--titanium); stroke-width: 1.5; }
.drop-svg .drop-body { fill: var(--blue); fill-opacity: 0.16; stroke: var(--blue); stroke-width: 2; }
.drop-svg .tangent { stroke: var(--text); stroke-width: 1.2; stroke-dasharray: 4 4; stroke-opacity: 0.7; }
.drop-svg .wedge { fill: var(--blue); fill-opacity: 0.32; }
.drop-svg .angle { font-family: var(--font-display); font-weight: 800; font-size: 26px; fill: var(--text); }
.drop-svg .label { font-family: var(--font-accent); font-size: 14px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; fill: var(--muted); }
.drop-svg .label-strong { fill: var(--blue); }

/* ---------- Produit ---------- */
.kit-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); }
.kit-item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: start; padding: 22px 16px 22px 0; border-bottom: 1px solid var(--line); }
.kit-item:nth-child(odd) { padding-right: 24px; }
.kit-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.kit-item svg { width: 52px; height: 52px; }
.kit-item .qty { font-family: var(--font-display); font-weight: 800; color: var(--blue); }
.kit-item h3 { font-size: 1.1rem; margin: 0 0 0.3rem; letter-spacing: 0; font-weight: 700; }
.kit-item p { margin: 0; font-size: 0.925rem; color: var(--muted); line-height: 1.5; }
.g-line { fill: none; stroke: var(--titanium); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.g-blue { fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.g-blue-fill { fill: var(--blue); stroke: none; }
@media (max-width: 640px) {
  .kit-list { grid-template-columns: 1fr; }
  .kit-item:nth-child(odd), .kit-item:nth-child(even) { padding-inline: 0; border-left: 0; }
}

.buy-panel { background: var(--ink); border: 1px solid var(--line-strong); border-radius: 10px; padding: clamp(24px, 3vw, 36px); }
.buy-panel .price { font-family: var(--font-display); font-weight: 800; font-size: 3.4rem; line-height: 1; margin: 0.6rem 0 0.4rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.buy-panel .price-note { font-size: 0.85rem; color: var(--muted); margin-bottom: 1.5rem; }
.buy-panel .btn { width: 100%; white-space: nowrap; padding-left: 14px; padding-right: 14px; letter-spacing: 0.05em; }
.buy-panel .warn { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.buy-panel .warn strong { color: var(--text); }
.panel-title { font-family: var(--font-accent); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }

.product-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .product-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .buy-panel .btn { white-space: normal; line-height: 1.25; padding-top: 12px; padding-bottom: 12px; } }

/* ---------- Bandeaux ---------- */
.band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.band h2 { margin-bottom: 0.4em; }
.band p { max-width: 58ch; color: var(--muted); }

/* Résumé des mesures sur l'accueil : renvoie vers la page dédiée, sans la dupliquer */
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px 32px; list-style: none; margin: 0.9rem 0 0; padding: 0; }
.mini-stats li { display: flex; align-items: baseline; gap: 8px; }
.mini-stats strong {
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--text);
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.mini-stats span { font-size: 0.85rem; color: var(--muted); }

.facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.facts span { color: var(--muted); font-size: 0.9rem; text-align: right; }

.callout { border: 1px solid rgba(47, 140, 255, 0.45); background: var(--blue-tint); border-radius: 10px; padding: clamp(24px, 4vw, 44px); }
.callout h2 { font-size: clamp(1.6rem, 1rem + 2vw, 2.4rem); }
.callout p { color: var(--text); max-width: 62ch; }

/* ---------- Pages intérieures ---------- */
.page-head { padding-block: clamp(24px, 4vw, 48px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head h1 { font-size: clamp(2.2rem, 1.2rem + 4.2vw, 3.8rem); max-width: 18ch; }
.page-head .lead { margin-bottom: 0; }

.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-top: 2.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose a { color: var(--blue); }

/* Tableau de mesures */
.table-scroll { overflow-x: auto; margin-block: 1.5rem 0; }
.measure { width: 100%; border-collapse: collapse; min-width: 480px; font-variant-numeric: tabular-nums; }
.measure th, .measure td { padding: 18px 16px 18px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.measure thead th { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-strong); }
.measure tbody th { font-weight: 600; }
.measure td { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; }
.measure td.after { color: var(--blue); }
.measure td .unit { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.measure td.na { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: var(--muted); }

.defs { display: grid; gap: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.defs div { display: grid; grid-template-columns: minmax(150px, 0.4fr) 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.defs dt { font-weight: 700; }
.defs dd { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .defs div { grid-template-columns: 1fr; gap: 4px; } }

/* Comprendre les mesures : le schéma n'illustre que l'angle de contact, donc il
   est aligné avec cette seule définition ; les trois autres suivent en dessous,
   pleine largeur, pour éviter un grand vide autour d'un petit schéma. */
.defs-lead { align-items: start; margin-top: 1.5rem; }
.defs-lead .defs { margin-top: 0; border-bottom: 0; }
.defs-lead .defs div { border-bottom: 0; padding-bottom: 0; }
.defs-lead .figure { align-self: center; }
.defs-rest { margin-top: 2.25rem; }
@media (max-width: 860px) { .defs-lead .figure { margin-top: 0.5rem; } }

.limits { list-style: none; padding: 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.limits li { padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(150px, 0.4fr) 1fr; gap: 24px; }
.limits strong { font-weight: 700; }
.limits span { color: var(--muted); }
@media (max-width: 640px) { .limits li { grid-template-columns: 1fr; gap: 4px; } }

/* Tutoriel */
.video-slot {
  position: relative; aspect-ratio: 16 / 9; max-width: 100%; border: 1px dashed var(--line-strong);
  border-radius: 10px; background:
    repeating-linear-gradient(135deg, rgba(167,173,180,0.05) 0 14px, transparent 14px 28px), var(--ink-2);
  display: grid; place-items: center; text-align: center; padding: 24px;
}
.video-slot .play { width: 68px; height: 68px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.video-slot .play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-slot .play path { fill: var(--blue); }
.video-slot strong { display: block; font-family: var(--font-display); font-size: 1.3rem; }
.video-slot span { color: var(--muted); font-size: 0.9rem; }

.safety { border: 1px solid rgba(255, 176, 74, 0.5); background: rgba(255, 176, 74, 0.07); border-radius: 10px; padding: clamp(20px, 3vw, 32px); }
.safety h2 { font-size: 1.5rem; margin-bottom: 0.7em; }
.safety .hazard { display: inline-flex; gap: 8px; margin-bottom: 1rem; }
.safety .tag { font-family: var(--font-accent); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.12em; padding: 5px 10px; border: 1.5px solid #FFB04A; color: #FFB04A; border-radius: 4px; }
.safety ul { margin: 0; padding-left: 1.2em; }
.safety li { margin-bottom: 0.55em; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 2rem 0 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  content: counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--blue);
}
.steps h3 { margin-bottom: 0.35em; }
.steps p { color: var(--muted); max-width: 60ch; }
.steps .use { display: inline-block; margin-top: 0.6rem; font-size: 0.85rem; font-weight: 600; color: var(--text); border: 1px solid var(--line-strong); border-radius: 4px; padding: 4px 10px; }
@media (max-width: 520px) { .steps li { grid-template-columns: 44px 1fr; gap: 14px; } .steps li::before { font-size: 2rem; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg);
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 66ch; }
.faq .answer a { color: var(--blue); }

.contact-card { border: 1px solid var(--line-strong); background: var(--ink); border-radius: 10px; padding: clamp(24px, 4vw, 40px); }
.contact-card .mail { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
.contact-card .mail:hover { text-decoration: underline; }

/* Légal */
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 1.5rem; padding: 0; list-style: none; }
.legal-nav a { color: var(--blue); font-weight: 600; text-decoration: none; }
.legal-nav a:hover { text-decoration: underline; }
.legal dl { margin: 1rem 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.legal dl div { display: grid; grid-template-columns: minmax(150px, 0.36fr) 1fr; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
@media (max-width: 640px) { .legal dl div { grid-template-columns: 1fr; gap: 2px; } }
.todo { background: rgba(255, 214, 10, 0.16); color: #FFD84A; padding: 1px 6px; border-radius: 3px; font-weight: 600; }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink); padding-block: clamp(40px, 6vw, 72px) 32px; font-size: 0.925rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px 48px; }
.footer-grid h2 { font-family: var(--font-accent); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { color: var(--text); text-decoration: none; }
.footer-grid a:hover { color: var(--blue-hover); text-decoration: underline; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 14px; }
/* Logo centré par rapport à la largeur du texte sous lui, pas de la colonne entière */
.footer-brand-logo { max-width: 34ch; text-align: center; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: 0.825rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

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

/* ---------- Avant / Après ---------- */
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 1rem + 3.1vw, 3.5rem); max-width: 12ch; }
.hero .lead { max-width: 40ch; }
.hero .cta-row { flex-direction: column; align-items: flex-start; }
.hero .cta-row .btn { width: 100%; max-width: 360px; white-space: nowrap; padding-left: 18px; padding-right: 18px; }
/* Démonstration vidéo : à gauche sans traitement, à droite traité */
.demo { margin: 0; }
.demo-frame {
  position: relative; aspect-ratio: 16 / 10; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line-strong); background-color: var(--ink-2);
}
.demo-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
.demo-video[hidden] { display: none; }
.demo-empty {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(47, 140, 255, 0.55) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(90deg, transparent 50%, rgba(47, 140, 255, 0.07) 50%),
    repeating-linear-gradient(135deg, rgba(167, 173, 180, 0.05) 0 14px, transparent 14px 28px);
}
.demo-frame.is-ready .demo-empty { display: none; }
.demo-play { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--blue); display: grid; place-items: center; }
.demo-play svg { width: 18px; height: 18px; margin-left: 3px; }
.demo-play path { fill: var(--blue); }
.demo-empty-text { color: var(--muted); font-size: 0.9rem; background: var(--ink-2); padding: 3px 10px; border-radius: 4px; }
.demo-play { background: var(--ink-2); }
.demo-tag {
  position: absolute; top: 12px; z-index: 1;
  font-family: var(--font-accent); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 11px 4px; border-radius: 4px; background: rgba(11, 13, 15, 0.82); color: var(--text);
}
.demo-tag-left { left: 12px; }
.demo-tag-right { right: 12px; background: var(--blue); color: var(--ink); }
@media (max-width: 520px) {
  .demo-tag { top: 8px; font-size: 0.75rem; letter-spacing: 0.08em; padding: 4px 8px 3px; max-width: calc(50% - 14px); }
  .demo-tag-left { left: 8px; }
  .demo-tag-right { right: 8px; }
}
.demo-toggle {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; padding: 0; cursor: pointer;
  background: rgba(11, 13, 15, 0.82); border: 1px solid var(--line-strong);
}
.demo-toggle[hidden] { display: none; }
.demo-toggle svg { width: 16px; height: 16px; fill: var(--text); }
.demo-toggle .i-play { display: none; }
.demo-toggle.is-paused .i-play { display: block; }
.demo-toggle.is-paused .i-pause { display: none; }
.demo-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.demo figcaption { margin-top: 10px; font-size: 0.875rem; color: var(--muted); }

/* Mobile : titre, puis photos, puis le reste */
@media (max-width: 900px) {
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
  .hero-copy { display: contents; }
  .hero-grid .eyebrow { order: 1; margin-bottom: 0; }
  .hero h1 { order: 2; max-width: 16ch; margin-bottom: 0; }
  .demo { order: 3; }
  .hero .lead { order: 4; margin-bottom: 0; }
  .hero .cta-row { order: 5; }
  .hero-facts { order: 6; margin-top: 0.5rem; }
}
.hero .eyebrow { font-size: 0.85rem; letter-spacing: 0.12em; }

/* Tutoriel : passages croisés et remarque importante */
.passes { display: grid; gap: 8px; margin-top: 1rem; max-width: 60ch; }
.steps .pass { display: flex; align-items: baseline; gap: 14px; margin: 0; padding: 11px 16px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--ink-2); color: var(--text); }
.pass .pn { font-family: var(--font-accent); font-weight: 700; font-size: 1.15rem; color: var(--blue); min-width: 1ch; }
.steps .note { margin-top: 1rem; padding: 14px 18px; border: 1px solid rgba(47, 140, 255, 0.5); background: var(--blue-tint); border-radius: 8px; color: var(--text); }

.buy-panel .price .ttc { font-family: var(--font-accent); font-size: 1.1rem; font-weight: 600; letter-spacing: 0.12em; color: var(--muted); margin-left: 0.25rem; }
