/* ==========================================================================
   site.css — la feuille commune de www.fender-patrimoine.fr (chantier « cohérence du design », novembre 2026).
   Elle se charge APRÈS tokens.css, sur les pages reprises avec le système (liste MIGREES de verif.py).

   RÈGLE : tout texte du site appartient à UN type ci-dessous, et à un seul.
   Un type fixe la police, la taille, la graisse, l'interligne et l'espacement des lettres.
   Une taille de texte ne s'écrit nulle part ailleurs que dans ce fichier.

   Le type règle l'ALLURE, la balise règle le SENS : <h2 class="t-bloc"> reste un H2 pour
   Google et les lecteurs d'écran, tout en ayant l'allure d'un titre de bloc.

   Une page reprise n'a AUCUN style écrit dans la page (ni attribut style, ni règle dans <style>, hormis les
   polices) : verif.py le refuse. La planche de référence est dans _maquette/planche.html (hors dépôt).
   ========================================================================== */

/* ---------- Police : le vrai italique de Source Serif 4 ----------
   Fichiers hébergés dans /fonts/ (licence OFL, téléchargés le 10/11/2026). Sans eux, le navigateur penche la serif
   droite : c'est le « faux italique » des citations, des sous-titres et du mot « Patrimoine » du logo.
   Déclarés ici, une fois, et non dans chaque page. Les polices droites sont encore déclarées dans les pages. */
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/fonts/source-serif-4-italic-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Source Serif 4'; font-style: italic; font-weight: 400 600; font-display: swap; src: url(/fonts/source-serif-4-italic-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Palette gris neutre (décision du 10/11/2026 : « moins de jaune ») ----------
   Ces valeurs remplacent celles de tokens.css SUR LES PAGES REPRISES seulement : les pages pas encore reprises
   ne chargent pas ce fichier et gardent l'ancienne palette. En fin de chantier, ce bloc sera versé dans
   tokens.css et les couleurs renommées (« crème », « sable », « beige » désignent ici des gris). */
:root {
  --encre: #1a1a1a;
  --encre-2: #45464a;
  --encre-3: #636567;
  --encre-lecture: #272727;
  --encre-survol: #2c2c2c;
  --taupe: #828587;
  --taupe-clair: #b4b6b8;
  --creme: #fcfcfc;
  --ivoire: #f5f5f4;
  --creme-2: #f5f5f3;
  --sable: #eeeeec;
  --sable-fonce: #e4e4e1;
  --beige: #e2e2df;
  --beige-fonce: #c8c8c4;
}

/* ---------- Échelles (à verser dans tokens.css en fin de chantier) ----------
   Mesure du 10/11/2026 sur 13 pages : 43 espacements fixes + 38 fluides, 19 rayons, 35 largeurs maximales,
   10 points de rupture, 20 ombres, 4 durées. Toute valeur existante ira au cran le plus proche. */
:root {
  /* Espacements : marges intérieures, marges extérieures, écarts de grille */
  --espace-2: 2px;
  --espace-4: 4px;
  --espace-8: 8px;
  --espace-12: 12px;
  --espace-16: 16px;
  --espace-20: 20px;
  --espace-24: 24px;
  --espace-32: 32px;
  --espace-40: 40px;
  --espace-48: 48px;
  --espace-64: 64px;
  --espace-96: 96px;
  /* Espacements de structure : ils suivent la largeur de l'écran */
  --marge-page: clamp(24px, 5vw, 72px);        /* bord gauche et droit de toute page */
  --espace-section: clamp(64px, 8vw, 96px);    /* haut et bas de chaque section */
  --espace-colonnes: clamp(32px, 4vw, 56px);   /* entre deux colonnes d'une section */

  /* Rayons */
  --rayon-petit: 4px;      /* étiquettes, traits, petits repères */
  --rayon: 10px;           /* champs de formulaire, encadrés */
  --rayon-grand: 20px;     /* cartes, photos, panneaux, bandeaux */
  --rayon-pilule: 999px;   /* boutons, pastilles */
  --rayon-rond: 50%;       /* portraits, puces */

  /* Largeurs de contenu */
  --largeur-contenu: 1180px;   /* menu, sections, pied de page : un seul bord gauche */
  --largeur-texte: 760px;      /* titres et paragraphes à lire */
  --largeur-etroite: 560px;    /* introductions, formulaires */

  /* Ombres */
  --ombre-bouton: 0 2px 8px rgba(20, 20, 20, 0.20);
  --ombre-carte: 0 10px 30px rgba(20, 20, 20, 0.08);
  --ombre-flottante: 0 18px 44px rgba(20, 20, 20, 0.22);

  /* Couleur à ajouter à tokens.css : le haut du dégradé des fonds nuit (aujourd'hui écrit en dur) */
  --nuit-fonce: #101820;
  /* L'éclairage « Nuit travaillée », en un seul endroit : halo bleu en haut à droite, lueur dorée en bas,
     dégradé nuit. Le bandeau de page et l'appel à la consultation le partagent. */
  --fond-nuit:
    radial-gradient(circle at 90% -25%, rgba(110, 140, 175, 0.50), rgba(110, 140, 175, 0) 55%),
    radial-gradient(ellipse 60% 55% at 50% 110%, rgba(224, 168, 58, 0.20), rgba(224, 168, 58, 0) 70%),
    linear-gradient(180deg, var(--nuit-fonce) 0%, var(--nuit-2) 100%);

  /* Commandes : tout ce qui se touche du doigt fait au moins 44 px ; bouton principal et champs font 48 px */
  --cible: 44px;
  --hauteur-commande: 48px;
  /* Repère de clavier : même trait, même écart partout */
  --contour-ecart: 2px;

  /* Durées d'animation */
  --duree-survol: 0.2s;
  --duree-apparition: 0.35s;

  /* Points de rupture : 760 px (les colonnes s'empilent) et 1000 px (mise en page resserrée).
     Une variable CSS ne fonctionne pas dans @media : ces deux nombres s'écrivent en clair,
     et le script de garde-fous refusera tout autre nombre.
     Une seule exception, dans les articles : 1280 px, la largeur à partir de laquelle l'appel passe dans la marge. */
}

/* ---------- Socle ----------
   Toutes les largeurs de ce fichier comptent la marge intérieure et le filet (border-box). La feuille le déclare
   elle-même : un composant ne doit pas dépendre d'une règle écrite dans la page qui l'accueille.
   (Défaut trouvé le 10/11/2026 en posant l'appel dans un article : il débordait de 96 px.) */
*, *::before, *::after { box-sizing: border-box; }
/* Un élément masqué (attribut hidden) le reste, quel que soit le composant : sans cette règle, « display: grid »
   d'un encadré l'emportait et le message « aucun résultat » du blog s'affichait en permanence (trouvé le 10/11/2026). */
[hidden] { display: none !important; }
/* La page : fond blanc cassé, texte noir, police sans serif. Un lien prend la couleur de son texte ;
   ce sont les composants qui lui donnent son allure (bouton, carte, menu, lien d'article). */
body { margin: 0; background: var(--creme); color: var(--encre); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
/* Le pied de page reste en bas de l'écran, même quand la page est courte (page 404) : le contenu prend la hauteur libre. */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main, body > .article-page { flex: 1 0 auto; }
/* le blog (sommaire et articles) se lit sur fond gris clair */
body.page-grise { background: var(--ivoire); }
a { color: inherit; }
/* numéros et adresses que le téléphone transforme en liens : ils gardent la couleur du texte */
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; }

/* ---------- Couleurs selon le fond ----------
   Ni un type ni un composant ne fixe une couleur en dur : ils lisent un RÔLE. Le rôle change avec le fond.
   Conséquence : aucun composant n'a de règle « .sur-nuit .composant ». Poser un composant sur un fond nuit
   suffit, et un fond clair posé dans une zone nuit (le menu) retrouve ses couleurs claires. */
/* Fond clair : la valeur par défaut. `.sur-clair` la rétablit à l'intérieur d'une zone nuit
   (le menu, posé sur le bandeau nuit, se la donne tout seul). */
:root, .sur-clair, .menu {
  --c-titre: var(--encre);
  --c-texte: var(--encre-2);
  --c-discret: var(--encre-3);
  --c-lecture: var(--encre-lecture);
  --c-surtitre: var(--ardoise);
  --c-accent: var(--or-fonce);
  --c-or: var(--or);
  --c-note: var(--ardoise);
  --c-filet: var(--beige);
  --c-surface: var(--creme);
  --c-tete: var(--nuit);
  --c-tete-texte: var(--creme-2);
  --c-tete-discret: var(--perle);
  --c-donnee: var(--ardoise);
  --c-champ: var(--blanc);
  --c-champ-filet: var(--brume-4);
  --c-point: var(--perle);
  --c-bouton: var(--encre);
  --c-bouton-texte: var(--creme-2);
  --c-bouton-survol: var(--encre-survol);
  --c-contour: var(--ardoise);
  --c-pastille: rgba(70, 98, 127, 0.10);
  --c-pastille-filet: rgba(70, 98, 127, 0.28);
  --c-pastille-texte: var(--ardoise);
}
.sur-nuit {
  --c-titre: var(--creme-2);
  --c-texte: var(--perle);
  --c-discret: var(--ardoise-clair);
  --c-lecture: var(--perle);
  --c-surtitre: var(--or-clair);
  --c-accent: var(--or-clair);
  --c-or: var(--or-clair);
  --c-note: var(--ardoise-clair);
  --c-filet: rgba(207, 213, 220, 0.22);
  --c-surface: rgba(255, 255, 255, 0.05);
  --c-tete: rgba(255, 255, 255, 0.10);
  --c-tete-texte: var(--creme-2);
  --c-tete-discret: var(--perle);
  --c-donnee: var(--ardoise-clair);
  --c-champ: rgba(255, 255, 255, 0.06);
  --c-champ-filet: rgba(207, 213, 220, 0.30);
  --c-point: rgba(207, 213, 220, 0.30);
  --c-bouton: var(--creme-2);
  --c-bouton-texte: var(--encre);
  --c-bouton-survol: var(--blanc);
  --c-contour: var(--or-clair);
  --c-pastille: rgba(255, 255, 255, 0.08);
  --c-pastille-filet: rgba(207, 213, 220, 0.30);
  --c-pastille-texte: var(--perle);
}

/* ---------- Les 20 types de texte, en variables ----------
   Chaque type existe deux fois : une variable (--t-nom) et une classe (.t-nom).
   Dans une page on écrit la classe. Dans un composant on lit la variable : aucune taille
   de texte ne se réécrit jamais ailleurs que dans ce bloc.

   RÈGLE DES DEUX POLICES (décision du 10/11/2026) : la serif sert aux grands titres et au chiffre clé ;
   la serif italique, quand quelqu'un parle (citation de client, sous-titre de page). Tout le reste est en sans serif.
   L'italique exige un vrai fichier Source Serif 4 Italic dans fonts/ : sans lui, le navigateur penche la serif droite. */
:root {
  --t-accueil: 500 clamp(33px, 3.8vw, 54px)/1.06 var(--font-serif);
  --t-page: 500 clamp(38px, 4.5vw, 62px)/1.07 var(--font-serif);
  --t-section: 500 clamp(30px, 3.5vw, 44px)/1.15 var(--font-serif);
  --t-bloc: 500 clamp(24px, 2.6vw, 32px)/1.15 var(--font-serif);
  --t-sous-titre: italic 400 clamp(21px, 2vw, 27px)/1.35 var(--font-serif);
  --t-citation: italic 400 22px/1.45 var(--font-serif);
  --t-chiffre: 400 32px/1.1 var(--font-serif);
  --t-carte: 600 20px/1.3 var(--font-sans);
  --t-intro: 400 17px/1.65 var(--font-sans);
  --t-texte: 400 16px/1.7 var(--font-sans);
  --t-compact: 400 15px/1.6 var(--font-sans);
  --t-petit: 400 14px/1.6 var(--font-sans);
  --t-mention: 400 13px/1.6 var(--font-sans);
  --t-surtitre: 600 13px/1.3 var(--font-sans);
  --t-etiquette: 600 12px/1.3 var(--font-sans);
  --t-libelle: 600 14px/1.4 var(--font-sans);
  --t-menu: 500 15px/1.2 var(--font-sans);
  --t-bouton: 500 16px/1.25 var(--font-sans);
  /* lecture longue (articles) : le texte de l'article et son chapô */
  --t-lecture: 400 18px/1.75 var(--font-sans);
  --t-chapo: 400 20px/1.6 var(--font-sans);
}

/* ---------- Grands titres, citation, chiffre clé (Source Serif 4) ---------- */
.t-accueil    { font: var(--t-accueil); color: var(--c-titre); text-wrap: balance; }
.t-page       { font: var(--t-page); color: var(--c-titre); text-wrap: balance; }
.t-section    { font: var(--t-section); color: var(--c-titre); text-wrap: balance; }
.t-bloc       { font: var(--t-bloc); color: var(--c-titre); text-wrap: balance; }
.t-sous-titre { font: var(--t-sous-titre); color: var(--c-accent); text-wrap: balance; }
.t-citation   { font: var(--t-citation); color: var(--c-titre); text-wrap: pretty; }
.t-chiffre    { font: var(--t-chiffre); color: var(--c-titre); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Titre de carte (Instrument Sans) ---------- */
.t-carte      { font: var(--t-carte); color: var(--c-titre); text-wrap: balance; }

/* ---------- Textes (Instrument Sans) ---------- */
.t-intro      { font: var(--t-intro); color: var(--c-texte); text-wrap: pretty; }
.t-texte      { font: var(--t-texte); color: var(--c-texte); text-wrap: pretty; }
.t-compact    { font: var(--t-compact); color: var(--c-texte); text-wrap: pretty; }
.t-petit      { font: var(--t-petit); color: var(--c-texte); }
.t-mention    { font: var(--t-mention); color: var(--c-discret); }
.t-lecture    { font: var(--t-lecture); color: var(--c-lecture); text-wrap: pretty; }
.t-chapo      { font: var(--t-chapo); color: var(--c-texte); text-wrap: pretty; }

/* ---------- Repères et interface (Instrument Sans) ---------- */
.t-surtitre   { font: var(--t-surtitre); letter-spacing: 0.16em; text-transform: uppercase; color: var(--c-surtitre); }
.t-etiquette  { font: var(--t-etiquette); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-discret); }
.t-libelle    { font: var(--t-libelle); color: var(--c-titre); }
.t-menu       { font: var(--t-menu); }
.t-bouton     { font: var(--t-bouton); }

/* À l'intérieur d'un texte, <strong> passe en graisse 600 : c'est la SEULE variation permise dans un type.
   Elle marque l'essentiel (un montant dans un tableau, la note dans « 4,9 sur 5 »). Jamais d'italique ni de couleur à la main. */
strong { font-weight: 600; }

/* Un lien écrit dans un texte se reconnaît à son soulignement doré, partout sur le site. */
:is(.t-intro, .t-texte, .t-compact, .t-petit, .t-libelle) a:not(.bouton, .carte) { color: var(--c-titre); text-decoration: underline var(--c-or); text-underline-offset: 3px; }
:is(.t-intro, .t-texte, .t-compact, .t-petit, .t-libelle) a:not(.bouton, .carte):hover { color: var(--c-accent); }

/* Aucune marge par défaut : l'écart entre deux textes appartient au bloc qui les contient
   (échelle des espacements, étape suivante), jamais au texte lui-même. */
[class^="t-"], [class*=" t-"] { margin: 0; }


/* ==========================================================================
   COMPOSANTS — mesure du 10/11/2026 sur 12 pages : 10 variantes du bouton principal,
   20 variantes de carte, 8 écarts différents autour des titres de section.
   Un composant ne fixe jamais une taille de texte : il s'appuie sur les types ci-dessus.
   ========================================================================== */

/* ---------- Mise en page : conteneur et section ----------
   Le conteneur donne à toute la page le même bord gauche et le même bord droit.
   La section donne le même souffle au-dessus et au-dessous de chaque partie. */
.conteneur { width: 100%; max-width: calc(var(--largeur-contenu) + 2 * var(--marge-page)); margin-inline: auto; padding-inline: var(--marge-page); }
/* Colonne de lecture : une page faite de texte (mentions légales) se lit sur 760 px, centrée sous le titre du bandeau. */
.conteneur--texte { max-width: calc(var(--largeur-texte) + 2 * var(--marge-page)); }
.section { padding-block: var(--espace-section); }
/* Pile : des blocs l'un sous l'autre, séparés par le même écart. C'est elle qui porte l'écart, jamais les blocs. */
.pile { display: grid; gap: var(--espace-48); }
.pile > * { min-width: 0; }
.pile--serree { gap: var(--espace-24); }
.pile--centre { justify-items: center; }
/* Ligne : quelques éléments courts côte à côte, qui passent à la ligne s'il le faut (coordonnées, liens). */
.ligne { display: flex; flex-wrap: wrap; gap: 0 var(--espace-24); margin: 0; padding: 0; list-style: none; }
/* Chaque élément fait 32 px de haut : un lien isolé reste facile à toucher du doigt. */
.ligne > li, .ligne > li > a { display: inline-flex; align-items: center; min-height: var(--espace-32); }
/* Fonds de section : TROIS, pas un de plus. Le changement de fond suffit à séparer deux sections : jamais de filet.
   - fond de page (blanc cassé) : la règle ;
   - gris clair (.section--grise) : pour détacher une partie de la précédente, jamais deux de suite ;
   - nuit (.section.sur-nuit) : un temps fort, une fois par page au plus, en dehors du bandeau, de l'appel et du pied. */
/* Duo : une section en deux colonnes. À gauche le repère (le titre de la section, ou un portrait), 360 px ;
   à droite le contenu, à la largeur d'un texte. Toutes les sections d'une page gardent ainsi le même axe.
   Sous 1 000 px, les deux colonnes passent l'une sous l'autre. */
.duo { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, var(--largeur-texte)); justify-content: space-between; gap: var(--espace-32) var(--espace-colonnes); align-items: start; }
.duo > * { min-width: 0; }
@media (max-width: 1000px) { .duo { grid-template-columns: minmax(0, 1fr); } }
.section--grise { background: var(--ivoire); }
.section--filet { border-top: 1px solid var(--c-filet); }   /* deux sections de même fond qui se suivent : un filet les sépare */
/* un titre visé par un lien de la page (#…) s'arrête sous le haut de l'écran, pas collé au bord */
.t-bloc[id] { scroll-margin-top: var(--espace-96); }
.section.sur-nuit { background: var(--nuit); }

/* ---------- Bouton ----------
   UN bouton principal. Sombre sur fond clair, crème sur fond nuit. 48 px de haut :
   au-dessus des 44 px recommandés pour le doigt. */
.bouton {
  font: var(--t-bouton);
  display: inline-flex; align-items: center; justify-content: center; gap: var(--espace-8);
  min-height: var(--hauteur-commande); padding: var(--espace-12) var(--espace-32); border: 0; border-radius: var(--rayon-pilule);
  background: var(--c-bouton); color: var(--c-bouton-texte); text-align: center; text-wrap: balance; text-decoration: none; cursor: pointer;
  transition: background-color var(--duree-survol), transform var(--duree-survol);
}
.bouton:hover { background: var(--c-bouton-survol); }
.bouton:active { transform: translateY(1px); }
.bouton:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
/* sur téléphone, le libellé le plus long (« Réserver ma consultation offerte → ») doit tenir sur une ligne à 360 px */
@media (max-width: 760px) { .bouton { padding-inline: var(--espace-24); } }
/* là où la place manque (menu, appel de marge des articles) : le même bouton, un cran plus petit */
.bouton--compact { min-height: var(--cible); padding: var(--espace-8) var(--espace-24); font: var(--t-menu); }
/* dans un formulaire : le bouton prend toute la largeur de sa colonne */
.bouton--large { width: 100%; }

/* ---------- Action : le bouton et sa preuve ----------
   Partout où le bouton de consultation apparaît en grand (haut de l'accueil, appel de fin de page),
   la note Google l'accompagne, en simple texte : ni lien ni survol, pour ne pas concurrencer le bouton.
   Le nombre d'avis est contrôlé par verif.py : il doit être le même sur toutes les pages. */
.action { display: grid; gap: var(--espace-12); justify-items: center; width: fit-content; }
.avis { margin: 0; font: var(--t-petit); color: var(--c-texte); }
.avis strong { font: var(--t-libelle); color: var(--c-titre); }
.avis-etoiles { margin-right: var(--espace-4); letter-spacing: 2px; color: var(--c-or); }

/* ---------- En-tête de section ----------
   Surtitre, titre, introduction : toujours dans cet ordre, toujours le même écart. */
.entete { display: grid; gap: var(--espace-16); max-width: var(--largeur-texte); }
.entete--centre { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Carte ---------- */
.carte {
  display: grid; gap: var(--espace-12); align-content: start; padding: var(--espace-32);
  background: var(--c-surface); border: 1px solid var(--c-filet); border-radius: var(--rayon-grand);
}
.carte--dense { padding: var(--espace-24); }
.carte--ample { padding: var(--espace-48); }
.carte--ivoire { background: var(--ivoire); }
.carte.sur-nuit { background: var(--nuit); border-color: transparent; }
/* une carte entière cliquable : petit intitulé (.t-etiquette), titre (texte nu), description (.t-compact) */
a.carte { gap: var(--espace-4); font: var(--t-carte); color: var(--c-titre); text-decoration: none; transition: border-color var(--duree-survol); }
a.carte:hover { border-color: var(--c-donnee); }
a.carte:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
a.carte > .t-etiquette { display: block; }
a.carte > :is(h2, h3) { margin: 0; font: inherit; text-wrap: balance; }
a.carte > .pastille { justify-self: start; }
/* pied d'une carte : calé en bas, quelle que soit la hauteur du texte (date, temps de lecture) */
.carte-pied { display: flex; justify-content: space-between; gap: var(--espace-12); margin-top: auto; padding-top: var(--espace-12); border-top: 1px solid var(--c-filet); font: var(--t-mention); color: var(--c-discret); }
/* grille de cartes : autant de colonnes que la largeur le permet, toutes les cartes d'un rang à la même hauteur */
.grille-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: var(--espace-16); margin: 0; padding: 0; list-style: none; }
.grille-cartes > [hidden] { display: none; }
/* trois cartes sur un même rang (grand écran), l'une sous l'autre en dessous de 1 000 px : jamais deux puis une */
.grille-cartes--trois { grid-template-columns: minmax(0, 1fr); }
/* six demi-colonnes : chaque carte en prend deux, et un dernier rang incomplet (deux cartes, ou une seule) se centre, à la même taille */
@media (min-width: 1001px) {
  .grille-cartes--trois { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .grille-cartes--trois > li { grid-column: span 2; }
  .grille-cartes--trois > li:nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
  .grille-cartes--trois > li:nth-child(3n+1):last-child { grid-column: 3 / span 2; }
}

/* ---------- Pictogramme ----------
   Un petit dessin au trait dans un carré gris clair, en tête d'une carte. C'est la miniature du dessin (.apercu)
   que l'on retrouve plus bas : même motif, même trait bleu-gris, même accent or sur un seul élément. */
.pictogramme { display: grid; place-items: center; flex: none; width: var(--espace-48); height: var(--espace-48); border-radius: var(--rayon); background: var(--ivoire); color: var(--c-donnee); }
.pictogramme > svg { width: var(--espace-24); height: var(--espace-24); }
.pictogramme--or { color: var(--or-fonce); }   /* un pictogramme entièrement en or : une nuance, jamais une surface */
.pictogramme .accent { stroke: var(--c-or); }
.pictogramme .plein { fill: currentColor; }
.pictogramme .accent-plein { fill: var(--c-or); stroke: none; }
.carte > .pictogramme { margin-bottom: var(--espace-8); }

/* ---------- Panneau ----------
   Une surface gris clair aux coins arrondis, qui détache un passage (les questions d'un bloc d'objectif).
   Elle ne regroupe plus de cartes (12/11/2026) : des cartes se posent sur une .section--grise, d'un bord à l'autre.
   Jamais de panneau de couleur, jamais sur une section grise. */
.panneau { padding: clamp(var(--espace-20), 3vw, var(--espace-40)); border-radius: var(--rayon-grand); background: var(--ivoire); }
.panneau--texte { padding: var(--espace-24) var(--espace-32); }
@media (max-width: 760px) { .panneau--texte { padding: var(--espace-20); } }
.grille-cartes > li > .carte { display: flex; flex-direction: column; height: 100%; gap: var(--espace-8); }
.grille-cartes > li > .carte > .pastille { align-self: flex-start; }
/* une carte à pictogramme réserve deux lignes à son titre : même hauteur d'une carte à l'autre et d'une page à l'autre */
.carte > .pictogramme + span { min-height: 2lh; }
.grille-cartes > li > .carte > :is(.t-libelle, .carte-pied):last-child { margin-top: auto; }   /* la dernière ligne (lien, date) reste calée en bas */
.grille-cartes > li > .carte > .t-libelle:last-child { padding-top: var(--espace-8); }

/* ---------- Aperçu : un dessin en tête de carte ----------
   Un croquis de ce que la page montre (une courbe, un barème), tracé dans la couleur des données.
   C'est un dessin, pas une capture d'écran : rien à refaire quand le simulateur évolue.
   Carte horizontale (.carte--large) : l'aperçu à gauche, le texte (.carte-texte) à droite. */
.apercu { display: block; margin: 0 0 var(--espace-8); padding: var(--espace-16); background: var(--ivoire); border-radius: var(--rayon); }
.apercu > svg { display: block; width: 100%; height: auto; }
/* le même dessin, seul sous un titre (hors d'une carte) */
.apercu--bloc { margin: 0; padding: var(--espace-20); border-radius: var(--rayon-grand); }
@media (max-width: 1000px) { .apercu--bloc { max-width: 360px; } }
.apercu-trait { fill: none; stroke: var(--c-donnee); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.apercu-suite { stroke-dasharray: 1 7; }
.apercu-aplat { fill: var(--c-donnee); opacity: 0.12; }
.apercu-repere { fill: none; stroke: var(--beige-fonce); stroke-width: 1; }
.apercu-points { fill: none; stroke: var(--beige-fonce); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 23.33; }
.apercu-barre { fill: none; stroke: var(--c-donnee); stroke-width: 7; stroke-linecap: round; }
.apercu-plein { fill: var(--c-donnee); }
/* l'accent : UN élément du dessin en or, celui que l'on veut faire remarquer. Jamais un fond. */
.apercu-accent { fill: none; stroke: var(--c-or); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.apercu-accent-plein { fill: var(--c-or); }
a.carte.carte--large { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: var(--espace-32); align-items: center; }
.carte--large > .apercu { margin: 0; }
.carte-texte { display: grid; gap: var(--espace-8); justify-items: start; }
.carte-texte > :is(h2, h3) { margin: 0; font: inherit; text-wrap: balance; }
@media (max-width: 760px) { a.carte.carte--large { grid-template-columns: minmax(0, 1fr); gap: var(--espace-16); } }

/* ---------- Carte en une ligne : un titre, son lien ---------- */
a.carte.carte--ligne { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--espace-8) var(--espace-24); }
@media (max-width: 760px) {
  .carte { padding: var(--espace-24); }
  .carte--ample { padding: var(--espace-32); }
}

/* ---------- Pastille ----------
   Un mot ou deux qui qualifient : un statut, une thématique, un levier. Jamais cliquable
   (les bulles de filtre du blog sont des boutons, elles restent dans blog.html).
   Mesure du 10/11/2026 : 3 dessins, bleu-gris avec ou sans capitales, vert sans filet. */
.pastille {
  font: var(--t-mention);
  display: inline-flex; align-items: center; gap: var(--espace-8);
  padding: var(--espace-4) var(--espace-12); border: 1px solid var(--c-pastille-filet); border-radius: var(--rayon-pilule);
  background: var(--c-pastille); color: var(--c-pastille-texte); white-space: nowrap;
}

/* ---------- Encadré ----------
   Une remarque mise à part dans le fil de la lecture. Sa signature : le filet à gauche,
   comme les blocs « L'essentiel » et « À vérifier » des articles du blog.
   Filet or : à retenir. Filet bleu-gris (--note) : précaution, limite, mise en garde. */
.encadre {
  display: grid; gap: var(--espace-8); padding: var(--espace-24);
  background: var(--c-surface); border: 1px solid var(--c-filet); border-left: 4px solid var(--c-or); border-radius: var(--rayon);
}
.encadre--note { border-left-color: var(--c-note); }
/* un encadré a son texte par défaut (introduction, 17 px) ; un enfant qui porte un type garde le sien */
.encadre { font: var(--t-intro); color: var(--c-texte); }
.encadre > p, .encadre > ul, .encadre > ol { margin: 0; }
.encadre > ul, .encadre > ol { display: grid; gap: var(--espace-8); padding-left: var(--espace-20); }
.encadre > .t-etiquette { display: block; color: var(--c-accent); }
.encadre--note > .t-etiquette { color: var(--c-note); }
@media (max-width: 760px) { .encadre { padding: var(--espace-20); } }

/* ---------- Liste numérotée ----------
   Une vraie liste <ol> : le numéro (01, 02…) est écrit par la feuille de style, jamais à la main.
   Ajouter ou retirer une ligne renumérote tout. Mesure du 10/11/2026 : numéros de 15, 17, 18 et 22 px,
   quatre mises en page de rang. Largeur limitée à celle d'un texte : au-delà, les lignes se lisent mal. */
.liste-num { list-style: none; margin: 0; padding: 0; counter-reset: rang; max-width: var(--largeur-texte); }
.liste-num > li {
  counter-increment: rang;
  display: grid; grid-template-columns: var(--espace-40) minmax(0, 1fr); gap: var(--espace-8) var(--espace-16); align-items: baseline;
  padding: var(--espace-24) 0; border-top: 1px solid var(--c-filet);
}
.liste-num > li::before {
  content: counter(rang, decimal-leading-zero);
  font: var(--t-libelle); font-variant-numeric: lining-nums tabular-nums; color: var(--ardoise);
}
.liste-num > li > * { grid-column: 2; }
.liste-num--dense > li { padding: var(--espace-12) 0; }

/* ---------- Frise ----------
   Une suite d'étapes dans le temps : un trait vertical à gauche, un point par étape, le repère (une période,
   un mot) au-dessus du titre. Une icône facultative devant le titre dit la nature de l'étape.
   Avec le script (modèle « frise »), le trait se remplit au défilement et les points s'allument.
   Sans script : la frise simple, complète et lisible. Jamais d'alternance gauche / droite. */
.frise {
  --frise-rail: var(--espace-40); --frise-point: 9px; --frise-haut: 5.5px;   /* 5,5 px : le point se centre sur la ligne du repère */
  position: relative; list-style: none; margin: 0; padding: 0; max-width: var(--largeur-texte);
}
.frise > li { position: relative; display: grid; gap: var(--espace-8); padding: 0 0 var(--espace-40) var(--frise-rail); }
.frise > li:last-child { padding-bottom: 0; }
.frise > li > .t-libelle { color: var(--c-surtitre); }
.frise > li > :is(h2, h3) { display: flex; align-items: flex-start; gap: var(--espace-8); }
/* un titre peut porter un lien (le nom d'un établissement) : même soulignement or que dans un texte */
.frise > li > :is(h2, h3) a { color: inherit; text-decoration: underline 1px var(--c-or); text-underline-offset: 3px; }   /* 1 px : le trait ne grossit pas avec le titre */
.frise > li > :is(h2, h3) a:hover { color: var(--c-accent); }
.frise-icone { flex: none; width: var(--espace-20); height: var(--espace-20); margin-top: 3px; color: var(--c-surtitre); }
/* le point */
.frise > li::before {
  content: ""; position: absolute; z-index: 1; left: 0; top: var(--frise-haut);
  width: var(--frise-point); height: var(--frise-point); border-radius: var(--rayon-rond); background: var(--c-surtitre);
  transition: background var(--duree-apparition), transform var(--duree-apparition), box-shadow var(--duree-apparition);
}
/* le trait, d'un point au suivant */
.frise > li::after {
  content: ""; position: absolute; left: calc(var(--frise-point) / 2 - 1px); width: 2px; background: var(--c-filet);
  top: calc(var(--frise-haut) + var(--frise-point) / 2); bottom: calc(-1 * (var(--frise-haut) + var(--frise-point) / 2));
}
.frise > li:last-child::after { content: none; }
/* avec le script : la partie lue du trait, les points qui s'allument */
.frise::after {
  content: ""; position: absolute; left: calc(var(--frise-point) / 2 - 1px); top: calc(var(--frise-haut) + var(--frise-point) / 2);
  width: 2px; height: var(--frise-tete, 0px); border-radius: var(--espace-2); background: var(--ardoise); pointer-events: none;
}
.frise[data-active] > li::before { background: var(--c-point); }
.frise[data-active] > li.est-atteinte::before { background: var(--ardoise); }
.frise[data-active] > li.est-en-cours::before { transform: scale(1.35); box-shadow: 0 0 0 5px var(--c-pastille); }
/* variante : le point porte le numéro de l'étape (1, 2, 3…), à la place d'un repère « Étape 1 » au-dessus du titre */
.frise.frise--numeros { --frise-rail: var(--espace-48); --frise-point: 28px; --frise-haut: -1px; counter-reset: frise; }   /* .frise.frise : garde sa marge sur téléphone, où la frise simple se resserre */
.frise--numeros > li { counter-increment: frise; }
.frise--numeros > li::before { content: counter(frise); display: grid; place-items: center; font: var(--t-libelle); line-height: 1; font-variant-numeric: lining-nums; color: var(--blanc); }
.frise--numeros[data-active] > li::before { color: var(--c-discret); }
.frise--numeros[data-active] > li.est-atteinte::before { color: var(--blanc); }
.frise--numeros[data-active] > li.est-en-cours::before { transform: scale(1.12); background: var(--c-or); color: var(--nuit); }   /* l'étape en cours : la touche d'or de la frise */
@media (max-width: 760px) { .frise { --frise-rail: var(--espace-24); } }
@media (prefers-reduced-motion: reduce) { .frise > li::before { transition: none; } }

/* ---------- Portrait ----------
   La photo d'une personne et sa légende : nom, fonction, lien. Coins de 20 px, jamais plus large que 360 px. */
.portrait { display: grid; gap: var(--espace-16); max-width: 360px; margin: 0; }
.portrait > img { display: block; width: 100%; height: auto; aspect-ratio: 36 / 44; object-fit: cover; object-position: 50% 15%; border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); }
.portrait > figcaption { display: grid; gap: var(--espace-4); justify-items: start; }
.portrait > figcaption a { display: inline-flex; align-items: center; min-height: var(--espace-32); }

/* ---------- Liste à tirets ----------
   Quelques éléments courts, sans ordre entre eux (les outils d'un levier). Le tiret est écrit par la feuille. */
.liste { display: grid; gap: var(--espace-8); margin: 0; padding: 0; list-style: none; font: var(--t-texte); color: var(--c-texte); }
.liste > li { display: grid; grid-template-columns: var(--espace-24) minmax(0, 1fr); }
/* la puce : un triangle creux, pointe à droite. L'or est un accent (le texte reste noir). #000 : seule l'opacité du masque compte. */
.liste > li::before {
  content: ""; width: 9px; height: 11px; margin-top: calc((1.7em - 11px) / 2); background: var(--c-or);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 11'%3E%3Cpath d='M1.2 1.4 7.8 5.5 1.2 9.6Z' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 11'%3E%3Cpath d='M1.2 1.4 7.8 5.5 1.2 9.6Z' fill='none' stroke='%23000' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Bandeau de page ----------
   Le haut de toutes les pages sauf l'accueil : « Nuit travaillée » (décisions des sujets 1 et 2).
   Fond nuit, halo bleu en haut à droite, lueur dorée en bas, vagues dorées sous le texte.
   Titre = nom de la page (.t-page), sous-titre en serif italique (.t-sous-titre), bouton facultatif.
   S'emploie toujours avec .sur-nuit. Le menu se pose dessus. L'accueil garde son propre haut de page, clair. */
.bandeau {
  padding: 0 0 var(--espace-section);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320' preserveAspectRatio='none' fill='none'%3E%3Cpath d='M-180 150 Q0 100 180 150 T540 150 T900 150 T1260 150 T1620 150' stroke='rgba(233,201,131,0.22)' stroke-width='1'/%3E%3Cpath d='M-120 190 Q60 148 240 190 T600 190 T960 190 T1320 190 T1680 190' stroke='rgba(233,201,131,0.16)' stroke-width='1'/%3E%3Cpath d='M-220 228 Q-40 192 140 228 T500 228 T860 228 T1220 228 T1580 228' stroke='rgba(233,201,131,0.20)' stroke-width='1'/%3E%3Cpath d='M-90 264 Q90 234 270 264 T630 264 T990 264 T1350 264 T1710 264' stroke='rgba(233,201,131,0.13)' stroke-width='1'/%3E%3Cpath d='M-160 298 Q20 274 200 298 T560 298 T920 298 T1280 298 T1640 298' stroke='rgba(233,201,131,0.10)' stroke-width='1'/%3E%3C/svg%3E") center bottom / 100% 46% no-repeat,
    var(--fond-nuit);
}
/* le titre dispose de toute la largeur de la page (un nom long tient sur une ligne, comme un nom court) ; le reste garde la largeur de lecture */
.bandeau-contenu > :not(.t-page) { max-width: var(--largeur-texte); }
.bandeau-contenu { display: grid; gap: var(--espace-16); justify-items: center; max-width: calc(var(--largeur-contenu) + 2 * var(--marge-page)); margin-inline: auto; padding: var(--espace-section) var(--marge-page) 0; text-align: center; }
/* le menu se pose en haut du bandeau : le contenu vient alors plus près */
.haut + .bandeau-contenu { padding-top: var(--espace-48); }
.bandeau-contenu > .bouton { margin-top: var(--espace-16); }
.bandeau--court { padding-bottom: var(--espace-48); }
.bandeau--court .bandeau-contenu { padding-top: var(--espace-48); }
.bandeau--court .haut + .bandeau-contenu { padding-top: var(--espace-32); }

/* ---------- Appel à la consultation ----------
   Le dernier bloc de chaque page, identique partout : titre, une phrase, le bouton et la note Google (pas de surtitre : le titre dit déjà tout),
   et la photo de rendez-vous posée sur le bord du bas. Reprend celui de l'accueil.
   À placer APRÈS </main>, dans un <aside> : c'est un bloc répété, pas le contenu de la page. Ainsi un nouvel avis
   Google ne change pas le contenu des pages, et le sitemap n'a pas à bouger.
   Mesure du 10/11/2026 : 3 dessins (panneau nuit, bande sable, carte nuit du blog), 3 textes, 3 libellés de bouton. */
.appel {
  /* se pose directement dans la page, sans conteneur : il règle lui-même sa largeur et ses marges */
  width: min(100% - 2 * var(--marge-page), var(--largeur-contenu)); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--espace-colonnes); align-items: end;
  padding: var(--espace-48) var(--espace-48) 0; overflow: hidden; border-radius: var(--rayon-grand);
  background: linear-gradient(180deg, var(--ivoire) 0%, var(--sable) 70%, var(--sable-fonce) 100%);
}
.appel.sur-nuit { background: var(--fond-nuit); box-shadow: var(--ombre-flottante); }
.appel { margin-bottom: var(--espace-section); }   /* le souffle avant le pied de page */
.appel-texte { display: grid; gap: var(--espace-32); justify-items: start; padding-bottom: var(--espace-48); }
.appel-image { display: block; justify-self: center; width: 100%; max-width: 480px; height: auto; }
@media (max-width: 760px) {
  /* sur téléphone le panneau va presque d'un bord à l'autre : le bouton garde sa ligne unique jusqu'à 360 px */
  .appel { width: calc(100% - 2 * var(--espace-8)); grid-template-columns: minmax(0, 1fr); gap: 0; padding: var(--espace-32) var(--espace-16) 0; }
  .appel-texte { padding-bottom: var(--espace-32); }
  .appel .action { width: 100%; }
  .appel .action > .bouton { justify-self: stretch; }
}

/* ---------- Logo ----------
   Une marque, pas un texte : c'est la seule taille écrite hors des 18 types. */
.logo { display: inline-flex; align-items: baseline; gap: var(--espace-8); font: 600 22px/1 var(--font-serif); color: var(--c-titre); text-decoration: none; white-space: nowrap; }
.logo em { font-weight: 400; font-style: italic; color: var(--c-accent); }

/* ---------- Menu ----------
   Le même sur toutes les pages, copié dans chacune et contrôlé par verif.py. Une pastille crème, aux bords
   alignés sur le contenu. Elle garde ses couleurs claires même posée sur le bandeau nuit.
   La page en cours se signale par aria-current="page" : aucun style à écrire à la main.
   La barre reste collée en haut de l'écran pendant le défilement, sur ordinateur comme sur téléphone.
   Sous 1000 px, les liens laissent la place à un bouton qui ouvre le menu (sans JavaScript).
   Sous 600 px, le nom se réduit à ses initiales « FP » pour garder le bouton de consultation dans la barre. */
/* la barre reste en haut de l'écran pendant le défilement, à toutes les largeurs ; .haut garde sa place dans la page */
.haut { position: relative; z-index: 20; padding: var(--espace-24) var(--marge-page) 62px; }
html { scroll-padding-top: var(--espace-96); }   /* un lien interne ne s'arrête pas sous la barre */
.menu {
  position: fixed; z-index: 100; top: var(--espace-12); left: var(--marge-page); right: var(--marge-page);
  display: flex; align-items: center; justify-content: space-between; gap: var(--espace-24);
  max-width: var(--largeur-contenu); margin-inline: auto; padding: var(--espace-8) var(--espace-8) var(--espace-8) var(--espace-24);
  background: var(--creme); border: 1px solid var(--c-filet); border-radius: var(--rayon-pilule); box-shadow: var(--ombre-carte);
}
.menu-liens { display: flex; align-items: center; gap: var(--espace-32); }
.menu-liens > a, .menu-deroulant > a { font: var(--t-menu); color: var(--c-texte); text-decoration: none; transition: color var(--duree-survol); }
.menu-liens > a:hover, .menu-deroulant > a:hover { color: var(--c-accent); }
.menu-liens a[aria-current="page"] { color: var(--c-titre); text-decoration: underline 2px var(--or); text-underline-offset: 6px; }
.menu a:focus-visible, .menu summary:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); border-radius: var(--rayon-petit); }
.menu-deroulant { position: relative; }
.menu-panneau { display: none; position: absolute; z-index: 50; top: 100%; left: 50%; translate: -50% 0; padding-top: var(--espace-12); }
.menu-deroulant:hover .menu-panneau, .menu-deroulant:focus-within .menu-panneau { display: block; }
.menu-volet {
  display: grid; gap: var(--espace-2); min-width: 250px; padding: var(--espace-12); text-align: left;
  background: var(--creme); border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); box-shadow: var(--ombre-flottante);
}
.menu-volet > a:not(.bouton) { display: flex; align-items: center; gap: var(--espace-12); padding: var(--espace-8) var(--espace-12); border-radius: var(--rayon); font: var(--t-petit); color: var(--c-texte); text-decoration: none; }
.menu-volet > a:not(.bouton):hover { background: var(--sable); color: var(--c-titre); }
.menu-volet > a svg { flex: none; color: var(--c-surtitre); }
.menu-volet > .t-etiquette { padding: var(--espace-8) var(--espace-12) var(--espace-4); }
.menu-mobile { display: none; position: relative; }
.menu-mobile > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: var(--cible); height: var(--cible); border-radius: var(--rayon-rond); background: var(--c-bouton); color: var(--c-bouton-texte); }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile > .menu-volet { position: absolute; z-index: 60; top: calc(100% + var(--espace-12)); right: 0; min-width: 240px; }
.menu-mobile > .menu-volet > a:not(.bouton) { padding-block: var(--espace-12); font: var(--t-menu); color: var(--c-titre); }
@media (max-width: 1000px) {
  .menu-liens { display: none; }
  .menu > .bouton { margin-left: auto; }   /* le bouton et le menu se rangent à droite */
  .menu > .bouton[aria-current="page"] { display: none; }   /* inutile sur la page de la consultation elle-même */
  .menu-mobile { display: block; }
}
@media (max-width: 600px) {   /* sur téléphone : les initiales, le bouton, le menu */
  .menu { gap: var(--espace-8); padding-left: var(--espace-16); }
  .menu .logo { gap: 0; }
  .menu .logo-suite { display: none; }
  .menu > .bouton { padding-inline: var(--espace-16); white-space: nowrap; }
}
@media (max-width: 360px) {   /* les plus petits écrans : le bouton reste sur une ligne */
  .menu { padding-left: var(--espace-12); }
  .menu > .bouton { padding-inline: var(--espace-12); }
}

/* ---------- Pied de page ----------
   Le même sur toutes les pages, copié dans chacune et contrôlé par verif.py. S'emploie avec .sur-nuit.
   Quatre colonnes alignées sur le contenu ; deux sous 1000 px, une sous 760 px.
   Les textes « Société » et « Agréments » sont des mentions réglementaires : jamais réécrits ici. */
.pied { background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.014) 0 2px, transparent 2px 5px), linear-gradient(180deg, var(--nuit-2) 0%, var(--nuit) 100%); }
.pied a { color: var(--c-texte); text-decoration: none; transition: color var(--duree-survol), border-color var(--duree-survol); }
.pied a:hover { color: var(--c-or); }
.pied-colonnes { display: grid; grid-template-columns: 1.1fr 1.3fr 1.3fr 0.9fr; gap: var(--espace-colonnes); align-items: start; padding-block: var(--espace-64) var(--espace-48); }
.pied-colonne { display: grid; gap: var(--espace-12); align-content: start; justify-items: start; }
.pied-colonne > .logo, .pied-titre { min-height: var(--espace-32); display: flex; align-items: flex-end; }
.pied-titre { color: var(--c-surtitre); }
.pied-nav { display: grid; gap: var(--espace-12); font: var(--t-petit); }
.pied-reseaux { display: flex; gap: var(--espace-8); margin-top: var(--espace-8); }
.pied-reseaux a { display: grid; place-items: center; width: var(--espace-40); height: var(--espace-40); border: 1px solid var(--c-filet); border-radius: var(--rayon-rond); }
.pied-reseaux a:hover { border-color: var(--c-or); }
.pied-bas { padding-block: var(--espace-24); border-top: 1px solid var(--c-filet); }
@media (max-width: 1000px) { .pied-colonnes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .pied-colonnes { grid-template-columns: 1fr; } }

/* ---------- Tableau et barème ----------
   Un VRAI tableau (<table>, <th scope>) : il est lu comme tel par les lecteurs d'écran et par Google.
   Dessin (décisions du 10/11/2026, « moins de jaune ») : en-tête sur fond NUIT, texte crème, le bleu nuit du bandeau,
   de l'appel et du pied de page ; intitulés calés en bas de l'en-tête. Aucun jaune, aucun vert.
   Les nombres sont en sans serif, alignés à droite, chiffres de même largeur.
   Un tableau large défile dans son cadre sur téléphone au lieu de déborder de la page.
   Mesure du 10/11/2026 : 3 tableaux faits de <div>, 2 dessins d'en-tête (gris sur crème, or sur noir),
   angles de 20 et 22 px, nombres en serif de 17, 20 et 22 px. */
.tableau { overflow-x: auto; background: var(--c-surface); border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); }
.tableau:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
.tableau > table { width: 100%; border-collapse: collapse; text-align: left; }
.tableau--large > table { min-width: var(--largeur-etroite); }
.tableau th, .tableau td { padding: var(--espace-16) var(--espace-24); vertical-align: baseline; }
.tableau thead th { vertical-align: bottom; font: var(--t-etiquette); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-tete-texte); background: var(--c-tete); }
.tableau tbody th, .tableau td { font: var(--t-compact); color: var(--c-texte); border-top: 1px solid var(--c-filet); }
.tableau tbody tr:first-child > * { border-top: 0; }
.tableau tbody th, .tableau strong { color: var(--c-titre); }
.tableau .num { text-align: right; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.tableau tbody th { min-width: 7em; }  /* l'intitulé d'une ligne garde sa place : sur téléphone, le tableau défile plutôt que de l'écraser */
.tableau thead .num { white-space: normal; }  /* un intitulé de colonne peut passer sur deux lignes ; un nombre, jamais */
@media (max-width: 760px) { .tableau th, .tableau td { padding: var(--espace-12) var(--espace-16); } }

/* Lignes de calcul (fiche d'un cas pratique) : une précision en <small>, un sous-total, un total.
   Le sous-total garde son filet doré et le total son filet noir : règle du blog du 05/11/2026. */
.tableau small { font: var(--t-mention); color: var(--c-discret); }
.tableau :is(th, td) > small { display: block; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: normal; }   /* une précision sous un intitulé ou un montant */
.tableau tr.sous-total > * { border-top: 2px solid var(--c-or); font-weight: 600; color: var(--c-accent); }
.tableau tr.sous-total > :first-child { color: var(--c-titre); }
.tableau tr.total > * { border-top: 2px solid var(--c-titre); font-weight: 600; color: var(--c-titre); }
/* une cellule qui couvre plusieurs lignes se cale au milieu */
.tableau td[rowspan] { vertical-align: middle; }
/* légende écrite dans le pied du tableau */
.tableau tfoot td { border-top: 0; padding-top: 0; font: var(--t-mention); color: var(--c-discret); }

/* ---------- Jauge : une colonne de tableau dessinée ----------
   Le dessin ne répète pas le texte. Le texte de la cellule reste dans la page pour les lecteurs d'écran
   (.jauge-texte), mais à l'œil il laisse la place à une règle. Le SEUL texte visible est celui de l'échelle,
   écrit une fois dans l'en-tête (.echelle), l'unité dans l'intitulé : « Taux applicable (%) ».
   Sur chaque ligne : un point à chaque graduation, et une barre qui remplit la plage de --de à --a.
   Une valeur unique (--de = --a) est un point plein ; .jauge--vide dessine un anneau (zéro, exonération).
   À régler sur le <table> : --max (fin de l'échelle) et --points (nombre de graduations, bornes comprises).
   Sur téléphone (.tableau--jauge), l'en-tête n'est plus affiché : chaque ligne se replie, et le texte revient
   au-dessus de sa règle. */
.tableau { --jauge-h: 8px; --marge: var(--espace-24); }
.tableau--jauge > table { table-layout: fixed; }
/* trois colonnes : l'intitulé, un montant, la jauge sur le reste */
.tableau--jauge thead th:first-child { width: 34%; }
.tableau--jauge thead th:nth-child(2) { width: 16%; }
.tableau .echelle { display: flex; justify-content: space-between; margin-top: var(--espace-8); font: var(--t-mention); letter-spacing: 0; text-transform: none; color: var(--c-tete-discret); font-variant-numeric: lining-nums tabular-nums; }
.tableau .echelle > * { width: 0; display: flex; justify-content: center; font-style: normal; white-space: nowrap; }  /* largeur nulle : chaque repère est centré pile sur sa graduation */
.tableau .jauge { position: relative; }
.tableau .jauge-texte { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tableau .jauge::before, .tableau .jauge::after { content: ""; position: absolute; top: 50%; translate: 0 -50%; }
.tableau .jauge::before {
  --pas: calc((100% - 2 * var(--marge)) / (var(--points) - 1));
  left: calc(var(--marge) - var(--pas) / 2); width: calc(var(--pas) * var(--points)); height: 6px;
  background: radial-gradient(circle at center, var(--c-point) 0 2px, transparent 2.5px) 0 0 / calc(100% / var(--points)) 100%;
}
.tableau .jauge::after {
  height: var(--jauge-h); border-radius: var(--rayon-pilule); background: var(--c-donnee);
  left: calc(var(--marge) + var(--de) / var(--max) * (100% - 2 * var(--marge)) - var(--jauge-h) / 2);
  width: calc((var(--a) - var(--de)) / var(--max) * (100% - 2 * var(--marge)) + var(--jauge-h));
}
.tableau .jauge--vide::after { box-sizing: border-box; background: var(--creme); border: 2px solid var(--c-donnee); }
@media (max-width: 760px) {
  .tableau { --marge: var(--espace-16); }
  .tableau--jauge > table { display: block; min-width: 0; }
  .tableau--jauge thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tableau--jauge tbody { display: block; }
  .tableau--jauge tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
  .tableau--jauge tbody tr + tr { border-top: 1px solid var(--c-filet); }
  .tableau--jauge tbody th, .tableau--jauge tbody td { border-top: 0; }
  .tableau--jauge tbody th, .tableau--jauge tbody .num { padding-bottom: var(--espace-4); }
  .tableau--jauge .jauge { grid-column: 1 / -1; padding-top: 0; padding-bottom: calc(var(--espace-16) + var(--jauge-h) + var(--espace-8)); font: var(--t-petit); }
  .tableau--jauge .jauge-texte { position: static; width: auto; height: auto; clip-path: none; white-space: normal; }
  .tableau--jauge .jauge::before, .tableau--jauge .jauge::after { top: auto; bottom: calc(var(--espace-16) + var(--jauge-h) / 2); translate: 0 50%; }
}

/* ---------- Colonne : un barème par tranches, dessiné à l'échelle ----------
   Une illustration posée à côté de son tableau (.tableau-duo), jamais à sa place : le tableau porte les montants.
   L'ordonnée est invisible mais LINÉAIRE : la hauteur de chaque section suit la largeur de sa tranche (--part,
   en euros). Le taux est écrit à droite. Les séparations sont blanches, rien d'autre. La première tranche est
   EN BAS, dans le tableau comme dans la colonne. La dernière tranche n'a pas de plafond : sa section
   (.colonne-rang--suite) se fond dans la page par le haut. Plus le taux est élevé (--v), plus la section est foncée.
   Les tranches trop étroites pour être vues à l'échelle (.colonne-rang--mince) gardent 3 px chacune
   et se partagent une seule étiquette. */
.tableau-duo { display: grid; grid-template-columns: minmax(0, var(--largeur-etroite)) auto; justify-content: start; gap: var(--espace-colonnes); align-items: stretch; }
.colonne { --col: 112px; display: flex; flex-direction: column; min-height: 420px; }
.colonne-rang { flex: var(--part) 1 0; display: grid; grid-template-columns: var(--col) auto; column-gap: var(--espace-16); align-items: center; }
.colonne-rang + .colonne-rang > .colonne-pile { border-top: 2px solid var(--blanc); }
.colonne-pile { align-self: stretch; display: flex; flex-direction: column; }
.colonne-pile i { flex: 1 1 0; background: var(--c-donnee); opacity: calc(0.14 + var(--v) / var(--max, 45) * 0.86); }
.colonne-pile i + i { border-top: 2px solid var(--blanc); }
.colonne-rang span { font: var(--t-carte); color: var(--c-titre); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.colonne-rang--suite i { opacity: 1; background: linear-gradient(0deg, var(--c-donnee) 0%, transparent 100%); }
.colonne-rang--suite span { align-self: end; padding-bottom: var(--espace-12); }
.colonne-rang--mince { flex-grow: 0; flex-basis: auto; }
.colonne-rang--mince .colonne-pile { align-self: end; }
.colonne-rang--mince i { flex: none; box-sizing: content-box; height: 3px; }
.colonne-rang--mince span { align-self: end; font: var(--t-libelle); line-height: 13px; }
.colonne-rang:last-child i:last-child { border-radius: 0 0 var(--rayon-petit) var(--rayon-petit); }
@media (max-width: 760px) {
  .tableau-duo { grid-template-columns: minmax(0, 1fr); }
  .colonne { --col: 96px; height: 400px; }
}

/* Texte réservé aux lecteurs d'écran : légende d'un tableau, intitulé d'une zone. */
.lecteur-ecran { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ==========================================================================
   FORMULAIRES — rendez-vous et simulateurs. Mesure du 10/11/2026 : champs sans étiquette visible
   (le libellé n'existe que dans le champ vide), texte de 14 px, 37 px de haut ; bouton « Continuer »
   rectangulaire, à part ; curseurs sans repère de clavier (outline: none) ; choix sur fond ivoire.
   ========================================================================== */

/* ---------- Champ ----------
   Une étiquette VISIBLE au-dessus, toujours : une fois le champ rempli, on voit encore ce qu'il demande.
   Le texte saisi est en 16 px : en dessous, l'iPhone agrandit toute la page quand on touche le champ.
   48 px de haut, comme le bouton : un champ et un bouton posés côte à côte sont à la même hauteur.
   L'erreur se signale par aria-invalid="true" sur le champ, jamais par une classe écrite à la main. */
.champ { display: grid; gap: var(--espace-8); align-content: start; }
.champ > label { font: var(--t-libelle); color: var(--c-titre); }
.champ-controle { position: relative; display: flex; align-items: center; }
.champ :is(input:not([type="range"]), select, textarea) {
  width: 100%; min-width: 0; min-height: var(--hauteur-commande); padding: var(--espace-12) var(--espace-16);
  font: var(--t-texte); line-height: 1.25; color: var(--c-titre);
  background: var(--c-champ); border: 1px solid var(--c-champ-filet); border-radius: var(--rayon);
  -webkit-appearance: none; appearance: none; transition: border-color var(--duree-survol);
}
.champ ::placeholder { color: var(--c-discret); opacity: 1; }
.champ :is(input:not([type="range"]), select, textarea):hover { border-color: var(--c-donnee); }
.champ :is(input:not([type="range"]), select, textarea):focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); border-color: var(--c-contour); }
.champ :is(input:not([type="range"]), select, textarea)[aria-invalid="true"] { border-color: var(--erreur); }
.champ-aide { font: var(--t-mention); color: var(--c-discret); }
.champ-erreur { font: var(--t-mention); color: var(--erreur); }
/* liste déroulante : le chevron est dessiné, pas une image */
.champ--liste select { padding-right: var(--espace-40); cursor: pointer; }
.champ--liste .champ-controle::after { content: ""; position: absolute; right: var(--espace-20); top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--c-discret); border-bottom: 2px solid var(--c-discret); rotate: 45deg; pointer-events: none; }
/* champ avec unité (€, %, ans) : l'unité est posée dans le champ, à droite */
.champ--unite input { padding-right: var(--espace-40); font-variant-numeric: lining-nums tabular-nums; }
.champ-unite { position: absolute; right: var(--espace-16); font: var(--t-texte); line-height: 1.25; color: var(--c-discret); pointer-events: none; }

/* ---------- Choix ----------
   Quelques options dont une seule est active (taux d'inflation, durée). L'option active est signalée par
   aria-pressed="true" : c'est l'état lu par les lecteurs d'écran qui porte le style. 44 px de haut pour le doigt. */
.choix { display: flex; gap: var(--espace-4); padding: var(--espace-4); background: var(--c-pastille); border-radius: var(--rayon-pilule); }
.choix > button {
  flex: 1 1 0; min-width: 0; min-height: var(--cible); padding: var(--espace-8) var(--espace-12);
  border: 0; border-radius: var(--rayon-pilule); background: none; font: var(--t-menu); color: var(--c-texte); cursor: pointer;
  transition: background-color var(--duree-survol), color var(--duree-survol);
}
.choix > button:hover { color: var(--c-titre); }
.choix > button:is([aria-pressed="true"], [aria-checked="true"]) { background: var(--c-bouton); color: var(--c-bouton-texte); }
.choix > button:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }

/* ---------- Curseur ----------
   La partie remplie est en bleu-gris, comme toutes les données dessinées (--rempli : la position, en %,
   mise à jour par le script du simulateur). Le repère de clavier est visible : il ne l'était pas. */
.curseur { --rempli: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: none; cursor: pointer; }
.curseur::-webkit-slider-runnable-track { height: 6px; border-radius: var(--rayon-pilule); background: linear-gradient(90deg, var(--c-donnee) var(--rempli), var(--c-point) var(--rempli)); }
.curseur::-moz-range-track { height: 6px; border-radius: var(--rayon-pilule); background: var(--c-point); }
.curseur::-moz-range-progress { height: 6px; border-radius: var(--rayon-pilule); background: var(--c-donnee); }
.curseur::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; box-sizing: border-box; width: 24px; height: 24px; margin-top: -9px; border: 3px solid var(--blanc); border-radius: var(--rayon-rond); background: var(--c-bouton); box-shadow: var(--ombre-bouton); }
.curseur::-moz-range-thumb { box-sizing: border-box; width: 24px; height: 24px; border: 3px solid var(--blanc); border-radius: var(--rayon-rond); background: var(--c-bouton); box-shadow: var(--ombre-bouton); }
.curseur:focus-visible { outline: none; }
.curseur:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
.curseur:focus-visible::-moz-range-thumb { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }

/* ---------- Message ----------
   La réponse du site après une action : confirmation (role="status") ou erreur (role="alert").
   Le vert et le rouge ne servent qu'ici : ce sont des couleurs d'état, pas de décoration. */
.message { display: grid; gap: var(--espace-4); padding: var(--espace-16) var(--espace-20); border: 1px solid; border-radius: var(--rayon); font: var(--t-compact); }
.message--ok { background: var(--vert-pale); border-color: var(--vert-pale-2); color: var(--vert); }
.message--erreur { background: rgba(179, 38, 30, 0.06); border-color: rgba(179, 38, 30, 0.35); color: var(--erreur); }

/* ---------- Étapes ----------
   Le fil d'un parcours en plusieurs temps (formulaire, puis créneau). L'étape en cours porte aria-current="step". */
.etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--espace-8) var(--espace-32); counter-reset: etape; }
.etapes > li { counter-increment: etape; display: flex; align-items: center; gap: var(--espace-8); font: var(--t-petit); color: var(--c-discret); }
.etapes > li::before { content: counter(etape); display: grid; place-items: center; width: var(--espace-24); height: var(--espace-24); border-radius: var(--rayon-rond); font: var(--t-etiquette); background: var(--c-pastille); color: var(--c-pastille-texte); }
.etapes > li[aria-current="step"] { font: var(--t-libelle); color: var(--c-titre); }
.etapes > li[aria-current="step"]::before { background: var(--c-bouton); color: var(--c-bouton-texte); }

/* ---------- Calendrier et créneaux ----------
   Le choix du jour, puis de l'heure. Un jour est un bouton ; un jour sans disponibilité est un bouton désactivé.
   Disponible : fond bleu-gris léger. Choisi (aria-pressed="true") : la couleur du bouton. Aujourd'hui
   (aria-current="date") : un point. 44 px de haut pour le doigt.
   Mesure du 10/11/2026 : jours de 42 px à angles de 12 px, flèches de 32 px, mois en serif. */
.calendrier { display: grid; gap: var(--espace-16); }
.calendrier-tete { display: flex; align-items: center; justify-content: space-between; gap: var(--espace-16); }
.calendrier-nav { display: flex; gap: var(--espace-8); }
.calendrier-nav > button { display: grid; place-items: center; width: var(--cible); height: var(--cible); padding: 0; border: 1px solid var(--c-champ-filet); border-radius: var(--rayon); background: var(--c-champ); font: var(--t-texte); line-height: 1; color: var(--c-titre); cursor: pointer; }
.calendrier-nav > button:disabled { color: var(--perle-2); cursor: default; }
.calendrier-semaine, .calendrier-grille { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--espace-4); }
.calendrier-semaine { text-align: center; font: var(--t-etiquette); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-discret); }
.jour { position: relative; display: grid; place-items: center; min-height: var(--cible); padding: 0; border: 0; border-radius: var(--rayon); background: var(--c-pastille); font: var(--t-libelle); font-variant-numeric: lining-nums tabular-nums; color: var(--c-titre); cursor: pointer; transition: background-color var(--duree-survol), color var(--duree-survol); }
.jour:disabled { background: none; font: var(--t-petit); color: var(--perle-2); cursor: default; }
.jour[aria-pressed="true"] { background: var(--c-bouton); color: var(--c-bouton-texte); }
.jour[aria-current="date"]::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: var(--rayon-rond); background: var(--c-donnee); }
.jour--attente { background: var(--brume); cursor: default; }
.creneaux { display: grid; gap: var(--espace-8); align-content: start; }
.creneau { min-height: var(--cible); padding: var(--espace-8) var(--espace-16); border: 1px solid var(--c-champ-filet); border-radius: var(--rayon); background: var(--c-champ); font: var(--t-menu); font-variant-numeric: lining-nums tabular-nums; color: var(--c-titre); cursor: pointer; transition: border-color var(--duree-survol), background-color var(--duree-survol), color var(--duree-survol); }
.creneau:hover { border-color: var(--c-donnee); }
.creneau[aria-pressed="true"] { border-color: var(--c-bouton); background: var(--c-bouton); color: var(--c-bouton-texte); }
.calendrier-nav > button:focus-visible, .jour:focus-visible, .creneau:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }

/* ---------- Résultat d'un simulateur ----------
   Le panneau qui répond aux réglages : une phrase (.t-bloc), le graphique, deux ou trois chiffres clés.
   Se pose sur une carte nuit (class="carte carte--ample sur-nuit resultat"). Le graphique lui-même est une
   illustration propre à chaque simulateur ; ses tracés lisent --c-donnee, comme les jauges.
   Rappel : sous tout simulateur, la mention « Simulation pédagogique… » au type mention. */
.resultat { gap: var(--espace-32); text-align: center; }
.resultat-graphique { display: block; width: 100%; height: auto; }
/* sur téléphone le dessin est réduit de plus de moitié : les graduations grossissent (22 unités du dessin, environ 8 px à l'écran)
   et les titres des axes (.axe-titre) s'effacent, la phrase et la note de la carte disent déjà ce qui est mesuré */
@media (max-width: 760px) { .resultat-graphique text { font-size: 22px; } .resultat-graphique .axe-titre { display: none; } .resultat-graphique g[text-anchor="middle"] { transform: translateY(12px); } }   /* les graduations du bas descendent d'un cran : elles ne touchent plus le « 0 % » */
.chiffres { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding-top: var(--espace-24); border-top: 1px solid var(--c-filet); }
.chiffres > div { display: flex; flex-direction: column-reverse; gap: var(--espace-4); padding-inline: var(--espace-16); }
.chiffres > div + div { border-left: 1px solid var(--c-filet); }
.chiffres dt, .chiffres dd { margin: 0; }
@media (max-width: 760px) { .chiffres { grid-auto-flow: row; gap: var(--espace-16); } .chiffres > div + div { border-left: 0; padding-top: var(--espace-16); border-top: 1px solid var(--c-filet); } }
/* ---------- Légende d'un graphique ----------
   Un petit tableau sans cadre : une ligne par courbe (son trait, son nom), puis deux colonnes de chiffres alignées à droite,
   sous leur intitulé (.legende-tete). Aucun nom n'est écrit sur les courbes, aucun signe entre les chiffres.
   Dans une carte .resultat--cote, sur grand écran : le graphique à gauche, la légende à droite, chaque ligne en face de la
   fin de sa courbe (le script de la page pose --y, en % de la hauteur du graphique), l'intitulé des colonnes en haut.
   En dessous de 1 000 px : une liste sous le graphique. La carte tient dans la hauteur d'un écran de 13 pouces. */
.legende { display: grid; gap: var(--espace-12); margin: 0; padding: var(--espace-24) 0 0; list-style: none; border-top: 1px solid var(--c-filet); text-align: left; }
.legende > li { display: grid; grid-template-columns: 28px minmax(0, 1fr) 3.4em 6.2em; column-gap: var(--espace-8); align-items: baseline; font: var(--t-mention); color: var(--c-texte); }
.legende-trait { align-self: center; width: 28px; height: 8px; }
.legende > li > :nth-child(n+3) { text-align: right; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.legende strong { font: var(--t-libelle); color: var(--c-titre); }
.legende-montant { color: var(--c-titre); }
.legende-tete { align-items: end; color: var(--c-discret); }
.legende > .legende-tete > :last-child { white-space: normal; }   /* l'intitulé peut passer sur deux lignes, un chiffre jamais */
/* la note d'un graphique (définition, hypothèse, rappel du risque) : dans la carte, sous le graphique, séparée par un filet */
.resultat > .t-mention { padding-top: var(--espace-24); border-top: 1px solid var(--c-filet); text-wrap: pretty; }
@media (min-width: 1001px) {
  .resultat--cote { grid-template-columns: minmax(0, 1fr) 290px; column-gap: var(--espace-16); align-items: center; }
  .resultat--cote > :is(.t-bloc, .champ, .t-mention) { grid-column: 1 / -1; }
  .resultat--cote > .legende { position: relative; align-self: stretch; padding: 0; border-top: 0; }
  /* le nom a une largeur fixe : les chiffres le suivent de près, et s'alignent d'une ligne à l'autre */
  .resultat--cote > .legende > li { position: absolute; inset: var(--y, 0%) 0 auto 0; translate: 0 -50%; grid-template-columns: 28px 8.4em 3.4em 6.2em; justify-content: start; }
  .resultat--cote > .legende > .legende-tete { inset-block-start: 0; translate: none; }
}

/* ---------- Cas pratique ----------
   Tout exemple chiffré d'un article. Une feuille blanche posée sur la page, pour qu'il se détache du texte.
   Ordre fixe : tête (étiquette + précision), situation, question, fiche de calcul, réponse, clôture.
   L'étiquette a les couleurs de l'en-tête de tableau. Les textes portent leurs types : accroche .t-carte,
   hypothèses .t-compact, question .t-bloc, réponse .t-intro. La fiche est un .tableau.
   Dans un article, le cas pratique est plus large que le texte : il va jusqu'aux bords de la colonne. */
.cas { display: grid; gap: var(--espace-20); padding: var(--espace-32); background: var(--blanc); border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); box-shadow: var(--ombre-carte); }
.cas-tete, .cas-fin { display: flex; align-items: center; gap: var(--espace-12); font: var(--t-mention); color: var(--c-discret); }
.cas-tete::after, .cas-fin::before { content: ""; flex: 1; height: 1px; background: var(--c-filet); }
.cas-etiquette { padding: var(--espace-4) var(--espace-12); border-radius: var(--rayon-pilule); background: var(--c-tete); color: var(--c-tete-texte); font: var(--t-etiquette); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.cas-situation { display: grid; gap: var(--espace-8); padding: var(--espace-24); background: var(--ivoire); border-radius: var(--rayon); }
/* la situation peut contenir un arbre généalogique, sous le texte */
.cas-situation > div { display: grid; gap: var(--espace-8); }
.cas-arbre { width: 100%; max-width: 400px; margin: var(--espace-8) auto 0; }
.cas-arbre > svg { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .cas { padding: var(--espace-24) var(--espace-16); } .cas-situation { padding: var(--espace-16); } }


/* ==========================================================================
   ARTICLE — la page de lecture du blog, avec les mêmes composants que le reste du site.
   Ordre fixe des blocs (CLAUDE.md) : thème, titre, chapô, ligne d'informations ; L'essentiel ; sommaire ; corps ;
   sources ; mention ; À lire aussi. L'appel à la consultation est un bloc à part, après l'article.
   Blocs déjà définis plus haut : L'essentiel = .encadre ; À vérifier = .encadre--note ; tableau = .tableau ;
   exemple chiffré = .cas ; À lire aussi = des a.carte ; bouton = .bouton.
   Mesure du 10/11/2026 : 16 tailles de texte, angles de 14 px, ruptures à 560 et 1200 px, or employé 14 fois.
   ========================================================================== */

/* ---------- La page et la colonne de lecture ----------
   Fond gris clair. Le texte fait 760 px de large (--largeur-texte), les marges intérieures 32 px.
   Les règles de rythme ne visent que les enfants directs de l'article : un bloc garde ses propres écarts. */
.article-page { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ivoire); }
.article-page > main { min-width: 0; }   /* <main> ne contient que l'article ; l'appel de marge est son voisin, hors du contenu principal */
.article { width: 100%; max-width: calc(var(--largeur-texte) + 2 * var(--espace-32)); margin-inline: auto; padding: var(--espace-48) var(--espace-32) var(--espace-96); font: var(--t-lecture); color: var(--c-lecture); }
.article > .t-surtitre { display: block; margin-bottom: var(--espace-12); }
.article > h1 { margin: 0 0 var(--espace-20); font: var(--t-section); color: var(--c-titre); text-wrap: balance; }   /* un titre d'article est long : il prend le type « titre de section » */
.article > .t-chapo { margin-bottom: var(--espace-24); }
.article > h2 { margin: var(--espace-48) 0 var(--espace-16); font: var(--t-bloc); color: var(--c-titre); text-wrap: balance; scroll-margin-top: var(--espace-24); }
.article > h3 { margin: var(--espace-32) 0 var(--espace-8); font: var(--t-carte); color: var(--c-titre); }
.article > p { margin: 0 0 var(--espace-20); text-wrap: pretty; }
.article > ul, .article > ol { margin: 0 0 var(--espace-20); padding-left: var(--espace-24); }
.article > ul > li, .article > ol > li { margin: var(--espace-8) 0; }
.article > :is(.encadre, .tableau, .schema) { margin-block: var(--espace-32); }
.article > .cas { margin: var(--espace-48) calc(-1 * var(--espace-32)); }                                   /* plus large que le texte */
.article > .t-petit { color: var(--c-discret); }
/* liens du texte : encre, soulignés d'or */
.article :is(p, li, td, th, figcaption) a:not(.bouton, .carte) { color: var(--c-titre); text-decoration: underline var(--c-or); text-underline-offset: 3px; }
.article :is(p, li, td, th, figcaption) a:not(.bouton, .carte):hover { color: var(--c-accent); }
@media (max-width: 760px) {
  .article { padding: var(--espace-32) var(--espace-20) var(--espace-64); }
  .article > .cas { margin-inline: calc(-1 * var(--espace-12)); }
}

/* Un bloc empilé ne s'élargit jamais pour loger un contenu insécable (une longue référence, une date qui ne se
   coupe pas) : sa colonne est bornée à la largeur disponible. Sans cela, une source trop longue élargissait toute
   la page sur téléphone (trouvé le 10/11/2026 sur un article). */
:is(.sources, .suite, .sommaire, .encadre, .cas, .cas-situation, .entete, .carte-texte),
:is(.sources, .suite, .sommaire, .encadre) > :is(ul, ol) { grid-template-columns: minmax(0, 1fr); }
.sources li { overflow-wrap: anywhere; }

/* ---------- Ligne d'informations : auteur, date de mise à jour, temps de lecture ---------- */
.article-infos { display: flex; flex-wrap: wrap; gap: var(--espace-8) var(--espace-24); margin-bottom: var(--espace-32); padding-block: var(--espace-16); border-block: 1px solid var(--c-filet); font: var(--t-petit); color: var(--c-discret); }
.article-infos strong, .article .article-infos a { font-weight: 500; color: var(--c-texte); }

/* ---------- Sommaire de l'article ---------- */
.sommaire { display: grid; gap: var(--espace-8); margin-bottom: var(--espace-40); }
.sommaire > ol { display: grid; gap: var(--espace-4); margin: 0; padding-left: var(--espace-24); font: var(--t-texte); color: var(--c-discret); }
.article .sommaire li a:not(.bouton, .carte) { color: var(--c-texte); text-decoration: none; }
.article .sommaire li a:not(.bouton, .carte):hover { color: var(--c-titre); text-decoration: underline var(--c-or); text-underline-offset: 3px; }

/* ---------- Schéma : un dessin, sa légende ---------- */
.schema { margin-inline: 0; }
.schema > svg { display: block; width: 100%; height: auto; background: var(--blanc); border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); }
.schema--mini { max-width: 440px; margin-inline: auto; }   /* mini-schéma centré : une barre de répartition, posée avant le paragraphe qu'elle illustre, ou un petit schéma */
.schema > figcaption { margin-top: var(--espace-8); font: var(--t-mention); color: var(--c-discret); text-align: center; }

/* ---------- Sources officielles ---------- */
.sources { display: grid; gap: var(--espace-12); margin-top: var(--espace-48); padding-top: var(--espace-24); border-top: 1px solid var(--c-filet); font: var(--t-compact); color: var(--c-texte); }
.sources > ul { display: grid; gap: var(--espace-8); margin: 0; padding-left: var(--espace-20); }
.sources-date { font: var(--t-mention); color: var(--c-discret); }   /* peut passer à la ligne : certaines dates sont de longues phrases */
.sources-date::before { content: "· "; }

/* ---------- Mention obligatoire, À lire aussi ---------- */
.article > .article-mention { margin: var(--espace-32) 0 0; }
.suite { display: grid; gap: var(--espace-16); margin-top: var(--espace-48); }
.suite > ul { display: grid; gap: var(--espace-12); margin: 0; padding: 0; list-style: none; }

/* ---------- Appel de marge ----------
   L'appel à la consultation des articles (gardé tel quel, décision du 10/11/2026) : un encadré nuit, le portrait
   en médaillon à cheval sur le bord, une question, puis le bouton et la note Google (.action). En fin d'article sur téléphone et
   tablette ; dans la marge de droite, et qui suit la lecture, à partir de 1280 px. S'emploie avec .sur-nuit. */
.appel-marge { position: relative; display: grid; gap: var(--espace-16); justify-items: center; width: calc(100% - 2 * var(--espace-20)); max-width: var(--largeur-etroite); margin: 0 auto var(--espace-64); padding: var(--espace-64) var(--espace-24) var(--espace-32); background: var(--nuit); border-radius: var(--rayon-grand); text-align: center; }
.appel-marge-portrait { position: absolute; top: -44px; left: 50%; width: 88px; height: 88px; margin-left: -44px; border: 3px solid var(--creme-2); border-radius: var(--rayon-rond); object-fit: cover; object-position: 50% 18%; box-shadow: var(--ombre-flottante); }
@media (min-width: 1280px) {
  .article-page { grid-template-columns: minmax(0, 1fr) calc(var(--largeur-texte) + 2 * var(--espace-32)) minmax(0, 1.6fr); }
  .article-page > main { grid-column: 2; }
  /* dans la marge, la place est comptée (241 px à 1280) : les étoiles prennent leur ligne, la note vient dessous */
  .appel-marge .avis-etoiles { display: block; margin: 0 0 var(--espace-4); }
  .appel-marge { grid-column: 3; grid-row: 1; align-self: start; justify-self: start; position: sticky; top: var(--espace-96); width: calc(100% - var(--espace-40)); max-width: 300px; margin: 220px 0 0 var(--espace-20); padding-inline: var(--espace-16); }
}

/* ---------- Surbrillance : signaler une valeur dans un tableau (décision du 10/11/2026) ----------
   Le signal est porté par le FOND de la cellule, jamais par la couleur du texte : le texte reste noir et gras.
   .favorable : fond bleu-gris léger (la voie la moins taxée, une limite respectée).
   .defavorable : fond rouge pâle, réservé à un vrai signal d'alerte (un dépassement).
   Toujours avec une légende écrite sous le tableau : « Sur fond bleuté : … », « Sur fond rouge : … ».
   Remplace le vert et le rouge des tableaux du blog (7 cellules vertes, 1 rouge, 2 articles). Aucun vert sur le site. */
.tableau tr > .favorable { font-weight: 600; color: var(--c-titre); background: var(--c-pastille); }
.tableau tr > .defavorable { font-weight: 600; color: var(--c-titre); background: rgba(179, 38, 30, 0.10); }


/* ==========================================================================
   SOMMAIRE DU BLOG — recherche, filtres par thématique, une carte par article.
   La page emploie : .entete (titre et chapô), .recherche, .filtres, .grille-cartes de a.carte, .appel.
   Le script de recherche ne s'accroche à aucune classe de style : il lit des attributs data-blog="…".
   ========================================================================== */

/* ---------- Recherche : un grand champ, son bouton ---------- */
.recherche { display: flex; align-items: center; gap: var(--espace-12); width: 100%; max-width: var(--largeur-texte); min-height: var(--espace-64); padding: var(--espace-8) var(--espace-8) var(--espace-8) var(--espace-24); background: var(--c-champ); border: 1px solid var(--c-champ-filet); border-radius: var(--rayon-pilule); box-shadow: var(--ombre-carte); }
.recherche:focus-within { border-color: var(--c-contour); outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
.recherche > svg { flex: none; color: var(--c-discret); }
.recherche > input { flex: 1 1 auto; min-width: 0; padding: 0; border: 0; background: none; outline: none; font: var(--t-intro); color: var(--c-titre); -webkit-appearance: none; appearance: none; }
.recherche > input::placeholder { color: var(--c-discret); opacity: 1; }
@media (max-width: 760px) { .recherche { padding-inline: var(--espace-20); } .recherche > .bouton { display: none; } }

/* ---------- Filtres : une pastille cliquable par thématique, avec son nombre d'articles ----------
   Le filtre actif porte aria-pressed="true". À ne pas confondre avec .pastille, qui ne se clique jamais. */
.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--espace-8); }
.filtre { display: inline-flex; align-items: center; gap: var(--espace-8); min-height: var(--cible); padding: var(--espace-8) var(--espace-20); border: 1px solid var(--c-champ-filet); border-radius: var(--rayon-pilule); background: var(--c-champ); font: var(--t-menu); color: var(--c-titre); cursor: pointer; transition: border-color var(--duree-survol), background-color var(--duree-survol), color var(--duree-survol); }
.filtre > span { font: var(--t-mention); color: var(--c-discret); }
.filtre:hover { border-color: var(--c-donnee); }
.filtre[aria-pressed="true"] { border-color: var(--c-bouton); background: var(--c-bouton); color: var(--c-bouton-texte); }
.filtre[aria-pressed="true"] > span { color: inherit; opacity: 0.7; }
.filtre:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }

/* ==========================================================================
   Simulateurs et infographies (ajouts du 17/11/2026, page Inflation)
   ========================================================================== */

/* ---------- Section sombre ----------
   Une section entière sur fond nuit, d'un bord à l'autre (class="section section--nuit sur-nuit"). Une par page au plus. */
.section--nuit { background: var(--nuit); }

/* ---------- Curseur double ----------
   Deux poignées sur une même piste (une période, de… à…). Les deux .curseur sont superposés ; seules leurs poignées
   se laissent saisir. Le script de la page pose la position du remplissage et du repère. */
.curseur-double { position: relative; height: 24px; }
.curseur-double::before { content: ""; position: absolute; inset: 9px 0 auto 0; height: 6px; border-radius: var(--rayon-pilule); background: var(--c-point); }
.curseur-double-rempli { position: absolute; top: 9px; height: 6px; border-radius: var(--rayon-pilule); background: var(--c-donnee); }
.curseur-double-repere { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--c-discret); }
.curseur-double > .curseur { position: absolute; inset: 0; pointer-events: none; }
.curseur-double > .curseur::-webkit-slider-runnable-track { background: none; }
.curseur-double > .curseur::-moz-range-track, .curseur-double > .curseur::-moz-range-progress { background: none; }
.curseur-double > .curseur::-webkit-slider-thumb { pointer-events: auto; }
.curseur-double > .curseur::-moz-range-thumb { pointer-events: auto; }
.curseur-bornes { position: relative; height: var(--espace-16); font: var(--t-mention); color: var(--c-discret); }
.curseur-bornes > * { position: absolute; left: 0; }
.curseur-bornes > :last-child { left: auto; right: 0; }
.curseur-bornes > .curseur-bornes-repere { translate: -50% 0; }

/* ---------- Graphique d'un simulateur ----------
   Une courbe redessinée par le script de la page, dans une carte nuit .resultat. Le dessin est un svg étiré ; les
   graduations, le repère « aujourd'hui », le point d'arrivée et la bulle de survol sont posés par-dessus.
   Tracés en bleu-gris ; un seul élément en or, la valeur d'arrivée. */
.graphe { position: relative; cursor: crosshair; touch-action: pan-y; }
.graphe > svg { position: relative; display: block; width: 100%; height: 160px; }
.graphe-couche { position: absolute; inset: 0; pointer-events: none; }
.graphe-grad { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--c-filet); }
.graphe-grad > span { position: absolute; left: 0; top: -10px; padding-right: var(--espace-8); background: var(--nuit); font: var(--t-mention); line-height: 20px; color: var(--c-discret); }
.graphe-trait { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--c-discret); pointer-events: none; }
.graphe-trait--tirets { border-left-style: dashed; }
.graphe-repere { position: absolute; top: -6px; translate: -50% -100%; font: var(--t-etiquette); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-discret); white-space: nowrap; pointer-events: none; }
.graphe-point { position: absolute; z-index: 4; width: 11px; height: 11px; translate: -50% -50%; border: 2px solid var(--c-or); border-radius: var(--rayon-rond); background: var(--c-titre); pointer-events: none; }
.graphe-pastille { position: absolute; z-index: 4; translate: calc(-100% - 14px) -50%; padding: var(--espace-4) var(--espace-12); border-radius: var(--rayon-pilule); background: var(--c-or); color: var(--nuit); font: var(--t-libelle); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; pointer-events: none; }
.graphe-bulle { position: absolute; z-index: 5; bottom: calc(100% + 8px); translate: -50% 0; display: grid; gap: var(--espace-4); padding: var(--espace-8) var(--espace-12); border-radius: var(--rayon); background: var(--blanc); text-align: left; white-space: nowrap; pointer-events: none; }
.graphe-bulle > :first-child { font: var(--t-etiquette); letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-3); }
.graphe-bulle-valeur { font: var(--t-libelle); color: var(--encre); font-variant-numeric: lining-nums tabular-nums; }
.graphe-bulle-ligne { display: flex; align-items: center; gap: var(--espace-8); font: var(--t-mention); color: var(--encre); }
.graphe-bulle-ligne > strong { margin-left: auto; padding-left: var(--espace-16); font: var(--t-libelle); font-variant-numeric: lining-nums tabular-nums; }
.graphe-bulle-ligne > i, .graphe-legende i { flex: none; width: 18px; border-top: 3px solid var(--ardoise); }
.graphe-bulle-ligne > i.clair { border-top-color: var(--ardoise-clair); }
.graphe-bulle-ligne > i.tirets { border-top: 2px dashed var(--encre-3); }
.graphe-bulle-ligne > i.or { border-top-color: var(--or); }
/* la légende sous un graphique à plusieurs courbes */
.graphe-legende { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--espace-8) var(--espace-24); margin: 0; font: var(--t-mention); color: var(--c-texte); }
.graphe-legende > span { display: flex; align-items: center; gap: var(--espace-8); }
.graphe-legende i { border-top-color: var(--c-donnee); }
.graphe-legende i.clair { border-top-color: var(--c-titre); }
.graphe-legende i.tirets { border-top: 2px dashed var(--c-discret); }
.graphe-axe { position: relative; height: var(--espace-20); font: var(--t-mention); color: var(--c-discret); }
.graphe-axe > span { position: absolute; translate: -50% 0; white-space: nowrap; }
.graphe-axe > .debut { left: 0; translate: none; }
.graphe-axe > .fin { right: 0; translate: none; }
@media (max-width: 480px) { .graphe-axe > .debut + span { display: none; } }   /* sur téléphone, la première graduation chevauche « aujourd'hui » */

/* ---------- Avancement ----------
   Une barre qui montre le chemin parcouru vers une cible (style="--part: 24;", en %), avec trois repères dessous. */
.avancement { display: grid; gap: var(--espace-8); }
.avancement-piste { position: relative; height: 10px; border-radius: var(--rayon-pilule); background: var(--c-point); }
.avancement-piste > i { position: absolute; inset: 0 auto 0 0; width: calc(var(--part) * 1%); border-radius: inherit; background: var(--c-donnee); }
.avancement-reperes { position: relative; height: var(--espace-20); font: var(--t-mention); color: var(--c-discret); }
.avancement-reperes > * { position: absolute; left: 0; white-space: nowrap; }
.avancement-reperes > :nth-child(2) { left: calc(var(--part) * 1%); translate: -50% 0; color: var(--c-titre); }
.avancement-reperes > :last-child { left: auto; right: 0; }

/* ---------- Infographie « la fonte du franc » (page Inflation) ----------
   Une illustration propre à cette page : la teneur en or du franc de 1360 à aujourd'hui, en quatre chapitres qui ont
   chacun leur échelle de temps. Le script de la page trace les courbes et pose les points, les graduations et la croix
   de lecture. Les positions fixes s'écrivent en données (style="--x: 9.89; --y: 50;", en %). Sur fond nuit. */
.fonte-chapitres { display: grid; grid-template-columns: 160fr 160fr 690fr 290fr; border-bottom: 1px solid var(--c-filet); }
.fonte-chapitres > div { display: grid; gap: var(--espace-4); align-content: end; padding: 0 var(--espace-8) var(--espace-12) var(--espace-12); border-left: 1px solid var(--c-filet); }
.fonte-chapitres > div:last-child { border-left: 1px dashed var(--c-discret); }
.fonte { position: relative; height: 420px; margin-bottom: var(--espace-32); }
.fonte > svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.fonte-couche { position: absolute; inset: 0; pointer-events: none; }
.fonte-bande { position: absolute; top: 0; bottom: 0; left: calc(var(--x) * 1%); width: calc(var(--l) * 1%); background: rgba(255, 255, 255, 0.03); pointer-events: none; }
.fonte-apres { position: absolute; top: 0; bottom: 0; right: 0; background: rgba(255, 255, 255, 0.03); pointer-events: none; }
.fonte-sol { position: absolute; left: 0; right: 0; top: 91.67%; border-top: 1px solid var(--c-filet); pointer-events: none; }
.fonte-ligne { position: absolute; top: 0; bottom: 0; border-left: 1px dashed var(--c-discret); pointer-events: none; }
.fonte-evenement { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); bottom: 8.33%; border-left: 1px dashed var(--c-discret); pointer-events: none; }
.fonte-note { position: absolute; left: calc(var(--x) * 1% + 8px); top: calc(var(--y) * 1%); translate: 0 -100%; padding-bottom: 6px; font: var(--t-mention); color: var(--c-discret); white-space: nowrap; pointer-events: none; }
.fonte-note--libre { left: auto; translate: none; padding-bottom: 0; }
.fonte-note > strong { font-weight: inherit; color: var(--c-titre); }
.fonte-grad { position: absolute; left: 0; right: 0; border-top: 1px dashed var(--c-filet); }
.fonte-grad > span { position: absolute; right: 0; top: -20px; font: var(--t-mention); color: var(--c-discret); }
.fonte-cran { position: absolute; top: 91.67%; width: 1px; height: 6px; background: var(--c-discret); }
.fonte-annee { position: absolute; top: calc(91.67% + 10px); translate: -50% 0; font: var(--t-mention); color: var(--c-discret); }
.fonte-legende { display: flex; margin: var(--espace-16) 0 var(--espace-8); flex-wrap: wrap; gap: var(--espace-8) var(--espace-16); font: var(--t-mention); color: var(--c-texte); }
.fonte-legende > span { display: flex; align-items: center; gap: var(--espace-8); }
.fonte-legende i { width: 22px; border-top: 2.5px solid var(--c-donnee); }
.fonte-legende i.tirets { border-top: 2px dashed var(--c-titre); }
.fonte-croix { display: contents; }   /* la croix de lecture : masquée (hidden) tant qu'aucun point n'est survolé */
.fonte-croix[hidden] { display: none; }
.fonte-croix-v { position: absolute; bottom: 0; width: 1px; background: var(--c-discret); pointer-events: none; }
.fonte-croix-h { position: absolute; height: 1px; background: var(--c-discret); pointer-events: none; }
.fonte-croix-x { position: absolute; bottom: -30px; padding: var(--espace-4) var(--espace-8); border-radius: var(--rayon-petit); background: var(--c-titre); color: var(--nuit); font: var(--t-mention); font-weight: 600; white-space: nowrap; pointer-events: none; }
.fonte-croix-y { position: absolute; right: 0; translate: 0 -50%; padding: var(--espace-4) var(--espace-8); border-radius: var(--rayon-petit); background: var(--c-or); color: var(--nuit); font: var(--t-libelle); white-space: nowrap; pointer-events: none; }
.gold-dot { position: absolute; display: grid; place-items: center; width: 22px; height: 22px; translate: -50% -50%; cursor: pointer; pointer-events: auto; }
.gold-dot > i { width: 9px; height: 9px; border: 2px solid var(--c-donnee); border-radius: var(--rayon-rond); background: var(--nuit); }
.gold-dot > i.or { border-color: var(--c-or); }
.gold-lbl { position: absolute; font: var(--t-mention); color: var(--c-texte); white-space: nowrap; cursor: pointer; pointer-events: auto; }
@media (max-width: 760px) {
  .fonte-chapitres { grid-template-columns: 1fr 1fr; row-gap: var(--espace-20); }
  .fonte { height: 360px; }
  .fonte .fp-lbl, .fonte .fp-xt-alt { display: none; }   /* sur téléphone : les noms des francs et une année sur deux s'effacent, les points restent */
}

/* ---------- Case à cocher ----------
   Une option à activer dans les réglages d'un simulateur. */
.coche { display: flex; align-items: center; gap: var(--espace-12); padding-top: var(--espace-24); border-top: 1px solid var(--c-filet); font: var(--t-libelle); color: var(--c-titre); cursor: pointer; }
.coche > input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--c-bouton); cursor: pointer; }
.coche > input:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }

/* ---------- Repères ----------
   Quelques hypothèses côte à côte : un intitulé, une valeur courte. */
.reperes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--espace-24); margin: 0; padding-top: var(--espace-24); border-top: 1px solid var(--c-filet); }
.reperes > div { display: grid; gap: var(--espace-4); }
.reperes dt { font: var(--t-etiquette); letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-discret); }
.reperes dd { margin: 0; font: var(--t-carte); color: var(--c-titre); }

/* ---------- Barres ----------
   Un diagramme en barres dessiné par le script de la page (Intérêts composés : le versement mensuel selon l'âge de départ).
   Barres en bleu-gris ; la barre survolée passe en or et ouvre sa bulle. Sur téléphone, seule la valeur de la barre choisie s'affiche. */
.barres { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--espace-12); }
.barres-zone { position: relative; height: 380px; }
.barres-colonnes { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: clamp(6px, 1.4vw, 18px); padding: 0 clamp(4px, 2vw, 40px); }
.barres-axe { display: flex; gap: clamp(6px, 1.4vw, 18px); padding: var(--espace-8) clamp(4px, 2vw, 40px) 0; border-top: 1px solid var(--c-filet); }
.barres-titre { text-align: center; }
.mb-col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; cursor: pointer; transition: opacity var(--duree-survol); }
.mb-col.dim { opacity: 0.5; }
.barre-pile { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: var(--espace-8); }
.mb-tip { display: none; left: 50%; bottom: calc(100% + 10px); }
.mb-col.on .mb-tip { display: grid; }
.mb-tip.gauche { left: 0; translate: none; }
.mb-tip.droite { left: auto; right: 0; translate: none; }
.mb-val { font: var(--t-libelle); color: var(--c-titre); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.mb-bar { width: 100%; max-width: 72px; border-radius: var(--rayon-petit) var(--rayon-petit) 0 0; background: var(--c-donnee); transition: background-color var(--duree-survol); }
.mb-col.on .mb-bar { background: var(--c-or); }
.mb-age { flex: 1; min-width: 0; text-align: center; font: var(--t-mention); color: var(--c-discret); white-space: nowrap; transition: color var(--duree-survol); }
.mb-age.on { color: var(--c-titre); font-weight: 600; }
@media (max-width: 760px) {
  .mb-val { display: none; }
  .mb-col.on .mb-val { display: block; }
  .mb-age > span { display: none; }   /* « 20 » au lieu de « 20 ans » : le titre de l'axe dit l'unité */
  .barre-pile { position: static; }
  .mb-tip, .mb-tip.gauche, .mb-tip.droite { top: 0; bottom: auto; left: 0; right: 0; translate: none; }   /* la bulle prend la largeur du diagramme */
}

/* ---------- Réservation ----------
   Le parcours de prise de rendez-vous (Consultation offerte, Suivi patrimonial) : les étapes en tête, le formulaire à gauche,
   le calendrier et les horaires à droite, voilés tant que le formulaire n'est pas rempli ; puis la confirmation.
   La logique est dans le script de la page ; ici, seulement la mise en place. */
.reservation { max-width: 1000px; margin-inline: auto; overflow: hidden; border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); background: var(--blanc); box-shadow: var(--ombre-carte); }
.reservation > .etapes { padding: var(--espace-16) var(--espace-24); border-bottom: 1px solid var(--c-filet); }
.etapes > li[data-fait]::before { content: "✓"; background: var(--vert); color: var(--blanc); }
.reservation-corps { display: grid; grid-template-columns: minmax(310px, 390px) minmax(0, 1fr); }
.reservation-gauche { border-right: 1px solid var(--c-filet); }
.reservation-cote, .reservation-suite { display: grid; gap: var(--espace-12); align-content: start; }
.reservation-cote { padding: var(--espace-32); }
.reservation-hote { display: flex; align-items: center; gap: var(--espace-12); padding-top: var(--espace-16); border-top: 1px solid var(--c-filet); }
.reservation-hote > img { flex: none; width: 44px; height: 44px; border-radius: var(--rayon-rond); object-fit: cover; object-position: 50% 15%; }
.reservation-hote p { margin: 0; }
.reservation-agenda { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 185px; gap: var(--espace-24); align-items: start; padding: var(--espace-32); }
.reservation-voile { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; padding: var(--espace-24); background: rgba(255, 255, 255, 0.6); }
.reservation-voile > p { max-width: 280px; margin: 0; padding: var(--espace-16) var(--espace-24); border: 1px solid var(--c-filet); border-radius: var(--rayon); background: var(--blanc); box-shadow: var(--ombre-carte); font: var(--t-compact); color: var(--c-texte); text-align: center; text-wrap: pretty; }
.reservation-fin { display: grid; gap: var(--espace-24); justify-items: center; padding: var(--espace-48) var(--espace-32); text-align: center; }
.reservation-fin > * { width: 100%; max-width: 520px; margin: 0; }
.reservation-liens { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--espace-8) var(--espace-24); font: var(--t-libelle); }
.creneaux--defile { max-height: 330px; overflow-y: auto; padding-right: var(--espace-4); }
.creneau:disabled, .jour[aria-pressed]:disabled { cursor: default; }
/* la fiche du rendez-vous confirmé : un intitulé à gauche, sa valeur à droite */
.recap { display: grid; margin: 0; padding: 0 var(--espace-24); border: 1px solid var(--c-filet); border-radius: var(--rayon-grand); text-align: left; }
.recap > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--espace-16); padding: var(--espace-16) 0; border-top: 1px solid var(--c-filet); }
.recap > div:first-child { border-top: 0; }
.recap dt { font: var(--t-petit); color: var(--c-discret); }
.recap dd { margin: 0; font: var(--t-libelle); color: var(--c-titre); text-align: right; overflow-wrap: anywhere; }
/* l'attente d'une réponse du serveur : un témoin qui tourne, et le texte qui dit ce qui se passe */
.attente { display: flex; align-items: center; justify-content: center; gap: var(--espace-8); margin: 0; font: var(--t-petit); color: var(--c-discret); }
.attente::before { content: ""; flex: none; width: 14px; height: 14px; border: 2px solid var(--brume-3); border-top-color: var(--c-titre); border-radius: var(--rayon-rond); animation: attente 0.8s linear infinite; }
@keyframes attente { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .attente::before { display: none; } }   /* un témoin figé ferait croire à une page plantée */
@media (max-width: 1000px) {
  .reservation-corps { grid-template-columns: minmax(0, 1fr); }
  .reservation-gauche { border-right: 0; border-bottom: 1px solid var(--c-filet); }
}
@media (max-width: 640px) {
  .reservation-agenda { grid-template-columns: minmax(0, 1fr); }
  .creneaux--defile { max-height: none; }
  .reservation-cote, .reservation-agenda { padding: var(--espace-24); }
}
/* deux champs courts côte à côte (prénom, nom) */
.champ-rang { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--espace-12); }
/* le téléphone, en un seul bloc : le pays (drapeau, liste invisible posée dessus), un filet, l'indicatif, puis le numéro */
.champ--tel .champ-controle { align-items: stretch; min-height: var(--hauteur-commande); border: 1px solid var(--c-champ-filet); border-radius: var(--rayon); background: var(--c-champ); transition: border-color var(--duree-survol); }
.champ--tel .champ-controle:hover { border-color: var(--c-donnee); }
.champ--tel .champ-controle:focus-within { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); border-color: var(--c-contour); }
.champ-pays { position: relative; flex: none; display: flex; align-items: center; gap: var(--espace-8); padding: 0 var(--espace-12); border-right: 1px solid var(--c-champ-filet); font: var(--t-texte); cursor: pointer; }
.champ-pays::after { content: ""; width: 6px; height: 6px; margin-top: -4px; border-right: 2px solid var(--c-discret); border-bottom: 2px solid var(--c-discret); rotate: 45deg; }
.champ .champ-pays > select { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.champ-prefixe { flex: none; align-self: center; padding-left: var(--espace-12); font: var(--t-texte); line-height: 1.25; color: var(--c-discret); }
.champ.champ--tel input { flex: 1; min-height: 0; padding-left: var(--espace-8); border: 0; background: none; outline: none; }
/* un formulaire serré : le libellé est dans le champ (l'étiquette reste pour les lecteurs d'écran) ; le choix non fait est en gris, comme un libellé */
.champ select:invalid { color: var(--c-discret); }
/* une note libre de quelques lignes */
.champ.champ--note textarea { min-height: 96px; resize: vertical; }
/* une liste dont chaque ligne porte son pictogramme, à la place de la puce */
.liste--pictos > li { align-items: center; }
.liste--pictos > li::before { content: none; }
.liste--pictos svg { color: var(--c-donnee); }
/* Suivi patrimonial : la phrase qui dit à qui la page s'adresse, les invités, les actions en simple texte */
.reservation-avis { max-width: 1000px; margin: 0 auto var(--espace-24); text-align: center; text-wrap: balance; }
/* Retour d'Amaury du 17/11/2026 : un formulaire moins haut et moins chargé. Champs de 44 px (le minimum pour le doigt, texte toujours en 16 px) ;
   la durée a la forme des champs, l'option retenue en bleu-gris clair : le seul noir du bloc est le bouton « Continuer ». */
.reservation .champ :is(input:not([type="range"]), select) { min-height: var(--cible); padding-block: var(--espace-8); }
.reservation .champ--tel .champ-controle { box-sizing: border-box; min-height: var(--cible); }
.reservation .champ.champ--tel input { min-height: 0; padding-block: 0; }
.reservation .champ-retirer { height: var(--cible); }
.reservation .choix { gap: var(--espace-8); padding: 0; background: none; border-radius: 0; }
.reservation .choix > button { flex: 1; min-height: var(--cible); border: 1px solid var(--c-champ-filet); border-radius: var(--rayon); background: var(--c-champ); color: var(--c-texte); }
.reservation .choix > button[aria-checked="true"] { border-color: var(--c-donnee); background: var(--c-donnee); color: var(--blanc); }   /* bleu-gris plein : la sélection se voit, sans concurrencer le noir du bouton */
.reservation-cote > .lien-bouton, .reservation-cote .champ > .lien-bouton { margin-top: var(--espace-8); }   /* une action secondaire se détache des commandes au-dessus */
.champ.champ-invite { display: flex; align-items: center; gap: var(--espace-8); }
.champ-retirer { flex: none; width: var(--cible); height: var(--hauteur-commande); padding: 0; border: 1px solid var(--c-champ-filet); border-radius: var(--rayon); background: var(--c-champ); font: var(--t-texte); line-height: 1; color: var(--c-discret); cursor: pointer; }
.champ-retirer:hover { border-color: var(--c-donnee); color: var(--c-titre); }
.lien-bouton { justify-self: start; padding: 0; border: 0; background: none; font: var(--t-libelle); color: var(--c-titre); text-decoration: underline; text-decoration-color: var(--c-or); text-underline-offset: 3px; cursor: pointer; }
.champ-retirer:focus-visible, .lien-bouton:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
.reservation-invites { display: grid; gap: var(--espace-8); }
.reservation-invites:empty { display: none; }
.reservation-cote > .avis { text-align: center; }   /* la note Google, centrée sous le bouton « Continuer » */

/* ============================================================
   ACCUEIL
   ============================================================ */
/* ---------- Haut de l'accueil ----------
   Le seul haut de page clair du site : dégradé gris neutre, halo bleu-gris, vagues dorées qui dérivent, grain, puis le titre
   (un mot tourne : cycles, réformes, cessions, générations) et le livret « Stratégie patrimoniale » entouré de ses quatre bulles.
   Le livret est une illustration : ses nuances restent en dur (BRAND.md, « Hors charte »). */
/* >>> haut de l'accueil : styles de l'illustration, écrits par _maquette/reporter_accueil.py (ne pas modifier à la main) */
.ah-01 { background: linear-gradient(180deg, #fafafa 0%, #f2f2f2 38%, #e7e7e7 74%, #e1e1e1 100%); position: relative; }
.ah-02 { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.ah-03 { position: absolute; width: 900px; height: 900px; right: -260px; top: -340px; border-radius: 50%; background: radial-gradient(circle, rgba(120,142,170,0.50), rgba(120,142,170,0) 62%); }
.ah-04 { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 34% at 50% 72%, rgba(222,196,146,0.30) 0%, rgba(222,196,146,0) 70%); }
.ah-05 { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0) 8%, #000 40%, #000 78%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,0) 8%, #000 40%, #000 78%, rgba(0,0,0,0) 100%); }
.ah-06 { animation-duration: 44s; animation-delay: 0s; }
.ah-07 { animation-duration: 52s; animation-delay: -8s; }
.ah-08 { animation-duration: 38s; animation-delay: -20s; }
.ah-09 { animation-duration: 60s; animation-delay: -14s; }
.ah-10 { animation-duration: 47s; animation-delay: -30s; }
.ah-11 { animation-duration: 41s; animation-delay: -5s; }
.ah-12 { animation-duration: 56s; animation-delay: -26s; }
.ah-13 { animation-duration: 49s; animation-delay: -12s; }
.ah-14 { position: absolute; inset: 0; opacity: 0.16; mix-blend-mode: soft-light; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,0) 100%); mask-image: linear-gradient(180deg, #000 72%, rgba(0,0,0,0) 100%); }
.ah-15 { position: absolute; inset: 0; background: radial-gradient(ellipse 55% 45% at 6% 30%, rgba(140,160,190,0.36) 0%, rgba(140,160,190,0) 70%); pointer-events: none; }
.ah-16 { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); gap: clamp(24px, 3vw, 56px); padding: 32px clamp(24px, 5vw, 80px) 64px; align-items: center; min-height: calc(80vh - 110px); box-sizing: border-box; max-width: 1360px; margin-left: auto; margin-right: auto; }
.ah-17 { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ah-18 { position: relative; width: 360px; max-width: 100%; height: 520px; margin: 40px 150px; flex-shrink: 0; }
.ah-19 { position: absolute; inset: 0; }
.ah-20 { position: absolute; top: 8px; left: 12px; right: -10px; bottom: -8px; background: #eaeaea; border-radius: 4px 10px 10px 4px; box-shadow: 0 28px 60px rgba(20,20,20,0.20); }
.ah-21 { position: absolute; top: 4px; left: 12px; right: -5px; bottom: -4px; background: #fafafa; border-radius: 4px 10px 10px 4px; }
.ah-22 { position: absolute; inset: 0; background: linear-gradient(160deg, #fefefe, #f4f4f4); border: 1px solid #e5e5e5; border-radius: 4px 12px 12px 4px; box-shadow: 0 30px 70px rgba(20,20,20,0.22); padding: 30px 30px 24px; box-sizing: border-box; display: flex; flex-direction: column; overflow: hidden; }
.ah-23 { position: absolute; top: 0; bottom: 0; left: 0; width: 12px; background: linear-gradient(90deg, rgba(20,20,20,0.14), rgba(20,20,20,0)); border-radius: 4px 0 0 4px; }
.ah-24 { position: absolute; top: 0; right: 26px; width: 78px; background: #1B222B; color: var(--creme-2); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 8px 14px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% calc(100% - 12px), 0 100%); }
.ah-25 { font-size: 7.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; text-align: center; line-height: 1.7; }
.ah-26 { display: flex; align-items: center; gap: 10px; }
.ah-27 { width: 34px; height: auto; }
.ah-28 { display: flex; flex-direction: column; gap: 2px; }
.ah-29 { display: flex; align-items: baseline; gap: 4px; }
.ah-30 { font-family: var(--font-serif); font-size: 15px; font-weight: 600; color: var(--encre); }
.ah-31 { font-family: var(--font-serif); font-size: 15px; font-style: italic; color: var(--or-fonce); }
.ah-32 { font-size: 6.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); font-weight: 600; }
.ah-33 { width: 34px; height: 2px; background: var(--or); margin: 20px 0 14px; }
.ah-34 { font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--or-2); font-weight: 600; }
.ah-35 { font-family: var(--font-serif); font-size: 30px; line-height: 1.15; color: var(--ardoise-fonce); margin-top: 8px; }
.ah-36 { font-size: 10.5px; color: var(--taupe); margin-top: 8px; line-height: 1.7; }
.ah-37 { background: #f8f8f8; border: 1px solid var(--sable); border-radius: 12px; padding: 4px 16px; margin-top: 18px; margin-bottom: 16px; }
.ah-38 { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #ebebeb; }
.ah-39 { font-size: 9px; color: var(--or-2); font-weight: 600; }
.ah-40 { font-family: var(--font-serif); font-size: 11.5px; font-weight: 600; color: var(--encre); }
.ah-41 { font-size: 8.5px; color: var(--taupe); }
.ah-42 { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.ah-43 { margin-top: auto; border-top: 1px solid #c3c3c3; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.ah-44 { font-size: 8.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--encre-3); }
.ah-45 { position: absolute; top: 130px; right: -140px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.85); border-radius: 14px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(20,20,20,0.16); --r: 2deg; animation: bubbleFloat 5s ease-in-out infinite; }
.ah-46 { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ardoise); font-weight: 600; }
.ah-47 { font-family: var(--font-serif); font-size: 24px; color: var(--encre); margin-top: 4px; }
.ah-48 { font-size: 12px; font-family: var(--font-sans); color: var(--encre-3); }
.ah-49 { position: absolute; top: 205px; left: -135px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.85); border-radius: 14px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(20,20,20,0.16); --r: -2.5deg; animation: bubbleFloat 6s ease-in-out infinite; animation-delay: -1.5s; }
.ah-50 { position: absolute; bottom: 24px; right: -125px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.85); border-radius: 14px; padding: 14px 18px; box-shadow: 0 16px 40px rgba(20,20,20,0.16); --r: -2deg; animation: bubbleFloat 5.5s ease-in-out infinite; animation-delay: -3s; }
.ah-51 { position: absolute; bottom: 40px; left: -150px; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.85); border-radius: 14px; padding: 14px 16px; box-shadow: 0 16px 40px rgba(20,20,20,0.16); --r: 1.5deg; animation: bubbleFloat 6.5s ease-in-out infinite; animation-delay: -4.2s; }
.ah-52 { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ardoise); font-weight: 600; white-space: nowrap; }
/* <<< haut de l'accueil */
.ah-grain { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ah-vague { position: absolute; left: 0; top: 0; width: 2880px; height: 100%; animation: ah-derive 40s linear infinite; will-change: transform; }
.ah-halo { animation: ah-halo 16s ease-in-out infinite alternate; }
@keyframes ah-derive { from { transform: translateX(0); } to { transform: translateX(-1440px); } }
@keyframes ah-halo { from { transform: translate(0, 0) scale(1); } to { transform: translate(-90px, 60px) scale(1.15); } }
@keyframes bubbleFloat { 0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); } 33% { transform: translate(2px, -5px) rotate(calc(var(--r, 0deg) + 0.6deg)); } 66% { transform: translate(-2px, -3px) rotate(calc(var(--r, 0deg) - 0.5deg)); } }
.accueil-texte { display: grid; gap: var(--espace-24); justify-items: start; }
.accueil-texte > .t-intro { max-width: 540px; }
.accueil-texte > .action { margin-top: var(--espace-8); }
/* le mot qui tourne dans le titre ; la phrase complète est donnée aux lecteurs d'écran */
.roll-bloc { white-space: nowrap; }
.roll { display: inline-grid; overflow: hidden; text-align: left; padding: 0.08em 0.06em 0.12em 0.02em; margin: -0.08em -0.06em -0.12em -0.02em; vertical-align: baseline; font-style: italic; font-weight: 400; color: var(--or-fonce); }
.roll-w { grid-area: 1 / 1; display: block; opacity: 0; transform: translateY(110%); animation: roll 12s cubic-bezier(0.2, 0.7, 0.2, 1) infinite; white-space: nowrap; }
.roll-w:nth-child(2) { animation-delay: 3s; }
.roll-w:nth-child(3) { animation-delay: 6s; }
.roll-w:nth-child(4) { animation-delay: 9s; }
.roll-first { opacity: 1; transform: none; }
@keyframes roll { 0% { transform: translateY(110%); opacity: 0; } 6% { transform: translateY(0); opacity: 1; } 25% { transform: translateY(0); opacity: 1; } 31% { transform: translateY(-110%); opacity: 0; } 100% { transform: translateY(-110%); opacity: 0; } }
@media (min-width: 1100px) { .accueil-hero { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); } }
@media (max-width: 760px) { .ah-vague-fine, .livret-bulle { display: none; } }
@media (max-width: 600px) {
  .roll-bloc { white-space: normal; }
  .accueil-hero { min-height: 0; padding-bottom: var(--espace-40); }
  .livret { margin: var(--espace-24) 0 var(--espace-8); }
}

/* ---------- Bandeau défilant ----------
   Une rangée qui défile sans fin (logos des partenaires). Le contenu est écrit deux fois, la seconde cachée aux lecteurs d'écran.
   Les bords s'estompent. Sans animation (réglage du système), la rangée se fait défiler à la main. */
.defile { overflow: hidden; padding: 0 5vw;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, transparent 32px, #000 180px, #000 calc(100% - 180px), transparent calc(100% - 32px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, transparent 32px, #000 180px, #000 calc(100% - 180px), transparent calc(100% - 32px), transparent 100%); }
.defile-piste { display: flex; width: max-content; animation: defile 32s linear infinite; }
.defile-piste--logos { align-items: center; gap: 80px; padding-right: 80px; }
.defile-piste--logos > img { flex: none; width: auto; height: 26px; filter: grayscale(1); opacity: 0.6; }
.defile-titre { text-align: center; }
.section > .defile { margin-top: var(--espace-40); }   /* la rangée qui défile se détache de l'en-tête au-dessus */
@keyframes defile { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Rangée d'avis ----------
   Les avis Google, une carte par avis : le texte d'abord (les passages clés en gras), puis l'auteur, la date et la note.
   La rangée avance seule (script de l'accueil), s'arrête au survol et se fait défiler à la main : flèches, doigt, molette, clavier.
   Sans script ni animation, elle reste une rangée à faire défiler. Un texte long est coupé à dix lignes. */
.avis-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--espace-24); }
.avis-fleches { display: flex; gap: var(--espace-8); }
.avis-fleches[hidden] { display: none; }
.avis-fleche { display: grid; place-items: center; width: var(--cible); height: var(--cible); padding: 0; border: 1px solid var(--c-filet); border-radius: var(--rayon-rond); background: var(--c-surface); color: var(--c-titre); cursor: pointer; transition: border-color var(--duree-survol); }
.avis-fleche:hover { border-color: var(--c-titre); }
.avis-fleche:focus-visible, .avis-rail:focus-visible { outline: 2px solid var(--c-contour); outline-offset: var(--contour-ecart); }
.avis-rail { display: flex; align-items: stretch; gap: var(--espace-24); margin-top: var(--espace-40); padding: var(--espace-4) max(var(--marge-page), calc((100% - var(--largeur-contenu)) / 2)) var(--espace-16); overflow-x: auto; scrollbar-width: none; }
.avis-rail::-webkit-scrollbar { display: none; }
.avis-carte { flex: none; width: 380px; margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: var(--espace-24); box-shadow: var(--ombre-carte); }
.avis-carte > blockquote { margin: 0; font: var(--t-texte); color: var(--c-titre); text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 10; overflow: hidden; }
.avis-carte strong { font-weight: 600; }
.avis-carte > figcaption { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--espace-12); padding-top: var(--espace-16); border-top: 1px solid var(--c-filet); }
.avis-auteur { display: grid; }
.avis-carte .avis-etoiles { margin: 0; white-space: nowrap; }
.avis-etoiles-vides { color: var(--c-filet); }
.rang-pastilles { display: flex; flex-wrap: wrap; gap: var(--espace-8); margin: 0; padding: 0; list-style: none; }
@media (max-width: 600px) {
  .defile { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent 100%); }
  .defile-piste--logos { gap: var(--espace-48); padding-right: var(--espace-48); }
  .avis-tete { display: grid; }
  .avis-rail { gap: var(--espace-16); }
  .avis-carte { width: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-vague, .ah-halo, .livret-bulle, .roll-w, .defile-piste { animation: none; }
  .roll-w { display: none; } .roll-first { display: block; }
  .defile { overflow-x: auto; }
}

/* ---------- Bandeau d'adhésion ----------
   Le composant s'appelle .chambre et non .adhesion : les bloqueurs de publicité masquent toute classe « adhesion » (règle EasyList).
   Le logo de la CNCGP, la formule « Adhérent de… », trois repères, la source. Jamais près des logos des partenaires (charte de la CNCGP). */
.chambre { display: grid; grid-template-columns: auto auto; justify-content: center; gap: var(--espace-32); align-items: center; }   /* le logo et son texte, centrés dans le bandeau */
.chambre-logo { display: grid; place-items: center; margin: 0; padding: var(--espace-16); border: 1px solid var(--c-filet); border-radius: var(--rayon); background: var(--blanc); }
.chambre-logo > img { display: block; width: 132px; height: auto; }   /* 132 px : le plafond de 35 mm de la charte CNCGP */
.chambre .reperes { padding-top: 0; border-top: 0; grid-template-columns: repeat(3, auto); justify-content: center; gap: var(--espace-16) var(--espace-48); text-align: center; }   /* les trois repères sur une ligne, centrés */
.chambre > .pile { text-align: center; }
.chambre .reperes :is(dt, dd) { white-space: nowrap; }
@media (max-width: 1100px) { .chambre .reperes { grid-template-columns: repeat(3, minmax(0, 1fr)); } .chambre .reperes :is(dt, dd) { white-space: normal; } }
@media (max-width: 600px) { .chambre .reperes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .chambre { grid-template-columns: minmax(0, 1fr); justify-items: center; }
}

/* ---------- Citations ----------
   Dans une carte : quelques phrases de clients, l'une sous l'autre, séparées par un filet. */
.citations { display: grid; margin: 0; padding: 0; list-style: none; }
.citations > li { padding: var(--espace-16) 0; border-top: 1px solid var(--c-filet); font: var(--t-citation); color: var(--c-titre); text-wrap: pretty; }   /* serif italique : la règle des citations */
.citations > li:last-child { border-bottom: 1px solid var(--c-filet); }
.grille-cartes--deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .grille-cartes--deux { grid-template-columns: minmax(0, 1fr); } }
a.carte > .t-surtitre { display: flex; align-items: center; gap: var(--espace-8); margin-bottom: var(--espace-12); }
a.carte > .t-surtitre > svg { flex: none; width: 18px; height: 18px; }
a.carte > .citations + .t-libelle { padding-top: var(--espace-16); text-align: right; }   /* « Voir … → » : en bas à droite de la carte */
/* une carte dont le pictogramme et le titre tiennent sur une même ligne (titre court, un seul concept) */
.carte-tete { display: flex; align-items: center; gap: var(--espace-16); }
.carte > .carte-tete > .pictogramme { margin: 0; }
/* une bande plus basse qu'une section : la rangée des partenaires */
.section--mince { padding-block: var(--espace-48); }
.carte.chambre { padding: var(--espace-32); }
