/*
 * design-system/vitrine-system.css : système des pages publiques (vitrine).
 *
 * Décision de Tuan du 2026-11-11 (maquette « hiérarchie visuelle », figée) : les pages
 * publiques passent sur un fichier vitrine dédié ; l'application garde tokens.css et
 * components.css. Source : docs/landing/maquettes/hierarchie-visuelle-2026-11-11/landing.css,
 * sections 1 à 4 (système, base, composants, en-tête, bandeau d'offre, pied) et la surface
 * encre de la section 6, puis les sections que partagent plusieurs pages (hero, constat, étapes,
 * Réforme, FAQ, appel final). Les styles propres à une page vivent dans le fichier de la page.
 *
 * UN SEUL endroit pour les valeurs : le bloc :root ci-dessous (et sa variante sous 720 px).
 * Hors de ces blocs, aucune valeur brute : ni px, ni em, ni rem, ni couleur, ni dégradé,
 * ni ombre. Seules exceptions : 0, les proportions (%, fr) et les paliers de @media
 * (1024 px et 720 px), qu'une variable CSS ne peut pas porter. Garde :
 * backend/src/__tests__/frontend-guards/vitrine-system.guard.test.ts (ce fichier, et chaque
 * feuille chargée par une page qui charge ce fichier).
 *
 * Rapport au design system (tokens.css) :
 *  - couleurs : encre, gris et lime de la palette de marque ; fond blanc à la place du crème ;
 *    bordure : encre à 10 % sur blanc, en teinte pleine ; 4 teintes réservées aux vignettes ;
 *  - espacement : mêmes huit premiers pas que --sp-1 à --sp-8, prolongés par 96 et 128 ;
 *  - typographie : CONTREDIT tokens.css (h1 84, h2 44, h3 28, corps 14), d'où ce fichier dédié.
 * Les noms de variables (--sp-*, --r-*, --ff-*) reprennent ceux de tokens.css : une page ne
 * charge jamais les deux fichiers.
 */

/* ============================================================
   1 · SYSTÈME
   ============================================================ */
:root {
  /* Couleur : 5 jetons, pas un de plus. */
  --c-bg:     #FFFFFF; /* fond */
  --c-text:   #0E1428; /* texte (encre) ; sert aussi de fond aux surfaces inversées */
  --c-text-2: #6B6678; /* texte secondaire : 5,5:1 sur le fond, interdit sur l'encre (3,3:1) */
  --c-accent: #C9F03B; /* accent : l'action principale, et rien d'autre (hors point du logo) */
  --c-border: #E7E8EA; /* bordure : encre à 10 % sur blanc, en teinte pleine */

  /* Palette des vignettes de modules : un fond pâle par groupe, rien d'autre. */
  --vig-tint-1: #EEF9C4; --vig-tint-2: #FFF4BF; --vig-tint-3: #E2D9FC; --vig-tint-4: #EFE9DB;

  /* Espacement : base 4 px. */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 128px;

  /* Typographie : taille / interligne, tous deux sur la grille de 4 px. */
  --ff-display: "fatfrank", "FatFrank", system-ui, sans-serif;
  --ff-body: "Poppins", system-ui, sans-serif;
  --fw-regular: 400; --fw-bold: 600;
  --ls-tight: -0.02em; --ls-wide: 0.08em;
  --fs-1: 64px; --lh-1: 64px;  /* H1 */
  --fs-2: 40px; --lh-2: 44px;  /* H2 de section, prix, chiffres clés */
  --fs-3: 24px; --lh-3: 32px;  /* H3 : groupe, sous-bloc */
  --fs-4: 20px; --lh-4: 28px;  /* H4 : titre de carte, question */
  --fs-5: 18px; --lh-5: 28px;  /* chapeau */
  --fs-6: 16px; --lh-6: 24px;  /* texte courant, boutons */
  --fs-7: 14px; --lh-7: 20px;  /* texte de carte, notes */
  --fs-8: 12px; --lh-8: 16px;  /* surtitre, étiquette */

  /* Formes et gabarits. */
  --r-1: 8px; --r-2: 16px; --r-pill: 999px;
  --bw: 1px; --bw-2: 2px;
  --w-page: 1200px; --w-text: 720px; --w-lead: 560px; --w-phone: 320px;
  --tap: var(--sp-7); /* hauteur des contrôles : 48 px, au-dessus des 44 px tactiles */

  /* Rôles de couleur : ce que lisent les règles. Une surface inversée les redéfinit d'un bloc. */
  --fg: var(--c-text); --fg-2: var(--c-text-2); --bg: var(--c-bg); --line: var(--c-border);
}
@media (max-width: 720px) {
  :root {
    --fs-1: 40px; --lh-1: 44px;
    --fs-2: 32px; --lh-2: 36px;
    --fs-3: 20px; --lh-3: 28px;
  }
}

/* ============================================================
   2 · BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font-family: var(--ff-body); font-weight: var(--fw-regular);
  font-size: var(--fs-6); line-height: var(--lh-6);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--ff-display); font-weight: var(--fw-regular); letter-spacing: var(--ls-tight); }
h1 { font-size: var(--fs-1); line-height: var(--lh-1); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: var(--fs-2); line-height: var(--lh-2); }
h3 { font-size: var(--fs-3); line-height: var(--lh-3); }
h4, .h4 { font-size: var(--fs-4); line-height: var(--lh-4); }
p, ul, ol, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
strong, b { font-weight: var(--fw-bold); }
em { font-style: normal; font-weight: var(--fw-bold); }
svg { flex: none; }
:focus-visible { outline: var(--bw-2) solid var(--fg); outline-offset: var(--bw-2); }

.skip-link { position: absolute; left: var(--sp-4); top: 0; transform: translateY(-200%); background: var(--fg); color: var(--bg); padding: var(--sp-3) var(--sp-4); z-index: 20; }
.skip-link:focus { transform: none; }
.wrap { max-width: var(--w-page); margin-inline: auto; padding-inline: var(--sp-6); }
.nowrap { white-space: nowrap; }

/* ============================================================
   3 · COMPOSANTS
   ============================================================ */
/* Lien de texte */
.link, .prose a:not(.btn) { color: inherit; text-decoration: underline; text-decoration-thickness: var(--bw); text-underline-offset: var(--sp-1); }
.link:hover, .prose a:not(.btn):hover { text-decoration-thickness: var(--bw-2); }
/* Lien hors phrase : cible tactile de 48 px sans décaler la mise en page (fil d'Ariane, bandeau, sommaire…). */
.tap, .crumb a, .announce a { display: inline-block; padding-block: var(--sp-3); margin-block: calc(-1 * var(--sp-3)); }

/* Boutons : un seul primaire (accent), un secondaire (contour), le reste en lien. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--tap); padding: 0 var(--sp-5);
  border: var(--bw) solid var(--fg); border-radius: var(--r-pill);
  background: transparent; color: var(--fg);
  font-family: var(--ff-body); font-weight: var(--fw-bold); font-size: var(--fs-6); line-height: var(--lh-6);
  text-decoration: none; white-space: nowrap; cursor: pointer;
}
.btn svg { width: var(--sp-4); height: var(--sp-4); }
.btn:hover { text-decoration: underline; text-underline-offset: var(--sp-1); }
/* Le lime sur blanc ne fait que 1,31:1 : le contour encre délimite le bouton ; sur l'encre, contour lime. */
.btn--primary { background: var(--c-accent); color: var(--c-text); }
.on-dark .btn--primary, .section--alt .btn--primary { border-color: var(--c-accent); }

/* Surtitre et en-tête de section */
.eyebrow {
  display: block; font-family: var(--ff-body); font-weight: var(--fw-bold);
  font-size: var(--fs-8); line-height: var(--lh-8); letter-spacing: var(--ls-wide);
  text-transform: uppercase; color: var(--fg-2);
}
.eyebrow + h1, .eyebrow + h2 { margin-top: var(--sp-3); }
.lede { margin-top: var(--sp-4); font-size: var(--fs-5); line-height: var(--lh-5); color: var(--fg-2); }
.section { padding-block: var(--sp-8); }
.section-head { max-width: var(--w-text); margin: 0 auto var(--sp-7); text-align: center; }
.section-head .lede { max-width: var(--w-lead); margin-inline: auto; }

/* Section en encre : redéfinit les quatre rôles, sans nouvelle valeur. */
.section--alt { --fg: var(--c-bg); --fg-2: var(--c-bg); --bg: var(--c-text); --line: var(--c-text-2); background: var(--bg); color: var(--fg); }
/* Un filet entre deux sections claires, et seulement là. Écrit sur les deux voisines plutôt
   que par une règle d'annulation : la maquette en avait une, de même poids que la règle du
   filet, qui laissait un filet de 1 px au-dessus des sections encre selon l'ordre des règles. */
.section:not(.section--alt) + .section:not(.section--alt) { border-top: var(--bw) solid var(--line); }
/* Les illustrations au trait noir ont un fond transparent : sur l'encre, un cadre de fond les porte. */
.section--alt .illu { padding: var(--sp-5); border-radius: var(--r-2); background: var(--c-bg); }

/* Carte : la seule surface, un contour sur le fond. */
.card { border: var(--bw) solid var(--line); border-radius: var(--r-2); }
/* Carte-lien : la carte entière est le lien, sans soulignement ; son titre se souligne au survol et
   l'appel du bas reste souligné. Le texte prend la hauteur libre : les appels d'une rangée s'alignent. */
.card-link { display: flex; flex-direction: column; text-decoration: none; }
.card-link:hover :is(h2, h3, .ttl) { text-decoration: underline; text-decoration-thickness: var(--bw); text-underline-offset: var(--sp-1); }
.card-link > p { flex: 1; }
.card-more { align-self: flex-start; margin-top: var(--sp-4); display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: var(--sp-1); }
.card-more svg { width: var(--sp-4); height: var(--sp-4); }

/* Étiquette */
.tag {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3); border: var(--bw) solid var(--fg); border-radius: var(--r-pill);
  font-weight: var(--fw-bold); font-size: var(--fs-8); line-height: var(--lh-8);
  letter-spacing: var(--ls-wide); text-transform: uppercase;
}

/* Liste cochée */
.checks { display: grid; gap: var(--sp-3); }
.checks li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.checks li::before { content: "✓"; flex: none; font-weight: var(--fw-bold); }
p + .checks, .checks + p { margin-top: var(--sp-5); }

/* Fil d'Ariane, au-dessus du hero d'une page intérieure. */
.crumb { padding-top: var(--sp-5); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }
.crumb svg { width: var(--sp-4); height: var(--sp-4); vertical-align: middle; }

/* Champ de formulaire : libellé au-dessus, contrôle de 48 px. */
.field { display: grid; gap: var(--sp-1); font-size: var(--fs-7); line-height: var(--lh-7); font-weight: var(--fw-bold); }
.field input, .field textarea { min-height: var(--tap); padding: var(--sp-3); border: var(--bw) solid var(--fg-2); border-radius: var(--r-1); background: transparent; color: var(--fg); font: inherit; font-weight: var(--fw-regular); font-size: var(--fs-6); }

/* Tableau : en-tête encre, lignes à filets ; défile dans son cadre sur téléphone. */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-7); line-height: var(--lh-7); }
.table th, .table td { padding: var(--sp-3); border-bottom: var(--bw) solid var(--line); text-align: left; vertical-align: top; }
.table thead th { background: var(--c-text); color: var(--c-bg); border-bottom: 0; }
.table thead th:first-child { border-start-start-radius: var(--r-1); }
.table thead th:last-child { border-start-end-radius: var(--r-1); }
/* Légende lue par les lecteurs d'écran, masquée à l'écran. */
.table caption { position: absolute; width: var(--bw); height: var(--bw); overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Surfaces inversées (encre) : bloc, pied, bandeau d'offre. */
.on-dark, .foot, .announce { --fg: var(--c-bg); --fg-2: var(--c-bg); --bg: var(--c-text); --line: var(--c-text-2); background: var(--bg); color: var(--fg); }
.on-dark { border-radius: var(--r-2); }

/* ============================================================
   4 · EN-TÊTE, BANDEAU D'OFFRE, PIED
   ============================================================ */
/* Bandeau d'offre : une ligne au-dessus de l'en-tête ; la page le masque à la fin de l'offre. */
.announce { padding: var(--sp-2) var(--sp-4); text-align: center; font-size: var(--fs-7); line-height: var(--lh-7); }
.announce a { font-weight: var(--fw-bold); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: var(--bw) solid var(--line); }
.top-inner { max-width: var(--w-page); margin-inline: auto; padding: var(--sp-3) var(--sp-6); display: flex; align-items: center; gap: var(--sp-6); }
.logo { display: inline-block; padding-block: var(--sp-2); font-family: var(--ff-display); font-size: var(--fs-3); line-height: var(--lh-3); letter-spacing: var(--ls-tight); text-decoration: none; }
.logo .dot { color: var(--c-accent); }
.nav { display: flex; gap: var(--sp-3); margin-inline: auto; font-size: var(--fs-7); line-height: var(--lh-7); }
.nav a { padding: var(--sp-3) var(--sp-2); text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: var(--sp-1); }

/* Pied de page : encre, texte fond, hiérarchie par la graisse et la taille. */
.foot { padding-block: var(--sp-8) var(--sp-6); font-size: var(--fs-7); line-height: var(--lh-7); }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; text-underline-offset: var(--sp-1); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: var(--sp-6); }
.foot .logo { font-size: var(--fs-3); }
.foot-brand p { margin-top: var(--sp-4); max-width: var(--w-lead); }
.foot-meta { margin-top: var(--sp-5); display: grid; gap: var(--sp-3); }
.foot-loc, .foot-pill { display: flex; align-items: center; gap: var(--sp-2); }
.foot-loc svg, .foot-pill svg { width: var(--sp-4); height: var(--sp-4); }
.foot-pills { display: grid; gap: var(--sp-2); }
.foot-social { margin-top: var(--sp-5); display: flex; gap: var(--sp-2); }
.foot-social a { width: var(--tap); height: var(--tap); display: grid; place-items: center; border: var(--bw) solid var(--fg); border-radius: var(--r-pill); }
.foot-social svg { width: var(--sp-4); height: var(--sp-4); }
.foot-badge { margin-top: var(--sp-5); }
.foot h4 { font-family: var(--ff-body); font-weight: var(--fw-bold); font-size: var(--fs-7); line-height: var(--lh-7); letter-spacing: var(--ls-wide); text-transform: uppercase; }
.foot ul { margin-top: var(--sp-3); display: grid; }
.foot ul a { display: block; padding-block: var(--sp-3); }
.foot-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: var(--bw) solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); }
.foot-bottom .links { display: flex; gap: var(--sp-5); }

/* ============================================================
   5 · SECTIONS PARTAGÉES (accueil, pages produit, blog, pages institutionnelles)
   Une section existe une fois : la page ne réécrit que ce qui lui est propre.
   ============================================================ */
/* Hero : texte à gauche, visuel à droite. */
.hero { position: relative; overflow: hidden; padding-block: var(--sp-8); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 6fr 5fr; gap: var(--sp-7); align-items: center; }
.hero h1 { margin-top: var(--sp-4); }
.hero-lead { margin-top: var(--sp-5); max-width: var(--w-lead); font-size: var(--fs-5); line-height: var(--lh-5); }
.hero-ctas { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-trust { margin-top: var(--sp-5); display: grid; grid-template-columns: repeat(2, max-content); gap: var(--sp-2) var(--sp-6); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.hero-trust svg { width: var(--sp-4); height: var(--sp-4); color: var(--fg); }
.hero-visual { position: relative; }

/* Deux colonnes (illustration et texte) ; constat. */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: center; }
.split--reverse { grid-template-columns: 7fr 5fr; }
.split--half { grid-template-columns: 1fr 1fr; }
.constat p { margin-top: var(--sp-4); max-width: var(--w-lead); }
.constat .constat-pivot { margin-top: var(--sp-6); font-size: var(--fs-5); line-height: var(--lh-5); }

/* Comment ça marche */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); text-align: center; }
.step-circle {
  width: var(--tap); height: var(--tap); margin: 0 auto var(--sp-4);
  display: grid; place-items: center; border: var(--bw) solid var(--fg); border-radius: var(--r-pill);
  font-family: var(--ff-display); font-size: var(--fs-4); line-height: var(--lh-4);
}
.step p { margin-top: var(--sp-2); color: var(--fg-2); }

/* Réforme 2026 : carte du partenaire PA. */
.factel-desc { margin-top: var(--sp-4); max-width: var(--w-lead); }
.factel-partner { padding: var(--sp-5); display: grid; grid-template-columns: auto 1fr; gap: var(--sp-5); align-items: center; }
* + .factel-partner { margin-top: var(--sp-6); }
.factel-partner-logo { width: var(--sp-10); }
.factel-partner-msg { margin-top: var(--sp-3); font-size: var(--fs-7); line-height: var(--lh-7); }
.factel .checks { margin-top: var(--sp-6); }
.factel-more { margin-top: var(--sp-5); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }

/* FAQ */
/* Plus de contraste (demande de Tuan le 11-11) : questions en cartes à contour gris foncé, réponses en encre,
   pastilles pleines ; la question ouverte passe en encre. */
.faq-list { max-width: var(--w-text); margin-inline: auto; display: grid; gap: var(--sp-3); }
.faq-item { padding-inline: var(--sp-5); border: var(--bw) solid var(--c-text-2); border-radius: var(--r-2); background: var(--bg); color: var(--fg); }
.faq-item[open] { --fg: var(--c-bg); --fg-2: var(--c-bg); --bg: var(--c-text); border-color: var(--c-text); }
.faq-item summary {
  min-height: var(--tap); padding-block: var(--sp-5); display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4);
  font-family: var(--ff-display); font-size: var(--fs-4); line-height: var(--lh-4); letter-spacing: var(--ls-tight);
  list-style: none; cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .ico { position: relative; flex: none; width: var(--sp-6); height: var(--sp-6); border-radius: var(--r-pill); background: var(--fg); }
.faq-item .ico::before, .faq-item .ico::after { content: ""; position: absolute; inset: 0; margin: auto; width: var(--sp-3); height: var(--bw-2); background: var(--bg); }
.faq-item .ico::after { transform: rotate(90deg); }
.faq-item[open] > summary .ico::after { transform: none; }
.faq-item .body { padding-bottom: var(--sp-5); color: var(--fg); }

/* Appel final : bloc encre (.cta.on-dark). */
.cta { padding: var(--sp-9) var(--sp-6); text-align: center; }
.cta-inner { max-width: var(--w-text); margin-inline: auto; }
.cta-desc { margin: var(--sp-4) auto 0; max-width: var(--w-lead); font-size: var(--fs-5); line-height: var(--lh-5); }
.cta-ctas { margin-top: var(--sp-6); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }
.cta-alt { margin-top: var(--sp-5); font-size: var(--fs-7); line-height: var(--lh-7); }


/* Blocs empilés dans une section : 48 px entre eux (la marge se fond avec celle de l'en-tête). */
.wrap > * + :is(.cards, .flow, .shot, .table-wrap, .split, .narrow) { margin-top: var(--sp-7); }

/* Grille de cartes : titre (h3.h4) et texte ; trois colonnes, quatre avec .cards--4. */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards > .card { padding: var(--sp-5); }
.cards > .card p { margin-top: var(--sp-2); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }
/* Carte à surtitre (date, délai, catégorie) : même écart qu'entre un surtitre et son titre. */
.card > .eyebrow { margin-bottom: var(--sp-3); }

/* Parcours : un schéma, puis une légende par étape. */
.flow { width: 100%; max-width: var(--w-text); margin-inline: auto; }
.flow-cap { max-width: var(--w-text); margin: var(--sp-5) auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.flow-cap p { margin-top: var(--sp-2); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }

/* Capture d'écran : cadre fin ; un écran de téléphone garde sa largeur. */
.shot { width: 100%; border: var(--bw) solid var(--line); border-radius: var(--r-2); }
.shot--phone { max-width: var(--w-phone); margin-inline: auto; }

/* Note sous un bloc ; bloc étroit centré (une liste cochée, par exemple). */
.note { max-width: var(--w-text); margin: var(--sp-6) auto 0; text-align: center; color: var(--fg-2); }
.note + .note { margin-top: var(--sp-3); }
.narrow { max-width: var(--w-text); margin-inline: auto; }

/* ============================================================
   6 · LECTURE : articles du blog et pages de texte (mentions, conditions, aide)
   Une colonne de 720 px ; le texte long a son rythme, ses listes et ses encadrés.
   ============================================================ */
.reading { max-width: var(--w-text); margin-inline: auto; padding: var(--sp-5) var(--sp-6) var(--sp-8); }
.reading > .crumb { padding-top: 0; }
.reading > * + * { margin-top: var(--sp-6); }
.reading-head { padding-bottom: var(--sp-6); border-bottom: var(--bw) solid var(--line); }
.reading-head h1 { font-size: var(--fs-2); line-height: var(--lh-2); }
.reading-meta { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-4); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }
.reading-meta .author { color: var(--fg); font-weight: var(--fw-bold); }
.reading-meta .sep { width: var(--sp-1); height: var(--sp-1); border-radius: var(--r-pill); background: var(--fg-2); }
.reading-meta .read { display: inline-flex; align-items: center; gap: var(--sp-1); }
.reading-meta svg { width: var(--sp-4); height: var(--sp-4); }
.reading-visual { margin-top: var(--sp-6); }
.reading-body { margin-top: var(--sp-6); }
.reading-body > * + *, .reading-body section > * + * { margin-top: var(--sp-4); }
.reading-body > h2, .reading-body section > h2, .reading-body > section { margin-top: var(--sp-7); }
.reading-body h2 { font-size: var(--fs-3); line-height: var(--lh-3); }
.reading-body h3 { font-size: var(--fs-4); line-height: var(--lh-4); }
.reading-body ul, .reading-body ol { padding-left: var(--sp-5); }
.reading-body ul { list-style: disc; }
.reading-body ol { list-style: decimal; }
.reading-body li + li { margin-top: var(--sp-2); }
.reading-body em { font-style: italic; font-weight: var(--fw-regular); }
.reading-body .card { padding: var(--sp-5); }
/* Encadré : un point clé, barre encre à gauche. */
.callout { padding: var(--sp-4) var(--sp-5); border: var(--bw) solid var(--line); border-left: var(--sp-1) solid var(--fg); border-radius: var(--r-1); }
/* Liste numérotée en cartes (étapes d'une démarche). */
.numbered { display: grid; gap: var(--sp-3); counter-reset: num; }
.reading-body .numbered { padding-left: 0; list-style: none; }
.numbered li { counter-increment: num; position: relative; padding: var(--sp-4) var(--sp-4) var(--sp-4) var(--sp-8); border: var(--bw) solid var(--line); border-radius: var(--r-2); }
.reading-body .numbered li + li { margin-top: 0; }
/* Pastille d'étape : un numéro (ou un signe) dans un rond encre ; .numbered en pose une par carte. */
.step-num, .numbered li::before { flex: none; display: grid; place-items: center; width: var(--sp-6); height: var(--sp-6); border-radius: var(--r-pill); background: var(--fg); color: var(--bg); font-weight: var(--fw-bold); font-size: var(--fs-7); line-height: var(--lh-7); }
.numbered li::before { content: counter(num); position: absolute; left: var(--sp-4); top: var(--sp-4); }
/* Légende de figure dans un texte long. */
.reading-body figcaption { margin-top: var(--sp-3); font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }
/* Deux panneaux côte à côte (l'un .card, l'autre .on-dark), chacun ouvert par une .tag. */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.panel { display: flex; flex-direction: column; padding: var(--sp-5); }
.panel .tag { align-self: flex-start; }
.numbered strong { display: block; }
/* Note de fin : sources, à propos de l'article. */
.reading-note { font-size: var(--fs-7); line-height: var(--lh-7); color: var(--fg-2); }
/* Appel de fin d'article : bloc encre (.on-dark). */
.reading-cta { padding: var(--sp-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.reading-cta .cta-text { margin-right: auto; font-weight: var(--fw-bold); font-size: var(--fs-5); line-height: var(--lh-5); }
.reading-cta .cta-note { width: 100%; font-size: var(--fs-7); line-height: var(--lh-7); }

/* ============================================================
   7 · PALIERS (1024 px, 720 px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav { gap: var(--sp-4); }
  .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .hero-grid, .split, .split--reverse { grid-template-columns: 1fr; }
  .hero-visual { max-width: var(--w-text); }
  /* Une colonne de lecture garde ses 720 px : ses cartes ne passent pas à deux colonnes. */
  .cards:not(:where(.reading *)) { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .wrap, .top-inner { padding-inline: var(--sp-4); }
  .nav { display: none; }
  .top-inner { justify-content: space-between; }
  .section { padding-block: var(--sp-7); }
  .section-head { margin-bottom: var(--sp-6); }
  .foot { padding-block: var(--sp-8) var(--sp-5); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; }
  .hero { padding-block: var(--sp-6) var(--sp-8); }
  .hero-ctas .btn { width: 100%; }
  .hero-trust { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); }
  .split .constat-illu { order: 2; width: 75%; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; }
  .step { text-align: left; display: grid; grid-template-columns: auto 1fr; gap: 0 var(--sp-4); }
  .step-circle { margin: 0; grid-row: span 2; }
  .factel-partner { grid-template-columns: 1fr; }
  .cta { padding: var(--sp-8) var(--sp-5); }
  .cta-ctas .btn { width: 100%; }
  .cards, .cards--2, .cards--4, .flow-cap, .panels { grid-template-columns: 1fr; }
  .reading { padding-inline: var(--sp-4); }
  .reading-cta { padding: var(--sp-5); }
  .reading-cta .cta-text { margin-right: 0; }
}
