/* La feuille de tout le site hors landing : articles /guide, outils /outils, sommaires, offre, guides gratuits /ressources (avec ressources.css),
   pages légales et 404. Générée avec seo/gen_contenu.py (puis site.css : barre à volets, tiroir, pied de page, ajoutée à la fin).
   Variante A « objets rétro en volume », choisie par Evan le 19/11/2026 (refonte/maquettes3/A, MISSION_PRODUCTION_A_1911) : fond crème, titres en
   General Sans 600 serré, étiquettes en Geist Mono capitales, un objet en volume sur un pan brun en biais dans chaque en-tête.
   Charte v3 (~/Downloads/reorder_charte_graphique_v3.md) : jetons de couleur, l'ambre jamais en texte sur crème (R22), contraste AA.
   UN système d'espacement, sur l'échelle de la charte (0 4 8 12 16 20 24 32 40 48 56 64 72 80 96 112 128) et une hiérarchie stricte des vides
   (Evan, 19/11 : « attention aux espaces et à leurs cohérences ») : vu à l'écran, le vide sous un titre dépasse d'au moins 8 px le plus grand vide
   entre deux éléments de sa section, et le vide au-dessus d'un titre dépasse d'au moins 8 px celui d'en dessous.
     dans une section : 16 entre deux paragraphes, 16 avant un tableau, une liste ou un encadré ;
     sous un titre : 32 (h2), 24 (h3) ; au-dessus : 96 (h2), 48 (h3) ; entre deux grandes parties d'une page : 96.
   Contrôle bloquant : seo/controle_espacement.mjs (échelle, haut = bas dans tout bloc à fond, hiérarchie, débordement). */
@font-face { font-family: General; src: url(/fonts/general-sans_400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: General; src: url(/fonts/general-sans_500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: General; src: url(/fonts/general-sans_600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: VT; src: url(/fonts/VT323-Regular.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Mono; src: url(/fonts/geist-mono-latin.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }  /* Geist Mono, OFL 1.1 (fonts/GEIST-MONO-LICENCE.txt) */
:root {
  /* charte v3 §02 */
  --paper: #FAF7F2; --ink: #120D09; --cocoa: #312016; --muted: #706459; --line: #DBD2C8; --warm: #F1ECE6; --dark-card: #38291F; --line-dark: #665248; --inverse: #F7F2EB; --white: #FFFFFF;
  /* relevés sur la landing (14/11) */
  --espresso: #130D0A; --cacao: #3A2619; --creme: #EEE5D4; --lin: #DDCFB6; --argile: #A99482; --ambre: #DF9645;
  --texte-2: #4A3F36; --inverse-2: #D9CCBC; --pan: radial-gradient(120% 95% at 30% 20%, #4A3122 0%, #312016 50%, #1E140E 100%);
  --sans: General, system-ui, sans-serif; --mono: Mono, ui-monospace, Menlo, monospace;
  --ombre: 0 0 0 1px rgba(18, 13, 9, .06), 0 12px 32px rgba(18, 13, 9, .08); --rayon: 16px;
  --large: calc(100vw - 48px); --cote: 264px; --gout: 48px; --texte: 620px; --court: 36em;  /* 620 px à 18 px, 36em pour les petits textes : 80 signes au plus par ligne */ --barre-cote: 24px;
}
/* la largeur commune du site (Evan, 18/11) : celle de la landing, 1456u, u = 1/1920 de la largeur de l'écran bornée par sa hauteur (v10.css, --u) */
@media (min-width: 900px) { :root { --large: calc(1456 * min(100vw / 1920, 100svh / 1080)); } }
@media (min-width: 900px) and (max-width: 1199px) { :root { --large: calc(100vw - 64px); --cote: 224px; --gout: 32px; } }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
a { color: inherit; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: text-decoration-thickness .2s; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--cocoa); outline-offset: 3px; border-radius: 4px; }
.barre :focus-visible, .bandeau :focus-visible, .sombre :focus-visible, .cta.sombre :focus-visible, .pont :focus-visible, .volet:first-child :focus-visible, .fiche.nous :focus-visible { outline-color: var(--ambre); }
.saut { position: absolute; left: -9999px; } .saut:focus { left: 16px; top: 16px; z-index: 30; background: var(--creme); color: var(--cacao); padding: 8px 12px; }
.sr, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
mot-lie { display: contents; white-space: nowrap; }  /* « e-commerce » ne se coupe pas au trait d'union, sans caractère invisible ni boîte (gen_contenu.py, typo) */
.ico { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.ico.p { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- barre du site (refonte v2, option A) : ink opaque, identique partout ; volets et tiroir : site.css */
.barre { position: sticky; top: 0; z-index: 20; height: 64px; background: var(--ink); border-bottom: 1px solid rgba(247, 242, 235, .08); color: var(--creme); }
.barre .dans { position: relative; display: flex; align-items: center; gap: 32px; height: 100%; max-width: calc(var(--large) + 2 * var(--barre-cote)); margin: 0 auto; padding: 0 var(--barre-cote); }
.logo { display: flex; align-items: center; gap: 6px; text-decoration: none; }  /* le logo garde les écarts mesurés sur la landing (charte §04) */
.logo .marque { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--creme); color: var(--espresso); font: 400 21px/1 VT, monospace; }
.logo .nom { font: 400 25.5px/1 VT, monospace; }
.barre .progression { position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--ambre); }  /* lecture d'un guide : seul ambre de la barre */
.barre .bouton { position: relative; display: inline-block; min-height: 0; padding: 8px 16px 12px; border-radius: 9px; background: var(--creme); color: var(--cacao); font: 600 14px/1 var(--sans);
  text-decoration: none; white-space: nowrap; box-shadow: inset 0 -4px 0 #BFB49E, inset 0 0 0 2px #BFB49E; }
.barre .bouton::after { content: ''; position: absolute; inset: -5px 0; }
.barre .bouton:hover { translate: 0 2px; box-shadow: inset 0 -2px 0 #BFB49E, inset 0 0 0 2px #BFB49E; }
/* (Evan, 19/11, capture 10) au survol, « .bouton:hover » (fond encre, plus bas) gagnait : texte cacao sur encre. La touche de la barre garde son fond crème. */
.barre .bouton:is(:hover, :focus-visible) { background: var(--creme); color: var(--cacao); }
@media (max-width: 899px) { .barre .dans { justify-content: flex-start; gap: 4px; padding: 0 24px 0 12px; } .barre .bouton { margin-left: auto; } }
@media (max-width: 767px) { .logo { gap: 10px; } .logo .marque { width: 32px; height: 32px; font-size: 22px; } .logo .nom { font-size: 25px; } }
@media (max-width: 359px) { .barre .dans { padding-right: 20px; } }

/* ---------------------------------------------------------------- boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 20px; border: 0; border-radius: 10px; background: var(--cocoa); color: var(--paper);
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s; }
.bouton:hover { background: var(--ink); }
.bouton-clair { padding-bottom: 4px; background: var(--creme); color: var(--cacao); box-shadow: inset 0 -4px 0 #BFB49E; }
.bouton-clair:hover { background: var(--inverse); }
/* la touche crème de la landing (« key ») : tiroir mobile, 404, formulaires des guides */
.key { display: inline-block; padding: 16px 24px 20px; border: 0; border-radius: 10.5px; background: var(--creme); color: var(--cacao); font: 600 18px/1 var(--sans);
  text-align: center; text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: inset 0 -4px 0 #BFB49E, 0 13.5px 22.5px -13.5px rgba(19, 13, 10, .6); }
.key:hover { translate: 0 2px; box-shadow: inset 0 -2px 0 #BFB49E, 0 8px 16px -8px rgba(19, 13, 10, .6); }
.lien { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1.2 var(--sans); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------------------------------------------------------------- étiquettes et petits textes */
.etiq { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chemin ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chemin li + li::before { content: '/'; margin-right: 8px; }
.chemin a { text-decoration: none; } .chemin a:hover { color: var(--ink); text-decoration: underline; }
.chemin [aria-current] { color: var(--ink); }
.avatar { flex: none; display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--cocoa); color: var(--inverse); font: 600 14px/1 var(--sans); }
code { font: 500 .86em/1 var(--mono); background: var(--warm); border: 1px solid var(--line); border-radius: 4px; padding: 0 4px; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- l'écran : la colonne de gauche (dossiers ou sommaire) et la colonne principale, dans la largeur commune.
   Les fonds vont bord à bord ; l'objet de l'en-tête déborde jusqu'au bord droit de l'écran, rogné par l'écran (overflow-x: clip, qui garde le collant). */
.ecran { overflow-x: clip; }
.ecran > .dans { display: grid; grid-template-columns: var(--cote) minmax(0, 1fr); column-gap: var(--gout); max-width: var(--large); margin: 0 auto; }
.cote { display: flex; flex-direction: column; gap: 32px; padding: 32px 16px 64px 0; border-right: 1px solid var(--line); }
.colle { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 32px; }
.principal { min-width: 0; padding-bottom: 128px; container: principal / inline-size; }

/* l'encart de la colonne de gauche : l'audit, ou le guide gratuit lié à l'article */
.encart { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 24px; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); font-size: 15px; line-height: 1.5; }
.encart > :first-child { text-box: trim-start cap alphabetic; } .encart > p:last-child { text-box: trim-end cap alphabetic; }
.encart-titre { font: 600 19px/1.25 var(--sans); color: var(--ink); text-wrap: balance; }
.encart .bouton { width: 100%; font-size: 15px; }
.encart .couv { display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; background: var(--pan); }
.encart .couv img { width: 100%; height: 100%; object-fit: cover; }
.encart .etiq + .encart-titre { margin-top: -8px; }

/* ---------------------------------------------------------------- l'en-tête : le texte à gauche, l'objet à droite sur son pan brun en biais, rayé d'une bande ambre */
.tete { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: 32px; margin-bottom: 48px; }
/* (Evan, 19/11, captures 1 et 8) le fil d'Ariane sur toute la largeur de la colonne (une ligne quand il tient), son haut à la hauteur de la première
   ligne de la colonne de gauche (32, comme .cote) ; le titre et la ligne du bas dessous, sans creux : l'objet prend la hauteur du texte, rien de plus */
.tete-haut { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 16px; padding-top: 32px; }
.tete-texte { display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: 24px 0 0; }
.tete h1 { font: 600 clamp(34px, 5cqi, 56px)/1.04 var(--sans); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.tete-titre .chapo { margin-top: 16px; }
.chapo { font-size: 18px; line-height: 1.5; color: var(--texte-2); text-wrap: pretty; }
.chapo strong { font-weight: 600; color: var(--ink); }
.tete-article h1, .tete-guide h1 { font-size: clamp(32px, 4.4cqi, 50px); }
mark { background: linear-gradient(transparent 62%, var(--ambre) 62%, var(--ambre) 92%, transparent 92%); color: inherit; padding: 0 4px; }  /* surlignage ambre sous un texte encre (permis) */
.chiffres { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.chiffres li { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.chiffres b { margin-right: 4px; font: 600 22px/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 14px; line-height: 1.4; color: var(--muted); }
/* (Evan, 19/11, capture 1) un vrai séparateur entre les éléments : un point médian, jamais en début de ligne (le premier de chaque ligne est rogné) */
.meta { margin-left: -24px; clip-path: inset(-8px -8px -8px 24px); }
.meta > * { position: relative; padding-left: 24px; }
.meta > *::before { content: '·'; position: absolute; left: 0; width: 24px; text-align: center; font-weight: 600; color: var(--argile); }
.meta > .avatar { padding-left: 0; margin-left: 24px; } .meta > .avatar::before { content: none; }
.meta > .avatar + * { padding-left: 12px; } .meta > .avatar + *::before { content: none; }
/* la ligne du bas de l'en-tête rognée à sa ligne de base : le vide vu sous l'en-tête est sa marge (48), pas plus (règle 16) */
.meta > span:not(.avatar), .chiffres li { text-box: trim-end cap alphabetic; }
.meta b { font-weight: 500; color: var(--texte-2); }
.visuel { position: relative; min-height: 0; }
.visuel::before { content: ''; position: absolute; top: 0; bottom: 0; left: 64px; right: -100vw; transform: skewX(-16deg); transform-origin: 0 100%; background: var(--pan); }
.visuel::after { content: ''; position: absolute; top: 0; bottom: 0; left: 72%; width: 32px; transform: skewX(-16deg); transform-origin: 0 100%; background: var(--ambre); }
.visuel img { position: absolute; z-index: 1; inset: 24px -24px 16px 64px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; pointer-events: none; }
/* l'objet prend la hauteur du texte (pas de creux sous l'en-tête, Evan 19/11) : dans un en-tête bas (lecture, dossier), il est agrandi autour de son centre
   pour compenser le vide transparent de son image, sans déborder du pan */
@media (min-width: 900px) {
  .visuel { container: visuel / size; }
  @container visuel (max-height: 260px) { .visuel img { inset: 0 -24px 0 64px; height: 100%; transform: scale(1.5); transform-origin: 50% 58%; } }
  .visuel { clip-path: inset(0 -100vw -100vh -100vw); }  /* l'objet agrandi ne monte pas au-dessus de son pan, sur le fil d'Ariane (20/11 au soir, règle 18) */
}

/* ---------------------------------------------------------------- les sections d'une page */
.section { margin-top: 96px; }
.tete + .section, .tete + .article { margin-top: 0; }
.section-tete { margin-bottom: 32px; }
.section-tete > .etiq { text-box: trim-both cap alphabetic; }
.section-tete h2 { margin-top: 12px; font: 600 clamp(28px, 3.4cqi, 36px)/1.12 var(--sans); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.section-tete .chapo { margin-top: 16px; }

/* ---------------------------------------------------------------- l'article et l'outil : la colonne de lecture */
.article { display: flex; flex-direction: column; }
.article > * + * { margin-top: 96px; }
.article h2 { font: 600 clamp(28px, 3.2cqi, 34px)/1.14 var(--sans); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; scroll-margin-top: 96px; }
/* « L'essentiel en 30 secondes » : les points « En bref » de l'article, le chiffre clé en grand quand la phrase en porte un (aucun chiffre ajouté) */
.essentiel h2 { margin-bottom: 32px; }
.points { display: grid; list-style: none; border-bottom: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 208px minmax(0, 1fr); column-gap: 32px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.point-chiffre { grid-column: 1; font: 600 32px/1.05 var(--sans); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.points p { grid-column: 2; font-size: 16px; line-height: 1.55; color: var(--texte-2); }
/* les points sans chiffre : une liste simple sous les chiffres, sur toute la ligne */
.points-texte { display: grid; gap: 24px; list-style: none; }  /* 24 : plus que l'interligne, sinon les points se collent (Evan, 19/11) */
.points + .points-texte { margin-top: 24px; }
.points-texte li { position: relative; padding-left: 24px; font-size: 16px; line-height: 1.55; color: var(--texte-2); text-box: trim-both cap alphabetic; }
.points-texte li::before { content: ''; position: absolute; left: 4px; top: calc(.35em - 3px); width: 6px; height: 6px; background: var(--cocoa); }

/* le corps : HTML de la page source, à plat ; le rythme vient d'ici seulement */
/* le système des vides : chaque texte est rogné au haut des capitales et à la ligne de base (text-box), le vide qu'on voit est donc la marge écrite.
   24 entre deux éléments d'une section (paragraphe, liste, tableau, encadré), 16 entre deux points d'une liste, 40 sous un intertitre (h3),
   56 sous un titre de section (h2) ; 56 au-dessus d'un intertitre, 96 au-dessus d'un titre de section. */
.article .prose { font-size: 18px; line-height: 1.6; color: var(--ink); }
.article .prose :is(p, li, h2, h3, h4, figcaption, dt, dd) { text-box: trim-both cap alphabetic; }
.article .prose > * + * { margin-top: 24px; }
.article .prose > h2 { margin-top: 96px; }
.article .prose > h2:first-child { margin-top: 0; }
.article .prose > h3 { margin-top: 72px; font: 600 22px/1.3 var(--sans); color: var(--ink); text-wrap: balance; }
.article .prose > h2 + * { margin-top: 40px; }  /* Evan, 20/11 au soir (capture 5) : 56, « trop grands » ; 40, 8 de plus que le plus grand vide de la section (32 sous un intertitre) */
.article .prose > :is(h2, h3)[data-blocs] + * { margin-top: 56px; }  /* une section où deux blocs se suivent (48 entre eux) : gen_contenu.py, prose() */
.article .prose > h3 + * { margin-top: 32px; }
/* deux blocs qui se suivent dans l'article (fiches d'un classement, tableau, schéma, pont, outil) : 48, le palier des blocs voisins (Evan, 19/11) */
.article .prose > :is(.fiche, .tableau, .flow, .pont, .outil) + :is(.fiche, .tableau, .flow, .pont, .outil) { margin-top: 48px; }
.article .prose p { text-wrap: pretty; overflow-wrap: anywhere; }
.article .prose strong { font-weight: 600; color: var(--ink); }
.article .prose em { font-style: italic; }
.article .prose a { text-decoration-color: var(--argile); text-decoration-thickness: 1px; }
.article .prose a:hover { text-decoration-color: var(--ink); }
.article .prose ul { list-style: none; display: grid; gap: 24px; }  /* 24 : plus que l'interligne (18 px), sinon les points se collent (Evan, 19/11) */
.article .prose ul > li { position: relative; padding-left: 24px; overflow-wrap: anywhere; }
.article .prose ul > li::before { content: ''; position: absolute; left: 4px; top: calc(.35em - 3px); width: 6px; height: 6px; background: var(--cocoa); }
/* une liste numérotée : des étapes. Evan, 20/11 au soir (capture 6) : « aucune hiérarchie d'information, aucun espace, extrêmement désagréable à lire ».
   Avant : des ronds et des filets, 16 px de chaque côté du filet. Maintenant : chaque étape a son carré numéroté, relié au suivant par un trait,
   32 entre deux étapes (plus qu'entre deux paragraphes : 24). */
.article .prose ol { list-style: none; display: grid; gap: 32px; counter-reset: n; }
.article .prose ol > li { position: relative; padding: 0 0 0 56px; counter-increment: n; overflow-wrap: anywhere; }
.article .prose ol > li::before { content: counter(n); position: absolute; left: 0; top: -9px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 6px; background: var(--ink); color: var(--paper); font: 600 14px/1 var(--mono); }
.article .prose ol:not(.controle) > li:not(:last-child)::after { content: ''; position: absolute; left: 16px; top: 23px; bottom: -32px; width: 1px; background: var(--line); }
.article .prose ol > li > p { display: block; }
/* une liste de vérifications (titre « vérifier », « contrôle ») : coche ambre sur encre, deux colonnes */
.article .prose ol.controle { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: none; }
.article .prose ol.controle > li { padding: 16px 16px 16px 56px; border: 0; border-radius: 12px; background: var(--white); box-shadow: 0 0 0 1px var(--line); font-size: 15px; line-height: 1.5; text-box: trim-both cap alphabetic; }
.article .prose ol.controle > li::before { content: ''; left: 16px; top: 12px; width: 24px; height: 24px; border-radius: 6px; background: var(--ambre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23120D09' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 16px no-repeat; }
/* une formule posée à part (gen_contenu.py, formules) : sur son fond, un filet brun à gauche ; le vide d'un paragraphe autour (la hiérarchie des titres) */
.article .prose .formule { padding: 24px; border-radius: 12px; background: var(--warm); box-shadow: inset 4px 0 0 var(--cocoa); font: 600 19px/1.5 var(--sans); color: var(--ink); text-wrap: balance; }
.article .prose blockquote { padding: 0 0 0 24px; border-left: 3px solid var(--cocoa); font-style: italic; color: var(--texte-2); }
.article .prose blockquote > * + * { margin-top: 24px; }
.article .prose .source, .source { font-size: 13px; line-height: 1.5; color: var(--muted); }
.article .prose > .source { margin-top: 16px; }
.article .prose figure img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--ombre); background: var(--warm); }
.article .prose figcaption { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* les tableaux : toute la colonne, carte blanche. Evan, 20/11 au soir (capture 5) : « la ligne d'en-tête n'est pas belle, elle pourrait être marron, avec ses
   cellules mieux alignées » ; « plein de tailles différentes ». Un seul style d'en-tête partout (brun, texte clair, à la taille des cases : 15 px), une seule
   taille dans le tableau, les colonnes de nombres alignées à droite (.n). Contrôle : seo/controle_espacement.mjs, règle 20. */
.tableau { overflow-x: auto; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); }
.tableau table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; font-variant-numeric: tabular-nums; }
.tableau th { padding: 16px 20px; text-align: left; vertical-align: bottom; font: 600 15px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--inverse); background: var(--cocoa); }
.tableau td { padding: 16px 20px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; }
.tableau tbody th { font: 600 15px/1.45 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: none; border-top: 1px solid var(--line); vertical-align: top; }
.tableau td:first-child { font-weight: 600; }
.tableau .lab { display: none; }
.tableau :is(th, td) { text-box: trim-both cap alphabetic; }  /* rognés : le vide vu dans chaque case est sa marge */
/* les fiches d'un classement ; celle de Re:Order en bloc brun */
.fiche { padding: 32px; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); }
.fiche > * + * { margin-top: 24px; }
.fiche > h3 { font: 600 22px/1.3 var(--sans); color: var(--ink); }
.fiche > h3 + * { margin-top: 32px; }
.fiche > :first-child { text-box: trim-start cap alphabetic; } .fiche > :last-child { text-box: trim-end cap alphabetic; }
.fiche > :is(ul, ol):last-child { text-box: none; } .fiche > :is(ul, ol):last-child > li:last-child { text-box: trim-end cap alphabetic; }
.fiche.nous { background: var(--cocoa); color: var(--inverse-2); box-shadow: none; }
.fiche.nous :is(h3, strong) { color: var(--inverse); } .fiche.nous ul > li::before { background: var(--ambre); } .fiche.nous .source, .fiche.nous figcaption { color: var(--argile); }
.fiche.nous a { text-decoration-color: var(--ambre); }
.fiche figure img { box-shadow: none; }
/* le schéma d'une séquence (tiré du tableau qui la suit : message, délai) */
.flow { padding: 24px; border-radius: var(--rayon); background: var(--warm); border: 1px solid var(--line); }
.flow figcaption { display: block; margin: 0 0 16px; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-box: trim-start cap alphabetic; }
.flow ol { display: flex; align-items: stretch; gap: 8px; list-style: none; counter-reset: none; max-width: none; }
.flow li { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; padding: 16px 8px; border-radius: 12px; border: 0; background: var(--white); box-shadow: 0 0 0 1px var(--line); text-align: center; }
.article .prose .flow ol > li::before { content: none; }
.article .prose .flow ol > li { padding: 16px 8px; border: 0; counter-increment: none; text-box: none; }
.article .prose .flow figcaption { margin: 0 0 16px; }
.article .prose .flow ol > li.fl { flex: none; padding: 0; background: none; box-shadow: none; color: var(--muted); }
.flow li b { font: 600 15px/1.25 var(--sans); text-box: trim-both cap alphabetic; }
.flow li span { font: 500 12px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--texte-2); text-box: trim-both cap alphabetic; }
.flow li.debut { background: var(--cocoa); box-shadow: none; } .flow li.debut b { color: var(--inverse); } .flow li.debut span { color: var(--inverse-2); }
/* le pont vers un guide gratuit, posé dans l'article au moment utile */
.pont { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; align-items: center; padding: 24px; border-radius: var(--rayon); background: var(--cocoa); color: var(--inverse-2); }
.pont .couv { display: block; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: rgba(247, 242, 235, .06); }
.pont .couv img { width: 100%; height: 100%; object-fit: cover; }
.pont-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pont-texte > :first-child { text-box: trim-start cap alphabetic; }
.pont .etiq { color: var(--argile); }
.pont-titre { font: 600 24px/1.15 var(--sans); letter-spacing: -.02em; color: var(--inverse); text-wrap: balance; }
.pont p { font-size: 15px; line-height: 1.55; }
.pont .bouton { margin-top: 8px; }
/* questions fréquentes */
.faq h2 { margin-bottom: 32px; }
.faq-liste details { border-top: 1px solid var(--line); } .faq-liste details:last-child { border-bottom: 1px solid var(--line); }
.faq-liste summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font: 600 17px/1.4 var(--sans); cursor: pointer; list-style: none; }
.faq-liste summary::-webkit-details-marker { display: none; }
.faq-liste summary .ico { transition: rotate .2s; } .faq-liste details[open] summary .ico { rotate: 180deg; }
.faq-liste details p { padding-bottom: 24px; font-size: 16px; line-height: 1.6; color: var(--texte-2); }
/* ---------------------------------------------------------------- UN composant pour tous les blocs d'appel (Evan, 20/11 au soir, capture 3 : « très redondant
   visuellement + design mal fait ; on voit des différences de tailles entre les deux ; tu n'as ENCORE UNE FOIS pas uniformisé les classes CSS »).
   Avant : .audit, .guides-form, .encart-appel, .outil .cta et l'encart de l'audit, cinq blocs, cinq jeux de tailles (étiquette à 16 px dans l'un, 12 dans
   l'autre). Maintenant : l'étiquette, le groupe titre et texte (.cta-texte), l'action (.cta-action) ; mêmes tailles partout (étiquette 12, titre 30,
   texte 17, note 14 ; 48 de marge, 32 et 24 sur mobile). Deux tons, pour ne plus prendre l'un pour l'autre : .cta, carte blanche (les guides, l'encart
   tôt dans l'article, l'appel sous un résultat) ; .cta.sombre, brun (l'appel à réserver en fin de page, la fin d'un guide, l'encart de la colonne de gauche).
   Version compacte dans une colonne étroite (gauche, rail, volet d'un outil) : la même partout. Référence : la bande des guides de l'accueil (boutons encre
   sur clair, deux par ligne). Contrôles : seo/controle_espacement.mjs, règles 18 (chevauchement) et 19 (mêmes tailles d'une page à l'autre). */
.cta { display: flex; flex-direction: column; gap: 16px; padding: 48px; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); color: var(--texte-2); }
.cta.sombre { background: var(--cocoa); color: var(--inverse-2); box-shadow: none; }
.cta > .etiq { text-box: trim-both cap alphabetic; }
.cta.sombre > .etiq { color: var(--ambre); }
.cta-texte { display: flex; flex-direction: column; gap: 16px; }  /* + 8 sous le titre : 24 du titre au texte (charte §05.2), 16 entre deux paragraphes (règle 3) */
.cta :is(h2, h3, .cta-titre) { margin: 0 0 8px; font: 600 30px/1.15 var(--sans); letter-spacing: -.02em; color: var(--ink); text-wrap: balance; text-box: trim-both cap alphabetic; scroll-margin-top: 96px; }
.cta.sombre :is(h2, h3, .cta-titre) { color: var(--inverse); }
.cta-texte > :not(:first-child) { margin: 0; font: 400 17px/1.55 var(--sans); text-wrap: pretty; text-box: trim-both cap alphabetic; }
.cta-texte > ul { display: grid; gap: 20px; padding: 0; list-style: none; text-box: none; }
.cta-texte > ul > li { position: relative; padding-left: 20px; text-box: trim-both cap alphabetic; }
.cta-texte > ul > li::before { content: ''; position: absolute; left: 0; top: calc(.5em - 4px); width: 8px; height: 8px; background: var(--cocoa); }
.cta.sombre .cta-texte > ul > li::before { background: var(--ambre); }
.cta-action { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }  /* 16 + 24 = 40 : l'introduction, puis l'action */
.cta-action > .p2zone { flex: 1 1 100%; }
.cta-note { flex: 1 1 16em; margin: 0; font: 400 14px/1.5 var(--sans); color: var(--muted); text-box: trim-both cap alphabetic; }
.cta.sombre .cta-note { color: var(--inverse-2); }
.cta strong { font-weight: 600; color: inherit; }
.article > .cta, .doc > .cta { margin-top: 48px; }  /* au palier des blocs (48), jamais au vide de section (Evan, 19/11, capture 7) */
/* la version compacte (colonne de gauche, rail, volet d'un outil) */
:is(.cote, .rail, .volet) .cta { gap: 12px; padding: 24px; }
:is(.cote, .rail, .volet) .cta :is(h2, h3, .cta-titre) { margin-bottom: 4px; font-size: 20px; line-height: 1.25; }
:is(.cote, .rail, .volet) .cta-texte { gap: 12px; }
:is(.cote, .rail, .volet) .cta-texte > :not(:first-child) { font-size: 15px; line-height: 1.5; }
:is(.cote, .rail, .volet) .cta-action { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 12px; }  /* 12 + 12 = 24 */
:is(.cote, .rail, .volet) .cta-note { flex: none; font-size: 13px; }
:is(.cote, .rail) .cta .bouton { width: 100%; font-size: 15px; }
/* les guides : le tunnel (profil, puis adresse) ; boutons encre sur la carte blanche, deux par ligne, comme la bande des guides de l'accueil.
   L'état caché garde sa place : rien ne saute d'une étape à l'autre */
.cta .p2zone { display: grid; }
.cta :is(.p2choix, .p2form, .p2done) { grid-area: 1 / 1; display: flex; flex-direction: column; gap: 16px; min-width: 0; margin: 0; }
.cta :is(.p2choix, .p2form, .p2done)[hidden] { display: flex; visibility: hidden; }
/* l'adresse et son bouton sur une ligne : l'étape 2 reste moins haute que l'étape 1, aucun vide sous les boutons de profil */
.cta .p2form, .cta .p2form[hidden] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 16px 12px; }
.cta .p2form > :is(.p2consent, .p2msg) { grid-column: 1 / -1; }
.cta .p2form .p2cta { width: auto; padding: 8px 24px; }
.cta .p2q { font: 600 16px/1.3 var(--sans); color: var(--ink); text-box: trim-both cap alphabetic; }
.cta .p2b { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.cta .p2bt { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 4px 16px; border: 0; border-radius: 10px;
  background: var(--ink); color: var(--creme); font: 600 14px/1.3 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s; }
.cta .p2bt:hover { background: var(--cacao); }
.cta .p2bt:disabled { cursor: progress; }
.cta .p2in { width: 100%; height: 48px; padding: 0 16px; border: 1.5px solid var(--argile); border-radius: 10px; background: var(--white); color: var(--ink); font: 500 16px/1 var(--sans); }
.cta .p2in::placeholder { color: var(--muted); opacity: 1; }
.cta .p2in[aria-invalid=true] { border-color: #A3321B; box-shadow: 0 0 0 1px #A3321B; }
.cta .p2consent { order: 1; font-size: 13px; line-height: 1.5; color: var(--muted); text-box: trim-both cap alphabetic; }
.cta .p2consent a { color: inherit; }
.cta .p2msg { order: 2; min-height: 20px; font: 600 14px/1.45 var(--sans); color: #A3321B; }
.cta .p2done h3 { font: 600 22px/1.2 var(--sans); color: var(--ink); outline: none; }
.cta .p2done p { font-size: 15px; line-height: 1.55; }
.cta .p2done .p2acts { margin: 0; }
.cta .p2done > :not(.p2acts) { text-box: trim-both cap alphabetic; }  /* la confirmation n'est jamais plus haute que l'étape 1 : pas de vide sous les boutons de profil (règle 2) */

.auteur { display: flex; gap: 16px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--texte-2); }
.auteur b { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- le sommaire de l'article (colonne de gauche) : étroit et collant ; replié sur mobile */
.toc > summary { display: none; }
.toc ol { list-style: none; display: grid; margin-top: 16px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 8px 16px; font-size: 15px; line-height: 1.35; color: var(--texte-2); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a[aria-current] { box-shadow: -1px 0 0 var(--ambre), inset 1px 0 0 var(--ambre); color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- les sommaires /guide et /outils : cartes de lien */
.liens { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; list-style: none; }
/* (Evan, 19/11) une seule colonne de cartes : 48 entre deux, le palier des blocs voisins */
@media (max-width: 1199px) { .liens { row-gap: 48px; } }
.liens a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 24px; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); text-decoration: none; transition: translate .2s; }
.liens a:hover { translate: 0 -2px; }
.liens strong { font: 600 19px/1.3 var(--sans); color: var(--ink); text-wrap: balance; text-box: trim-start cap alphabetic; }
.liens span { font-size: 14px; line-height: 1.5; color: var(--muted); text-box: trim-end cap alphabetic; }
.groupe + .groupe { margin-top: 96px; }
.groupe > h2 { margin-bottom: 32px; font: 600 clamp(26px, 3cqi, 32px)/1.15 var(--sans); letter-spacing: -.02em; scroll-margin-top: 96px; }
.nav-liens { display: flex; flex-direction: column; gap: 4px; }
.nav-liens .etiq { padding: 0 12px 8px; }
.nav-liens a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 10px; font: 500 15px/1.25 var(--sans); text-decoration: none; color: var(--ink); }
.nav-liens a:hover { background: var(--warm); }
.nav-liens b { font: 500 13px/1 var(--mono); color: var(--muted); }

/* ---------------------------------------------------------------- outils : le calculateur, les entrées sur le brun à gauche, le résultat en grand sur le crème à droite */
.outil { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--rayon); overflow: hidden; box-shadow: 0 18px 44px rgba(18, 13, 9, .18); }
.volet { min-width: 0; display: flex; flex-direction: column; gap: 24px; padding: 48px; }
.volet:first-child { background: var(--cocoa); color: var(--inverse); }
.volet:last-child:not(:first-child) { background: var(--paper); color: var(--ink); }
.volet > :first-child { text-box: trim-start cap alphabetic; } .volet > :last-child { text-box: trim-end cap alphabetic; }
.volet > :is(form, div, fieldset, details):last-child { text-box: none; }
.outil h2 { font: 600 clamp(24px, 2.6cqi, 30px)/1.15 var(--sans); letter-spacing: -.02em; color: var(--inverse); }
.outil strong { font-weight: 600; }
.volet:first-child strong { color: var(--inverse); }
.outil .champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
.outil label { display: grid; gap: 8px; font-size: 15px; line-height: 1.45; }
.outil .champs label { grid-template-rows: 1fr auto; }
.outil [role="status"]:empty { display: none; }
.outil select { appearance: none; padding-right: 40px; background: var(--dark-card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F7F2EB' stroke-width='1.75'/%3E%3C/svg%3E") no-repeat right 16px center; }
.outil input, .outil select { width: 100%; min-height: 48px; padding-left: 16px; border-radius: 8px; border: 1px solid var(--line-dark); background-color: var(--dark-card); color: var(--inverse); font: 500 17px/1.2 var(--sans); }
.outil input { padding-right: 16px; }
.outil button { font-family: var(--sans); }
.outil button:disabled { opacity: .6; cursor: wait; }
.outil .bouton { padding-bottom: 4px; background: var(--creme); color: var(--cacao); box-shadow: inset 0 -4px 0 #BFB49E; white-space: normal; }
.outil .bouton:hover { background: var(--inverse); }
.volet:last-child:not(:first-child) .bouton { padding-bottom: 0; background: var(--cocoa); color: var(--paper); box-shadow: none; }
.outil .aide { font-size: 13px; line-height: 1.45; color: var(--inverse-2); }
.outil .lecture { font-size: 15px; line-height: 1.5; color: var(--inverse-2); }
.outil [aria-invalid="true"] { border-color: var(--ambre); }
.outil h3, .outil h4 { color: var(--inverse); }
.outil h3[tabindex="-1"]:focus { outline: none; }
.outil h4 { font: 600 16px/1.3 var(--sans); }
.outil fieldset { border: 0; padding: 0; min-width: 0; }
.outil legend { padding: 0; margin-bottom: 12px; font: 600 16px/1.3 var(--sans); }
.outil .options summary { cursor: pointer; font-size: 15px; color: var(--inverse-2); }
.outil .options[open] { display: grid; gap: 16px; }
.outil .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.outil pre { padding: 12px; border-radius: 8px; background: var(--warm); border: 1px solid var(--line); font: 400 13px/1.55 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
/* le résultat, sur le crème : le chiffre en grand */
.volet:last-child:not(:first-child) :is(h3, h4) { color: var(--ink); }
.volet:last-child:not(:first-child) :is(.lecture, .aide) { color: var(--texte-2); }
.volet + .volet:has(> :is(#resultat, #resultats)[hidden])::before { content: 'Le résultat s’affiche ici.'; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-box: trim-both cap alphabetic; }
.outil .resultat { display: flex; flex-direction: column; gap: 16px; }
.outil .resultat > * { margin: 0; }
.outil .chiffre { font: 600 clamp(48px, 7cqi, 72px)/1 var(--sans); letter-spacing: -.03em; color: var(--ink); }
.outil .fourchette { font: 600 clamp(32px, 4.2cqi, 44px)/1.1 var(--sans); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.outil .resultat h3 { font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
/* les vides dans un outil (relecture du 19/11 : le montant collé au « Repère », la pastille collée au texte) : le système de la lecture.
   Textes rognés, le vide vu est la marge écrite. Volet des entrées : 40 sous le titre, 24 entre ses blocs. Résultat : 16 entre deux textes,
   24 avant une pastille, 40 sous le grand chiffre, 56 sous le titre du résultat, 48 au-dessus d'un intertitre, 32 sous lui ; un libellé et son chiffre : 8, 32 entre deux. */
.outil :is(h2, h3, h4, pre, .volet > p, .resultat > p, .kpi > p) { text-box: trim-both cap alphabetic; }
.volet > h2 + * { margin-top: 16px; }
.outil #resultat:not([hidden]) { display: flex; flex-direction: column; gap: 32px; }
.outil .resultat > h3 + * { margin-top: 40px; }
.outil .resultat > :is(.chiffre, .fourchette) + * { margin-top: 24px; }
.outil .resultat > p:has(> .pastille:only-child) { margin-top: 8px; text-box: none; }  /* non rognée : sa ligne contient toute la pastille */
.outil .resultat > p:has(> .pastille:only-child) + * { margin-top: 8px; }  /* une pastille seule sur sa ligne : 24 au-dessus et au-dessous, jamais collée au texte */
.outil .resultat > h4 { margin-top: 72px; }  /* 16 de plus que le vide sous le titre du résultat (règle 7, 19/11) */
.outil .resultat > h4 + * { margin-top: 16px; }
.outil .kpi { display: flex; flex-direction: column; gap: 8px; }
.outil .kpi + * { margin-top: 16px; }
.outil .kpi-lab { font-size: 15px; line-height: 1.4; color: var(--texte-2); }
.outil .tableau { box-shadow: 0 0 0 1px var(--line); }
.outil .resultat ol > li { font-size: 16px; line-height: 1.5; }  /* « Par où commencer » : une liste du résultat, au corps du résultat */
.outil .controle { border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.outil .compteurs { display: flex; flex-wrap: wrap; gap: 8px; }
.outil .pastille { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--argile); font: 600 13px/1.2 var(--sans); white-space: nowrap; vertical-align: middle; }
.volet:last-child:not(:first-child) .pastille { border-color: var(--line); color: var(--ink); background: var(--white); }
.outil .pastille.echec { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.outil .pastille.alerte { border-color: var(--ink); }
.outil .pastille.ok { background: var(--warm); border-color: var(--warm); color: var(--ink); }
.outil .pastille.info { color: var(--muted); }
.volet:first-child .pastille { color: var(--creme); }
.volet:first-child .pastille.ok { background: var(--creme); color: var(--espresso); }
.volet:first-child .pastille.echec { background: var(--ambre); border-color: var(--ambre); color: var(--espresso); }
.volet:first-child .tableau { background: var(--dark-card); box-shadow: 0 0 0 1px rgba(238, 229, 212, .24); }
.volet:first-child table td { border-top-color: rgba(238, 229, 212, .16); }
.volet:first-child .source, .volet:first-child .source a { color: var(--argile); }
.tableau .n { text-align: right; font-variant-numeric: tabular-nums; }  /* une colonne de nombres (gen_contenu.py, colonnes_nombres) : alignée à droite, son en-tête compris */
.outil .jauge { position: relative; height: 8px; min-width: 4px; margin-top: 4px; border-radius: 4px; background: var(--warm); }
.outil .jauge span { position: absolute; inset: 0 auto 0 0; border-radius: 4px; background: var(--ambre); }
/* estimateur : deux modes, les champs, les cases des flows actifs */
.outil .estim { display: grid; gap: 24px; }
.outil #bloc-absents:not([hidden]), .outil #bloc-existants:not([hidden]) { display: grid; gap: 24px; }
.outil .modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.outil .mode, .outil .case { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.outil .mode { padding: 12px 12px 8px; border: 1px solid var(--line-dark); border-radius: 12px; background: var(--dark-card); font-size: 14px; line-height: 1.45; color: var(--inverse-2); }
.outil .mode strong { display: block; font-size: 15px; color: var(--inverse); }
.outil .mode:has(input:checked) { border-color: var(--ambre); box-shadow: inset 0 0 0 1px var(--ambre); }
/* (Evan, 18/11, capture 11) case et bouton radio dessinés dans la charte, 20 px, centrés sur la première ligne de leur texte */
.outil :is(.mode, .case) input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; position: relative; top: 2px;
  border: 1.5px solid var(--argile); border-radius: 4px; background: var(--dark-card) center / 14px 14px no-repeat; cursor: pointer; }
.outil .mode input { border-radius: 50%; }
.outil :is(.mode, .case) input:checked { border-color: var(--creme); background-color: var(--creme);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2.5 7.5l3 3 6-7' fill='none' stroke='%23312016' stroke-width='2' stroke-linecap='square'/%3E%3C/svg%3E"); }
.outil .mode input:checked { background-image: radial-gradient(circle, var(--cocoa) 0 4px, transparent 4.5px); }
.outil :is(.mode, .case) input:focus-visible { outline: 2px solid var(--ambre); outline-offset: 2px; }
.outil .cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 4px 16px; margin-bottom: 8px; }
.outil .case { padding: 4px 0; font-size: 15px; line-height: 24px; }
.outil .grille { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.outil .grille > div { display: grid; gap: 8px; align-content: start; }
.outil .flow-b { padding: 12px 0 4px; border-top: 1px solid rgba(238, 229, 212, .16); }
.outil .flow-b:first-child { border-top: 0; }
.outil .flow-nom { margin-bottom: 8px; font-weight: 600; }
.outil .grille-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.outil .grille-3 > div { display: flex; flex-direction: column; gap: 8px; }
.outil .grille-3 label { font-size: 13px; }
.outil .grille-3 input { margin-top: auto; }
.outil #r-table caption { caption-side: bottom; text-align: left; padding: 20px 20px 4px; font-size: 13px; line-height: 1.45; text-box: trim-both cap alphabetic; }
/* curseurs (Evan, 18/11) : le curseur devant, le champ derrière ; piste crème remplie d'ambre (permis sur le brun), poignée carrée crème */
.outil .regle { display: grid; grid-template-columns: minmax(0, 1fr) 120px; align-items: center; gap: 16px; }
.outil .regle .glisse { order: -1; }
.outil .regle input[data-curseur] { text-align: right; font: 600 17px/1 var(--mono); font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.outil .regle input[data-curseur]::-webkit-inner-spin-button, .outil .regle input[data-curseur]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.outil input.glisse { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; cursor: pointer; visibility: hidden; }
.outil .regle.pret input.glisse { visibility: visible; }
.outil input.glisse::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ambre) var(--p, 0%), rgba(238, 229, 212, .18) var(--p, 0%)); }
.outil input.glisse::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--ambre) var(--p, 0%), rgba(238, 229, 212, .18) var(--p, 0%)); }
.outil input.glisse::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border: 3px solid var(--espresso); border-radius: 4px; background: var(--creme); box-shadow: 0 0 0 1px var(--creme); }
.outil input.glisse::-moz-range-thumb { width: 16px; height: 16px; border: 3px solid var(--espresso); border-radius: 4px; background: var(--creme); box-shadow: 0 0 0 1px var(--creme); }
.outil .regle.vide input.glisse::-webkit-slider-runnable-track { background: rgba(238, 229, 212, .18); }
.outil .regle.vide input.glisse::-moz-range-track { background: rgba(238, 229, 212, .18); }
.outil .regle.vide input.glisse::-webkit-slider-thumb { background: var(--argile); box-shadow: 0 0 0 1px var(--argile); }
.outil input.glisse:hover::-webkit-slider-thumb { background: var(--inverse); }
/* test de délivrabilité */
.outil .test { display: grid; gap: 8px; }
.outil .ligne { display: flex; flex-wrap: wrap; gap: 12px; }
.outil .ligne input { flex: 1 1 240px; width: auto; }
.outil .resultat p, .outil .controle p { overflow-wrap: anywhere; }
/* le résultat d'un outil, dans sa colonne étroite : ses tableaux en fiches, comme sur mobile */
.volet:last-child:not(:first-child) .tableau { overflow: visible; }
.volet:last-child:not(:first-child) .tableau table, .volet:last-child:not(:first-child) .tableau tbody, .volet:last-child:not(:first-child) .tableau tr, .volet:last-child:not(:first-child) .tableau td, .volet:last-child:not(:first-child) .tableau tbody th { display: block; width: auto; }
.volet:last-child:not(:first-child) .tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.volet:last-child:not(:first-child) .tableau tr { padding: 16px 20px; border-top: 1px solid var(--line); }
.volet:last-child:not(:first-child) .tableau tbody tr:first-child { border-top: 0; }
.volet:last-child:not(:first-child) .tableau td, .volet:last-child:not(:first-child) .tableau tbody th { padding: 4px 0; border: 0; text-box: trim-both cap alphabetic; }
.volet:last-child:not(:first-child) .tableau .lab { display: block; margin-bottom: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.volet:last-child:not(:first-child) .tableau td:empty, .volet:last-child:not(:first-child) .tableau td:has(> .lab:only-child) { display: none; }
/* dans le résultat, une case = une ligne : son titre à gauche, sa valeur à droite ; la légende du tableau sur toute la largeur */
/* (Evan, 19/11, capture 16) une vraie grille libellé → valeur : le libellé et sa valeur sur la même ligne de base (alignés par leur ligne de base, rognés),
   16 entre deux lignes, toujours ; le statut n'est plus une pastille encadrée qui grandit sa ligne mais un point de couleur devant le mot ; le libellé en texte
   courant gris, pas en capitales à chasse fixe (donnée secondaire). Contrôle : « libellé et valeur » de seo/controle_espacement.mjs (2 px) */
.volet:last-child:not(:first-child) .tableau td { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 16px;
  padding: 8px 0; text-align: right; text-box: none; font: 500 15px/1.5 var(--sans); }
.volet:last-child:not(:first-child) .tableau tbody th { padding: 8px 0 4px; }
.volet:last-child:not(:first-child) .tableau tbody tr:last-child { padding-bottom: 12px; }  /* le bas du tableau : 12 + 8 = 20, comme le haut (sa légende) */
.volet:last-child:not(:first-child) .tableau td > * { text-box: trim-both cap alphabetic; }
.volet:last-child:not(:first-child) .tableau td .lab { margin: 0; text-align: left; font: 400 14px/1.5 var(--sans); letter-spacing: 0; text-transform: none; color: var(--texte-2); }
.volet:last-child:not(:first-child) .tableau td .pastille { gap: 8px; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); font: 600 15px/1.5 var(--sans); }
.volet:last-child:not(:first-child) .tableau td .pastille::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.volet:last-child:not(:first-child) .tableau td .pastille:is(.alerte, .echec)::before { background: var(--ambre); }
.volet:last-child:not(:first-child) .tableau td .pastille.ok::before { background: var(--cocoa); }
.volet:last-child:not(:first-child) .tableau caption { display: block; }
.volet:last-child:not(:first-child) .tableau .jauge { display: none; }
@media (min-width: 1100px) {
  .outil:has(> .volet + .volet) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .outil:has(.estim) { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* ---------------------------------------------------------------- articles et outils à trois colonnes, à partir de 1600 px (maquette validée par Evan le 19/11 : « Oui, mets en ligne »).
   Le sommaire collant à gauche, la colonne de lecture (texte, « L'essentiel », tableaux, figures, outil, tous à sa largeur, 720 px au plus),
   un rail collant à droite avec l'encart du guide lié (l'audit sur les outils), le tout dans la largeur commune (209 à 1519 à 1728 px).
   Texte à 20 px : 80 signes au plus sur 720 px. En dessous de 1600 px, deux colonnes : l'encart reste dans la colonne de gauche. */
.tricol .rail { display: none; }
@media (min-width: 1600px) {
  .tricol { --cote: 232px; --gout: 40px; }
  .tricol .cote :is(.encart, .cta) { display: none; }
  .tricol .corps { display: grid; grid-template-columns: minmax(0, 720px) minmax(200px, 1fr); column-gap: var(--gout); align-items: start; }
  .tricol .rail { display: block; align-self: stretch; padding-bottom: 128px; }
  .tricol .rail .colle { position: sticky; top: 96px; max-width: 320px; margin-left: auto; }
  .tricol .article .prose { font-size: 20px; }
  .tricol .article .prose > :is(p, ul, ol, blockquote), .tricol .article .prose .fiche > :is(p, ul, ol),
  .tricol :is(.points, .points-texte, .faq-liste, .faq-liste details p, .article .prose figure, .article .prose figcaption, .auteur) { max-width: none; }
  .tricol .points li { grid-template-columns: 176px minmax(0, 1fr); }
  .tricol .points p { max-width: none; }
  .tricol .outil:has(> .volet + .volet), .tricol .outil:has(.estim) { grid-template-columns: minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- pages légales (sources/gen12.py) : bandeau brun et colonne de lecture, inchangés */
.bandeau { background: radial-gradient(120% 95% at 24% 16%, #3A2619 0%, #251912 44%, #170F0C 100%); color: var(--creme); padding: 96px 48px; }
.col { max-width: 680px; margin: 0 auto; }
.fil { margin-bottom: 32px; font-size: 14px; line-height: 1.45; color: var(--lin); }
.fil ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; } .fil li + li::before { content: '›'; margin-right: 8px; }
.fil a { text-decoration-color: var(--ambre); }
.bandeau h1 { font: 400 56px/.92 VT, monospace; color: var(--creme); margin-bottom: 24px; text-wrap: balance; }
.bandeau .meta { color: var(--argile); }
.bandeau > div > :last-child { margin-bottom: 0; }
.bandeau .fil li { text-box: trim-both cap alphabetic; }
article.col { padding: 48px 24px 96px; box-sizing: content-box; }
article.col h2 { font: 600 32px/1.15 var(--sans); color: var(--cacao); margin: 64px 0 24px; text-wrap: balance; }
article.col h2:first-child { margin-top: 0; }
article.col p, article.col ul { margin-bottom: 16px; }
article.col strong { font-weight: 600; color: var(--cacao); }
@media (max-width: 767px) { .bandeau { padding: 56px 24px; } .bandeau h1 { font-size: 40px; } article.col h2 { font-size: 28px; } }

/* ---------------------------------------------------------------- titres en police pixel (404, pages légales) : glitch au survol ; curseur de saisie */
.glitch { transition: transform .2s ease; }
.glitch:hover, a:is(:hover, :focus-visible) .glitch { text-shadow: 0 0 10px rgba(247, 242, 235, .22), -3px 0 rgba(223, 151, 69, .7), 3px 0 rgba(247, 242, 235, .38); transform: skewX(-.5deg); }
.curseur::after { content: ''; display: inline-block; width: .09em; height: .78em; margin-left: 8px; vertical-align: -.04em; background: currentColor; opacity: .55; animation: curseur 1s step-end infinite; }
@keyframes curseur { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .glitch { text-shadow: none !important; transform: none !important; } .curseur::after { animation: none; } }

/* ---------------------------------------------------------------- tablette */
@media (max-width: 1199px) {
  .tete { grid-template-columns: minmax(0, 1fr) minmax(0, .6fr); }
  .article .prose ol.controle, .liens { grid-template-columns: minmax(0, 1fr); }
  .points li { grid-template-columns: 168px minmax(0, 1fr); }
  .pont { grid-template-columns: minmax(0, 1fr); }
  .pont .couv { max-width: 320px; }
  .volet { padding: 40px; }
}
/* ---------------------------------------------------------------- mobile (sous 900 px) : une colonne ; la colonne de gauche passe au-dessus, le sommaire se replie */
@media (max-width: 899px) {
  :root { --gout: 0px; }
  .ecran > .dans { grid-template-columns: minmax(0, 1fr); }
  .cote { padding: 16px 0 0; border-right: 0; gap: 16px; }
  .colle { position: static; gap: 16px; }
  .cote :is(.encart, .cta) { display: none; }
  .principal { padding-bottom: 96px; }
  .tete { grid-template-columns: minmax(0, 1fr); margin-bottom: 32px; }
  .tete-haut { order: -2; padding-top: 24px; }
  .tete-texte { padding: 24px 0 0; }
  .visuel { order: -1; min-height: 0; height: clamp(200px, 56vw, 320px); margin-top: 16px; }
  .visuel::before { left: -24px; right: -24px; transform: none; }
  .visuel::after { left: 78%; }
  .visuel img { inset: 16px 0; width: 100%; height: calc(100% - 32px); }
  .tete h1 { font-size: clamp(30px, 8.4vw, 44px); }
  .section { margin-top: 64px; }
  .article > * + * { margin-top: 72px; }
  .article .prose { font-size: 17px; }
  .article .prose > h2 { margin-top: 72px; }
  .points li { grid-template-columns: minmax(0, 1fr); row-gap: 8px; } .points p { grid-column: 1; }
  .flow ol { flex-direction: column; } .flow li.fl { rotate: 90deg; align-self: center; }
  .cta { padding: 32px 24px; }
  .cta :is(h2, h3, .cta-titre) { font-size: 26px; }
  .cta .p2b, .cta .p2form, .cta .p2form[hidden] { grid-template-columns: minmax(0, 1fr); }
  .cta .p2form .p2cta { width: 100%; }
  .volet { padding: 32px 24px; }
  .outil .champs { grid-template-columns: minmax(0, 1fr); }
  .outil .regle { grid-template-columns: minmax(0, 1fr) 120px; gap: 12px; }
  .outil .regle input[data-curseur] { font-size: 16px; padding: 0 12px; }
  .chiffres li.seul { display: none; }  /* « Gratuits » seul sur sa ligne : le titre le dit déjà */
  .outil .grille-3 { grid-template-columns: 1fr 1fr; } .outil .grille-3 > div:last-child { grid-column: 1 / -1; }
  /* le sommaire replié : un bouton qui l'ouvre (details, sans script) */
  .toc { border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
  .toc > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; padding: 12px 16px; cursor: pointer; list-style: none; font: 500 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
  .toc > summary::-webkit-details-marker { display: none; }
  .toc > summary .ico { transition: rotate .2s; } .toc[open] > summary .ico { rotate: 180deg; }
  .toc > .etiq { display: none; }
  .toc ol { margin: 0 16px 20px; }
  .toc > summary > span { text-box: trim-both cap alphabetic; }
  /* les tableaux sur mobile : chaque rangée devient une fiche, chaque case porte le titre de sa colonne (gen_contenu.py, data-label) */
  .tableau { overflow: visible; }
  .tableau table, .tableau tbody, .tableau tr, .tableau td, .tableau tbody th { display: block; width: auto; }
  .tableau thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tableau tr { padding: 16px 20px; border-top: 1px solid var(--line); }
  .tableau tbody tr:first-child { border-top: 0; }
  .tableau td, .tableau tbody th { padding: 4px 0; border: 0; text-box: trim-both cap alphabetic; }
  .tableau .lab { display: block; margin-bottom: 8px; font: 500 12px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .tableau tbody tr:last-child > * { padding-bottom: 4px; }
  .tableau td:empty { display: none; }
  .tableau .n { text-align: left; }  /* en fiche, la valeur suit son libellé */
  .tableau tbody tr > * + * { padding-top: 20px; }  /* d'un champ de la fiche au suivant : 20, plus que du libellé à sa valeur (8) ; avant, 4 (capture 5, 20/11 au soir) */
  /* les tableaux du texte des articles et des pages de contenu (Evan, 21/11 : « long et inefficace », 2 500 px pour 7 rangées, un champ par ligne) :
     chaque rangée ouvre sur un bandeau brun (sa première case, comme l'en-tête au bureau), puis ses champs sur deux colonnes, libellé au-dessus de sa valeur
     (règle 15 : côte à côte, ils devraient partager une ligne de base, ce qu'un lien au milieu de la valeur rend impossible). La carte a 16 px de marge
     intérieure : le bandeau n'en touche pas le bord, même vide en haut et en bas (règle 2). Les pages de lecture des guides et le résultat des outils
     gardent leur forme. */
  .article .prose > .tableau { padding: 16px; }
  .article .prose > .tableau tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 0; border: 0; }
  .article .prose > .tableau tbody tr + tr { margin-top: 24px; }
  .article .prose > .tableau .lab { margin-bottom: 4px; }
  .article .prose > .tableau tbody tr > * { padding: 0; border: 0; }
  .article .prose > .tableau tbody tr > :first-child { grid-column: 1 / -1; padding: 16px 20px; border-radius: 8px; background: var(--cocoa); color: var(--inverse); font: 600 15px/1.45 var(--sans); }
  .article .prose > .tableau tbody tr > :first-child .lab { display: none; }
  .article .prose > .tableau tbody tr:last-child > :not(:first-child) { padding-bottom: 0; }
}
@media (max-width: 359px) { :root { --large: calc(100vw - 40px); } }

/* ================= offre B (20/11, MISSION_OFFRE_B_1911 ; étude etude_cta_zhs/ETUDE.md, § 3.2 et § 4) =================
   « Ce que contient l'appel » et le calendrier (sous chaque calculateur, sur /agence-klaviyo), l'encart du blog vers l'appel, et « Pas encore prêt à en
   parler ? » : le formulaire des guides, le même tunnel que la pop-up (profil, puis adresse). Vides : l'échelle de la charte (seo/controle_espacement.mjs). */
.appel { display: flex; flex-direction: column; gap: 32px; }
.appel-tete { display: flex; flex-direction: column; gap: 16px; }
.appel-tete > :first-child { text-box: trim-start cap alphabetic; }
.article .appel h2 { margin-top: 0; }
.appel-tete { gap: 12px; }  /* l'étiquette, puis le titre et son chapeau groupés (le titre ouvre son groupe, comme l'appel à l'audit) */
.appel-groupe { display: flex; flex-direction: column; gap: 16px; }
.appel-tete .appel-groupe > p { font-size: 17px; line-height: 1.55; color: var(--texte-2); }
.appel-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.appel-etape { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); }
.appel-etape > :first-child { text-box: trim-start cap alphabetic; }
.appel-etape h3 { font: 600 18px/1.25 var(--sans); color: var(--ink); text-wrap: balance; }
.appel-etape .appel-groupe { gap: 8px; }
.appel-etape .appel-groupe > p { font-size: 15px; line-height: 1.5; color: var(--texte-2); text-box: trim-end cap alphabetic; }
.appel .cal { padding: 32px; border-radius: var(--rayon); background: var(--white); box-shadow: var(--ombre); }
.appel .cal:has(.cal-cadre) { padding: 16px; }
.cal-titre { font: 600 20px/1.3 var(--sans); color: var(--ink); text-wrap: balance; text-box: trim-both cap alphabetic; }
.cal-ecrit .form { margin-top: 32px; }
.cal-ecrit .form .consent:last-of-type { text-box: trim-both cap alphabetic; }
.article .prose > :is(.fiche, .tableau, .flow, .pont, .outil, .cta) + .cta, .article .prose > .cta + :is(.fiche, .tableau, .flow, .pont, .outil) { margin-top: 48px; }
@media (max-width: 899px) {
  .appel-etapes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 599px) {
  .appel .cal { padding: 24px; }
  .appel .cal:has(.cal-cadre) { padding: 8px; }
}
/* le formulaire écrit dans la colonne de lecture (plus étroite que la fenêtre) : le chiffre d'affaires et la priorité sur toute la largeur,
   pour que la consigne de la priorité tienne sur une ligne (aucun texte coupé) et qu'aucune ligne ne reste à moitié vide */
.appel .cal-ecrit .form label:has(select[name=revenue]), .appel .cal-ecrit .form label.wide:has(textarea) { grid-column: 1 / -1; }

/* Barre à volets, tiroir mobile et pied de page de tout reorder.fr (lot C, validé par Evan le 19/11/2026).
   Une seule feuille pour la landing (gen12.py l'ajoute à son style) et pour les articles, outils et guides (gen_contenu.py l'ajoute à contenu.css).
   Le balisage vient de seo/gen_contenu.py (rubriques(), tiroir(), pied()), le comportement de site.js.
   Prototypes validés : sources/ressources/refonte/propositions_1811/menu/ et pied/. Charte v3 : jetons ink, cocoa, dark-card, line-dark, inverse, amber ;
   focus ambre ; polices du site (VT323, General Sans) ; échelle d'espacement de la charte (seo/controle_espacement.mjs). */
:root {
  --s-ink: #120D09; --s-cocoa: #312016; --s-carte: #38291F; --s-filet: #665248; --s-ivoire: #F7F2EB; --s-ambre: #DF9745;
  --s-ivoire-2: rgba(247, 242, 235, .82); --s-ivoire-3: rgba(247, 242, 235, .62);
  --s-l: calc(100vw - 48px);  /* la largeur commune : celle de la landing (1456 unités de 1/1920) au bureau */
}
@media (min-width: 900px) { :root { --s-l: calc(1456 * min(100vw / 1920, 100svh / 1080)); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------------------------------------------- le menu du bureau : quatre rubriques, chacune son volet */
.rubriques { align-self: stretch; justify-self: center; display: flex; margin: 0 auto; }
.rubs { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rub { position: relative; display: flex; align-items: center; margin: 0; padding: 0; }
.rub-tete { display: inline-flex; align-items: center; }
.rub-lien { position: relative; display: inline-flex; align-items: center; height: 40px; margin: 0; padding: 0 12px; background: none; box-shadow: none; opacity: 1;
  color: rgba(247, 242, 235, .72); font: 500 15px/1 General, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: nowrap; transition: color .18s; }
.rub-lien[aria-current]::before { content: ''; flex: none; width: 6px; height: 6px; margin-right: 8px; background: var(--s-ambre); }
.rub-ouvrir { display: inline-grid; place-items: center; width: 24px; height: 40px; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  color: rgba(247, 242, 235, .6); cursor: pointer; transition: color .18s; }
.rub-ouvrir[hidden] { display: none; }
.rub-tete:has(.rub-ouvrir:not([hidden])) .rub-lien { padding-right: 4px; }
/* le chevron : 5 × 3 pixels de 2 px */
.chevron { display: block; width: 10px; height: 6px; background: currentColor; transition: transform .18s steps(2);
  clip-path: polygon(0 0, 20% 0, 20% 33%, 40% 33%, 40% 66%, 60% 66%, 60% 33%, 80% 33%, 80% 0, 100% 0, 100% 33%, 80% 33%, 80% 66%, 60% 66%, 60% 100%, 40% 100%, 40% 66%, 20% 66%, 20% 33%, 0 33%); }
.rub:hover .rub-lien, .rub.rub-ouverte .rub-lien, .rub-lien[aria-current], .rub-lien:focus-visible, .rub:hover .rub-ouvrir, .rub.rub-ouverte .rub-ouvrir { color: var(--s-ivoire); }
.rub.rub-ouverte .chevron { transform: rotate(180deg); }
/* la rubrique ouverte passe en relief, comme un menu déroulé sur un vieux système */
.rub.rub-ouverte .rub-tete { background: var(--s-carte); box-shadow: inset 0 0 0 1px var(--s-filet); }

/* le volet : dark-card, filet line-dark, ombre dure sans flou ; il se dessine en 4 paliers */
.panneau { position: absolute; top: calc(100% + 1px); left: 0; z-index: 30; display: none; min-width: 360px; margin: 0; padding: 0; background: var(--s-carte);
  border: 1px solid var(--s-filet); box-shadow: 6px 6px 0 rgba(18, 13, 9, .45); text-align: left; }
.rub.rub-ouverte .panneau { display: block; animation: dessiner .16s steps(4, end); }
@keyframes dessiner { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.panneau-tete, .panneau-pied { display: flex; justify-content: space-between; gap: 24px; margin: 0; padding: 12px 16px; font: 400 18px/1 VT, monospace; letter-spacing: .1em;
  text-transform: uppercase; color: var(--s-ivoire-3); white-space: nowrap; }
.panneau-tete { border-bottom: 1px solid var(--s-filet); }
.panneau-pied { letter-spacing: .04em; text-transform: none; border-top: 1px solid var(--s-filet); }
.panneau-liste, .tiroir-sous { margin: 0; padding: 8px 0; list-style: none; }
.panneau-liste > li, .tiroir-sous > li { margin: 0; padding: 0; }
.panneau-liste > li::before, .tiroir-sous > li::before { content: none; }
:is(.panneau-liste, .tiroir-sous) .sep { height: 1px; margin: 4px 16px; background: var(--s-filet); }
/* une entrée : numéro VT323, libellé, détail VT323 ; le choix est une barre ambre pleine largeur, texte encre (7,96:1), un triangle pixel à la place du numéro */
.entree { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 44px; margin: 0; padding: 12px 16px;
  color: var(--s-ivoire); text-decoration: none; font: 500 16px/1.25 General, sans-serif; letter-spacing: 0; text-transform: none; outline: none; }
.e-num { font: 400 20px/1 VT, monospace; color: var(--s-ivoire-3); }
.e-lib { white-space: nowrap; }
.e-det { font: 400 18px/1 VT, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--s-ivoire-3); white-space: nowrap; }
.entree:hover, .entree:focus-visible, .entree.actif { background: var(--s-ambre); color: var(--s-ink); }
.entree:is(:hover, :focus-visible, .actif) .e-det { color: var(--s-ink); }
.entree:is(:hover, :focus-visible, .actif) .e-num { width: 8px; height: 12px; color: transparent; background: var(--s-ink);
  clip-path: polygon(0 0, 50% 0, 50% 16.6%, 75% 16.6%, 75% 33.3%, 100% 33.3%, 100% 66.6%, 75% 66.6%, 75% 83.3%, 50% 83.3%, 50% 100%, 0 100%); }

/* ---------------------------------------------------------------- mobile et tablette (sous 900 px) : le tiroir plein écran, en accordéon */
.menu { display: none; }
@media (max-width: 899px) {
  .rubriques { display: none; }
  .menu { display: block; }
  .menu > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; color: var(--s-ivoire); }
  .menu > summary::-webkit-details-marker { display: none; }
  .menu > summary .ico { width: 24px; height: 24px; }
  .menu .fermer, .menu[open] .ouvrir { display: none; } .menu[open] .fermer { display: block; }
  .menu .tiroir { position: fixed; z-index: 49; top: var(--nav-h, 64px); left: 0; right: 0; height: calc(100dvh - var(--nav-h, 64px)); overflow-y: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column; gap: 32px; margin: 0; padding: 24px 24px calc(24px + env(safe-area-inset-bottom)); background: var(--s-cocoa); border-top: 1px solid rgba(247, 242, 235, .08); text-align: left; }
  html:has(.menu[open]) { overflow: hidden; }
}
.tiroir-liste { margin: 0; padding: 0; list-style: none; }
.tiroir-rub { margin: 0; padding: 0; border-bottom: 1px solid var(--s-filet); }
.tiroir-rub::before { content: none; }
.tiroir-ligne { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tiroir-ligne > a { flex: 1; display: flex; align-items: center; gap: 12px; min-height: 64px; margin: 0; padding: 16px 0; background: none; box-shadow: none;
  color: var(--s-ivoire); text-decoration: none; font: 400 30px/1 VT, monospace; letter-spacing: 0; text-transform: none; }
.tiroir-ligne > a[aria-current]::before { content: ''; flex: none; width: 8px; height: 8px; background: var(--s-ambre); }
.tiroir-ligne > button { flex: none; display: inline-grid; place-items: center; width: 56px; height: 56px; margin: 0; padding: 0; border: 1px solid var(--s-filet); border-radius: 0;
  background: none; box-shadow: none; color: var(--s-ivoire); cursor: pointer; }
.tiroir-ligne > button[hidden] { display: none; }
.tiroir-ligne > button[aria-expanded="true"] { background: var(--s-carte); }
.tiroir-ligne > button[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.tiroir-ligne .chevron { width: 15px; height: 9px; }
.tiroir-sous { margin-bottom: 16px; background: var(--s-carte); border: 1px solid var(--s-filet); }
.tiroir-sous[hidden] { display: none; }
.tiroir-sous .e-lib { white-space: normal; }
.tiroir-bas { margin-top: auto; display: grid; gap: 16px; }
.tiroir-bas .key { display: block; margin: 0; padding: 16px 20px 20px; border-radius: 10.5px; background: #EEE5D4; color: #3A2619; font: 600 18px/1 General, sans-serif; text-align: center;
  text-decoration: none; white-space: normal; box-shadow: inset 0 -4px 0 #BFB49E; }
.tiroir-mail { justify-self: center; padding: 12px; color: var(--s-ivoire-2); font: 400 20px/1 VT, monospace; letter-spacing: .06em; text-decoration: none; }

/* ---------------------------------------------------------------- le pied de page, d'après celui de Demand Curve */
.pied-site { display: block; margin: 0; padding: 0; background: var(--s-ink); border: 0; color: var(--s-ivoire); font: 400 17px/1.6 General, sans-serif; text-align: left; }
.pied-plan { padding: 96px 0; background: var(--s-ink); }
.pied-dans { width: var(--s-l); margin: 0 auto; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 48px; padding-bottom: 64px; border-bottom: 1px solid var(--s-filet); }
.pied-etiq { margin: 0 0 16px; font: 400 18px/1 VT, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--s-ivoire-3); text-box: trim-both cap alphabetic; }
.pied-puces { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pied-puces > li { margin: 0; padding: 0; }
.pied-puces > li::before { content: none; }
/* la puce : contour fin, VT323 en capitales ; au survol, l'ivoire monte du bas (leur geste : 0,34 s) */
.puce { position: relative; z-index: 0; overflow: hidden; display: inline-block; margin: 0; padding: 12px; border: 1px solid rgba(247, 242, 235, .22); border-radius: 0;
  background: none; box-shadow: none; color: var(--s-ivoire-2); font: 400 20px/1 VT, monospace; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; text-box: trim-both cap alphabetic; transition: color .2s ease, border-color .2s ease; }
.puce::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--s-ivoire); transform: scaleY(0); transform-origin: bottom; transition: transform .34s cubic-bezier(.16, 1, .3, 1); }
.puce:hover, .puce:focus-visible { color: var(--s-ink); border-color: var(--s-ivoire); text-decoration: none; }
.puce:hover::before, .puce:focus-visible::before { transform: scaleY(1); }
.pied-site :focus-visible, .rubriques :focus-visible, .tiroir :focus-visible, .menu > summary:focus-visible { outline: 2px solid var(--s-ambre); outline-offset: 3px; border-radius: 0; }
.entree:focus-visible { outline: none; }
/* une seule puce pleine : l'appel principal, en ambre (texte encre, 7,96:1) */
.puce-pleine { color: var(--s-ink); background: var(--s-ambre); border-color: var(--s-ambre); }
.pied-bas { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 16px 24px; margin: 32px 0 0;
  font: 400 18px/1 VT, monospace; letter-spacing: .06em; text-transform: uppercase; color: var(--s-ivoire-3); }
.pied-bas > span:first-child, .pied-legal a { text-box: trim-both cap alphabetic; }
.pied-legal { display: inline-flex; flex-wrap: wrap; gap: 16px 24px; }
.pied-legal a { color: var(--s-ivoire-3); text-decoration: none; transition: color .18s ease; }
.pied-legal a:hover, .pied-legal a:focus-visible { color: var(--s-ivoire); text-decoration: none; }
/* le vide au-dessus du logo égale le vide en dessous (Evan, 19/11 : « fais-le correspondre à l'espace qu'il y a en dessous du Re:Order ») : la bande du logo
   remonte sur la marge basse du plan (qui garde ses vides égaux en haut et en bas) et part de la ligne légale, rognée à sa ligne de base ; elle porte
   seule ses deux marges égales (site.js : 48 px au bureau, 32 sur mobile). Rien de cliquable dans la marge recouverte. */
.pied-plan + .pied-logo { margin-top: -96px; }
/* le logo en points : la bande sous le plan ; sa hauteur suit la largeur commune (le logo la remplit, site.js), 48 px de marge en haut et en bas */
.pied-logo { position: relative; height: calc(var(--s-l) * .35 + 96px); overflow: hidden; }
.pied-logo canvas { display: block; width: 100%; height: 100%; }
/* sans WebGL : le même logo en VT323, ivoire à 18 % */
.pied-repli { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; gap: .2em; margin: 0;
  font: 400 calc(var(--s-l) * .25)/1 VT, monospace; color: rgba(247, 242, 235, .18); }
.pied-repli span { padding: 0 .08em; background: rgba(247, 242, 235, .18); color: var(--s-ink); }
.pied-logo.repli .pied-repli { display: flex; }

@media (max-width: 1100px) { .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .pied-plan { padding: 64px 0; }
  .pied-plan + .pied-logo { margin-top: -64px; }
  .pied-colonnes { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-bottom: 48px; }
  .pied-bas { flex-direction: column; }
  .pied-logo { height: calc(var(--s-l) * .35 + 64px); }
}
@media (prefers-reduced-motion: reduce) {
  .rub.rub-ouverte .panneau { animation: none; }
  .chevron, .puce, .puce::before, .rub-lien, .rub-ouvrir, .pied-legal a { transition: none; }
}

/* ---------------------------------------------------------------- la fenêtre de demande d'audit (site.js § 4 ; mission sources/audit_modale, 19/11)
   Le style de la pop-up des guides (dialog.pop2, v10.css) : fond clair, espresso, General Sans, boutons espresso arrondis 10 px, champs blancs à filet.
   Au bureau, une fenêtre posée sur la page assombrie ; sous 600 px, plein écran, à la hauteur de l'écran visible. Toutes les propriétés de texte sont
   posées ici : la fenêtre s'affiche pareil sur la landing (feuilles héritées) et sur les pages du site (contenu.css, ressources.css).
   Vides : l'échelle de la charte ; la hiérarchie (règle 3 de seo/controle_espacement.mjs) : 16 px sous le titre, 40 px de l'en-tête au formulaire, 24 px
   entre les rangées. Les textes sont rognés à la hauteur des capitales (text-box) : les marges internes égales se voient égales. */
dialog.audit-dlg { --af-ink: #130D0A; --af-fond: #FAF7F2; --af-gris: #6B5E53; --af-filet: #8C7B6E; --af-err: #A3321B; --af-creme: #EEE5D4;
  position: fixed; inset: 0; z-index: 60; box-sizing: border-box; width: min(880px, calc(100vw - 48px)); max-width: none; height: fit-content; max-height: calc(100dvh - 48px);
  margin: auto; padding: 0; border: 0; border-radius: 16px; background: var(--af-fond); color: var(--af-ink); box-shadow: 0 24px 64px rgba(18, 13, 9, .35);
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; font: 500 16px/1.45 General, sans-serif; letter-spacing: 0; text-transform: none; text-align: left; }
dialog.audit-dlg:not([open]) { display: none; }
dialog.audit-dlg::backdrop { background: rgba(18, 13, 9, .72); }
html:has(dialog.audit-dlg[open]) { overflow: hidden; }
.audit-dlg *, .audit-dlg *::before, .audit-dlg *::after { box-sizing: border-box; }
.audit-dlg :is(h2, h3, p, form, label, span, i, div, button, a, input, select, textarea) { letter-spacing: 0; text-transform: none; max-width: none; text-shadow: none; text-wrap: wrap; }
.audit-dlg :is(h2, h3, p, form, label, div)::before, .audit-dlg :is(h2, h3, p, form, label, div)::after { content: none; }
.audit-dlg .af { position: relative; display: flex; flex-direction: column; margin: 0; padding: 48px; }
.audit-dlg .af-x { font: inherit; position: absolute; top: 12px; right: 12px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin: 0; padding: 0; border: 0; border-radius: 10px;
  background: var(--af-fond); box-shadow: none; color: var(--af-ink); cursor: pointer; }
.audit-dlg .af-x svg { display: block; width: 20px; height: 20px; }
.audit-dlg .af-x:hover { background: rgba(19, 13, 10, .07); }
.audit-dlg .af-tete { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; }
.audit-dlg .af-h { margin: 0; padding: 0; font: 600 40px/1.1 General, sans-serif; letter-spacing: -.02em; color: var(--af-ink); text-wrap: balance; outline: none; text-box: trim-both cap alphabetic; }
.audit-dlg .af-p { margin: 0; padding: 0; font: 500 18px/1.45 General, sans-serif; color: var(--af-ink); text-box: trim-both cap alphabetic; }
/* le formulaire : deux colonnes au bureau (nom, e-mail ; boutique, outil ; chiffre d'affaires, priorité), une sur mobile */
:is(.audit-dlg, .cal-ecrit) .form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 40px 0 0; padding: 0; background: none; border: 0; box-shadow: none; }
:is(.audit-dlg, .cal-ecrit) .form[hidden], :is(.audit-dlg, .cal-ecrit) .done[hidden] { display: none; }
:is(.audit-dlg, .cal-ecrit) .form label { grid-column: auto; position: static; display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: none;
  font: 600 15px/1.25 General, sans-serif; color: var(--af-ink); text-box: trim-start cap alphabetic; }
:is(.audit-dlg, .cal-ecrit) .form label.wide:has(textarea) { grid-column: auto; }
:is(.audit-dlg, .cal-ecrit) .form label > span:not(.err) { display: block; margin: 0; padding: 0; }
:is(.audit-dlg, .cal-ecrit) .form label i { font-style: normal; font-weight: 500; color: var(--af-gris); opacity: 1; }
:is(.audit-dlg, .cal-ecrit) .form :is(input, select, textarea) { display: block; width: 100%; min-width: 0; height: 52px; min-height: 52px; margin: 0; padding: 0 16px; border: 1.5px solid var(--af-filet);
  border-radius: 10px; background: #fff; box-shadow: none; color: var(--af-ink); font: 500 16px/1.3 General, sans-serif; text-align: left; outline: none; text-box: normal; }
:is(.audit-dlg, .cal-ecrit) .form select { -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23130D0A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center / 14px 10px; }
:is(.audit-dlg, .cal-ecrit) .form textarea { padding: 12px 16px; max-height: 160px; resize: none; field-sizing: content; }
:is(.audit-dlg, .cal-ecrit) .form :is(input, textarea)::placeholder { color: #75675C; opacity: 1; }
:is(.audit-dlg, .cal-ecrit) .form :is(input, select, textarea):focus { border-color: var(--af-ink); box-shadow: 0 0 0 1px var(--af-ink); }
:is(.audit-dlg, .cal-ecrit) .form [aria-invalid=true] { border-color: var(--af-err); box-shadow: 0 0 0 1px var(--af-err); }
:is(.audit-dlg, .cal-ecrit) .form .err { display: none; margin: 0; padding: 0; font: 600 15px/1.3 General, sans-serif; color: var(--af-err); }
:is(.audit-dlg, .cal-ecrit) .form [aria-invalid=true] + .err { display: block; }
:is(.audit-dlg, .cal-ecrit) .form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
:is(.audit-dlg, .cal-ecrit) .form .wide { grid-column: 1 / -1; }
:is(.audit-dlg, .cal-ecrit) .form .foot { display: flex; flex-wrap: nowrap; align-items: center; gap: 24px; margin: 8px 0 0; padding: 0; }
:is(.audit-dlg, .cal-ecrit) .form .key { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 56px; min-height: 56px; margin: 0; padding: 0 32px; border: 0; border-radius: 10px;
  background: var(--af-ink); box-shadow: none; color: var(--af-creme); font: 600 16px/1 General, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap; gap: 0; cursor: pointer; opacity: 1; transform: none; transition: background-color .12s; }
:is(.audit-dlg, .cal-ecrit) .form .key:hover { background: #3A2619; }
:is(.audit-dlg, .cal-ecrit) .form .key:disabled { cursor: progress; background: #4A2F21; }
:is(.audit-dlg, .cal-ecrit) .form :is(.note, .consent, .formnote) { position: static; width: auto; height: auto; min-height: 0; margin: 0; padding: 0; font: 500 15px/1.45 General, sans-serif; color: var(--af-gris); text-box: trim-both cap alphabetic; }
:is(.audit-dlg, .cal-ecrit) .form .foot .note { flex: 1 1 0; min-width: 0; }
:is(.audit-dlg, .cal-ecrit) .form .formnote:empty { display: none; }
:is(.audit-dlg, .cal-ecrit) .form .formnote[data-state=error] { color: var(--af-err); font-weight: 600; }
:is(.audit-dlg, .cal-ecrit) .form .formnote[data-state=busy] { color: var(--af-ink); }
:is(.audit-dlg, .cal-ecrit) .form .consent a, :is(.audit-dlg, .cal-ecrit) .done a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
:is(.audit-dlg, .cal-ecrit) .done { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 40px 0 0; padding: 0; }
:is(.audit-dlg, .cal-ecrit) .done svg, :is(.audit-dlg, .cal-ecrit) .done .ico { display: none; }
:is(.audit-dlg, .cal-ecrit) .done h3 { margin: 0; padding: 0; font: 600 28px/1.15 General, sans-serif; color: var(--af-ink); outline: none; text-box: trim-both cap alphabetic; }
:is(.audit-dlg, .cal-ecrit) .done p { margin: 0; padding: 0; font: 500 18px/1.45 General, sans-serif; color: var(--af-ink); text-box: trim-both cap alphabetic; }
.audit-dlg :focus-visible { outline: 2px solid var(--af-ink); outline-offset: 3px; }
.audit-dlg .af-h:focus-visible, :is(.audit-dlg, .cal-ecrit) .done h3:focus-visible, :is(.audit-dlg, .cal-ecrit) .form :is(input, select, textarea):focus-visible { outline: none; }
/* mobile : plein écran, la croix reste en haut pendant le défilement */
@media (max-width: 599px) {
  dialog.audit-dlg { top: var(--af-top, 0px); bottom: auto; width: 100vw; height: var(--af-vh, 100dvh); max-height: none; border-radius: 0; box-shadow: none; }
  .audit-dlg .af { min-height: 100%; padding: 24px; }
  .audit-dlg .af-x { position: sticky; top: 0; align-self: flex-end; margin: 0 0 16px; }
  .audit-dlg .af-h { font-size: 32px; }
  .audit-dlg .af-p { font-size: 17px; }
  :is(.audit-dlg, .cal-ecrit) .form { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
  :is(.audit-dlg, .cal-ecrit) .form .foot { flex-direction: column; align-items: stretch; gap: 16px; }
  :is(.audit-dlg, .cal-ecrit) .form .key { width: 100%; padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) { :is(.audit-dlg, .cal-ecrit) .form .key { transition: none; } }

/* ================= offre B (20/11, MISSION_OFFRE_B_1911 ; étude etude_cta_zhs/ETUDE.md) =================
   La pop-up des guides gratuits sur toutes les pages (déplacée de v10.css), le bouton collant qui l'ouvre, le calendrier de l'appel 1, les emplacements à remplir. */
/* ---------- la pop-up des guides gratuits, v2 (brief d'Evan du 19/11 ; sources/popup_v2) : la forme commune à ZHS Ecom et Wellcopy ----------
   plein écran clair, logo centré au-dessus, titre très grand, puis profil (boutons empilés) et adresse sur le même écran. Échelle : le titre (--p2t)
   suit la largeur et la hauteur de l'écran ; le reste s'en déduit. Un seul ambre : le surlignage du chiffre. Pas d'animation. */
dialog.pop2 { --clair: #FAF7F2; --espresso: #130D0A; --creme: #EEE5D4; --ambre: #DF9645;
  --p2t: clamp(32px, min(4.4vw, 7.4vh), 112px);  /* Evan, 20/11 au soir (capture 2, « manque d'impact ») : 3,8vw et 6,6vh avant */ --p2w: min(100%, max(400px, 26vw), 480px); --p2bh: clamp(52px, 6.2vh, 64px);
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; border-radius: 0;
  background: var(--clair); color: var(--espresso); box-shadow: none; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
dialog.pop2::backdrop { background: var(--clair); }
html:has(#gpop[open]) { overflow: hidden; }
dialog.pop2 .p2 { position: relative; display: grid; place-items: center; min-height: 100%; padding: max(64px, 8vh) 24px max(40px, 5vh); box-sizing: border-box; }
dialog.pop2 .p2c { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: max(1200px, calc(var(--p2t) * 14)); text-align: center; }  /* le titre (14 em) n'est jamais rogné par la colonne (2 560 px) */
dialog.pop2 .p2x { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 10px;
  background: none; color: var(--espresso); cursor: pointer; }
dialog.pop2 .p2x svg { width: 20px; height: 20px; }
dialog.pop2 .p2x:hover { background: rgba(19, 13, 10, .07); }
dialog.pop2 .p2logo { display: flex; align-items: center; gap: calc(var(--p2t) * .16); margin: 0; }
dialog.pop2 .p2logo .marque { display: grid; place-items: center; width: max(28px, calc(var(--p2t) * .62)); height: max(28px, calc(var(--p2t) * .62)); background: var(--espresso); color: var(--creme);
  font: 400 max(20px, calc(var(--p2t) * .44))/1 VT, monospace; }
dialog.pop2 .p2logo .nom { font: 400 max(26px, calc(var(--p2t) * .58))/1 VT, monospace; color: var(--espresso); }
dialog.pop2 .p2h { max-width: 14em; margin: calc(var(--p2t) * .5) 0 0; padding: 0; font: 600 var(--p2t)/1.06 General, sans-serif; letter-spacing: -.025em; color: var(--espresso); text-wrap: balance; outline: none; }
dialog.pop2 .p2h .lig { display: block; }
/* le surlignage s'arrête sous la ligne du dessus : un fond plein couvrait le jambage du g d'« agence » (interligne 1,06) */
dialog.pop2 .p2m { padding: 0 .08em; margin: 0 -.02em; background: linear-gradient(var(--ambre), var(--ambre)) 0 72% / 100% 1.02em no-repeat; color: #120D09; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* relecture du 19/11 : le titre reste exactement à sa place d'une étape à l'autre. Profil, formulaire et confirmation occupent la même case de grille ;
   l'état caché garde sa place (visibility: hidden, ni visible, ni focalisable, ni lu), la zone a donc toujours la hauteur de l'étape 1 */
dialog.pop2 .p2zone { display: grid; width: var(--p2w); margin: calc(var(--p2t) * .62) 0 0; }
dialog.pop2 :is(.p2choix, .p2form, .p2done) { grid-area: 1 / 1; align-self: start; display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0; }
dialog.pop2 :is(.p2choix, .p2form, .p2done)[hidden] { display: flex; visibility: hidden; }
dialog.pop2 .p2q { margin: 0 0 16px; font: 500 max(17px, calc(var(--p2t) * .34))/1.3 General, sans-serif; color: var(--espresso); }
dialog.pop2 .p2b { display: flex; flex-direction: column; gap: 12px; width: 100%; margin: 0; padding: 0; list-style: none; }
dialog.pop2 .p2bt { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--p2bh); padding: 10px 24px; box-sizing: border-box; border: 0; border-radius: 10px;
  background: var(--espresso); color: var(--creme); font: 600 clamp(16px, 1.05vw, 19px)/1.25 General, sans-serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color .12s; }
dialog.pop2 .p2bt:hover { background: #3A2619; }
dialog.pop2 .p2bt:disabled { cursor: progress; background: #4A2F21; }
dialog.pop2 .p2no { margin: 20px 0 0; padding: 8px 12px; border: 0; background: none; color: #6B5E53; font: 500 16px/1.2 General, sans-serif; text-decoration: underline;
  text-decoration-thickness: 1px; text-underline-offset: .2em; cursor: pointer; }
dialog.pop2 .p2no:hover { color: var(--espresso); }
dialog.pop2 .p2in { width: 100%; height: var(--p2bh); margin: 0 0 12px; padding: 0 20px; box-sizing: border-box; border: 1.5px solid #8C7B6E; border-radius: 10px; background: #fff;
  color: var(--espresso); font: 500 18px/1 General, sans-serif; text-align: left; box-shadow: none; }
dialog.pop2 .p2in::placeholder { color: #75675C; opacity: 1; }
dialog.pop2 .p2in:focus { outline: none; border-color: var(--espresso); box-shadow: 0 0 0 1px var(--espresso); }
dialog.pop2 .p2in[aria-invalid=true] { border-color: #A3321B; box-shadow: 0 0 0 1px #A3321B; }
/* le message (adresse incomplète, envoi refusé) vient sous la mention, dans une place gardée de deux lignes : il apparaît sans rien déplacer */
dialog.pop2 .p2consent { order: 1; margin: 16px 0 0; font: 500 14px/1.45 General, sans-serif; color: #6B5E53; text-wrap: balance; }
dialog.pop2 .p2msg { order: 2; min-height: 2.9em; margin: 8px 0 0; font: 500 15px/1.45 General, sans-serif; color: #A3321B; text-wrap: balance; }
dialog.pop2 .p2consent a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
dialog.pop2 .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
dialog.pop2 .p2done h3 { margin: 0; font: 600 max(22px, calc(var(--p2t) * .44))/1.15 General, sans-serif; color: var(--espresso); outline: none; }
dialog.pop2 .p2done p { margin: 8px 0 0; font: 500 17px/1.45 General, sans-serif; color: var(--espresso); text-wrap: balance; }
dialog.pop2 .p2done .p2acts { width: 100%; margin: 24px 0 0; }
dialog.pop2 :focus-visible { outline: 2px solid var(--espresso); outline-offset: 3px; }
dialog.pop2 .p2h:focus-visible { outline: none; }
@media (max-width: 599px) {
  dialog.pop2 .p2 { padding: 72px 16px 40px; }
  dialog.pop2 .p2x { top: 8px; right: 8px; }
}
/* le calendrier de l'appel 1 (Cal.com, reglages.json) ; sans lien, le formulaire écrit (.cal-ecrit, les styles de la fenêtre ci-dessus) */
.cal-ecrit { --af-ink: #130D0A; --af-gris: #6B5E53; --af-filet: #8C7B6E; --af-err: #A3321B; --af-creme: #EEE5D4; }
.cal-cadre { display: block; width: 100%; min-height: 560px; border-radius: 12px; background: #fff; overflow: hidden; }  /* rempli par l'intégration de Cal.com (site.js, § 6), qui règle la hauteur de son cadre */
.cal-cadre iframe { display: block; width: 100%; border: 0; }
.cal-pied { margin: 16px 0 0; font: 500 14px/1.45 General, sans-serif; text-box: trim-both cap alphabetic; }
.cal-pied a, .cal-ecrire summary { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.cal-ecrire { margin: 24px 0 0; }
.cal-ecrire summary { cursor: pointer; font: 600 15px/1.3 General, sans-serif; list-style: none; }
.cal-ecrire summary::-webkit-details-marker { display: none; }
.audit-dlg .cal { margin: 32px 0 0; }
@media (max-width: 599px) { .cal-cadre { min-height: 480px; } }
/* le bouton collant « Les 15 guides gratuits » (étude, § 4.1) : bureau en bas à droite (la colonne de gauche des articles occupe le bas à gauche),
   mobile en bas à gauche ; caché par site.js tant qu'un formulaire, le calendrier ou le pied de page est à l'écran */
.bouton-guides { position: fixed; z-index: 50; right: 24px; bottom: calc(24px + var(--monte, 0px)); display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin: 0; padding: 0 20px;
  border: 0; border-radius: 10px; background: #130D0A; color: #EEE5D4; box-shadow: 0 0 0 1px rgba(238, 229, 212, .16), 0 12px 32px rgba(18, 13, 9, .28);
  font: 600 14px/1 General, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; cursor: pointer;
  transition: opacity .2s, translate .2s, background-color .12s; }
.bouton-guides:hover { background: #3A2619; }
.bouton-guides:focus-visible { outline: 2px solid #DF9645; outline-offset: 3px; }
.bouton-guides .ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; flex: none; }
.bouton-guides[hidden] { display: none; }
.bouton-guides.cache { opacity: 0; translate: 0 16px; pointer-events: none; visibility: hidden; transition: opacity .2s, translate .2s, visibility 0s .2s; }
@media (max-width: 599px) { .bouton-guides { right: auto; left: 16px; bottom: calc(16px + var(--monte, 0px)); } }
@media (prefers-reduced-motion: reduce) { .bouton-guides, .bouton-guides.cache { transition: none; } }
/* un emplacement qu'Evan remplit lui-même : visible en local, refusé au déploiement (outils/controle_a_remplir.py) */
.a-remplir { padding: 0; text-decoration: underline wavy 1.5px #DF9645; text-underline-offset: .2em; text-decoration-skip-ink: none; color: inherit; font-weight: inherit; }
/* masqué à l'écran, lu par les lecteurs d'écran (le libellé du champ de la pop-up), et le piège à robots des formulaires des guides */
:is(.pop2, [data-tunnel]) .vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
[data-tunnel] .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* calendrier réglé : « Pas disponible ? Écrivez-nous » remplace le calendrier par le formulaire écrit, à la même place que sans calendrier */
:is(.af, .ecran2-in):has(.cal-ecrire[open]) .cal { display: none; }
.cal-ecrire[open] > summary { display: none; }
.audit-dlg .cal-ecrire[open] { margin: 0; }
