/* Style commun des pages secondaires (merci, conditions de vente, mentions légales).
   Mêmes couleurs et polices que la page d'accueil ; toujours sombre, comme elle. */
@font-face { font-family: "Dela Gothic One"; font-style: normal; font-weight: 400; font-display: swap; src: url(polices/dela-gothic-one-204a18.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(polices/ibm-plex-mono-e5509a.woff2) format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(polices/manrope-58ee19.woff2) format("woff2"); }

:root:not([data-langue="fr"]) .fr, :root[data-langue="fr"] .en { display: none !important; }

:root {
  --encre: #0c0e14;
  --surface: #151925;
  --trait: #272d3c;
  --texte: #eceef2;
  --texte-doux: #9aa1b2;
  --alu: #c8ccd4;
  --alu-clair: #f1f3f6;
  --alu-sombre: #8a909c;
  --flamme: #ff8a2a;
  --f-titre: "Dela Gothic One", "Arial Black", system-ui, sans-serif;
  --f-texte: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-tech: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--encre); }
body { margin: 0; background: var(--encre); color: var(--texte); font: 400 16px/1.65 var(--f-texte); -webkit-font-smoothing: antialiased; }
a { color: var(--alu-clair); }
:focus-visible { outline: 2px solid var(--flamme); outline-offset: 3px; }

.page {
  max-width: 760px;
  margin: 0 auto;
  padding-block: 20px 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid;
  gap: 32px;
}
.entete { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.marque { font: 400 clamp(20px, 5vw, 26px)/1 var(--f-titre); letter-spacing: 0.02em; color: var(--texte); text-decoration: none; }
.langues { display: inline-flex; gap: 2px; padding: 2px; border: 1px solid var(--trait); border-radius: 999px; }
.langues button { font: 500 12px/1 var(--f-tech); letter-spacing: 0.08em; color: var(--texte-doux); background: transparent; border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; }
.langues button[aria-pressed="true"] { background: var(--surface); color: var(--texte); box-shadow: inset 0 0 0 1px var(--alu-sombre); }

.etiquette { font: 500 12px/1.4 var(--f-tech); letter-spacing: 0.1em; text-transform: uppercase; color: var(--flamme); }
h1 { font: 400 clamp(28px, 7vw, 44px)/1.1 var(--f-titre); margin: 10px 0 0; text-wrap: balance; }
h2 { font: 400 20px/1.25 var(--f-titre); margin: 0; text-wrap: balance; }
.texte { display: grid; gap: 28px; }
.texte section { display: grid; gap: 10px; }
.texte p, .texte ul, .texte ol { margin: 0; color: var(--texte-doux); }
.texte strong { color: var(--texte); }
.texte ul, .texte ol { padding-left: 1.2em; display: grid; gap: 6px; }
.encadre { background: var(--surface); border: 1px solid var(--trait); border-radius: 8px; padding: 18px; display: grid; gap: 10px; }
.note { font-size: 14px; color: var(--texte-doux); }
.a-remplir { background: var(--flamme); color: var(--encre); padding: 0 4px; border-radius: 3px; font-weight: 700; }

.bouton-alu {
  display: block;
  text-align: center;
  text-decoration: none;
  font: 800 17px/1.2 var(--f-texte);
  color: var(--encre);
  border-radius: 8px;
  padding: 19px 22px;
  background: var(--alu-clair);
}
.bouton-alu:hover { background: #ffffff; }
.etapes, .texte .etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: etape; }
.etapes li { counter-increment: etape; background: var(--surface); border: 1px solid var(--trait); border-radius: 6px; padding: 16px 18px; display: grid; gap: 4px; }
.etapes li::before { content: counter(etape); font: 400 20px/1 var(--f-titre); color: var(--flamme); }
.etapes span { color: var(--texte-doux); }

.pied { border-top: 1px solid var(--trait); padding-top: 20px; font-size: 14px; color: var(--texte-doux); display: grid; gap: 8px; }
.pied p { margin: 0; }
