/* Feuille commune de la vitrine (2026-11-09) : l'accueil (vitrine/index.html) et les pages de profil
   (vitrine/<adresse>.html, liste dans src/shared/vitrinePages.js). Les règles propres aux pages de profil sont à la
   fin (.pp). Servie avec le cache court des fichiers non hachés (src/server/pages.js › staticCacheControl) et
   précompressée au build ; l'adresse porte ?v=N : l'incrémenter dans toutes les pages à chaque modification.
   CSP : style-src 'self'. */
/* Vitrine publique (www.mondirigeant.fr, src/server/pages.js) : page autonome, indexable, complète sans script
 (CSP script-src 'self') ; seul script, la mesure d'audience (public/visit.js). Depuis l'accueil allégé (piste B,
 2026-11-15), plus de démo dans un cadre : /demo s'ouvre en plein écran, public/vitrine-tabs.js n'est plus chargé.
 Données fictives seulement. */
/* Style « Répartition » (2026-11-13 ; spec docs/superpowers/specs/2026-11-13-style-repartition-design.md, maquettes
   .superpowers/design/maquettes-ecrans-2026-11-13.html, direction 2) : papier froid, encre, quatre couleurs de nature
   (ciel = TVA, corail = charges, lilas = impôts et cotisations, pistache = pour vous ; l'encre = le gardé en société),
   une grille à filets, Mona Sans seule (renommée MD Sans selon l'OFL), titres en chasse large (115 %, graisse 780). Claire seulement. Jetons : les
   valeurs claires de la spec (les mêmes que src/v2/theme/tokens.js une fois l'app passée au style), testées par
   tests/vitrineTheme.test.js ; corps en rem (échelle de l'app, inchangée) ; seuls ajouts propres à la vitrine : les
   corps de titre et de prix (--fs-h1, --fs-h2, --fs-price, --fs-page-*) et l'ombre des cartes qui flottent
   (composition, capture de l'accueil). Aucune couleur hors de ce bloc. */
:root {
 color-scheme: light;
 --bg: oklch(98.6% 0.004 250);
 --surface: oklch(99.5% 0.002 250);
 --surface-2: oklch(95.6% 0.008 250);
 --border: oklch(86.5% 0.012 255);
 --text: oklch(19% 0.025 265);
 --muted: oklch(45% 0.025 265);
 --accent: oklch(19% 0.025 265);
 --accent-wash: oklch(95% 0.047 130);
 --pos: oklch(47% 0.12 155); --pos-wash: oklch(95% 0.03 155);
 --neg: oklch(52% 0.19 350); --neg-wash: oklch(95% 0.03 350);
 --warn: oklch(52% 0.13 55); --warn-wash: oklch(95% 0.03 55);
 --future: oklch(52% 0.12 275); --future-wash: oklch(95% 0.03 275);
 --ciel: oklch(74% 0.11 232);
 --corail: oklch(73% 0.14 38);
 --lilas: oklch(69% 0.13 305);
 --pistache: oklch(84% 0.17 130);
 --ciel-fort: oklch(52% 0.13 235);
 --on-color: oklch(19% 0.025 265);
 --shadow-tint: oklch(19% 0.025 265);
 /* Natures (une couleur par destination de l'euro) et action (bouton d'essai). */
 --nat-tva: var(--ciel);
 --nat-charges: var(--corail);
 --nat-tax: var(--lilas);
 --nat-you: var(--pistache);
 --nat-kept: var(--text);
 --nat-neutral: var(--surface-2);
 --action: var(--pistache);
 --on-action: var(--on-color);
 --sh-frame: 0 1px 0 var(--border), 0 32px 64px -40px color-mix(in srgb, var(--shadow-tint) 40%, transparent);
 --fs-sm: 0.75rem;
 --fs-md: 0.8125rem;
 --fs-base: 0.875rem;
 --fs-lg: 0.9375rem;
 --fs-xl: 1rem;
 --fs-2xl: 1.125rem;
 --fs-3xl: 1.25rem;
 --fs-4xl: 1.375rem;
 --fs-5xl: 1.625rem;
 --fs-6xl: 1.875rem;
 --fs-display: 2.25rem;
 --fs-h1: clamp(2.375rem, 4.8vw, 3.75rem);
 /* Titres de section plafonnés à 2,5 rem (critique du 2026-11-10, P3-16) : h1 / h2 = 1,5 sur ordinateur. Le prix
    des marches garde son ancien corps (--fs-price). */
 --fs-h2: clamp(1.875rem, 4.4vw, 2.5rem);
 --fs-price: clamp(1.875rem, 4.4vw, 3rem);
 --fs-page-h1: clamp(2rem, 4.4vw, 3.25rem);
 --fs-page-h2: clamp(1.625rem, 3.2vw, 2.25rem);
 /* Montants de la barre de répartition (maquette : 17 à 32 px). */
 --fs-bar: clamp(1.0625rem, 2.2vw, 2rem);
 --r-2xs: 2px;
 --r-xs: 3px;
 --r-sm: 4px;
 --r-md: 4px;
 --r-lg: 4px;
 --r-xl: 8px;
 --r-pill: 999px;
 --r-round: 50%;
 /* La fenêtre de la démo (2026-11-15, « en mode fenêtre web ») : grands coins, trois pastilles de navigateur. */
 --r-window: 22px;
 --win-red: oklch(68% 0.19 25);
 --win-yellow: oklch(83% 0.15 85);
 --win-green: oklch(74% 0.17 150);
 /* MD Sans et MD Sans Titre : Mona Sans renommée selon l'OFL (public/fonts/md-sans.css). */
 --font: 'MD Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
 --font-title: 'MD Sans Titre', 'MD Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
 --title-stretch: 115%;
 --title-weight: 780;
 --ease: cubic-bezier(0.22, 1, 0.36, 1);
 --gut: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.55; font-size: var(--fs-2xl); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gut); }
.amt, .num { font-variant-numeric: tabular-nums lining-nums; }
/* Dans une phrase, chiffres proportionnels : les chiffres tabulaires de MD Sans ont un zéro barré, réservé aux
   colonnes de montants (tableaux, barre, prix). */
p .amt, li > .amt, .lead .amt { font-variant-numeric: lining-nums proportional-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.skip { position: absolute; left: 8px; top: -100px; z-index: 100; padding: 12px 18px; border-radius: var(--r-sm); background: var(--surface); color: var(--text); border: 1.5px solid var(--text); font-weight: 600; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: var(--r-xs); }
.ul { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
/* Titres : MD Sans Titre, chasse large et graisse 780 (public/fonts/md-sans.css) ; jamais un libellé, un bouton ni
   un montant. */
h1, h2, h3 { font-family: var(--font-title); font-stretch: var(--title-stretch); font-weight: var(--title-weight); }

/* Barre haute : filet bas, la marque (barre à cinq segments, décorative ; le lien garde son nom), les liens, l'essai. */
/* Fond opaque : le contenu ne transparaît plus sous la barre (P3-13). */
.top { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--border); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-2xl); letter-spacing: -0.02em; white-space: nowrap; }
/* Marque : la répartition d'Orbe Conseil arrondie (17 / 15 / 17 / 28 / 23), ciel, corail, lilas, pistache, encre. */
.mark { display: inline-flex; gap: 2px; width: 30px; height: 12px; flex: none; }
.mark i { display: block; height: 100%; border-radius: var(--r-2xs); }
.mark i:nth-child(1) { flex: 17; background: var(--nat-tva); }
.mark i:nth-child(2) { flex: 15; background: var(--nat-charges); }
.mark i:nth-child(3) { flex: 17; background: var(--nat-tax); }
.mark i:nth-child(4) { flex: 28; background: var(--nat-you); }
.mark i:nth-child(5) { flex: 23; background: var(--nat-kept); }
.links { display: none; gap: 4px; margin-right: auto; }
.links a, .quiet { color: var(--muted); font-weight: 600; font-size: var(--fs-lg); padding: 8px 10px; border-radius: var(--r-sm); transition: color 150ms var(--ease); }
.links a:hover, .quiet:hover { color: var(--text); }
.acts { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sht { display: none; }
/* « Se connecter » : en toutes lettres, en icône sous 460 px (la phrase de la promesse ne le dit plus). */
.in { display: inline-flex; align-items: center; }
.in svg { display: none; }

/* Boutons */
/* Bordure transparente : le mode contraste élevé la rend visible (P2-10), le bouton reste un bouton. Le bouton
   d'action est pistache, texte d'encre, cerné d'un filet d'encre de 1,5 px ; .ink et .paper sont ses anciens noms,
   gardés dans les pages (avant le 2026-11-13 : encre sur papier, papier sur la bande d'encre des tarifs). */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-sm); font-weight: 700; font-size: var(--fs-xl); white-space: nowrap; transition: background 150ms var(--ease), transform 150ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn.ink, .btn.paper { background: var(--action); color: var(--on-action); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn.ink:hover, .btn.paper:hover { background: color-mix(in oklab, var(--action) 86%, var(--text)); }
/* Bouton secondaire (2026-11-14) : « Simuler mon cas », vers le simulateur public ; papier, cerné d'encre. */
.btn.line { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text); }
.btn.line:hover { background: var(--surface-2); }
.btn.sm { height: 40px; padding: 0 16px; font-size: var(--fs-lg); border-radius: var(--r-sm); }
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }

/* Promesse (piste A de la maquette, décision du fondateur du 2026-11-15) : le titre, une phrase, l'action ; sur
   ordinateur, le titre à gauche, la phrase et l'action à droite ; dessous, la barre « Sur 100 € ». Sur téléphone
   (2026-11-23), la barre suit le titre, avant la phrase. */
.hero { padding: 32px 0 36px; }
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.04em; max-width: 19ch; text-wrap: balance; }
.lead { margin-top: 20px; font-size: var(--fs-3xl); line-height: 1.5; max-width: 50ch; text-wrap: pretty; }
.go { margin-top: 28px; }
/* « Votre cas : » sous la barre de la promesse (2026-11-23 ; le matin, six pastilles « Vous êtes : » au-dessus d'elle) :
   une ligne de liens vers les pages de profil, séparés par un point médian décoratif (texte de remplacement vide). Lignes
   de 1,9 : chaque lien garde une cible de 24 px au moins. */
.who-go { margin-top: 24px; color: var(--muted); font-size: var(--fs-base); line-height: 1.9; }
.who-t { font-weight: 600; }
.who-go ul, .who-go li { display: inline; }
.who-go li:not(:last-child)::after { content: "·"; content: "·" / ""; margin-left: 0.4em; }
.who-go a { color: var(--text); font-weight: 600; white-space: nowrap; text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; padding-block: 3px; transition: text-decoration-color 150ms var(--ease); }
.who-go a:hover { text-decoration-color: currentColor; }
.fine { margin-top: 14px; color: var(--muted); font-size: var(--fs-base); max-width: 44ch; }
.fine a { color: var(--text); }
.fine strong { display: block; margin-bottom: 2px; color: var(--text); font-size: var(--fs-lg); font-weight: 600; }

/* Barre de répartition (2026-11-13, revenue le 2026-11-15) : sur 100 € encaissés d'Orbe Conseil (persona eurl-is,
   Diagnostic d'Activité › Pilotage de 2025, tests/vitrineBar.test.js), cinq segments de la couleur de leur nature,
   chacun avec son montant ; la largeur de chaque segment et de sa légende = sa part (--w, posé dans la page). L'image
   est nommée par son aria-label ; la légende dit les mêmes parts en mots et en euros. Sous 760 px (2026-11-23), juste
   sous le titre : une barre sans texte, la légende en liste (pastille, nom, montant). Dès 760 px, chaque segment porte
   son montant et son nom court quand ce nom y tient (requêtes de conteneur, seuils mesurés à l'écran) ; la légende,
   plus discrète, reste alignée dessous avec les noms entiers et ce que contient chaque part. */
.repart { margin-top: 20px; }
.rp-st { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 8px; color: var(--muted); font-size: var(--fs-base); }
.rp-st b { color: var(--text); }
.rp-st span + span { display: none; }
.bar { display: flex; gap: 3px; height: 40px; }
.sg { flex: var(--w) 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 8px 5px; border-radius: var(--r-2xs); background: var(--c); color: var(--on-c); overflow: hidden; container-type: inline-size; }
.sg b { display: none; font-size: var(--fs-bar); font-weight: 800; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; font-variant-numeric: lining-nums proportional-nums; }
.sg em { display: none; font-style: normal; font-weight: 700; font-size: var(--fs-md); line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.repart .tva { --c: var(--nat-tva); --on-c: var(--on-color); }
.repart .chg { --c: var(--nat-charges); --on-c: var(--on-color); }
.repart .imp { --c: var(--nat-tax); --on-c: var(--on-color); }
.repart .you { --c: var(--nat-you); --on-c: var(--on-color); }
.repart .kept { --c: var(--nat-kept); --on-c: var(--surface); }
.keys { display: grid; gap: 6px; margin-top: 10px; }
.keys li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; column-gap: 10px; align-items: baseline; font-size: var(--fs-base); font-weight: 600; line-height: 1.35; }
.keys i { display: block; align-self: start; width: 12px; height: 12px; margin-top: 0.2em; border-radius: var(--r-2xs); background: var(--c); }
.keys small { display: block; color: var(--muted); font-size: var(--fs-md); font-weight: 500; }
.keys b { font-weight: 800; font-variant-numeric: tabular-nums lining-nums; text-align: right; white-space: nowrap; }
@media (min-width: 760px) {
 .bar { height: clamp(60px, 6vw, 88px); }
 .sg { padding: 9px 12px; }
 .sg b, .sg em { display: block; }
 .rp-st span + span { display: inline; }
 .keys { display: flex; gap: 3px; margin-top: 12px; }
 /* Même marge que les segments (12 px de chaque côté) : chaque légende commence sous le montant de son segment. */
 .keys li { display: block; flex: var(--w) 1 0; min-width: 0; padding: 0 12px; color: var(--muted); font-size: var(--fs-md); }
 .keys i, .keys b { display: none; }
 .keys small { font-size: var(--fs-sm); }
}
/* Le nom court d'un segment s'efface quand son segment est trop étroit pour lui (largeur du contenu, sans les marges ;
   seuils mesurés le 2026-11-23 : MD Sans à 13 px, graisse 700, « Charges » 55 px, « IS et URSSAF » 86 px, « Trésorerie
   dégagée » 122 px, plus 3 px de marge). La légende dessous garde chaque nom. */
@container (max-width: 58px) { .sg em { display: none; } }
@container (max-width: 89px) { .sg.imp em { display: none; } }
@container (max-width: 125px) { .sg.kept em { display: none; } }

/* Démo interactive (revenue le 2026-11-15, « en mode fenêtre web ») : profil, fenêtre de navigateur (trois pastilles,
   l'adresse au centre, le plein écran à droite), l'app elle-même dans un iframe chargé à la demande
   (public/vitrine-tabs.js ; /demo, données fictives) ; on y navigue par les onglets de l'app. Sans script : des liens
   vers la démo en plein écran. */
.show { padding: 56px 0 72px; border-top: 1px solid var(--border); scroll-margin-top: 64px; }
.show h2 { margin-bottom: 24px; }
.demo { display: grid; gap: 16px; min-width: 0; }
/* Profils : des liens sans script, des boutons aria-pressed avec (public/vitrine-tabs.js). Choisi : cadre d'encre de
   2 px, comme la puce de société choisie de l'app. */
.who-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 860px; }
.who-pick > * { display: grid; align-content: start; gap: 2px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); font-size: var(--fs-base); line-height: 1.35; text-align: left; cursor: pointer; transition: border-color 150ms var(--ease); }
.who-pick b { color: var(--text); font-size: var(--fs-xl); }
.who-pick > :hover { border-color: var(--text); }
.who-pick [aria-pressed="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.who-pick button:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
/* « Passer la démo » : premier élément de la fenêtre, visible au focus seulement et posé sur sa barre, hors du flux. */
.skip-demo { position: absolute; top: 9px; left: 10px; z-index: 3; padding: 6px 12px; border: 1.5px solid var(--text); border-radius: var(--r-sm); background: var(--surface); font-weight: 600; }
.skip-demo:not(:focus) { width: 1px; height: 1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-demo:focus-visible { outline-offset: 1px; }
/* La fenêtre flotte : grands coins arrondis, ombre douce, barre claire. */
.browser { position: relative; min-width: 0; border: 1px solid var(--border); border-radius: var(--r-window); background: var(--surface); box-shadow: var(--sh-frame); overflow: hidden; }
.chrome { position: relative; display: flex; align-items: center; height: 54px; padding: 0 10px 0 20px; border-bottom: 1px solid var(--border); background: var(--surface); }
.dots { display: flex; gap: 8px; flex: none; }
.dots i { width: 12px; height: 12px; border-radius: var(--r-round); }
.dots i:nth-child(1) { background: var(--win-red); }
.dots i:nth-child(2) { background: var(--win-yellow); }
.dots i:nth-child(3) { background: var(--win-green); }
.addr { position: absolute; top: 50%; left: 50%; max-width: calc(100% - 200px); transform: translate(-50%, -50%); color: var(--muted); font-size: var(--fs-lg); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.full { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: auto; border-radius: var(--r-sm); color: var(--text); }
.full:hover { background: var(--surface-2); }
.full .i { width: 20px; height: 20px; }
.screen { position: relative; height: clamp(520px, 72vh, 760px); background: var(--bg); }
.screen iframe { display: block; width: 100%; height: 100%; border: 0; }
.poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 22px; padding: 24px; text-align: center; color: var(--muted); }
.poster[hidden] { display: none; }
.poster p { max-width: 40ch; }
.poster b { display: block; color: var(--text); font-size: var(--fs-3xl); margin-bottom: 4px; }
.poster .ph { display: none; }
/* Sous 700 px : jamais de cadre (il captait le défilement au pouce, P1-2). L'affiche reste, à sa hauteur, et
   « Lancer la démo » ouvre la démo en plein écran (vitrine-tabs.js le décide au geste). */
@media (max-width: 699px) {
 .screen { height: auto; }
 .screen iframe { display: none; }
 .poster, .poster[hidden] { position: static; display: grid; padding: 36px 20px 40px; }
 .poster .ph { display: inline; }
 .full { display: none; }
 .chrome { height: 46px; padding-left: 16px; }
 .addr { max-width: calc(100% - 120px); font-size: var(--fs-md); }
}
@media (max-width: 599px) {
 .who-pick { grid-template-columns: 1fr; }
 .who-pick > * { padding: 10px 12px; font-size: var(--fs-md); }
 .who-pick b { font-size: var(--fs-lg); }
}

/* Sections : chacune ouverte par un filet. */
section.blk { padding: 56px 0; border-top: 1px solid var(--border); scroll-margin-top: 64px; }
section.blk.alt { background: var(--surface); }
h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.03em; max-width: 22ch; text-wrap: balance; }
.intro { margin-top: 16px; color: var(--muted); font-size: var(--fs-2xl); max-width: 58ch; text-wrap: pretty; }
h3 { font-size: var(--fs-4xl); line-height: 1.2; letter-spacing: -0.02em; text-wrap: balance; }

/* Comparatif en ronds (décision du fondateur du 2026-11-15) : une ligne par fonction, quatre colonnes (trois catégories
   d'outils, puis mondirigeant.fr sur pistache lavé), un rond par case : plein = oui, à moitié = en partie, à la main ou
   selon l'offre, vide = non, le mot dit aux lecteurs d'écran. Le même tableau sur téléphone et sur ordinateur, sans
   défilement horizontal : noms courts des colonnes sous 900 px (.short), entiers au-delà (.long). Légende dessous. */
.vs { width: 100%; margin-top: 28px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.vs th, .vs td { padding: 13px 4px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.vs thead th { padding-top: 10px; padding-bottom: 10px; color: var(--muted); font-size: var(--fs-sm); font-weight: 700; line-height: 1.2; text-align: center; vertical-align: bottom; border-bottom: 1px solid var(--text); }
.vs thead th:first-child { width: 40%; }
.vs thead th:first-child, .vs tbody th { padding-left: 0; text-align: left; }
.vs thead th.us { color: var(--text); font-weight: 800; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.vs thead th.us .mark { display: flex; margin: 0 auto 6px; }
.vs tbody th { font-size: var(--fs-base); font-weight: 700; line-height: 1.3; }
.vs td { text-align: center; }
.vs .us { background: var(--accent-wash); }
.vs tbody:last-child tr:last-child td.us { border-radius: 0 0 var(--r-sm) var(--r-sm); }
/* Deux groupes titrés (maquette « C. Vitrine » du 2026-11-23) : chaque corps de tableau ouvert par sa ligne de titre,
   sur toute la largeur, filet d'encre dessous ; la colonne de mondirigeant.fr reprend sous elle. */
.vs tr.grp th { padding: 32px 0 8px; border-bottom: 1px solid var(--text); font-family: var(--font-title); font-stretch: var(--title-stretch); font-weight: var(--title-weight); font-size: var(--fs-2xl); letter-spacing: -0.01em; }
.vs tbody:first-of-type tr.grp th { padding-top: 20px; }
.vs .long { display: none; }
.dot { display: inline-block; width: 16px; height: 16px; border: 2px solid var(--text); border-radius: var(--r-round); vertical-align: middle; }
.dot.f { background: var(--text); }
.dot.h { background: linear-gradient(90deg, var(--text) 50%, transparent 50%); }
.vs-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: var(--muted); font-size: var(--fs-sm); }
.vs-key > span { display: inline-flex; align-items: center; gap: 6px; }
.vs-key .dot { width: 12px; height: 12px; }
/* La comparaison avec l'expert-comptable mise en avant (2026-11-20, demande du fondateur) : ligne teintée, pastille
   « IA », une phrase sous son nom. */
.vs tr.ia th, .vs tr.ia td:not(.us) { background: var(--future-wash); }
.vs tr.ia th { padding-left: 12px; border-radius: var(--r-sm) 0 0 var(--r-sm); }
.ia-tag { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: var(--r-round); background: var(--future); color: var(--surface); font-size: var(--fs-sm); font-weight: 800; line-height: 1.35; vertical-align: 2px; }
.vs-why { display: block; margin-top: 5px; color: var(--muted); font-size: var(--fs-sm); font-weight: 500; line-height: 1.45; }
/* La preuve, en une ligne : la photo du fondateur (public/landing/fondateur.webp, 320 × 320, affichée en 52 × 52), sa
   phrase, la méthode de calcul. */
.proof { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 24px; max-width: 880px; }
.face { width: 52px; height: 52px; border-radius: var(--r-round); object-fit: cover; border: 1px solid var(--border); background: var(--surface-2); }
.proof p { color: var(--muted); font-size: var(--fs-lg); text-wrap: pretty; }
.proof b { color: var(--text); }

/* Prix (piste B, 2026-11-15) : une bande des quatre niveaux, TTC puis HT au mois, pour qui en une ligne, la marche
   Société en pistache lavé ; les conditions en une ligne ; le détail replié (.more-d : ce qu'ouvre chaque niveau, prix
   à l'année, structure en plus). (.ink : ancien nom de la bande d'encre, retirée le 2026-11-13 ; ses variables gardent
   leurs noms, lues aussi par l'encart de prix des pages de profil.) */
.ink { --fg: var(--text); --mu: var(--muted); --ln: var(--border); }
.strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; border-top: 1px solid var(--text); }
.strip li { padding: 16px 12px 18px; border-bottom: 1px solid var(--border); }
.strip li:nth-child(odd):not(.hl) { padding-left: 0; }
.strip li.hl { background: var(--accent-wash); }
.strip h3 { font-size: var(--fs-2xl); line-height: 1.25; }
.strip .pr { display: flex; flex-wrap: wrap; align-items: baseline; margin-top: 6px; font-size: var(--fs-base); }
.strip .pr b { font-size: var(--fs-5xl); }
.strip .pr .ttc { font-size: var(--fs-base); }
.strip .pr .per { order: 1; display: inline; margin: 0 0 0 0.3em; color: var(--fg); font-weight: 700; }
.strip .pr .ht { order: 2; flex-basis: 100%; margin-top: 2px; font-size: var(--fs-md); }
.strip .pr .sep { display: none; }
.strip .fo { margin-top: 8px; color: var(--mu); font-size: var(--fs-base); line-height: 1.35; max-width: 34ch; }
.more-d { margin-top: 20px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.more-d summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; font-weight: 700; font-size: var(--fs-xl); cursor: pointer; list-style: none; }
.more-d summary::-webkit-details-marker { display: none; }
.more-d summary::after { content: "+"; flex: none; font-size: var(--fs-5xl); font-weight: 400; line-height: 1; color: var(--muted); transition: transform 200ms var(--ease); }
.more-d[open] summary::after { transform: rotate(45deg); }
.more-d .fine { max-width: 72ch; margin: 0 0 16px; }
.more-d .tar + .fine { margin: 14px 0 20px; }
/* Le détail : sous 900 px, une carte par ligne (niveau et prix au mois en tête, pour qui, ce qu'il ouvre, l'année) ;
   un tableau dès 900 px. Rôles ARIA posés : le tableau garde sa sémantique quand ses lignes deviennent des cartes. */
.tar { display: block; width: 100%; border-collapse: collapse; font-size: var(--fs-base); }
.tar thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tar tbody { display: block; border-top: 1px solid var(--text); }
.tar tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.tar tbody tr.hl { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); background: var(--accent-wash); }
.tar tbody th { grid-column: 1; grid-row: 1; text-align: left; font-size: var(--fs-xl); font-weight: 800; }
.tar .t-mo { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; align-content: flex-start; text-align: right; }
.tar .t-for { grid-column: 1; grid-row: 2; color: var(--muted); }
.tar .t-op { grid-column: 1 / -1; grid-row: 3; margin-top: 4px; }
.tar .t-yr { grid-column: 1 / -1; grid-row: 4; margin-top: 2px; color: var(--muted); font-size: var(--fs-md); }
.tar .t-mo b { font-size: var(--fs-3xl); font-weight: 800; letter-spacing: -0.02em; }
.tar .t-mo .ttc { font-weight: 700; }
.tar .t-mo .ml { order: 1; margin-left: 0.3em; color: var(--muted); font-size: var(--fs-md); }
.tar .t-mo .ht { order: 2; flex-basis: 100%; color: var(--muted); font-size: var(--fs-md); }
.tar .t-mo .sep { display: none; }
.tar .ht { white-space: nowrap; }
.pr { margin-top: 16px; color: var(--mu); font-size: var(--fs-xl); line-height: 1.2; }
.pr b { color: var(--fg); font-size: var(--fs-price); font-weight: 800; letter-spacing: -0.03em; }
.pr .ttc { margin-left: 0.2em; color: var(--fg); font-size: var(--fs-2xl); font-weight: 700; }
/* Chaque montant reste avec son unité (espaces insécables) ; le HT ne se sépare jamais de son
   montant (une colonne étroite renvoyait « HT » seul à la ligne). */
.pr .ht { white-space: nowrap; }
.pr .per { display: block; margin-top: 6px; font-size: var(--fs-base); }
/* Sous 900 px (une marche par rangée), « 6 € TTC par mois » sur une ligne, le HT dessous (P3-19) : l'ordre
   d'affichage seul change, le texte lu reste « 6 € TTC · 5 € HT par mois ». */
@media (max-width: 899px) {
 .pr { display: flex; flex-wrap: wrap; align-items: baseline; }
 .pr .per { order: 1; display: inline; margin: 0 0 0 0.35em; }
 .pr .ht { order: 2; flex-basis: 100%; margin-top: 4px; font-size: var(--fs-base); }
 .pr .sep { display: none; }
}
.yr { margin-top: 4px; color: var(--mu); font-size: var(--fs-base); }
.yr .amt { color: var(--fg); font-weight: 600; }
.for { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ln); font-size: var(--fs-lg); font-weight: 600; max-width: 40ch; }
.adds { margin-top: 8px; color: var(--mu); font-size: var(--fs-base); max-width: 40ch; }
/* Les conditions en une ligne, chacune cochée (décoratif). */
.terms { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 18px; font-size: var(--fs-lg); }
.terms li { display: flex; gap: 10px; }
.terms li::before { content: ""; flex: none; width: 12px; height: 7px; margin: 0.42em 0 0 2px; border: solid var(--fg); border-width: 0 0 2px 2px; transform: rotate(-45deg); }

/* FAQ */
.faq { margin-top: 32px; border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 700; font-size: var(--fs-2xl); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: var(--fs-5xl); font-weight: 400; line-height: 1; color: var(--muted); transition: transform 200ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 66ch; }
.faq details a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Appel à l'action en bas de page (2026-11-23, maquette « 3. Vitrine, accueil ») : après la FAQ, ouvert d'un filet
   d'encre ; la phrase à gauche, l'essai à droite sur ordinateur ; dessous sur téléphone. */
section.blk.last { border-top: 1.5px solid var(--text); }
.last-w { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.last-go { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; color: var(--muted); font-size: var(--fs-lg); }

/* Pied */
footer { padding: 40px 0 48px; border-top: 1px solid var(--border); color: var(--muted); font-size: var(--fs-lg); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
footer .brand { color: var(--text); }
footer nav { display: flex; flex-wrap: wrap; gap: 0 20px; }
footer nav a { display: inline-block; padding-block: 8px; }
footer a:hover { color: var(--text); }

@media (max-width: 459px) {
 .lgt { display: none; }
 .sht { display: inline; }
 .in { justify-content: center; width: 40px; height: 40px; padding: 0; }
 .in svg { display: block; width: 22px; height: 22px; }
 .in .t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
 .top .wrap { gap: 12px; height: 62px; }
 .brand { gap: 8px; font-size: var(--fs-xl); }
 .mark { width: 26px; height: 11px; }
 .go .btn { width: 100%; }
 .go-b .ul { margin-inline: auto; }
 .last-go { flex-direction: column; align-items: stretch; width: 100%; text-align: center; }
 .strip .pr b { font-size: var(--fs-4xl); }
}
@media (min-width: 700px) {
 :root { --gut: 28px; }
}
@media (min-width: 900px) {
 .links { display: flex; }
 .links + .acts { margin-left: 0; }
 section.blk { padding: 72px 0; }
 .split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
 .split .faq { margin-top: 6px; }
 /* Comparatif en ronds : les noms entiers des colonnes, des ronds plus grands. */
 .vs th, .vs td { padding: 16px 12px; }
 .vs thead th { font-size: var(--fs-base); }
 .vs thead th:first-child { width: 34%; }
 .vs thead th.us { font-size: var(--fs-lg); }
 .vs tbody th { font-size: var(--fs-lg); }
 .vs tr.ia th { padding-left: 16px; }
 .vs-why { font-size: var(--fs-base); }
 .vs .long { display: inline; }
 .vs .short { display: none; }
 .dot { width: 20px; height: 20px; }
 /* Prix : les quatre niveaux sur une ligne ; le détail en tableau. */
 .strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
 .strip li, .strip li:nth-child(odd):not(.hl) { padding: 18px 20px 20px; }
 .strip li:first-child:not(.hl) { padding-left: 0; }
 .tar { display: table; }
 .tar thead { position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; display: table-header-group; }
 .tar tbody { display: table-row-group; border-top: 0; }
 .tar tr, .tar tbody tr, .tar tbody tr.hl { display: table-row; margin: 0; padding: 0; }
 .tar th, .tar td { display: table-cell; padding: 13px 16px 13px 0; vertical-align: top; border-bottom: 1px solid var(--border); text-align: left; }
 .tar thead th { padding-bottom: 8px; color: var(--muted); font-size: var(--fs-md); font-weight: 700; border-bottom: 1px solid var(--text); }
 .tar thead th:nth-child(n + 4), .tar .t-mo, .tar .t-yr { text-align: right; white-space: nowrap; }
 .tar tbody th { width: 13%; font-size: var(--fs-xl); }
 .tar tbody tr.hl th { padding-left: 12px; }
 .tar .t-for { width: 27%; }
 .tar .t-op { margin: 0; }
 .tar .t-mo { display: table-cell; }
 .tar .t-mo b { font-size: var(--fs-xl); }
 .tar .t-mo .ht { display: inline; color: var(--text); font-size: var(--fs-base); }
 .tar .t-mo .sep { display: inline; }
 .tar .t-mo .ml, .tar .yl { display: none; }
 .tar .t-yr { margin: 0; padding-right: 0; color: var(--text); font-size: var(--fs-base); }
}
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 20px; max-width: 46ch; }
.go-b { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
/* Composition de cartes (décision du fondateur du 2026-11-10 : celle de l'image des partages, scripts/landing/og.html),
   en tête des pages de profil (et de l'accueil jusqu'au 2026-11-15, piste B) : trois captures de l'app d'une même société, prises le même jour, posées
   en CSS à l'échelle de leur colonne (largeur, décalages en cqw du conteneur). Les trois cartes sont empilées dans une
   seule case de grille : la hauteur suit les cartes, quelles qu'elles soient. Chevauchement réglé pour ne couvrir aucun
   montant. Par défaut : .c2 ne recouvre que la moitié droite de .c1 (une carte aux montants à gauche, le Disponible
   recadré), .c3 que la marge droite de .c2 (2026-11-13 : les lignes « part de » cadrées et la carte résultat de Me
   payer portent leurs montants jusqu'au bord droit ; avant, .c3 couvrait le quart droit de .c2, ses pastilles) ;
   .compo--cascade (cartes aux montants à droite) : chacune ne recouvre que le coin bas droit de la précédente ;
   .compo--dispo (/salaire-ou-dividendes, et l'accueil jusqu'au 2026-11-15 : le Disponible entier, société et perso, dont les montants vont
   jusqu'à la moitié de la carte, 2026-11-11) : .c2, la carte résultat de Me payer, finit au-dessus du montant perso de
   .c1, posé plus bas depuis le 2026-11-13 au soir (la carte résultat est plus haute : la barre du chiffre d'affaires,
   charges comprises, et la phrase des dividendes reçus). Depuis la piste A du Disponible (2026-11-13 au soir : montant
   surligné, un peu plus large, sa barre et sa phrase « Sur X € en compte, Y € gardés… », dont le second montant va
   jusqu'aux deux tiers de la carte) : cartes à 38cqw, .c2 à 23cqw, au-delà du montant surligné du Disponible recadré
   (jusqu'à 0,58 de la carte, la kiné), .c3 à 61,5cqw, sur la seule marge droite de .c2 ; .compo--dispo un peu plus
   étroite (37cqw), .c2 aux deux tiers de .c1 (25cqw), .c3 à 62cqw. Accueil v5 (2026-11-24) : le Disponible entier a
   une légende sous sa barre, dont le second montant va jusqu'à 0,81 de la carte ; .compo--dispo .c1 descend sous le
   bas de .c2 (25cqw, 38cqw sous 700 px), sa légende reste lisible. Les cartes flottent : ombre douce, aucune
   animation. Sous 700 px : deux cartes, .c1 et .c2 (cascade : .c2 et .c3), positions communes (.c2 à 37,5cqw) ;
   .compo--dispo : cartes à 58cqw, .c2 aux deux tiers de .c1 (39,5cqw). */
.compo { margin: 36px 0 0; }
.compo-cards { display: grid; container-type: inline-size; padding-bottom: 2cqw; }
.compo img { --w: 38cqw; grid-area: 1 / 1; align-self: start; justify-self: start; width: var(--w); height: auto; margin: var(--y) 0 0 var(--x); transform: rotate(var(--r)); border: 1px solid var(--border); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--sh-frame); }
.compo .c1 { --x: 0cqw; --y: 9cqw; --r: -3deg; }
.compo .c2 { --x: 23cqw; --y: 0cqw; --r: -1deg; z-index: 1; }
.compo .c3 { --x: 61.5cqw; --y: 14cqw; --r: 2.5deg; z-index: 2; }
.compo--cascade img { --w: 46cqw; }
.compo--cascade .c1 { --x: 0cqw; --y: 0cqw; --r: -2deg; }
.compo--cascade .c2 { --x: 24cqw; --y: 22cqw; --r: 1.5deg; }
.compo--cascade .c3 { --x: 48cqw; --y: 36cqw; --r: -1deg; }
.compo--dispo img { --w: 37cqw; }
.compo--dispo .c1 { --y: 25cqw; }
.compo--dispo .c2 { --x: 25cqw; }
.compo--dispo .c3 { --x: 62cqw; --y: 12cqw; }
.compo figcaption { margin-top: 12px; color: var(--muted); font-size: var(--fs-md); }
@media (max-width: 699px) {
 .compo { margin-top: 28px; }
 .compo img { --w: 62cqw; }
 .compo .c1 { --y: 8cqw; }
 .compo--dispo .c1 { --y: 38cqw; }
 .compo .c2 { --x: 37.5cqw; }
 .compo--dispo img { --w: 58cqw; }
 .compo--dispo .c2 { --x: 39.5cqw; }
 .compo .c3 { display: none; }
 .compo--cascade .c1 { display: none; }
 .compo--cascade .c2 { --x: 0cqw; --y: 0cqw; }
 .compo--cascade .c3 { display: block; --x: 30cqw; --y: 19cqw; }
}
/* Entre 700 et 899 px : sous le bouton, centrée. */
@media (min-width: 700px) and (max-width: 899px) {
 .compo { max-width: 560px; margin-inline: auto; }
 .compo figcaption { text-align: center; }
}
.kick { margin-bottom: 8px; color: var(--muted); font-size: var(--fs-md); font-weight: 700; }
@media (min-width: 900px) {
 /* Promesse (piste A) : le titre à gauche, la phrase et l'action à droite ; la barre dessous, puis « Votre cas » ; la
    démo. L'ordre de la page reste celui de la lecture (titre, barre, phrase, action) : la grille seule place les zones. */
 /* Titre et phrase alignés en haut (2026-11-25) : alignés en bas, la colonne de droite plus haute que le titre (phrase
    raccourcie) poussait le titre vers le bas et laissait un grand blanc sous l'en-tête. */
 .hero { padding: 48px 0 40px; }
 .hero-a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "titre action" "barre barre" "cas cas"; column-gap: 56px; align-items: start; }
 .hero-a h1 { grid-area: titre; }
 .hero-a .hero-r { grid-area: action; }
 .hero-a .repart { grid-area: barre; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--border); }
 .hero-a .who-go { grid-area: cas; }
 .hero-a .lead { margin-top: 0; }
 .show { padding: 72px 0 96px; }
 .last-w { flex-wrap: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Pied : « Pour qui », les pages de profil (2026-11-09, src/shared/vitrinePages.js), sur l'accueil et sur
   chaque page de profil, au-dessus de la ligne des liens. */
footer nav.profs { display: block; margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.profs-t { font-size: var(--fs-3xl); line-height: 1.2; letter-spacing: -0.02em; color: var(--text); max-width: none; }
.profs-l { display: grid; gap: 0 32px; margin-top: 16px; border-top: 1px solid var(--border); }
footer .profs-l a { display: grid; gap: 2px; padding-block: 12px; }
.profs-l li { border-bottom: 1px solid var(--border); }
.profs-l b { color: var(--text); font-size: var(--fs-xl); font-weight: 700; }
.profs-l span { font-size: var(--fs-base); }
.profs-l a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.profs-l [aria-current="page"] b { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 700px) { .profs-l { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .profs-l { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Pages de profil (vitrine/<adresse>.html, 2026-11-09) : <main class="pp">. Gabarit : barre haute de
   l'accueil (liens vers ses sections), fil d'Ariane « Accueil › {page} », la question en titre (h1) et la
   réponse courte, puis des sections (.pp-sec) ouvertes par un filet : les règles avec leurs sources (puces carrées
   aux couleurs des natures), l'exemple chiffré (fictif, calculé par les moteurs de l'app : tests/vitrinePage*.test.js,
   dans une surface à filets, « le meilleur » en pistache lavé), ce que fait l'app, le prix du profil (encart cerné
   d'encre), les questions fréquentes (.faq, et leur JSON-LD FAQPage) ; pied de l'accueil. */
.crumbs { padding-top: 20px; color: var(--muted); font-size: var(--fs-base); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; color: var(--muted); }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current="page"] { color: var(--text); font-weight: 600; }
.pp-hero { padding: 28px 0 40px; }
.pp h1 { font-size: var(--fs-page-h1); line-height: 1.04; letter-spacing: -0.035em; max-width: 18ch; }
.pp .kick { margin-bottom: 14px; }
.pp-hero .lead { max-width: 60ch; }
.pp-hero .go-b { margin-top: 28px; }
.pp-hero .fine { max-width: 60ch; }
.pp-sec { padding: 48px 0; border-top: 1px solid var(--border); }
.pp h2 { font-size: var(--fs-page-h2); line-height: 1.1; max-width: 30ch; }
.pp h3 { font-size: var(--fs-3xl); margin-top: 28px; }
.prose { max-width: 70ch; }
.prose > * + * { margin-top: 14px; }
.prose h2 + *, .prose h3 + * { margin-top: 12px; }
.prose a, .pp-src a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.prose strong { font-weight: 700; }
.pp-list { display: grid; gap: 12px; }
.pp-list li { position: relative; padding-left: 22px; }
.pp-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 8px; height: 8px; border-radius: var(--r-2xs); background: var(--nat-charges); }
.pp-list li:nth-child(3n + 2)::before { background: var(--nat-tax); }
.pp-list li:nth-child(3n)::before { background: var(--nat-you); }
.pp-src { color: var(--muted); font-size: var(--fs-base); }
.pp-note { padding: 14px 18px; border-radius: var(--r-sm); background: var(--surface-2); font-size: var(--fs-lg); }
/* Exemple chiffré : un tableau, une colonne par répartition, la meilleure marquée ; défilement horizontal
   sur un écran trop étroit plutôt qu'un chiffre coupé. Chaque montant calculé porte data-calc (test). */
/* Tableau plafonné (P3-15) : libellés et montants restent à portée d'œil sur ordinateur. */
.ex-card { margin-top: 24px; max-width: 780px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); overflow: hidden; }
/* Le titre touchait le paragraphe qui suit, le paragraphe sous le tableau touchait sa légende (P3-14). */
.pp h2 + .prose, .ex-card + .prose { margin-top: 20px; }
.ex-card > .ex-h { padding: 14px 18px; }
.tscroll { overflow-x: auto; }
.cmp { width: 100%; min-width: 520px; border-collapse: collapse; font-size: var(--fs-lg); }
.cmp th, .cmp td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: right; white-space: nowrap; }
.cmp th:first-child { text-align: left; white-space: normal; font-weight: 600; }
.cmp thead th { color: var(--muted); font-size: var(--fs-md); font-weight: 700; vertical-align: bottom; white-space: normal; border-bottom-color: var(--text); }
.cmp thead th:first-child { color: var(--muted); }
.cmp .best { background: color-mix(in oklab, var(--nat-you) 30%, var(--surface)); }
/* « Le meilleur » dit en mots, pas par la seule couleur (P2-11, WCAG 1.4.1). */
.cmp .tag { display: block; margin-top: 2px; color: var(--text); font-size: var(--fs-sm); font-weight: 800; }
.cmp thead .best { color: var(--text); }
.cmp tr.tot th, .cmp tr.tot td { font-weight: 800; border-bottom: 0; }
.cmp tr.sub th { font-weight: 400; color: var(--muted); }
/* Groupe de lignes (un cas de l'exemple) : son titre sur toute la largeur. */
.cmp tr.grp th { padding-top: 20px; font-weight: 700; font-size: var(--fs-xl); border-bottom-color: var(--text); }
.cmp tbody + tbody tr.grp th { border-top: 0; }
.cmp caption { caption-side: bottom; padding: 12px 18px; text-align: left; color: var(--muted); font-size: var(--fs-md); border-top: 1px solid var(--border); background: var(--surface-2); }
/* Le prix du profil : un encart sur la feuille, cerné d'encre (maquette, écran 2). */
.pp-price { padding: 56px 0; border-top: 0; }
.pp-price > .wrap { width: calc(100% - 2 * var(--gut)); max-width: calc(1200px - 2 * var(--gut)); padding: 28px; border: 1.5px solid var(--text); border-radius: var(--r-sm); background: var(--surface); }
.pp-price .pr { margin-top: 20px; }
.pp-price .for { max-width: 52ch; padding-top: 0; border-top: 0; font-weight: 400; }
.pp-price .for a { text-decoration: underline; text-underline-offset: 2px; }
.pp-price .btn { margin-top: 24px; }
.pp-more { display: grid; gap: 12px; margin-top: 24px; }
.pp-more a { display: grid; gap: 2px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); }
.pp-more a b { font-size: var(--fs-xl); }
.pp-more a span { color: var(--muted); font-size: var(--fs-base); }
.pp-more a:hover { border-color: var(--text); }
/* Page « Méthode de calcul » (vitrine/methode.html, 2026-11-13) : pas de composition de captures, le sommaire (liens
   vers chaque partie, numérotés) tient la colonne de droite de l'en-tête ; l'avertissement de fin sans titre. */
.pp-toc { margin-top: 28px; max-width: 560px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--r-sm); background: var(--surface); }
.pp .pp-toc h2 { max-width: none; font-size: var(--fs-2xl); line-height: 1.25; }
.pp-toc ol { display: grid; gap: 4px; margin-top: 10px; counter-reset: toc; }
.pp-toc li { counter-increment: toc; }
.pp-toc li::before { content: counter(toc) "."; display: inline-block; min-width: 1.75em; color: var(--muted); font-variant-numeric: lining-nums; }
.pp-toc a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }
.pp-toc a:hover { text-decoration-thickness: 2px; }
.pp-end .pp-note { max-width: 70ch; }
@media (max-width: 459px) {
 .pp-hero .go-b .btn { width: 100%; }
 /* Trois colonnes de montants tiennent sur un téléphone : libellés et en-têtes passent à la ligne. */
 .cmp { min-width: 0; font-size: var(--fs-md); }
 .cmp th, .cmp td { padding: 9px 6px; }
 .cmp th:first-child { padding-left: 12px; }
 .cmp td:last-child, .cmp thead th:last-child { padding-right: 12px; }
 .cmp thead th { font-size: var(--fs-sm); }
 .pp-price > .wrap { padding: 22px 18px; }
}
@media (min-width: 900px) {
 .pp-hero { padding: 40px 0 56px; border-bottom: 0; }
 /* La question et sa réponse à gauche, la composition de cartes à droite (maquette, écran 2 : 1,35 / 1). */
 .pp-hero-w { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 48px; align-items: center; }
 .pp-hero-w .compo, .pp-hero-w .pp-toc { margin-top: 0; }
 .pp-sec { padding: 64px 0; }
 /* Titre de section à gauche, texte à droite. */
 .pp-cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 56px; align-items: start; }
 .pp-cols .prose, .pp-cols > h2 + .prose { margin-top: 4px; }
 .pp-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 /* Le prix à gauche (titre, montant, année, essai, bouton), ce que le niveau couvre et ouvre à droite. */
 .pp-price > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 56px; grid-auto-flow: dense; align-items: start; }
 .pp-price > .wrap > * { grid-column: 1; }
 .pp-price > .wrap > .for { grid-column: 2; margin-top: 0; }
 .pp-price > .wrap > .for + .for { margin-top: 16px; }
 .pp-price > .wrap > .btn { justify-self: start; }
}

/* Contraste élevé (forced-colors, critique du 2026-11-10, P2-10 et P2-11) : les boutons gardent leur cadre, « le
   meilleur » des tableaux de profil et chaque carte de la composition restent visibles. Style « Répartition »
   (2026-11-13) : les fonds de nature disparaissent en contraste élevé ; la marque et les puces des règles gardent un
   cadre en couleur système. Accueil allégé (piste B, 2026-11-15) : la capture de la promesse cadrée ; la colonne et
   les réponses de mondirigeant.fr du comparatif, la marche Société et sa ligne du détail, cerclées (leur fond lavé
   disparaît). */
@media (forced-colors: active) {
 .btn { border-color: ButtonText; }
 .cmp .best { outline: 2px solid CanvasText; outline-offset: -2px; }
 .compo img { border: 1px solid CanvasText; }
 .sg, .keys i, .dots i { border: 1px solid CanvasText; }
 .browser { border-color: CanvasText; }
 .who-pick [aria-pressed="true"] { border-color: Highlight; box-shadow: inset 0 0 0 1px Highlight; }
 .mark i, .pp-list li::before { border: 1px solid CanvasText; }
 .vs thead th.us, .vs td.us, .strip li.hl, .tar tbody tr.hl { outline: 1px solid CanvasText; outline-offset: -1px; }
 .dot { forced-color-adjust: none; border-color: CanvasText; }
 .ia-tag { border: 1px solid CanvasText; }
 .dot.f { background: CanvasText; }
 .dot.h { background: linear-gradient(90deg, CanvasText 50%, Canvas 50%); }
 .pp-price > .wrap { border-color: CanvasText; }
}
