/*
 * GE2 Train — site vitrine.
 * Charte du site (décision d'Éric du 14/10/2026, 18h20) : couleurs et polices du rapport d'avancement,
 * clair par défaut, sombre selon la préférence du système (prefers-color-scheme). Le jaune et noir
 * « Salle noire » reste celui de l'APPLICATION : on ne le voit ici que dans les captures d'écran.
 *
 * Règles d'usage des couleurs (contrastes calculés dans README.md et par outils/verifier.py) :
 *  - bleu : accent principal (boutons principaux, liens, focus) ;
 *  - rouge, ambre, vert : jauges « disques de fonte » et états ;
 *  - ambre : graphismes seulement, jamais du texte, et seulement sur --surface (2,96:1 sur --fond en clair) ;
 *  - vert : graphismes seulement, jamais du texte (4,32:1 sur blanc en clair, sous 4,5:1) ;
 *  - filet : décoratif seulement ; les contours des contrôles utilisent --secondaire (≥ 3:1).
 * Mobile d'abord. Aucune ressource externe : polices auto-hébergées (OFL), aucun style en ligne
 * (la CSP du .htaccess interdit les attributs style="…").
 */

/* ---------- Polices auto-hébergées (sous-ensemble latin : couvre le français) ---------- */
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/source-sans-3-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500; font-display: swap; src: url('../fonts/jetbrains-mono-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); }

/* ---------- Jetons : thème clair (par défaut) ---------- */
:root {
  color-scheme: light dark;
  --fond: #f3f4f6;
  --surface: #ffffff;
  --filet: #d9dde3;         /* décoratif seulement */
  --texte: #161b26;
  --secondaire: #5b6474;    /* texte secondaire, contours des contrôles */
  --rouge: #c8332b;
  --bleu: #2458b8;          /* accent principal des actions */
  --ambre: #b8860b;         /* graphismes seulement, sur --surface */
  --vert: #2f8a4c;          /* graphismes seulement */
  --sur-bleu: #ffffff;      /* texte posé sur le bleu (= --surface en clair) */
  --cadre-tel: #161b26;     /* cadre des téléphones autour des captures de l'application */

  --titre: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --police-texte: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --rayon: 10px;
  --gouttiere: 16px;
  --largeur: 1180px;
}

/* ---------- Jetons : thème sombre (préférence du système) ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #11141b;
    --surface: #191e28;
    --filet: #2a3140;
    --texte: #e8ebf0;
    --secondaire: #9aa3b2;
    --rouge: #ef6a60;
    --bleu: #6f9cf0;
    --ambre: #e3b341;
    --vert: #5cc07c;
    --sur-bleu: #11141b;    /* = --fond en sombre */
    --cadre-tel: #000000;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police-texte);
  font-size: 1.0625rem;      /* 17 px */
  line-height: 1.55;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  font-family: var(--titre);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .015em;
  line-height: 1;
  margin: 0;
}
h1 { font-size: clamp(2.6rem, 10.5vw, 5rem); line-height: .95; }
h2 { font-size: clamp(2rem, 7vw, 3.1rem); }
h3 { font-size: 1.5rem; letter-spacing: .025em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--bleu); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--texte); text-decoration-thickness: 2px; }
strong, b { font-weight: 700; }
code { font-family: var(--mono); font-size: .9em; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.accent { color: var(--bleu); }

/* Focus clavier : contour 3 px bleu décalé de 2 px. */
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
/* Les ancres ne passent pas sous le bord de l'écran. */
:target { scroll-margin-top: 16px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--bleu); color: var(--sur-bleu); font-weight: 700;
  padding: 12px 16px; border-radius: 8px; text-decoration: none; min-height: 48px;
}
.skip:focus { top: 16px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* Étiquettes en capitales espacées (JetBrains Mono). */
.eyebrow {
  font-family: var(--mono); font-weight: 500; font-size: .8125rem;
  text-transform: uppercase; letter-spacing: .14em; color: var(--secondaire);
}

/* ---------- Motif « disques de fonte » (jauge en barres verticales), utilisé avec parcimonie ---------- */
.disques { display: flex; align-items: center; gap: 5px; }
.disques i { display: block; width: 10px; height: 30px; border-radius: 3px; background: var(--vert); }
.disques i.ambre { background: var(--ambre); }
.disques i.rouge { background: var(--rouge); }
.disques i.vide { background: transparent; border: 2px solid var(--secondaire); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 22px; border-radius: var(--rayon);
  font-family: var(--titre); font-weight: 700; font-size: 1.3125rem; letter-spacing: .04em;
  text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.1;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primaire { background: var(--bleu); color: var(--sur-bleu); }
.btn-primaire:hover { background: var(--texte); color: var(--sur-bleu); }
.btn-secondaire {
  background: var(--surface); color: var(--texte); border-color: var(--secondaire);
  font-family: var(--police-texte); font-size: 1.0625rem; font-weight: 600; text-transform: none; letter-spacing: 0; min-height: 52px;
}
.btn-secondaire:hover { border-color: var(--texte); color: var(--texte); }
.btn-grand { min-height: 64px; font-size: 1.5rem; padding-inline: 28px; }
.externe::after { content: ' ↗'; font-family: var(--mono); font-weight: 500; }

/* ---------- En-tête ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--filet); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 12px; padding-top: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--texte); min-height: 48px; }
.brand:hover { color: var(--texte); }
.brand svg { width: 52px; height: auto; flex: none; }
.logo-trait { fill: var(--texte); }
.logo-accent { fill: var(--bleu); }
.brand-word { font-family: var(--titre); font-weight: 700; font-size: 1.625rem; letter-spacing: .12em; }
.header-cta { min-height: 48px; font-size: 1.125rem; padding: 8px 16px; }
.nav { order: 3; flex-basis: 100%; min-width: 0; margin-top: 8px; border-top: 1px solid var(--filet); }
.nav ul { list-style: none; display: flex; gap: 2px; overflow-x: auto; padding-block: 4px; scrollbar-width: thin; }
.nav a {
  display: flex; align-items: center; min-height: 48px; padding-inline: 12px; white-space: nowrap;
  color: var(--secondaire); text-decoration: none; font-weight: 600; border-radius: 8px;
}
.nav a:hover { color: var(--texte); background: var(--fond); }
.nav a.externe { color: var(--bleu); }
/* En-tête sur deux lignes à toutes les largeurs : la marque et « Démonstration », puis la navigation
   (8 entrées, dont « Ouvrir l'application ») qui défile horizontalement sur téléphone. */
@media (min-width: 1000px) {
  .header-row { padding-top: 10px; }
  .nav ul { overflow: visible; flex-wrap: wrap; }
  .nav li:last-child { margin-left: auto; }
}

/* ---------- Sections ---------- */
.section { padding-block: 64px; border-top: 1px solid var(--filet); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: 36px; }
.section-head p:not(.eyebrow) { color: var(--secondaire); font-size: 1.125rem; }
.surface { background: var(--surface); }

/* ---------- Héros ---------- */
.hero { padding-block: 40px 56px; background: var(--surface); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-text { display: grid; gap: 20px; }
.hero h1 .ligne { display: block; }
.hero .disques { margin-bottom: -4px; }
.lead { font-size: 1.1875rem; color: var(--texte); max-width: 38rem; }
.lead-2 { color: var(--secondaire); max-width: 38rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.actions .btn { flex: 1 1 260px; }
.preuve { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pastille {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px;
  font-size: .875rem; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  border: 1px solid var(--secondaire); color: var(--texte);
}
.pastille-pointillee { border-style: dashed; }

/* Téléphones : captures réelles de l'application (en jaune et noir, telle quelle). */
.telephones { position: relative; display: flex; justify-content: center; gap: 16px; }
.telephone {
  margin: 0; width: min(78vw, 300px);
  border: 2px solid var(--filet); border-radius: 30px; padding: 8px; background: var(--cadre-tel);
}
.telephone img { border-radius: 22px; width: 100%; }
.telephone-arriere { display: none; }
.legende { margin-top: 14px; font-size: .9375rem; color: var(--secondaire); text-align: center; }

/* ---------- Promesse ---------- */
.cartes { display: grid; gap: 16px; list-style: none; }
.carte {
  background: var(--surface); border: 1px solid var(--filet); border-radius: 14px; padding: 24px;
  display: grid; gap: 12px; align-content: start;
}
.carte .num {
  font-family: var(--titre); font-weight: 700; font-size: 1.25rem; width: 44px; height: 44px;
  display: grid; place-items: center; background: var(--bleu); color: var(--sur-bleu); border-radius: 8px;
}
.carte p { color: var(--secondaire); }
.carte p strong { color: var(--texte); }

/* ---------- Parcours adhérent ---------- */
.etapes { list-style: none; display: grid; gap: 48px; }
.etape { display: grid; gap: 20px; align-items: center; }
.etape-texte { display: grid; gap: 12px; }
.etape-texte .eyebrow { color: var(--bleu); }
.etape-texte h3 { font-size: clamp(2.25rem, 8vw, 3rem); }
.etape-texte p { color: var(--secondaire); max-width: 34rem; }
.etape-texte p strong { color: var(--texte); }
.etape .telephone { width: min(70vw, 260px); justify-self: center; }
.mouvement {
  margin-top: 56px; display: grid; gap: 24px; align-items: center;
  background: var(--fond); border: 1px solid var(--filet); border-radius: 16px; padding: 24px 16px;
}
.mouvement .etape-texte .pastille { justify-self: start; }
.mouvement .telephone { width: min(70vw, 260px); justify-self: center; }
.encart {
  margin-top: 40px; padding: 18px 20px; border-left: 4px solid var(--bleu);
  background: var(--fond); border-radius: 0 var(--rayon) var(--rayon) 0; color: var(--texte);
}

/* ---------- Espace gérant ---------- */
.gerant-grid { display: grid; gap: 32px; }
.liste-coches { list-style: none; display: grid; gap: 14px; }
.liste-coches li { position: relative; padding-left: 30px; color: var(--secondaire); }
.liste-coches li strong { color: var(--texte); }
.liste-coches li::before {
  content: ''; position: absolute; left: 0; top: .25em; width: 8px; height: 1.1em;
  border-radius: 2px; background: var(--bleu);
}
.galerie { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.galerie li:first-child { grid-column: 1 / -1; }
.galerie figure { margin: 0; }
.galerie a { display: block; border: 2px solid var(--filet); border-radius: 18px; padding: 6px; background: var(--cadre-tel); text-decoration: none; }
.galerie a:hover { border-color: var(--bleu); }
.galerie img { border-radius: 12px; }
.galerie li:first-child a { max-width: 300px; margin-inline: auto; }
.galerie figcaption { margin-top: 8px; font-size: .9375rem; color: var(--secondaire); }
.galerie li:first-child figcaption { text-align: center; }

/* ---------- Confidentialité ---------- */
.engagements { list-style: none; display: grid; gap: 12px; }
.engagement {
  background: var(--fond); border: 1px solid var(--filet); border-radius: 14px; padding: 20px;
  display: grid; gap: 8px; align-content: start;
}
.engagement h3 { font-size: 1.375rem; }
.engagement p { color: var(--secondaire); }
.confid-grid { display: grid; gap: 32px; }
.confid-captures { display: flex; gap: 12px; justify-content: center; }
.confid-captures .capture { margin: 0; width: min(42vw, 220px); }
.confid-captures .telephone { width: auto; border-radius: 22px; padding: 6px; }
.confid-captures .telephone img { border-radius: 16px; }
.confid-captures figcaption { margin-top: 8px; font-size: .875rem; color: var(--secondaire); text-align: center; }
.note-brouillon { margin-top: 24px; color: var(--secondaire); font-size: .9375rem; }

/* ---------- Démonstration interactive ---------- */
.demo-cadre { border: 2px dashed var(--ambre); border-radius: 18px; overflow: hidden; background: var(--surface); }
.demo-bandeau { padding: 12px 16px; font-size: .9375rem; border-bottom: 2px dashed var(--ambre); }
.demo-bandeau strong { text-transform: uppercase; letter-spacing: .06em; }
.demo-grid { display: grid; gap: 28px; padding: 20px 16px 28px; }
.demo-explications { display: grid; gap: 14px; align-content: start; }
.demo-explications p, .demo-explications li { color: var(--secondaire); }
.demo-explications ol { padding-left: 1.3em; display: grid; gap: 6px; }

.appareil {
  width: 100%; max-width: 400px; justify-self: center;
  background: var(--fond); border: 2px solid var(--filet); border-radius: 28px; padding: 18px 14px 20px;
  display: grid; gap: 16px; align-content: start;
}
.app-marque { display: flex; align-items: center; gap: 8px; }
.app-marque .bloc { background: var(--texte); color: var(--fond); font-family: var(--titre); font-weight: 700; padding: 2px 6px; border-radius: 4px; letter-spacing: .04em; }
.app-marque .mot { font-family: var(--titre); font-weight: 700; letter-spacing: .12em; }
.app-marque .pastille { margin-left: auto; }
.onglets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; padding: 4px; }
.onglets button {
  min-height: 48px; border: 0; border-radius: 9px; background: transparent; color: var(--secondaire);
  font-family: var(--police-texte); font-weight: 700; font-size: 1rem; cursor: pointer;
}
.onglets button[aria-selected='true'] { background: var(--bleu); color: var(--sur-bleu); }
.onglets button:hover:not([aria-selected='true']) { color: var(--texte); }
.panneau { display: grid; gap: 14px; }
.panneau[hidden] { display: none; }
.machine-titre { font-size: 2rem; }
.muscles { display: flex; gap: 6px; flex-wrap: wrap; list-style: none; }
.muscles li { font-size: .8125rem; font-weight: 600; background: var(--surface); border: 1px solid var(--filet); padding: 3px 10px; border-radius: 999px; }
.derniere { color: var(--secondaire); font-size: .9375rem; }
.derniere .mono { color: var(--texte); }
.pas-a-pas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pas {
  background: var(--surface); border: 1px solid var(--filet); border-radius: 14px; padding: 12px 10px;
  display: grid; gap: 8px; text-align: center;
}
.pas .etiquette { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--secondaire); }
.pas output { font-family: var(--titre); font-weight: 700; font-size: 3.5rem; line-height: 1; font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--filet); padding-bottom: 6px; }
.pas .boutons { display: grid; grid-template-columns: repeat(auto-fit, minmax(48px, 1fr)); gap: 6px; }
.pas .boutons button {
  min-height: 52px; border: 2px solid var(--secondaire); background: var(--surface); color: var(--texte);
  border-radius: 10px; font-family: var(--mono); font-weight: 600; font-size: 1rem; cursor: pointer;
}
.pas .boutons button:hover { border-color: var(--bleu); color: var(--bleu); }
.valider {
  min-height: 68px; width: 100%; border: 0; border-radius: 14px; background: var(--bleu); color: var(--sur-bleu);
  font-family: var(--titre); font-weight: 700; font-size: 1.5rem; letter-spacing: .03em; cursor: pointer;
}
.valider:hover { background: var(--texte); }
.statut { min-height: 1.5em; color: var(--texte); font-weight: 600; }
.statut:not(:empty)::before { content: ''; display: inline-block; width: 8px; height: 1.05em; margin-right: 8px; vertical-align: -3px; border-radius: 2px; background: var(--vert); }
.sous-titre { font-family: var(--titre); font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.series { list-style: none; display: grid; gap: 8px; }
.series li {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--surface);
  border: 1px solid var(--filet); border-radius: 10px; font-family: var(--mono); font-weight: 600;
}
.series li .rang { color: var(--secondaire); font-weight: 500; }
.series li .pastille { margin-left: auto; font-family: var(--police-texte); }
.series li.vide { font-family: var(--police-texte); font-weight: 400; color: var(--secondaire); }
.annuler { justify-self: start; }
/* Jauge de la démonstration : motif « disques de fonte », vert si la séance est faite. */
.jauge { display: flex; align-items: center; gap: 6px; height: 48px; }
.jauge span { width: 18px; height: 48px; border-radius: 3px; background: transparent; border: 2px solid var(--secondaire); }
.jauge span.pleine { background: var(--vert); border-color: var(--vert); }
.jauge .rail { flex: 1; height: 4px; width: auto; border: 0; background: var(--filet); }
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chiffre { background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; padding: 12px; display: grid; }
.chiffre b { font-family: var(--titre); font-size: 2.25rem; line-height: 1.05; font-variant-numeric: tabular-nums; }
.chiffre span { color: var(--secondaire); font-size: .9375rem; }
.conseil { background: var(--surface); border: 1px solid var(--filet); border-left: 6px solid var(--bleu); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.conseil h3 { font-size: 1.375rem; }
.conseil .regle { font-family: var(--mono); font-size: .8125rem; color: var(--secondaire); border-top: 1px dashed var(--secondaire); padding-top: 10px; }
.avertissement { color: var(--secondaire); font-size: .9375rem; }

/* ---------- Offre ---------- */
.offre {
  background: var(--surface); border: 1px solid var(--filet); border-top: 6px solid var(--bleu); border-radius: 16px; padding: 24px;
  display: grid; gap: 16px; max-width: 46rem;
}
.offre .prix { font-family: var(--titre); font-weight: 700; text-transform: uppercase; line-height: 1; }
.offre .prix .depuis { display: block; font-size: 1.25rem; color: var(--secondaire); letter-spacing: .04em; }
.offre .prix .montant { display: block; font-size: clamp(3.25rem, 14vw, 5rem); font-variant-numeric: tabular-nums; }
.offre .prix .unite { display: block; font-size: 1.5rem; letter-spacing: .03em; }
.offre .plus { font-size: 1.1875rem; }
.offre .details { color: var(--secondaire); }
.tableau-prix { overflow-x: auto; }
.tableau-prix table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tableau-prix caption { text-align: left; color: var(--secondaire); padding-bottom: 8px; }
.tableau-prix th, .tableau-prix td { padding: 12px 10px; border-bottom: 1px solid var(--filet); text-align: right; }
.tableau-prix thead th { font-size: .9375rem; color: var(--secondaire); font-weight: 600; }
.tableau-prix th:first-child { text-align: left; }
.tableau-prix tbody th { font-family: var(--titre); font-weight: 700; font-size: 1.5rem; }
.tableau-prix tbody td { font-family: var(--titre); font-weight: 700; font-size: 1.5rem; }
.tableau-prix tbody tr:last-child td:nth-child(2) { color: var(--bleu); }
.offre .btn { justify-self: start; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq details { background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; }
.faq summary {
  min-height: 56px; padding: 14px 48px 14px 18px; cursor: pointer; font-weight: 700; font-size: 1.125rem;
  list-style: none; position: relative; border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.5rem; color: var(--bleu);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 18px 18px; color: var(--secondaire); }

/* ---------- Contact ---------- */
.contact { text-align: left; display: grid; gap: 20px; }
.contact .boutons-contact { display: flex; flex-wrap: wrap; gap: 12px; }
.adresse {
  font-family: var(--mono); font-size: 1.0625rem; font-weight: 600; color: var(--texte);
  user-select: text; -webkit-user-select: text; background: var(--fond); border: 1px solid var(--filet);
  padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere;
}
.contact .note { color: var(--secondaire); }

/* ---------- Pied de page ---------- */
.site-footer { border-top: 1px solid var(--filet); padding-block: 32px 40px; color: var(--secondaire); font-size: .9375rem; }
.footer-grid { display: grid; gap: 16px; }
.site-footer nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 48px; }

/* ---------- Pages de texte (mentions, 404) ---------- */
.doc { padding-block: 40px 64px; max-width: 46rem; }
.doc h1 { font-size: clamp(2.5rem, 9vw, 3.5rem); margin-bottom: 20px; }
.doc h2 { font-size: 1.75rem; margin: 36px 0 12px; }
.doc p { margin-bottom: 12px; max-width: 65ch; }
.doc .muted { color: var(--secondaire); }
.todo { color: var(--rouge); border: 1px dashed var(--rouge); border-radius: 4px; padding: 0 4px; }
.brouillon {
  border: 2px dashed var(--rouge); border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; background: var(--surface);
}
.brouillon strong { color: var(--rouge); }

/* ---------- Écrans plus larges ---------- */
@media (min-width: 720px) {
  :root { --gouttiere: 32px; }
  .section { padding-block: 88px; }
  .cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .engagements { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerie li:first-child { grid-column: auto; }
  .galerie li:first-child a { max-width: none; }
  .galerie li:first-child figcaption { text-align: left; }
  .etape { grid-template-columns: 1fr 1fr; gap: 48px; }
  .etape:nth-child(even) .etape-texte { order: 2; }
  .mouvement { grid-template-columns: 1fr 1fr; gap: 48px; padding: 36px; }
  .demo-grid { grid-template-columns: 1fr minmax(320px, 400px); padding: 32px; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr auto; align-items: center; }
  .offre { padding: 36px; }
}
@media (min-width: 1000px) {
  .hero { padding-block: 64px 88px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
  .actions .btn { flex: 0 1 auto; }
  .telephones { padding-bottom: 48px; align-items: flex-start; }
  .telephone-arriere { display: block; transform: translateY(48px); width: 250px; }
  .telephones .telephone:not(.telephone-arriere) { width: 290px; }
  .gerant-grid { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .confid-grid { grid-template-columns: 1.3fr .7fr; align-items: start; }
}
/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Impression : noir sur blanc ---------- */
@media print {
  :root { --fond: #ffffff; --surface: #ffffff; --texte: #000000; --secondaire: #333333; --filet: #999999; --bleu: #000000; --sur-bleu: #ffffff; }
  body { background: #fff; color: #000; }
  .nav, .skip, .demo-cadre, .actions, .telephones, .galerie, .confid-captures, .mouvement .telephone, .disques { display: none !important; }
  .btn-primaire { background: #fff; color: #000; border-color: #000; }
}
