/* Todis : système de design (proposition du 5 novembre 2026, spécification 322).
   Une seule feuille pour tout le site. Aucune classe propre à une page.
   Source : docs/specs/refonte-site/todis.css (la maquette), adaptée :
   polices servies par todis.eu, toutes les couleurs en jetons de :root,
   composants que les attributs style= des maquettes appelaient,
   menu mobile sans JavaScript. Choix notés dans
   docs/specs/refonte-site/IMPLEMENTATION.md.
   Contrôle : scripts/controle-style-site.py (aucune couleur hors des
   jetons de :root, aucune classe employée absente de la feuille). */

/* Polices : Atkinson Hyperlegible Next et Mono, licence OFL 1.1,
   servies par todis.eu (site/fonts/README.md). Aucun domaine tiers. */
@font-face{ font-family:"Atkinson Hyperlegible Next"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/AtkinsonHyperlegibleNext-Regular.woff2") format("woff2"); }
@font-face{ font-family:"Atkinson Hyperlegible Next"; font-style:normal; font-weight:600; font-display:swap; src:url("/fonts/AtkinsonHyperlegibleNext-SemiBold.woff2") format("woff2"); }
@font-face{ font-family:"Atkinson Hyperlegible Next"; font-style:normal; font-weight:700; font-display:swap; src:url("/fonts/AtkinsonHyperlegibleNext-Bold.woff2") format("woff2"); }
@font-face{ font-family:"Atkinson Hyperlegible Next"; font-style:normal; font-weight:800; font-display:swap; src:url("/fonts/AtkinsonHyperlegibleNext-ExtraBold.woff2") format("woff2"); }
@font-face{ font-family:"Atkinson Hyperlegible Mono"; font-style:normal; font-weight:400; font-display:swap; src:url("/fonts/AtkinsonHyperlegibleMono-Regular.woff2") format("woff2"); }
@font-face{ font-family:"Atkinson Hyperlegible Mono"; font-style:normal; font-weight:500; font-display:swap; src:url("/fonts/AtkinsonHyperlegibleMono-Medium.woff2") format("woff2"); }

:root{
  color-scheme: dark;
  /* Fonds et traits */
  --nuit:#0b0e14; --ardoise:#131826; --ardoise-claire:#182037; --code:#080b10;
  --trait:#262f45; --trait-fort:#36415e;
  --champ:#0e121b;
  /* Texte */
  --texte:#e8ecf4; --texte-doux:#a9b2c5; --texte-eteint:#808aa5;
  --blanc:#fff;
  /* Marque et action */
  --bleu:#4f8cff; --bleu-clair:#8fb6ff; --bleu-teinte:#14213d; --bleu-trait:#24427a;
  --action:#2d6ae0; --action-survol:#2559c0;
  /* Lignes de produit : la couleur dit à qui s'adresse le contenu */
  --boutique:#d95926; --boutique-clair:#ffb27f; --boutique-teinte:#2a1a10; --boutique-trait:#4d2a15;
  --api:#199e70; --api-clair:#6fe0c2; --api-teinte:#0d2a22; --api-trait:#17473a;
  /* Mise en avant */
  --violet:#9085e9; --violet-clair:#c3b5ff; --violet-teinte:#211b3d; --violet-fond:#6a4cf0; --violet-trait:#3a2f6b;
  /* États (toujours avec une icône et un mot) */
  --succes:#7ee2a3; --succes-teinte:#12341f; --succes-trait:#1f5a37;
  --attente:#f5c46b; --attente-teinte:#3a2c10;
  /* Code */
  --code-texte:#d6deeb; --code-commentaire:#8a94ab;
  /* Tableaux, preuve masquée, barres de coût */
  --zebre:rgba(255,255,255,.018);
  --caviar-a:#2a3350; --caviar-b:#222a42;
  --barre:#4b5572; --barre-plage:#2f3750;
  /* Téléphone de démonstration (une caisse claire, hors du thème sombre) */
  --tel-cadre:#1f2639; --tel-fond:#f5f6f8; --tel-carte:#fff; --tel-texte:#1b1f29;
  --tel-texte-doux:#5b6375; --tel-texte-moyen:#3b4252; --tel-ferme:#6f7686;
  --tel-trait:#e3e6ec; --tel-trait-fort:#c9cfda; --tel-action:#2d6ae0;
  /* Typographie */
  --police:"Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --police-code:"Atkinson Hyperlegible Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  /* Rayons : plus l'élément est grand, plus il est arrondi */
  --r-s:8px; --r-m:12px; --r-l:18px; --r-xl:28px;
  /* Mise en page */
  --conteneur:1200px; --goutiere:24px; --section:clamp(64px, 8vw, 112px);
  /* Longueur de ligne : 68 caractères au plus. Le « 0 » d'Atkinson
     Hyperlegible Next est large (1ch vaut environ 0,65em) : 42ch donnaient
     jusqu'à 71 caractères sur une ligne de lettres étroites (point 7,
     mesure au navigateur sur les 66 pages) ; 40ch tiennent sous 68. */
  --mesure:40ch;
}
@media (max-width:640px){ :root{ --goutiere:16px; } }

*,*::before,*::after{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{ margin:0; background:var(--nuit); color:var(--texte); font:400 17px/1.6 var(--police); text-align:left; -webkit-font-smoothing:antialiased; overflow-wrap:break-word; }
img{ max-width:100%; height:auto; display:block; }
a{ color:var(--bleu-clair); text-underline-offset:3px; }
a:hover{ color:var(--blanc); }
:focus-visible{ outline:3px solid var(--bleu-clair); outline-offset:2px; border-radius:4px; }
h1,h2,h3,h4{ margin:0; font-weight:800; letter-spacing:-0.015em; text-wrap:balance; }
p,li{ max-width:var(--mesure); }
p{ margin:0; text-wrap:pretty; }
ul,ol{ margin:0; }
figure{ margin:0; }
summary{ cursor:pointer; }
/* Un élément marqué hidden reste caché, même si un composant lui donne un
   display (bouton d'essai et bouton de copie, montrés par leur script). */
[hidden]{ display:none !important; }
.icone{ width:24px; height:24px; flex:none; fill:none; stroke:currentColor; stroke-width:1.75; stroke-linecap:round; stroke-linejoin:round; }
.icone--petite{ width:18px; height:18px; }

/* Échelle typographique */
.t-hero{ font-size:clamp(2.4rem, 4.6vw, 3.75rem); line-height:1.04; }
.t-h1{ font-size:clamp(2rem, 3.6vw, 2.75rem); line-height:1.08; }
.t-h2{ font-size:clamp(1.6rem, 2.6vw, 2rem); line-height:1.15; }
.t-h3{ font-size:1.3rem; line-height:1.3; font-weight:700; letter-spacing:-0.005em; }
.t-chapo{ font-size:1.2rem; line-height:1.55; color:var(--texte-doux); max-width:var(--mesure); }
.t-doux{ color:var(--texte-doux); }
.t-petit{ font-size:.9375rem; line-height:1.5; }
.t-grand{ font-size:1.1rem; }
.t-gras{ font-weight:700; }
.t-reco{ color:var(--violet-clair); font-weight:700; }
.t-chiffre{ font-size:2rem; line-height:1; font-weight:800; letter-spacing:-0.02em; }

/* Mise en page */
.conteneur{ max-width:var(--conteneur); margin:0 auto; padding:0 var(--goutiere); }
.section{ padding:var(--section) 0; }
.section--ardoise{ background:var(--ardoise); border-block:1px solid var(--trait); }
.section--serree{ padding:48px 0; }
.section--ouverture{ padding-bottom:40px; }
.section--fil{ padding-top:40px; }
.section--suite{ padding-top:0; }
.entete-section{ display:grid; gap:12px; margin-bottom:40px; max-width:760px; }
.entete-ligne{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:20px 32px; margin-bottom:32px; }
.surtitre{ font-size:1rem; font-weight:700; color:var(--bleu-clair); }
.surtitre--boutique{ color:var(--boutique-clair); }
.surtitre--api{ color:var(--api-clair); }
.pile{ display:grid; grid-template-columns:minmax(0, 1fr); gap:16px; align-content:start; }
.pile--large{ gap:28px; }
.pile--serree{ gap:6px; }
.pile--minime{ gap:4px; }
.pile--jointe{ gap:0; }
.pile > .etiquette{ justify-self:start; }
.rangee{ display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.rangee--ecartee{ justify-content:space-between; }
.rangee--fin{ justify-content:flex-end; }
.rangee--serree{ gap:6px; }
.grille{ display:grid; gap:24px; grid-template-columns:repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.grille--2{ grid-template-columns:repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.grille--3{ grid-template-columns:repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.scinde{ display:grid; gap:56px; align-items:center; grid-template-columns:repeat(auto-fit, minmax(min(460px, 100%), 1fr)); }
.scinde--haut{ align-items:start; }
.scinde--large{ grid-template-columns:minmax(0, 7fr) minmax(0, 5fr); }
.scinde--inverse{ grid-template-columns:minmax(0, 5fr) minmax(0, 7fr); }
.grille > *, .scinde > *{ min-width:0; }
@media (max-width:960px){ .scinde--large, .scinde--inverse{ grid-template-columns:1fr; } }
/* Un filet au-dessus d'un bloc (pied de carte chiffré, par exemple) */
.filet{ padding-top:16px; border-top:1px solid var(--trait); }
/* Marge au-dessus d'un bloc, en cinq pas */
.espace-xs{ margin-top:8px; }
.espace-s{ margin-top:16px; }
.espace-m{ margin-top:24px; }
.espace-l{ margin-top:32px; }
.espace-xl{ margin-top:40px; }

/* Boutons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:0 22px; border-radius:var(--r-s); border:1px solid transparent; font:700 1rem/1.2 var(--police); text-decoration:none; cursor:pointer; white-space:nowrap; list-style:none; }
.btn::-webkit-details-marker{ display:none; }
.btn--primaire{ background:var(--action); color:var(--blanc); }
.btn--primaire:hover{ background:var(--action-survol); color:var(--blanc); }
.btn--secondaire{ background:transparent; color:var(--texte); border-color:var(--trait-fort); }
.btn--secondaire:hover{ border-color:var(--bleu); color:var(--texte); }
.btn--petit{ min-height:44px; padding:0 16px; font-size:.9375rem; }
.btn--plein{ width:100%; }
/* Un bouton seul dans une pile ou un panneau garde sa largeur (js/essai.js). */
.btn--debut{ align-self:flex-start; justify-self:start; }
@media (max-width:640px){ .btn{ white-space:normal; text-align:center; padding-block:10px; } }
.lien-fort{ font-weight:700; text-decoration:none; color:var(--bleu-clair); display:inline-flex; gap:8px; align-items:center; }
.lien-fort:hover{ text-decoration:underline; color:var(--blanc); }

/* Barre des assistants IA */
.barre-ia{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.barre-ia__titre{ font-size:.9375rem; color:var(--texte-doux); margin-right:4px; }
.btn-ia{ display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border-radius:var(--r-s); border:1px solid var(--trait-fort); background:transparent; color:var(--texte); font:600 .9375rem/1 var(--police); text-decoration:none; cursor:pointer; }
.btn-ia:hover{ border-color:var(--bleu); color:var(--texte); }
.btn-ia--compact{ min-height:36px; }

/* Pastilles (états) et étiquettes (lignes de produit) */
.pastille{ display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:999px; font-size:.875rem; font-weight:700; line-height:1.3; white-space:nowrap; }
.pastille--dispo{ background:var(--succes-teinte); color:var(--succes); }
.pastille--attente{ background:var(--attente-teinte); color:var(--attente); }
.pastille--reco{ background:var(--violet-fond); color:var(--blanc); }
/* Pastille posée sur le bord haut d'une carte (« La plus choisie ») */
.pastille--haut{ position:absolute; top:-14px; left:24px; }
.etiquette{ display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:var(--r-s); font-size:.875rem; font-weight:700; line-height:1.3; }
.etiquette--boutique{ background:var(--boutique-teinte); color:var(--boutique-clair); border:1px solid var(--boutique-trait); }
.etiquette--api{ background:var(--api-teinte); color:var(--api-clair); border:1px solid var(--api-trait); }
.etiquette--neutre{ background:var(--ardoise-claire); color:var(--texte-doux); border:1px solid var(--trait); }

/* Tuiles d'icône */
.tuile{ width:48px; height:48px; border-radius:var(--r-m); display:grid; place-items:center; flex:none; }
.tuile--petite{ width:40px; height:40px; }
.tuile--bleu{ background:var(--bleu-teinte); color:var(--bleu-clair); }
.tuile--boutique{ background:var(--boutique-teinte); color:var(--boutique-clair); }
.tuile--api{ background:var(--api-teinte); color:var(--api-clair); }
.tuile--violet{ background:var(--violet-teinte); color:var(--violet-clair); }

/* Cartes et panneaux */
.carte{ background:var(--ardoise); border:1px solid var(--trait); border-radius:var(--r-l); padding:28px; display:flex; flex-direction:column; gap:14px; }
.carte--lien{ color:inherit; text-decoration:none; }
.carte--lien:hover{ border-color:var(--trait-fort); color:inherit; }
.carte--reco{ background:var(--ardoise-claire); border:2px solid var(--bleu); position:relative; }
.carte--ample{ padding:32px; gap:18px; }
/* Carte en bandeau : un texte et une action sur une ligne */
.carte--bandeau{ flex-direction:row; flex-wrap:wrap; align-items:center; justify-content:space-between; padding:20px 28px; }
.carte--boutique{ background:var(--boutique-teinte); border-color:var(--boutique-trait); }
.carte--etroite{ max-width:560px; gap:10px; }
.carte__pied{ margin-top:auto; padding-top:8px; }
.panneau{ border-radius:var(--r-xl); padding:clamp(28px, 4vw, 44px); display:flex; flex-direction:column; gap:18px; }
.panneau--boutique{ background:var(--boutique-teinte); border:1px solid var(--boutique-trait); }
.panneau--api{ background:var(--api-teinte); border:1px solid var(--api-trait); }
.panneau--neutre{ background:var(--ardoise); border:1px solid var(--trait); }
/* Carte de plateforme (online-stores, pricing) : titre, pastille dessous, texte, un bouton pleine largeur collé en bas. */
.carte-plateforme__tete{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; }
.carte-plateforme .carte__pied .btn{ width:100%; white-space:normal; text-align:center; padding:12px 14px; font-size:.9375rem; }
.liste-coches{ list-style:none; padding:0; display:grid; gap:10px; }
.liste-coches li{ display:flex; gap:10px; align-items:flex-start; }
.liste-coches .icone{ margin-top:2px; color:var(--succes); }
.liste-coches--colonnes{ grid-template-columns:repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap:12px 32px; }
.liste-icones{ list-style:none; padding:0; display:grid; gap:28px 40px; grid-template-columns:repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.liste-icones li{ display:flex; gap:18px; align-items:flex-start; }
/* Liste de liens séparés par des filets (guides, par exemple) */
.liste-liens{ display:grid; }
.liste-liens__lien{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; padding:20px 0; border-top:1px solid var(--trait); color:inherit; text-decoration:none; }
.liste-liens__lien:last-child{ border-bottom:1px solid var(--trait); }
.liste-liens__lien:hover{ color:inherit; }

/* La preuve minimale : l'élément signature */
.preuve{ background:var(--ardoise); border:1px solid var(--trait-fort); border-radius:var(--r-xl); padding:28px; display:grid; gap:20px; width:100%; max-width:460px; justify-self:center; margin:0; }
.preuve__entete{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.preuve__titre{ display:flex; gap:10px; align-items:center; font-weight:700; }
.preuve__groupe{ display:grid; gap:12px; }
.preuve__legende{ font-size:.875rem; font-weight:700; color:var(--texte-doux); display:flex; gap:8px; align-items:center; }
.preuve__ligne{ display:grid; grid-template-columns:150px 1fr; gap:14px; align-items:center; font-size:.9375rem; color:var(--texte-doux); }
@media (max-width:420px){ .preuve__ligne{ grid-template-columns:110px 1fr; } }
.caviar{ height:14px; border-radius:4px; background:repeating-linear-gradient(135deg, var(--caviar-a) 0 6px, var(--caviar-b) 6px 12px); width:calc(100% * var(--part, 1)); }
.preuve__reponse{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:16px 18px; border-radius:var(--r-m); background:var(--succes-teinte); border:1px solid var(--succes-trait); }
.preuve__reponse-q{ font-weight:700; color:var(--texte); }
.preuve__reponse-r{ display:flex; align-items:center; gap:8px; font-weight:800; color:var(--succes); }
.preuve__controles{ display:flex; flex-wrap:wrap; gap:8px 18px; font-size:.875rem; color:var(--texte-doux); }
.preuve__controles span{ display:inline-flex; gap:6px; align-items:center; }
.preuve__controles .icone{ color:var(--succes); }

/* Proportions : la longueur d'un caviar ou d'une barre de coût, par pas
   de 5 %, et le début de la partie claire d'une barre en plage. Des
   données, pas un style propre à une page. */
.part-5{ --part:.05; } .part-10{ --part:.1; } .part-15{ --part:.15; } .part-20{ --part:.2; }
.part-25{ --part:.25; } .part-30{ --part:.3; } .part-35{ --part:.35; } .part-40{ --part:.4; }
.part-45{ --part:.45; } .part-50{ --part:.5; } .part-55{ --part:.55; } .part-60{ --part:.6; }
.part-65{ --part:.65; } .part-70{ --part:.7; } .part-75{ --part:.75; } .part-80{ --part:.8; }
.part-85{ --part:.85; } .part-90{ --part:.9; } .part-95{ --part:.95; } .part-100{ --part:1; }
.debut-25{ --debut:25%; } .debut-33{ --debut:33%; } .debut-50{ --debut:50%; } .debut-66{ --debut:66%; } .debut-75{ --debut:75%; }

/* Étapes : une vraie séquence, donc numérotée */
.etapes{ list-style:none; padding:0; display:grid; gap:32px; grid-template-columns:repeat(auto-fit, minmax(min(250px, 100%), 1fr)); counter-reset:etape; }
.etapes li{ position:relative; padding-top:60px; display:grid; gap:8px; align-content:start; }
.etapes li::before{ counter-increment:etape; content:counter(etape); position:absolute; top:0; left:0; width:44px; height:44px; border-radius:50%; background:var(--bleu-teinte); color:var(--bleu-clair); border:1px solid var(--bleu-trait); display:grid; place-items:center; font-weight:800; }
.etapes li::after{ content:""; position:absolute; top:22px; left:60px; right:-16px; height:2px; background:var(--trait); }
.etapes li:last-child::after{ display:none; }
@media (max-width:820px){ .etapes li::after{ display:none; } }

/* Déroulé animé : une séquence numérotée dont les étapes s'allument une à
   une (classe « active » posée par le script de la page). Sans script, ou
   mouvement réduit, toutes les étapes restent lisibles. */
.deroule__etapes{ list-style:none; padding:0; display:grid; grid-template-columns:minmax(0, 1fr); gap:20px; counter-reset:deroule; }
.deroule__etape{ position:relative; padding-left:60px; min-height:44px; transition:opacity .3s ease; }
.deroule__etape::before{ counter-increment:deroule; content:counter(deroule); position:absolute; top:0; left:0; width:44px; height:44px; border-radius:50%; background:var(--bleu-teinte); color:var(--bleu-clair); border:1px solid var(--bleu-trait); display:grid; place-items:center; font-weight:800; }
.deroule:has(.active) .deroule__etape:not(.active){ opacity:.4; }
@media (prefers-reduced-motion:reduce){ .deroule:has(.active) .deroule__etape:not(.active){ opacity:1; } }
.deroule__acteur{ display:block; color:var(--bleu-clair); font-size:.8125rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em; margin-bottom:4px; }
.deroule__etape .code{ margin:12px 0 0; }

/* Code */
.code{ background:var(--code); border:1px solid var(--trait); border-radius:var(--r-m); overflow:hidden; min-width:0; }
.code__barre{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:6px 6px 6px 16px; border-bottom:1px solid var(--trait); font-size:.875rem; color:var(--texte-doux); }
.code pre{ margin:0; padding:18px 20px; overflow-x:auto; font:400 .875rem/1.7 var(--police-code); color:var(--code-texte); }
.code .c-cmt{ color:var(--code-commentaire); }
.code .c-chaine{ color:var(--api-clair); }
.code .c-option{ color:var(--bleu-clair); }
/* Barre sans légende : le bouton Copier seul, à droite
   (button[data-copier-code], montré par /js/copier-code.js). */
.code__barre--fin{ justify-content:flex-end; min-height:38px; }
/* Un code dans un bloc de code : pas l'habillage du code en ligne. */
.code pre code{ background:transparent; border:0; border-radius:0; padding:0; font-size:inherit; }
code{ font-family:var(--police-code); font-size:.92em; background:var(--ardoise-claire); border:1px solid var(--trait); border-radius:6px; padding:1px 6px; }

/* Tableau comparatif */
.tableau-boite{ position:relative; overflow-x:auto; border:1px solid var(--trait); border-radius:var(--r-l); background:var(--ardoise); }
.tableau{ width:100%; border-collapse:collapse; font-size:1rem; }
.tableau th,.tableau td{ padding:16px 20px; text-align:left; border-bottom:1px solid var(--trait); white-space:nowrap; }
.tableau thead th{ vertical-align:bottom; font-size:1rem; }
.tableau thead .tableau__prix{ display:block; font-size:.875rem; font-weight:400; color:var(--texte-doux); margin-top:2px; }
.tableau tbody th{ font-weight:400; color:var(--texte-doux); white-space:normal; min-width:220px; }
.tableau tbody tr:nth-child(even) > *{ background:var(--zebre); }
.tableau tbody tr:last-child > *{ border-bottom:0; }
.tableau .col-reco{ background:var(--bleu-teinte) !important; }
.tableau thead .col-reco{ border-top:3px solid var(--bleu); }
.oui,.non{ display:inline-flex; align-items:center; gap:6px; }
.oui{ color:var(--api-clair); font-weight:700; }
.non{ color:var(--texte-eteint); }
.visuellement-cache{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* Barres de coût (une seule série : Todis en couleur, le reste en gris).
   Longueur : classe part-NN sur barre__valeur (part-100 pour la plus longue). */
.barres{ display:grid; gap:18px; }
.barre{ display:grid; grid-template-columns:minmax(160px, 280px) 1fr; gap:20px; align-items:center; }
@media (max-width:640px){ .barre{ grid-template-columns:1fr; gap:6px; } }
.barre__nom{ font-size:.9375rem; }
.barre__nom small{ display:block; color:var(--texte-doux); font-size:.8125rem; }
.barre__piste{ display:flex; align-items:center; gap:12px; min-width:0; }
.barre__valeur{ height:24px; border-radius:0 4px 4px 0; background:var(--barre); flex:none; width:calc((100% - 170px) * var(--part, 1)); }
.barre__valeur--todis{ background:var(--bleu); }
.barre__valeur--plage{ background:linear-gradient(90deg, var(--barre) 0 var(--debut, 33%), var(--barre-plage) var(--debut, 33%) 100%); }
.barre__chiffre{ font-weight:800; white-space:nowrap; }
.barre__chiffre--todis{ color:var(--bleu-clair); }
.barre__axe{ border-top:1px solid var(--trait); margin-left:calc(min(280px, 30%) + 20px); }

/* Rappel daté */
.rappel{ display:grid; grid-template-columns:auto 1fr auto; gap:28px; align-items:center; padding:32px 36px; border-radius:var(--r-l); background:var(--violet-teinte); border:1px solid var(--violet-trait); }
.rappel--simple{ grid-template-columns:1fr; }
.rappel__date{ font-size:clamp(1.6rem, 2.4vw, 2.1rem); font-weight:800; color:var(--violet-clair); line-height:1.05; letter-spacing:-0.02em; }
@media (max-width:820px){ .rappel{ grid-template-columns:1fr; padding:28px 24px; } }

/* Confiance */
.confiance{ display:flex; flex-wrap:wrap; align-items:center; gap:20px 36px; }
.confiance img{ height:44px; width:auto; }
/* Marque OpenID Certified : PNG transparent au texte sombre, illisible sur
   le fond sombre ; posée sur une plaque blanche, image inchangée
   (spécification 331, point 2). content-box : la plaque s'ajoute autour du
   logo sans le réduire. */
.plaque-blanche{ box-sizing:content-box; background:var(--blanc); padding:6px 10px; border-radius:var(--r-s); }
.confiance__texte{ display:inline-flex; gap:8px; align-items:center; color:var(--texte-doux); font-size:.9375rem; font-weight:600; }
/* Badge « Ready for France Identité » (partiel badge-france-identite.html) */
.badge-fi{ display:block; }

/* Questions fréquentes. Une question : details.faq-item, sa question dans
   summary (lu par scripts/controle-donnees-structurees.py). */
.faq{ max-width:820px; }
.faq details{ border-top:1px solid var(--trait); padding:20px 0; }
.faq details:last-child{ border-bottom:1px solid var(--trait); }
.faq summary{ cursor:pointer; list-style:none; display:flex; justify-content:space-between; gap:16px; font-size:1.15rem; font-weight:700; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; color:var(--bleu-clair); font-weight:400; font-size:1.6rem; line-height:1; }
.faq details[open] summary::after{ content:"\2212"; }
.faq details p{ margin-top:12px; color:var(--texte-doux); }
.faq-item{ scroll-margin-top:24px; }

/* Appel final */
.appel{ border-radius:var(--r-xl); padding:clamp(32px, 5vw, 56px); background:var(--ardoise-claire); border:1px solid var(--trait-fort); display:grid; gap:20px; justify-items:start; }

/* Fil d'Ariane */
.fil{ display:flex; flex-wrap:wrap; gap:8px; font-size:.9375rem; color:var(--texte-doux); margin-bottom:28px; }
.fil a{ color:var(--texte-doux); }
.fil a:hover{ color:var(--texte); }

/* Gabarits Guide et Document : accroche (section section--fil
   section--ouverture : fil d'Ariane, titre, chapô), puis le texte en
   colonne de lecture (.prose). Un guide a un sommaire latéral (.guide). */
/* Guide : sommaire latéral et texte en colonne de lecture. Sur
   ordinateur, le sommaire reste à l'écran ; sur téléphone, il passe
   au-dessus du texte. */
.guide{ display:grid; gap:40px 56px; grid-template-columns:minmax(0, 1fr); align-items:start; }
.guide > *{ min-width:0; }
.guide__sommaire{ font-size:.9375rem; line-height:1.45; padding-left:18px; border-left:1px solid var(--trait); }
.guide__sommaire-titre{ font-weight:700; color:var(--texte); margin-bottom:12px; }
.guide__sommaire ol{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
.guide__sommaire ol ol{ margin-top:10px; padding-left:14px; }
.guide__sommaire a{ color:var(--texte-doux); text-decoration:none; }
.guide__sommaire a:hover{ color:var(--texte); text-decoration:underline; }
.guide__corps{ max-width:820px; }
@media (min-width:961px){
  .guide{ grid-template-columns:240px minmax(0, 1fr); }
  .guide__sommaire{ position:sticky; top:24px; max-height:calc(100vh - 48px); overflow-y:auto; }
}

/* Texte long (guides et documents) : rythme vertical des sections,
   titres, paragraphes, listes et blocs. :where() garde ces règles faibles, pour qu'un composant
   posé dans le texte garde les siennes. */
.prose :where(section, [id]){ scroll-margin-top:24px; }
.prose :where(section + section){ margin-top:56px; }
.prose :where(h2){ margin-bottom:16px; }
.prose :where(h3){ margin:32px 0 12px; }
.prose :where(p, ul, ol, .code, .encadre, .grille, .rappel){ margin-bottom:16px; }
.prose :where(ul:not([class]), ol:not([class])){ padding-left:1.4em; }
.prose :where(ul:not([class]) > li + li, ol:not([class]) > li + li){ margin-top:8px; }
.prose :where(.etapes){ margin:24px 0 32px; }
/* Un composant posé dans le texte (carte, rappel) garde son propre rythme. */
.prose :where(.carte, .rappel) :where(h2, h3, p, ul, ol){ margin:0; }

/* Encadré : une remarque qui ne doit pas se perdre dans le texte */
.encadre{ padding:20px 24px; border-radius:var(--r-m); background:var(--ardoise); border:1px solid var(--trait); border-left:3px solid var(--bleu); max-width:calc(var(--mesure) + 51px); }

/* Fiche de synthèse (liste de définitions) */
.fiche{ display:grid; gap:0; border:1px solid var(--trait); border-radius:var(--r-l); background:var(--ardoise); overflow:hidden; }
.fiche div{ display:grid; grid-template-columns:minmax(120px, 160px) 1fr; gap:16px; padding:16px 22px; border-bottom:1px solid var(--trait); }
.fiche div:last-child{ border-bottom:0; }
.fiche dt{ color:var(--texte-doux); font-size:.9375rem; }
.fiche dd{ margin:0; font-weight:700; }

/* Formulaire */
.formulaire{ display:grid; gap:20px; max-width:560px; }
.champ{ display:grid; gap:8px; }
.champ label{ font-weight:700; font-size:.9375rem; }
.champ input,.champ select{ width:100%; min-width:0; min-height:48px; border-radius:var(--r-s); border:1px solid var(--trait-fort); background:var(--champ); color:var(--texte); padding:0 14px; font:inherit; }
.champ__aide{ font-size:.875rem; color:var(--texte-doux); }
.case{ display:flex; gap:12px; align-items:flex-start; font-size:.9375rem; }
.case input{ width:20px; height:20px; margin-top:2px; accent-color:var(--action); flex:none; }

/* Téléphone de démonstration (la caisse d'une boutique) */
.telephone{ width:min(300px, 100%); border-radius:44px; border:10px solid var(--tel-cadre); background:var(--tel-fond); color:var(--tel-texte); padding:22px 16px 26px; justify-self:center; display:grid; gap:12px; font-size:14px; line-height:1.45; margin:0; }
.telephone__etape{ display:flex; align-items:center; gap:8px; padding:10px 12px; border-radius:10px; background:var(--tel-carte); border:1px solid var(--tel-trait); color:var(--tel-texte-doux); font-weight:700; font-size:13px; }
.telephone__etape--active{ border:2px solid var(--tel-action); color:var(--tel-texte); display:grid; gap:10px; }
.telephone__etape--fermee{ color:var(--tel-ferme); }
.telephone__titre{ display:flex; align-items:center; gap:8px; }
.telephone__texte{ margin:0; font-weight:400; color:var(--tel-texte-moyen); }
.telephone__verrou{ margin-left:auto; }
.telephone__num{ width:22px; height:22px; border-radius:50%; background:var(--tel-trait); color:var(--tel-texte-moyen); display:inline-grid; place-items:center; font-size:12px; flex:none; }
.telephone__etape--active .telephone__num{ background:var(--tel-action); color:var(--blanc); }
.telephone__bouton{ display:flex; justify-content:center; align-items:center; gap:8px; min-height:44px; border-radius:10px; background:var(--tel-action); color:var(--blanc); font-weight:700; }
.telephone__bouton--second{ background:var(--tel-carte); color:var(--tel-texte); border:1px solid var(--tel-trait-fort); }
/* Capture réelle d'un écran de téléphone, dans le cadre du téléphone de démonstration */
.capture{ width:min(300px, 100%); justify-self:center; border-radius:44px; border:10px solid var(--tel-cadre); background:var(--tel-fond); overflow:hidden; margin:0; }
.capture img{ width:100%; height:auto; }

/* Vidéo */
.video{ position:relative; aspect-ratio:16 / 9; border-radius:var(--r-l); border:1px solid var(--trait); background:var(--ardoise-claire); display:grid; place-items:center; overflow:hidden; }
.video__lecture{ width:84px; height:84px; border-radius:50%; background:var(--action); color:var(--blanc); display:grid; place-items:center; border:0; cursor:pointer; }
.video__legende{ position:absolute; left:20px; bottom:16px; right:20px; display:flex; justify-content:space-between; gap:12px; font-size:.9375rem; color:var(--texte-doux); }
/* Vidéo réelle : le lecteur du navigateur remplit le cadre, la légende va dessous */
.video--lecteur{ display:block; background:var(--code); }
.video--lecteur video{ display:block; width:100%; height:100%; object-fit:contain; }

/* Schéma « qui fait quoi » ; schema--flux : des nœuds reliés par des flèches */
.schema{ display:grid; gap:12px; grid-template-columns:repeat(auto-fit, minmax(min(180px, 100%), 1fr)); align-items:stretch; }
.schema--flux{ display:flex; flex-wrap:wrap; }
.schema__noeud{ border:1px solid var(--trait); border-radius:var(--r-m); background:var(--ardoise); padding:18px; display:grid; gap:6px; align-content:start; position:relative; }
.schema__noeud--todis{ border:2px solid var(--bleu); background:var(--bleu-teinte); }
.schema__fleche{ font-size:.875rem; color:var(--texte-doux); display:flex; gap:6px; align-items:center; }
.schema--flux .schema__noeud{ flex:1 1 200px; }
.schema--flux .schema__fleche{ flex:0 0 auto; flex-direction:column; justify-content:center; }

@media (prefers-reduced-motion:reduce){ *{ animation:none !important; transition:none !important; } }

/* Registre lu en direct (js/registries.js, page des registres de confiance),
   avec ses filtres (.filtres : des groupes de puces).
   Les classes registres-etat, -pays, -types, -compte et -liste sont les
   crochets du script ; puce, drapeau, ancre et registres-vide, -prets,
   -en-echec sont posées par lui. */
.registres-etat, .registres-compte{ color:var(--texte-doux); font-size:.9375rem; }
.registres-en-echec .registres-etat{ color:var(--texte); }
.filtres{ display:grid; gap:12px; margin:20px 0; }
.registres-pays, .registres-types{ display:flex; flex-wrap:wrap; gap:8px; }
.registres-liste{ display:grid; gap:16px; grid-template-columns:repeat(auto-fill, minmax(min(300px, 100%), 1fr)); margin:16px 0; }
.registres-vide{ color:var(--texte-doux); }
.puce{ display:inline-flex; align-items:center; gap:8px; min-height:44px; padding:0 14px; border:1px solid var(--trait-fort); border-radius:999px; background:var(--ardoise); color:var(--texte); font:600 .9375rem/1.2 var(--police); cursor:pointer; }
.puce:hover{ border-color:var(--bleu); }
.puce[aria-pressed="true"]{ border-color:var(--bleu); background:var(--bleu-teinte); }
.puce-compte{ min-width:24px; padding:0 6px; border-radius:999px; background:var(--trait); color:var(--texte-doux); font-size:.8125rem; text-align:center; }
.drapeau{ display:inline-block; width:24px; height:18px; border-radius:3px; border:1px solid var(--trait-fort); object-fit:cover; flex:none; }
.drapeau-inconnu{ background:var(--trait); }
.ancre{ display:flex; flex-direction:column; gap:8px; padding:20px; border:1px solid var(--trait); border-radius:var(--r-m); background:var(--ardoise); min-width:0; }
.ancre > *{ margin:0; }
.ancre-tete{ display:flex; align-items:center; gap:8px; color:var(--texte-doux); font-size:.875rem; }
.ancre-test{ margin-left:auto; padding:2px 10px; border-radius:999px; background:var(--attente-teinte); color:var(--attente); font-size:.8125rem; font-weight:700; }
.ancre-nom{ font-size:1.1rem; font-weight:700; overflow-wrap:anywhere; }
.ancre-cn{ color:var(--texte-doux); font-size:.875rem; overflow-wrap:anywhere; }
.ancre-types{ display:flex; flex-wrap:wrap; gap:6px; list-style:none; padding:0; }
.ancre-types li{ padding:2px 10px; border-radius:999px; background:var(--violet-teinte); color:var(--violet-clair); font-size:.8125rem; font-weight:700; }
.ancre-types .ancre-type-brut{ font-family:var(--police-code); font-weight:400; overflow-wrap:anywhere; }
.ancre-details{ display:grid; grid-template-columns:auto minmax(0, 1fr); gap:4px 12px; font-size:.875rem; }
.ancre-details dt{ color:var(--texte-doux); }
.ancre-details dd{ margin:0; overflow-wrap:anywhere; }
.ancre-empreinte{ font-size:.8125rem; color:var(--texte-doux); }
.ancre-empreinte code{ display:block; margin-top:6px; overflow-wrap:anywhere; }

/* En-tête (partiels communs entete-*.html et essai-*.html, trois langues).
   Menu mobile sans JavaScript : la case entete__case ouvre le menu,
   les langues et l'essai restent visibles. */
.entete{ background:var(--nuit); border-bottom:1px solid var(--trait); }
.entete__nav{ max-width:var(--conteneur); margin:0 auto; padding:14px var(--goutiere); display:flex; flex-wrap:wrap; align-items:center; gap:10px 36px; }
.entete__marque{ display:flex; align-items:center; gap:10px; min-height:48px; color:var(--texte); text-decoration:none; font-weight:800; font-size:22px; letter-spacing:-0.01em; }
.entete__marque:hover{ color:var(--texte); }
.entete__marque svg{ width:26px; height:26px; color:var(--bleu); }
.entete__menu{ display:flex; flex-wrap:wrap; gap:4px 28px; list-style:none; margin:0; padding:0; flex:1 1 auto; }
.entete__menu a{ display:inline-flex; align-items:center; min-height:48px; color:var(--texte-doux); text-decoration:none; font-size:16px; font-weight:600; border-bottom:2px solid transparent; }
.entete__menu a:hover{ color:var(--texte); }
.entete__menu a[aria-current="page"]{ color:var(--texte); border-bottom-color:var(--bleu); }
.entete__actions{ display:flex; align-items:center; gap:18px; }
.entete__langues{ display:flex; gap:12px; font-size:15px; font-weight:600; }
.entete__langues a{ color:var(--texte-doux); text-decoration:none; display:inline-flex; align-items:center; min-height:44px; }
.entete__langues a:hover{ color:var(--texte); }
.entete__langues a[aria-current="true"]{ color:var(--texte); }
.entete__case,.entete__bascule{ display:none; }
/* Mobile : marque et bouton du menu sur la première ligne, menu déplié
   dessous, langues et essai sur la dernière ; l'ordre visuel suit celui
   du document. */
@media (max-width:900px){
  .entete__nav{ gap:8px 16px; }
  .entete__marque{ margin-right:auto; }
  .entete__case{ display:block; position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); opacity:0; }
  .entete__bascule{ display:inline-grid; place-items:center; width:48px; height:48px; border:1px solid var(--trait-fort); border-radius:var(--r-s); color:var(--texte); cursor:pointer; }
  .entete__case:focus-visible + .entete__bascule{ outline:3px solid var(--bleu-clair); outline-offset:2px; }
  .entete__case:checked + .entete__bascule{ border-color:var(--bleu); }
  .entete__menu{ flex:1 1 100%; display:none; flex-direction:column; gap:0; }
  .entete__menu a{ width:100%; }
  .entete__case:checked ~ .entete__menu{ display:flex; }
  .entete__actions{ flex:1 1 100%; justify-content:space-between; gap:12px; }
}

/* Pied de page (partiels communs pied-*.html, trois langues) */
.pied{ background:var(--code); border-top:1px solid var(--trait); font-size:15px; line-height:1.5; }
.pied__corps{ max-width:var(--conteneur); margin:0 auto; padding:56px var(--goutiere) 32px; display:grid; gap:40px; }
.pied__colonnes{ display:grid; gap:32px; grid-template-columns:repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.pied__colonne{ display:grid; gap:10px; align-content:start; }
.pied__titre{ margin:0 0 4px; font-weight:700; color:var(--texte); }
.pied__colonne a, .pied__legal a{ color:var(--texte-doux); text-decoration:none; }
.pied__colonne a:hover, .pied__legal a:hover{ color:var(--texte); text-decoration:underline; }
.pied__badges{ display:flex; flex-wrap:wrap; align-items:center; gap:20px 32px; padding-top:28px; border-top:1px solid var(--trait); }
.pied__badges img{ height:40px; width:auto; }
.pied__badges p{ color:var(--texte-doux); max-width:52ch; }
.pied__badges p a{ color:var(--texte-doux); }
.pied__badges p a:hover{ color:var(--texte); }
.pied__bas p{ max-width:none; }
.pied__bas{ display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px 24px; color:var(--texte-doux); }
.pied__legal{ display:flex; flex-wrap:wrap; gap:8px 20px; }

