/* ═══════════════════════════════════════════════════════════════════════════
   LÉOBTRADES — leobtrades.com (2026-10-26)
   ───────────────────────────────────────────────────────────────────────────
   Les couleurs de la bannière de la chaîne : un béton presque noir, le bleu
   en lumière derrière, et TRADES en bleu métallisé. Une seule feuille pour
   tout le site, et aucune couleur hors des jetons de :root.
   Le site reste sombre, même sur un téléphone réglé en clair : c'est
   l'identité de la chaîne, comme sa bannière et ses miniatures.
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* La police du nom : Barlow Condensed, la plus proche du Bahnschrift de la
   bannière parmi les polices libres. Un seul poids, le gras. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* La nuit */
  --fond: #0a0b0d;
  --lueur: rgba(36, 86, 214, .2);
  --carte: #131418;
  --carte-survol: #191b20;
  --champ: #0d0e11;
  --ligne: rgba(238, 242, 250, .08);
  --ligne-forte: rgba(238, 242, 250, .2);
  --ombre: rgba(0, 0, 0, .8);

  /* Le texte */
  --texte: #eef2fa;
  --doux: #b8bfcc;
  --discret: #8b93a3;

  /* Le cobalt : celui de la bannière, foncé d'un cran à la demande de Léo le
     26/10 (#2456d6 au lieu de #2f68f0). Pour ce site seulement : celui de
     TradingGuard garde ses couleurs. Le clair sert aux liens, lisibles sur
     la nuit. */
  --acc: #2456d6;
  --acc-fort: #1b47be;
  --acc-clair: #7fa2f0;
  --acc-voile: rgba(36, 86, 214, .16);
  --acc-bord: rgba(91, 136, 232, .45);
  --acc-ombre: rgba(36, 86, 214, .7);
  --sur-acc: #ffffff;
  --reflet: rgba(255, 255, 255, .18);
  /* Le dégradé de TRADES sur la bannière, et une version plus claire pour un
     mot dans un titre, lisible jusqu'au bas des lettres. */
  --metal: linear-gradient(180deg, #5b88e8 4%, #2456d6 34%, #123ca8 66%, #0e3182 100%);
  --metal-texte: linear-gradient(180deg, #9ab6f5 0%, #4f80f0 45%, #2f68f0 80%, #2456d6 100%);
  --metal-lueur: drop-shadow(0 0 .28em rgba(10, 66, 150, .6));

  /* L'erreur */
  --perte: #ff7a85;
  --perte-voile: rgba(255, 122, 133, .16);

  --titre: "Barlow Condensed", Bahnschrift, "Arial Narrow", sans-serif;
  --corps: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --e1: 4px; --e2: 8px; --e3: 12px; --e4: 16px; --e5: 24px; --e6: 32px; --e7: 48px; --e8: 72px;
  --r: 18px; --r-s: 12px; --r-xs: 6px;
}

/* ─── Base ──────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--corps);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texte);
  background: radial-gradient(1200px 640px at 50% -220px, var(--lueur), transparent 70%) no-repeat, var(--fond);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
main { flex: 1 0 auto; }
p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
b, strong { font-weight: 650; }
a { color: var(--acc-clair); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--texte); }
:focus-visible { outline: 2px solid var(--acc-clair); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--acc); color: var(--sur-acc); }
[hidden] { display: none !important; }

.ico { flex: none; width: 1.25em; height: 1.25em; fill: currentColor; }
.cadre { width: min(100% - 2 * var(--e4), 1160px); margin-inline: auto; }

.evitement {
  position: absolute; left: var(--e4); top: -80px; z-index: 10;
  padding: var(--e2) var(--e4); border-radius: var(--r-xs);
  background: var(--acc); color: var(--sur-acc); font-weight: 600; text-decoration: none;
}
.evitement:focus { top: var(--e4); color: var(--sur-acc); }

/* ─── Le nom, en lettres de bannière ────────────────────────────────────── */

.marque {
  display: inline-flex;
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  line-height: .9;
  letter-spacing: .015em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--texte);
  text-decoration: none;
}
.marque:hover { color: var(--texte); }
/* La lueur sur l'enveloppe, le dégradé dedans : posés sur le même élément,
   certains navigateurs perdent le texte découpé. */
.lueur { filter: var(--metal-lueur); }
.metal {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.titre .metal, .entete .metal { background-image: var(--metal-texte); }

.etiquette {
  display: inline-block;
  font-family: var(--titre);
  font-weight: 700;
  font-size: .9375rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--acc-clair);
}

/* ─── Boutons ───────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--e2);
  min-height: 54px;
  padding: 0 var(--e5);
  border: 0;
  border-radius: var(--r-s);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn-principal {
  color: var(--sur-acc);
  background: linear-gradient(180deg, var(--acc), var(--acc-fort));
  box-shadow: 0 12px 30px -14px var(--acc-ombre), inset 0 1px 0 var(--reflet);
}
.btn-principal:hover { color: var(--sur-acc); transform: translateY(-1px); box-shadow: 0 16px 36px -14px var(--acc-ombre), inset 0 1px 0 var(--reflet); }
.btn-principal:active { transform: none; }
.btn-second { color: var(--texte); background: var(--carte); border: 1px solid var(--ligne-forte); }
.btn-second:hover { color: var(--texte); background: var(--carte-survol); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ─── En-tête et pied des pages ─────────────────────────────────────────── */

.entete { border-bottom: 1px solid var(--ligne); }
.entete-cadre { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); min-height: 68px; }
.entete .marque { font-size: 1.75rem; }
.entete-lien { display: inline-flex; align-items: center; gap: var(--e2); font-size: .9375rem; font-weight: 600; color: var(--doux); text-decoration: none; }
.entete-lien:hover { color: var(--texte); }

.pied { margin-top: var(--e8); padding: var(--e6) 0 var(--e7); border-top: 1px solid var(--ligne); font-size: .875rem; color: var(--discret); }
.pied-cadre { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--e4) var(--e6); }
.pied-avert { max-width: 62ch; }
.pied-liens { display: flex; flex-wrap: wrap; gap: var(--e2) var(--e5); }
.pied-liens a { color: var(--doux); text-decoration: none; }
.pied-liens a:hover { color: var(--texte); text-decoration: underline; }

/* ─── La page de liens ──────────────────────────────────────────────────── */

.liens {
  display: flex;
  flex-direction: column;
  gap: var(--e4);
  width: min(100% - 2 * var(--e4), 560px);
  margin-inline: auto;
  padding: clamp(44px, 9vh, 88px) 0 var(--e6);
}
.profil { display: grid; justify-items: center; gap: var(--e3); margin-bottom: var(--e4); text-align: center; }
.profil .marque { font-size: clamp(3.5rem, 16vw, 5.75rem); }
/* L'espacement suit aussi la dernière lettre : le retrait à gauche recentre. */
.pseudo { padding-left: .3em; font-size: .8125rem; font-weight: 600; letter-spacing: .3em; text-transform: uppercase; color: var(--discret); }
.these { margin-top: var(--e2); font-size: clamp(1.0625rem, 4.6vw, 1.1875rem); font-weight: 600; line-height: 1.35; }

.vedette {
  display: grid;
  gap: var(--e4);
  padding: var(--e3) var(--e3) var(--e4);
  border: 1px solid var(--acc-bord);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--acc-voile), transparent 70%), var(--carte);
  box-shadow: 0 24px 60px -32px var(--acc-ombre);
  color: var(--texte);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease;
}
.vedette:hover { color: var(--texte); transform: translateY(-2px); border-color: var(--acc-clair); }
.vedette-texte { display: grid; gap: var(--e1); padding-inline: var(--e2); }
.vedette-titre { font-family: var(--titre); font-size: 2rem; font-weight: 700; line-height: 1.05; }
.vedette-sous { color: var(--doux); }
.vedette .btn { width: 100%; }
/* L'éventail (2026-10-27, choix de Léo) : trois aperçus des fiches en
   miniature à côté du texte, au lieu d'un grand aperçu qui prenait l'écran. */
.vedette-eventail { grid-template-columns: 118px minmax(0, 1fr); align-items: center; column-gap: var(--e4); padding: var(--e4); }
.vedette-eventail .btn { grid-column: 1 / -1; }
.vedette-eventail .vedette-texte { padding-inline: 0; }
.vedette-eventail .vedette-titre { font-size: 1.55rem; }
.eventail { position: relative; height: 104px; }
.eventail img { position: absolute; left: 50%; top: 50%; width: 92px; height: auto; border-radius: 6px; border: 1px solid var(--ligne-forte); box-shadow: 0 10px 22px -10px var(--ombre); }
.eventail img:nth-child(1) { transform: translate(-74%, -64%) rotate(-10deg); }
.eventail img:nth-child(2) { transform: translate(-50%, -50%) rotate(-1deg); }
.eventail img:nth-child(3) { transform: translate(-26%, -34%) rotate(8deg); }

.liste { display: grid; gap: var(--e3); margin: 0; padding: 0; list-style: none; }
.lien {
  display: flex;
  align-items: center;
  gap: var(--e4);
  min-height: 74px;
  padding: var(--e3) var(--e4) var(--e3) var(--e3);
  border: 1px solid var(--ligne);
  border-radius: var(--r);
  background: var(--carte);
  color: var(--texte);
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.lien:hover { color: var(--texte); background: var(--carte-survol); border-color: var(--ligne-forte); transform: translateY(-1px); }
.lien-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: var(--r-s); background: var(--acc-voile); color: var(--acc-clair); font-size: 1.5rem; }
.lien-ico .ico { width: 1em; height: 1em; }
.lien-texte { display: grid; flex: 1; min-width: 0; }
.lien-texte b { font-size: 1.0625rem; line-height: 1.3; }
.lien-texte small { font-size: .875rem; line-height: 1.4; color: var(--discret); }
.lien-fleche { color: var(--discret); transition: transform .2s ease, color .2s ease; }
.lien:hover .lien-fleche { color: var(--texte); transform: translate(2px, -2px); }

.reseaux { display: flex; justify-content: center; gap: var(--e3); margin-top: var(--e3); }
.reseaux a {
  display: grid; place-items: center;
  width: 50px; height: 50px;
  border: 1px solid var(--ligne); border-radius: 50%;
  background: var(--carte); color: var(--doux); font-size: 1.375rem;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.reseaux a:hover { color: var(--texte); background: var(--carte-survol); border-color: var(--ligne-forte); }
.reseaux .ico { width: 1em; height: 1em; }
/* Sous le nom depuis le 2026-10-27, comme sur la page de TradingGuard. */
.profil .reseaux { margin-top: var(--e2); }
.pastille { display: inline-block; margin-left: var(--e2); padding: 2px 8px; border-radius: 999px; background: var(--acc-voile); color: var(--acc-clair); font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; }

.confiance { max-width: 40ch; margin: var(--e2) auto 0; text-align: center; font-size: .9375rem; color: var(--doux); text-wrap: balance; }
.mini-pied { display: grid; gap: var(--e3); margin-top: var(--e5); padding-top: var(--e5); border-top: 1px solid var(--ligne); text-align: center; font-size: .8125rem; color: var(--discret); }
.mini-pied nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e2) var(--e5); }
.mini-pied a { color: var(--discret); }
.mini-pied a:hover { color: var(--texte); }

/* ─── Les fiches ────────────────────────────────────────────────────────── */

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(32px, 4vw, 56px); }
.hero .etiquette { margin-bottom: var(--e4); }
.titre {
  max-width: 17ch;
  margin: 0;
  font-family: var(--titre);
  font-size: clamp(2.75rem, 6.4vw, 4.75rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .005em;
  text-wrap: balance;
}
.lead { max-width: 60ch; margin-top: var(--e5); font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.55; color: var(--doux); }

.fiches-haut {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: var(--e6) clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 56px);
}
.fiches-intro .etiquette { margin-bottom: var(--e4); }
.fiches-intro .titre { font-size: clamp(2.75rem, 4.6vw, 4.25rem); }
.carte {
  padding: clamp(22px, 3vw, 40px);
  border: 1px solid var(--ligne);
  border-radius: calc(var(--r) + 4px);
  background: var(--carte);
  box-shadow: 0 30px 80px -40px var(--ombre);
}
.carte-forte { border-color: var(--acc-bord); background: linear-gradient(180deg, var(--acc-voile), transparent 45%), var(--carte); }

.formulaire { display: grid; gap: var(--e5); }
.champ { display: grid; gap: var(--e2); }
.champ > label:not(.case) { font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--doux); }
.champ :is(input[type="email"], input[type="text"], textarea) {
  width: 100%;
  min-height: 56px;
  padding: 0 var(--e4);
  border: 1.5px solid var(--ligne-forte);
  border-radius: var(--r-s);
  background: var(--champ);
  color: var(--texte);
  font: inherit;
  font-size: 1.0625rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.champ :is(input[type="email"], input[type="text"], textarea)::placeholder { color: var(--discret); opacity: 1; }
.champ :is(input[type="email"], input[type="text"], textarea):hover { border-color: var(--discret); }
.champ :is(input[type="email"], input[type="text"], textarea):focus { outline: none; border-color: var(--acc); box-shadow: 0 0 0 4px var(--acc-voile); }
.champ :is(input[type="email"], input[type="text"], textarea)[aria-invalid="true"] { border-color: var(--perte); box-shadow: 0 0 0 4px var(--perte-voile); }
.champ textarea { display: block; min-height: 176px; padding: var(--e3) var(--e4); line-height: 1.55; resize: vertical; }
/* Le remplissage automatique de Chrome peint le champ en bleu clair. */
.champ input:-webkit-autofill { -webkit-text-fill-color: var(--texte); caret-color: var(--texte); box-shadow: 0 0 0 100px var(--champ) inset; }
.champ input:-webkit-autofill:focus { box-shadow: 0 0 0 100px var(--champ) inset, 0 0 0 4px var(--acc-voile); }
.champ-erreur { font-size: .875rem; font-weight: 550; color: var(--perte); }

/* La case : une vraie case à cocher, invisible, sous un dessin à nous. */
.case { position: relative; display: flex; align-items: flex-start; gap: var(--e3); font-size: 1rem; font-weight: 500; line-height: 1.5; color: var(--texte); cursor: pointer; }
.case input { position: absolute; left: 0; top: 0; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.case-boite {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px;
  border: 1.5px solid var(--ligne-forte); border-radius: var(--r-xs);
  background: var(--champ);
  transition: background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.case-boite::after {
  content: "";
  width: 6px; height: 12px; margin-top: -3px;
  border: solid var(--sur-acc); border-width: 0 2.5px 2.5px 0;
  rotate: 45deg; opacity: 0;
  transition: opacity .15s ease;
}
.case:hover .case-boite { border-color: var(--acc-clair); }
.case input:checked + .case-boite { background: var(--acc); border-color: var(--acc); }
.case input:checked + .case-boite::after { opacity: 1; }
.case input:focus-visible + .case-boite { outline: 2px solid var(--acc-clair); outline-offset: 3px; }
.case input[aria-invalid="true"] + .case-boite { border-color: var(--perte); box-shadow: 0 0 0 4px var(--perte-voile); }

.envoi { display: grid; gap: var(--e4); }
.envoi .btn { width: 100%; }
.note { font-size: .875rem; line-height: 1.55; color: var(--discret); }
.promesse { display: block; margin-top: var(--e2); font-weight: 650; color: var(--texte); }
.promesse a { margin-left: var(--e1); font-weight: 500; }
.sans { padding-top: var(--e4); border-top: 1px solid var(--ligne); }

.accuse { display: grid; justify-items: start; gap: var(--e3); }
.accuse-ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--acc-voile); color: var(--acc-clair); font-size: 1.75rem; }
.accuse-ico .ico { width: 1em; height: 1em; }
.accuse-titre { font-family: var(--titre); font-size: 2.125rem; font-weight: 700; line-height: 1.05; outline: none; }
.accuse p { color: var(--doux); }
.accuse b { color: var(--texte); }
.lien-bouton { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--acc-clair); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; cursor: pointer; }
.lien-bouton:hover { color: var(--texte); }

/* ─── Le contact ────────────────────────────────────────────────────────── */

/* La page /contact (2026-10-27) : la présentation à gauche, le formulaire à
   droite, comme la page des fiches. */
.contact {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: var(--e6) clamp(32px, 5vw, 80px);
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 96px);
}
.contact-intro .etiquette { margin-bottom: var(--e4); }
.contact-limite { max-width: 52ch; margin-top: var(--e5); padding-top: var(--e5); border-top: 1px solid var(--ligne); font-size: .9375rem; color: var(--discret); }
.facultatif { margin-left: var(--e2); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--discret); }
/* Le piège à robots : hors de l'écran, pas caché, car certains robots sautent
   les champs cachés. */
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.voies { display: grid; gap: var(--e3); }
.voie { display: grid; justify-items: start; gap: var(--e1); padding: var(--e5); border: 1px solid var(--ligne); border-radius: var(--r); background: var(--carte); }
.voie-ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--e3); border-radius: var(--r-s); background: var(--acc-voile); color: var(--acc-clair); font-size: 1.375rem; }
.voie-ico .ico { width: 1em; height: 1em; }
.voie .etiquette { font-size: .875rem; }
.voie b { font-size: 1.0625rem; line-height: 1.35; }
.voie p { font-size: .9375rem; color: var(--doux); }
.voie-lien { display: inline-flex; align-items: center; gap: var(--e2); margin-top: var(--e2); font-weight: 600; text-decoration: none; }
.voie-lien .ico { width: 1.1em; height: 1.1em; transition: transform .2s ease; }
.voie-lien:hover .ico { transform: translate(2px, -2px); }

.dedans { padding-top: clamp(48px, 6vw, 88px); }
.sous-titre { margin: 0; font-family: var(--titre); font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 700; line-height: 1.05; }
.apercus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); align-items: start; gap: var(--e5); margin-top: var(--e5); }
.apercu { display: grid; gap: var(--e3); margin: 0; }
.apercu img { border-radius: var(--r-s); box-shadow: 0 18px 50px -22px var(--ombre); }
.apercu figcaption { font-size: .9375rem; color: var(--doux); }
.apercu figcaption b { margin-right: var(--e2); color: var(--texte); }
.relance { margin-top: var(--e6); }

.merci-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e3) var(--e5); margin-top: var(--e6); }
.merci-taille { font-size: .9375rem; color: var(--discret); }
.voies-rang { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: stretch; }
.voies-rang .voie { align-content: start; }

/* Sortir l'e-mail de Promotions (2026-10-26) : le bloc sous le PDF, en étapes
   numérotées. Le numéro est un ::before ; le texte de chaque étape tient dans
   un span, sinon chaque <b> deviendrait une case de la grille. */
.principale { display: grid; gap: var(--e5); margin-bottom: var(--e6); padding: var(--e6); border: 1px solid var(--acc-bord); border-radius: var(--r); background: linear-gradient(180deg, var(--acc-voile), var(--carte) 65%); }
.principale-titre { margin: var(--e3) 0 0; font-family: var(--titre); font-size: clamp(1.75rem, 3.4vw, 2.375rem); font-weight: 700; line-height: 1.05; }
.principale-tete p { max-width: 62ch; margin-top: var(--e3); color: var(--doux); }
.principale-tete b, .geste b { color: var(--texte); }
.gestes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--e4); }
.geste { padding: var(--e5); border: 1px solid var(--ligne); border-radius: var(--r-s); background: var(--champ); }
.geste .etiquette { font-size: .875rem; }
.geste ol { display: grid; gap: var(--e3); margin: var(--e4) 0 0; padding: 0; list-style: none; counter-reset: geste; }
.geste li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: var(--e3); align-items: start; counter-increment: geste; font-size: .9375rem; color: var(--doux); }
.geste li::before { content: counter(geste); display: grid; place-items: center; width: 28px; height: 28px; margin-top: -2px; border-radius: 50%; background: var(--acc-voile); color: var(--acc-clair); font-family: var(--titre); font-size: 1rem; font-weight: 700; line-height: 1; }
/* Le bouton qui ouvre les Promotions de Gmail ne sert que sur ordinateur :
   il vit dans la carte de ses étapes. */
.geste .btn { margin-top: var(--e5); }
.principale-pied { font-size: .9375rem; color: var(--discret); }
.principale-pied b { color: var(--doux); font-weight: 600; }

/* ─── Les pages légales ─────────────────────────────────────────────────── */

.doc { width: min(100% - 2 * var(--e4), 760px); margin-inline: auto; padding-top: clamp(40px, 6vw, 72px); }
.doc .titre { max-width: none; font-size: clamp(2.5rem, 6vw, 3.75rem); }
.doc-version { margin-top: var(--e3); font-size: .9375rem; color: var(--discret); }
.doc-intro { margin-top: var(--e5); font-size: 1.0625rem; color: var(--doux); }
.doc section { margin-top: var(--e7); scroll-margin-top: var(--e5); }
.doc h2 { margin: 0 0 var(--e3); font-family: var(--titre); font-size: 1.75rem; font-weight: 700; line-height: 1.1; }
.doc h2 .num { margin-right: var(--e2); color: var(--acc-clair); }
.doc p, .doc li { color: var(--doux); }
.doc p + p { margin-top: var(--e3); }
.doc ul { display: grid; gap: var(--e2); margin: var(--e3) 0 0; padding-left: 1.25em; }
.doc strong { color: var(--texte); }
.identite { display: grid; margin: var(--e5) 0 0; border-top: 1px solid var(--ligne); }
.identite > div { display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: var(--e1) var(--e5); padding: var(--e4) 0; border-bottom: 1px solid var(--ligne); }
.identite dt { font-size: .9375rem; color: var(--discret); }
.identite dd { margin: 0; color: var(--texte); }

/* ─── La page introuvable ───────────────────────────────────────────────── */

.erreur { display: grid; justify-items: start; gap: var(--e4); padding: clamp(64px, 12vh, 140px) 0 0; }
.erreur-actions { display: flex; flex-wrap: wrap; gap: var(--e3); margin-top: var(--e3); }

/* ─── Téléphone ─────────────────────────────────────────────────────────── */

@media (max-width: 880px) {
  .fiches-haut, .contact { grid-template-columns: minmax(0, 1fr); }
  /* Les tuiles, l'icône à gauche : trois cartes hautes l'une sous l'autre
     repoussaient les aperçus loin du formulaire. */
  .voie { grid-template-columns: auto minmax(0, 1fr); column-gap: var(--e4); padding: var(--e4) var(--e5) var(--e5) var(--e4); }
  .voie-ico { grid-row: 1 / span 5; margin-bottom: 0; }
  /* Sur un petit écran, le lecteur tient son téléphone : ses étapes d'abord. */
  .geste-tel { order: -1; }
}
@media (max-width: 560px) {
  .identite > div { grid-template-columns: minmax(0, 1fr); }
  .entete .marque { font-size: 1.5rem; }
  .principale { padding: var(--e5) var(--e4); }
  .geste { padding: var(--e4); }
  .geste .btn { width: 100%; }
}

/* ─── L'arrivée ─────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .monte { animation: monte .6s cubic-bezier(.2, .7, .2, 1) both; }
  .d1 { animation-delay: .07s; }
  .d2 { animation-delay: .14s; }
  .d3 { animation-delay: .21s; }
  .d4 { animation-delay: .28s; }
  .d5 { animation-delay: .35s; }
}
@keyframes monte { from { opacity: 0; transform: translateY(14px); } }
