:root {
  --f-titre: 'Unbounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-texte: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-graisse-titre: 800;
  --f-casse-kicker: none;
  --tm: 0.8rem;
  --t1: 1.0rem;
  --t2: 1.25rem;
  --t3: 1.562rem;
  --t4: 1.953rem;
  --t5: 2.441rem;
  --t6: 3.052rem;
  --t7: 3.815rem;
  --t-hero: clamp(2.44rem, 6vw, 4.77rem);
  --e1: 0.3rem;
  --e2: 0.6rem;
  --e3: 0.9rem;
  --e4: 1.2rem;
  --e5: 1.8rem;
  --e6: 2.4rem;
  --e7: 3.6rem;
  --e8: 4.8rem;
  --r-carte: 28px;
  --r-bouton: 999px;
  --r-image: 22px;
  --largeur: 1280px;
  --ico-trait: 2.5;
  --header-h: 72px;
  --c-fond: #fafafa;
  --c-fond-2: #eeeaeb;
  --c-surface: #ffffff;
  --c-texte: #232f2e;
  --c-texte-2: #576b68;
  --c-primaire: #3bab9f;
  --c-sur-primaire: #142927;
  --c-secondaire: #ba4549;
  --c-sur-secondaire: #f9f5f6;
  --c-primaire-texte: #28766d;
  --c-secondaire-texte: #95373a;
  --c-doux: #ecdfe0;
  --c-sur-doux: #142927;
  --c-bord: #d3d9d9;
  --c-voile: #0c1817;
  --c-sur-voile: #ffffff;
  --c-ombre: #0f2421;
  --o-carte: 0 1px 2px color-mix(in srgb, #0f2421 8%, transparent), 0 8px 24px color-mix(in srgb, #0f2421 8%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #0f2421 28%, transparent);
  --carte-fond: #ffffff;
  --carte-encre: #232f2e;
  --carte-encre-2: #576b68;
  --carte-lien: #28766d;
  --carte-bord: 1px solid #d3d9d9;
  --btn-fond: #3bab9f;
  --btn-texte: #142927;
  --btn-bord: 2px solid #3bab9f;
  --btn-ombre: none;
  --btn-deco: none;
  --lien-couleur: #28766d;
  --lien-deco: none;
  --lien-epaisseur: 1px;
  --lien-fond: #ecdfe0;
  --lien-fond-encre: #142927;
}
html.dark, html[data-theme="dark"], html[data-mode="dark"], html.theme-dark, body.dark, [data-theme="dark"] [data-bh-home] {
  --c-fond: #141817;
  --c-fond-2: #241c1c;
  --c-surface: #242b2b;
  --c-texte: #e8eeed;
  --c-texte-2: #b6c3c2;
  --c-primaire: #6fcec3;
  --c-sur-primaire: #142927;
  --c-secondaire: #c86a6d;
  --c-sur-secondaire: #291415;
  --c-primaire-texte: #8dd8d0;
  --c-secondaire-texte: #d99799;
  --c-doux: #3f2727;
  --c-sur-doux: #f5f9f9;
  --c-bord: #424d4c;
  --c-voile: #0c1817;
  --c-sur-voile: #ffffff;
  --c-ombre: #030707;
  --o-carte: 0 1px 2px color-mix(in srgb, #030707 8%, transparent), 0 8px 24px color-mix(in srgb, #030707 8%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #030707 28%, transparent);
  --carte-fond: #242b2b;
  --carte-encre: #e8eeed;
  --carte-encre-2: #b6c3c2;
  --carte-lien: #8dd8d0;
  --carte-bord: 1px solid #424d4c;
  --btn-fond: #6fcec3;
  --btn-texte: #142927;
  --btn-bord: 2px solid #6fcec3;
  --btn-ombre: none;
  --btn-deco: none;
  --lien-couleur: #8dd8d0;
  --lien-deco: none;
  --lien-epaisseur: 1px;
  --lien-fond: #3f2727;
  --lien-fond-encre: #f5f9f9;
}

/* home.css — la banque de blocs home. AUCUNE couleur ni police ici :
   tout vient des tokens posés par da.py (--c-*, --f-*, --t*, --e*, --r-*...).
   Un test statique refuse toute couleur littérale dans ce fichier. */

html { overflow-x: clip; }
body { overflow-x: clip; }
.bh-889a-home {
  font-family: var(--f-texte); color: var(--c-texte); background: var(--c-fond);
  font-size: var(--t1); line-height: 1.6;
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  position: relative; box-sizing: border-box; text-align: left;
}
.bh-889a-home *, .bh-889a-home *::before, .bh-889a-home *::after { box-sizing: border-box; }
.bh-889a-home * { min-width: 0; }
.bh-889a-home :is(a, p, span, small) { opacity: 1; }
.bh-889a-home img { max-width: 100%; display: block; }
.bh-889a-home a { color: inherit !important; }
.bh-889a-home :is(h1, h2, h3, h4, blockquote) { color: inherit; }
.bh-889a-home p { margin: 0; }
.bh-889a-home h2, .bh-889a-home h3 { margin: 0; }
.bh-889a-home .bh-889a-h2 { color: var(--c-texte) !important; }
.bh-889a-home .bh-889a-intro { color: var(--c-texte) !important; }
.bh-889a-home :is(.bh-889a-kicker, .bh-889a-num) { color: var(--c-texte) !important; }
.bh-889a-home .bh-889a-c-p { color: var(--carte-encre) !important; }
.bh-889a-home :is(.bh-889a-c-titre, .bh-889a-c-meta, .bh-889a-c-kicker, .bh-889a-c-suite) { color: var(--carte-encre) !important; }
.bh-889a-marque-site {
  position: absolute; z-index: 10; inset-block-start: var(--e3); inset-inline-start: var(--e5);
  padding: var(--e2) var(--e3); background: var(--c-fond); color: var(--c-texte);
  border: var(--bordure) solid var(--c-bordure); border-radius: var(--r-bouton);
}

/* ─── sections : le HERO seul fait un écran (règle Cedia 26/09) ───
   Les autres blocs prennent la hauteur de leur contenu, avec une respiration régulière :
   le min-height d'un écran laissait 140 à 213 px de vide en bas de repères, duel, titres
   (revue-auto-moto.com). */
.bh-889a-home .bh-889a-bloc {
  display: flex; flex-direction: column;
  justify-content: flex-start; padding-block: var(--e8); background: var(--c-fond) !important; color: var(--c-texte) !important;
}
.bh-889a-home .bh-889a-fond-b { background: var(--c-fond-2) !important; }
.bh-889a-home .bh-889a-fond-doux {
  background: var(--c-doux) !important;
  --c-texte: var(--c-sur-doux); --c-texte-2: var(--c-sur-doux); --c-primaire-texte: var(--c-sur-doux);
}
/* Contraste sur fond doux. Les jetons dérivés (--btn-texte, --carte-lien, --lien-couleur) sont
   résolus sur :root avec la couleur primaire : posés à même un fond doux (bouton contour ou
   souligné, lien hors carte), ils tombaient sous 4.5 (mesuré le 24/09 : 4.06 à 4.45). Sur fond
   doux ils prennent l'encre du doux ; dans une carte, qui a son propre fond, ils reprennent
   leur valeur d'origine gardée sur .bh-889a-home. */
.bh-889a-home { --btn-texte-racine: var(--btn-texte); --btn-bord-racine: var(--btn-bord); --carte-lien-racine: var(--carte-lien); }
.bh-889a-home .bh-889a-fond-doux { --carte-lien: var(--c-sur-doux); --lien-couleur: var(--c-sur-doux); --lien-fond-encre: var(--c-sur-doux); }
.bh-889a-home:is([data-bouton="contour"], [data-bouton="souligne"]) .bh-889a-fond-doux { --btn-texte: var(--c-sur-doux); }
.bh-889a-home[data-bouton="contour"] .bh-889a-fond-doux { --btn-bord: 2px solid var(--c-sur-doux); }
.bh-889a-home .bh-889a-fond-doux :is(.bh-889a-carte, .bh-889a-acc) {
  --carte-lien: var(--carte-lien-racine); --btn-texte: var(--btn-texte-racine); --btn-bord: var(--btn-bord-racine);
}
/* Gouttière de 1 rem, pas 1,5 rem (garde du parc 29/09/2026, actu-pme.com) : à 390 px, --e5
   (1,5 rem) ne laissait que 351 px de conteneur, et la moindre marge intérieure de carte faisait
   passer le texte sous les 300 px exigés par `page_cassee.colonne_etroite`. Au-delà de 1360 px
   (--largeur) la valeur ne change rien : le plafond décide. */
.bh-889a-int { width: min(100% - 2 * var(--e4), var(--largeur)); margin-inline: auto; }

/* ─── en-tête de section ─── */
.bh-889a-entete { margin-bottom: var(--e6); max-width: 64ch; }
[data-alignement="centre"] .bh-889a-entete { margin-inline: auto; text-align: center; }
[data-alignement="centre"] .bh-889a-d-colle .bh-889a-entete { margin-inline: 0; text-align: left; }
.bh-889a-num { display: none; }
[data-titres="numero"] .bh-889a-num {
  display: block; font-family: var(--f-titre); font-size: var(--t4); line-height: 1;
  color: var(--c-primaire-texte); margin-bottom: var(--e3);
}
.bh-889a-kicker { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .08em; color: var(--c-primaire-texte); font-weight: 600; }
.bh-889a-h2 {
  font-family: var(--f-titre); font-weight: var(--f-graisse-titre); line-height: 1.08;
  font-size: clamp(var(--t3), 4vw, var(--t5)); color: var(--c-texte); margin-bottom: var(--e3);
  letter-spacing: -.01em;
}
[data-titres="geant"] .bh-889a-h2 { font-size: clamp(var(--t4), 6vw, var(--t6)); letter-spacing: -.025em; }
[data-titres="trait"] .bh-889a-h2 { padding-bottom: var(--e3); border-bottom: 3px solid var(--c-primaire-texte); display: inline-block; }
[data-titres="kicker"] .bh-889a-entete::before {
  content: ""; display: block; width: 3rem; height: 4px; background: var(--c-primaire); margin-bottom: var(--e4);
}
[data-alignement="centre"][data-titres="kicker"] .bh-889a-entete::before { margin-inline: auto; }
.bh-889a-intro { color: var(--c-texte-2); font-size: var(--t2); }
.bh-889a-entete-lien { margin-top: var(--e4); }

/* ─── boutons et liens ─── */
.bh-889a-home .bh-889a-bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.35em; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--btn-fond) !important; color: var(--btn-texte) !important; border: var(--btn-bord);
  border-radius: var(--r-bouton); box-shadow: var(--btn-ombre);
  text-decoration: var(--btn-deco); text-underline-offset: .35em; text-decoration-thickness: 2px;
  transition: transform .15s ease;
}
.bh-889a-bouton:hover { transform: translateY(-2px); }
/* Les flèches de la banque sont des tracés SVG posés par rendu.py, plus des
   glyphes de fonte injectés par CSS (le « » seul se lisait comme un caractère
   orphelin, centré sous les cartes de forme « ligne »). */
.bh-889a-fleche svg { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.bh-889a-home :is(.bh-889a-c-suite, .bh-889a-intro a) {
  color: var(--carte-lien) !important; font-weight: 600; text-decoration: var(--lien-deco);
  text-decoration-thickness: var(--lien-epaisseur); text-underline-offset: .3em; width: fit-content;
}
/* surligné : l encre du doux, en !important sinon la règle .bh-889a-c-suite (encre de lien) gagnait : 3.85 mesuré en sombre */
.bh-889a-home[data-lien="surligne"] .bh-889a-c-suite { background: var(--c-doux); color: var(--c-sur-doux) !important; padding: .1em .35em; }

/* ─── cartes ─── */
.bh-889a-home .bh-889a-carte {
  background: var(--carte-fond) !important; color: var(--carte-encre) !important; border: var(--carte-bord);
  border-radius: var(--r-carte); box-shadow: var(--o-carte); overflow: hidden;
  display: flex; flex-direction: column; min-width: 0; position: relative;
  transition: box-shadow .2s ease, transform .2s ease;
}
.bh-889a-carte:hover { box-shadow: var(--o-survol); }
.bh-889a-c-corps { padding: var(--e5); display: flex; flex-direction: column; gap: var(--e2); flex: 1; }
.bh-889a-c-titre { font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: var(--t2); line-height: 1.2; color: var(--carte-encre); }
.bh-889a-c-titre a { text-decoration: none; color: inherit; }
.bh-889a-c-titre a:hover { text-decoration: underline; text-underline-offset: .2em; }
/* Plafond de lignes des paragraphes de carte. Il ne sert plus à faire tenir un
   texte dans une mise en page : le budget rédactionnel est de 240 caractères
   (phrase complète) et tient en 8 lignes à 360 px. Douze lignes ne coupent donc
   jamais un texte écrit, elles protègent d'un collage pathologique. Même valeur
   que .bh-889a-pile, qui l'appliquait déjà à ses propres cartes. */
.bh-889a-c-p { color: var(--carte-encre-2); display: -webkit-box; -webkit-line-clamp: 12; -webkit-box-orient: vertical; overflow: hidden; }
.bh-889a-c-kicker { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .06em; color: var(--carte-lien); font-weight: 600; }
.bh-889a-c-meta { font-size: var(--tm); color: var(--carte-encre-2); }
.bh-889a-c-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.bh-889a-cs-texte, .bh-889a-cs-qr, .bh-889a-cs-fait, .bh-889a-cs-citation { padding: var(--e5); gap: var(--e3); }
/* ─── plancher de lecture des cartes (garde du parc 30/09/2026, decorateur-maison.com) ───
   `page_cassee.colonne_etroite` refuse tout texte de 60 caractères et plus dans une boîte de
   moins de 300 px. La marge intérieure HORIZONTALE d'une carte se paie deux fois : dans un
   conteneur de --largeur une grille de trois colonnes donne une carte de 354 px (1120 px de
   --largeur, 28,8 px de gouttière --e5) et --e5 (28,8 px de chaque côté) ne laissait que
   296 px au paragraphe — 4 px sous le seuil. On garde --e5 en vertical (la respiration de la
   carte ne bouge pas) et on ramène l'horizontale à --e4 : 316 px de texte à trois colonnes,
   313 px à une colonne sur un écran de 390 px. C'est le remède que quatre gardes du parc ont
   porté à la main dans la copie figée de leur site (actu-pme, assurance-et-famille,
   actu-maison, maison-bien-etre) : il manquait au gabarit lui-même, donc tout site neuf
   renaissait avec le défaut. Figé par `tests/test_colonne_etroite_grille_kit.py`. */
.bh-889a-c-corps,
.bh-889a-cs-texte, .bh-889a-cs-qr, .bh-889a-cs-fait, .bh-889a-cs-citation { padding-inline: var(--e4); }
/* Les formes de carte sont préfixées par .bh-889a-home : sans cela elles restaient à
   (0,1,0) sous `.bh-889a-home .bh-889a-carte` (0,2,0), qui impose `flex-direction:
   column` à toutes les cartes. La forme « ligne » était donc empilée et son
   icône « lire la suite » tombait seule et centrée sous le texte. À
   spécificité égale, l'ordre de source tranche : ces règles sont plus bas dans
   le fichier, elles gagnent enfin.
   `min-height: 100%` sur un item dont la hauteur de parent est inconnue
   chassait .bh-889a-c-corps hors de la carte : `align-self: stretch` étire la photo
   sans écraser le texte. */
.bh-889a-home .bh-889a-cs-image-gauche { flex-direction: row; }
.bh-889a-cs-image-gauche .bh-889a-c-media { flex: 0 0 38%; align-self: stretch; min-height: 0; }
.bh-889a-cs-image-gauche .bh-889a-c-media img { width: 100%; height: 100%; min-height: 9rem; object-fit: cover; }
.bh-889a-cs-superpose { min-height: 15rem; justify-content: flex-end; }
.bh-889a-cs-superpose .bh-889a-c-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.bh-889a-c-voile {
  position: relative; padding: var(--e5); display: flex; flex-direction: column; gap: var(--e2);
  background: linear-gradient(to top, color-mix(in srgb, var(--c-voile) 92%, transparent) 55%, color-mix(in srgb, var(--c-voile) 0%, transparent));
  color: var(--c-sur-voile); padding-top: var(--e8);
}
.bh-889a-c-voile .bh-889a-c-titre, .bh-889a-c-voile .bh-889a-c-kicker, .bh-889a-c-voile .bh-889a-c-meta { color: var(--c-sur-voile); }
.bh-889a-c-vedette .bh-889a-c-titre { font-size: var(--t4); }
.bh-889a-cs-portrait { align-items: flex-start; }
.bh-889a-c-avatar { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; margin: var(--e5) var(--e5) 0; }
.bh-889a-c-vedette .bh-889a-c-avatar { width: 9rem; height: 9rem; }
.bh-889a-cs-numero .bh-889a-c-numero {
  font-family: var(--f-titre); font-size: var(--t5); line-height: 1; color: var(--carte-lien);
  padding: var(--e5) var(--e5) 0; font-weight: var(--f-graisse-titre);
}
.bh-889a-home .bh-889a-cs-ligne { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--e4); }
.bh-889a-cs-ligne .bh-889a-c-corps { padding-block: var(--e4); }
.bh-889a-c-fleche {
  display: inline-flex; align-items: center; padding: var(--e4); text-decoration: none;
  font-size: var(--t3); color: var(--carte-lien);
}
.bh-889a-cs-pastille { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.bh-889a-c-pastille {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--e3);
  padding: .7em 1.1em; border-radius: var(--r-bouton); border: var(--carte-bord);
  background: var(--carte-fond); color: var(--carte-encre); text-decoration: none; font-weight: 600;
}
.bh-889a-c-pastille small { color: var(--carte-encre-2); font-weight: 400; }
.bh-889a-c-pastille:hover { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-889a-c-pastille:hover small { color: var(--c-sur-primaire); }
.bh-889a-c-citation { margin: 0; font-family: var(--f-titre); font-size: var(--t2); line-height: 1.45; }
.bh-889a-c-vedette .bh-889a-c-citation { font-size: var(--t4); }
.bh-889a-c-signature { display: grid; gap: .1em; font-size: var(--tm); color: var(--carte-encre-2); }
.bh-889a-c-signature strong { color: var(--carte-encre); font-size: var(--t1); }
/* étoiles : toujours en rangée, pleines = la note (le builder les pose parfois en SVG, qui
   passaient en display:block et s'empilaient : « Ce que vous en dites » cassé, 26/09) */
.bh-889a-etoiles { letter-spacing: .15em; font-size: var(--t1); display: flex; align-items: center; gap: .15em; flex-wrap: nowrap; margin: 0; line-height: 1; }
.bh-889a-etoiles svg { display: inline-block; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; color: var(--carte-lien); }
.bh-889a-etoile { color: var(--carte-lien); }
.bh-889a-etoiles .bh-889a-etoile-vide { color: var(--c-bord); }
.bh-889a-etoiles-vides { display: inline-flex; gap: .15em; }
.bh-889a-etoiles-pleines { color: var(--carte-lien); }
.bh-889a-etoiles-vides { color: var(--c-bord); }
.bh-889a-c-chiffre { font-family: var(--f-titre); font-size: var(--t6); line-height: 1; color: var(--carte-lien); font-weight: var(--f-graisse-titre); overflow-wrap: anywhere; }
.bh-889a-c-label { font-weight: 600; }
/* La carte image seule n'a pas de chrome : l'image EST la carte. Il faut .bh-889a-home et
   !important, sinon `.bh-889a-home .bh-889a-carte` (0,2,0, `background: var(--carte-fond)
   !important`) repeint la carte et le texte de la légende se retrouve collé à son bord
   gauche (decorateur-maison.com 28/09, contrôle home:cartes-marge-interne). */
.bh-889a-home .bh-889a-cs-image-seule { background: transparent !important; border: 0; box-shadow: none; gap: var(--e2); }
.bh-889a-cs-image-seule img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); }
.bh-889a-c-legende { font-size: var(--tm); color: var(--c-texte-2); }

/* ─── grilles (colonnes posées par le composeur : --cd --ct --cm) ─── */
.bh-889a-grille { display: grid; gap: var(--e5); grid-template-columns: repeat(var(--cm), minmax(0, 1fr)); }
@media (min-width: 640px) { .bh-889a-grille { grid-template-columns: repeat(var(--ct), minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bh-889a-grille { grid-template-columns: repeat(var(--cd), minmax(0, 1fr)); } }
.bh-889a-g-pastille { gap: var(--e3); }

/* magazine : une vedette et une grille de deux colonnes */
.bh-889a-magazine { display: grid; gap: var(--e5); }
.bh-889a-mag-vedette .bh-889a-c-img { aspect-ratio: 4 / 3; }
@media (min-width: 1024px) {
  .bh-889a-magazine { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; }
  .bh-889a-mag-droite .bh-889a-mag-vedette { order: 2; }
  .bh-889a-mag-vedette, .bh-889a-mag-vedette .bh-889a-carte { height: 100%; }
  .bh-889a-mag-reste .bh-889a-cs-image-gauche .bh-889a-c-p { -webkit-line-clamp: 2; }
}
.bh-889a-mag-reste .bh-889a-c-titre { font-size: var(--t1); }

/* bento : rectangle toujours plein */
.bh-889a-bento { display: grid; gap: var(--e4); grid-template-columns: minmax(0, 1fr); }
.bh-889a-bento > .bh-889a-carte { min-height: 13rem; }
@media (min-width: 640px) {
  .bh-889a-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-889a-bento > :first-child { grid-column: span 2; }
  .bh-889a-bento-4 > :nth-child(2), .bh-889a-bento-6 > :nth-child(2) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bh-889a-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(11rem, 1fr); }
  .bh-889a-bento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-889a-bento-3 > :nth-child(1) { grid-area: 1 / 1 / 3 / 2; } .bh-889a-bento-3 > :nth-child(2) { grid-area: 1 / 2 / 2 / 3; } .bh-889a-bento-3 > :nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
  .bh-889a-bento-4 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-889a-bento-4 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-889a-bento-4 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-889a-bento-4 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; }
  .bh-889a-bento-5 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-889a-bento-5 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-889a-bento-5 > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; } .bh-889a-bento-5 > :nth-child(4) { grid-area: 2 / 3 / 3 / 4; } .bh-889a-bento-5 > :nth-child(5) { grid-area: 2 / 4 / 3 / 5; }
  .bh-889a-bento-6 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-889a-bento-6 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-889a-bento-6 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-889a-bento-6 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; } .bh-889a-bento-6 > :nth-child(5) { grid-area: 3 / 1 / 4 / 3; } .bh-889a-bento-6 > :nth-child(6) { grid-area: 3 / 3 / 4 / 5; }
  /* Sept cartes sur TROIS colonnes, pas quatre (garde du parc 29/09/2026, actu-pme.com) : à quatre
     colonnes dans un conteneur de 1360 px, une carte mesure 328 px et son texte (marge intérieure
     de carte + bordure) tombe à 278-294 px — sous les 300 px exigés par `page_cassee.colonne_etroite`
     pour tout texte de 60 caractères et plus. Aucun réglage de marge intérieure ne rattrape 22 px ;
     c'est le NOMBRE DE COLONNES qui fait la largeur de lecture. Trois colonnes = 442 px de carte,
     392 à 408 px de texte. Neuf cellules, sept cartes, aucun trou : 2+1 / 1+1+1 / 1+2, dans l'ordre
     de lecture. La 7e carte garde DEUX colonnes comme la vedette : c'est souvent une carte
     horizontale (image | texte), dont les deux moitiés divisent la largeur — à une seule colonne son
     texte tombait à 188 px (mesuré sur actu-pme.com le 29/09). */
  .bh-889a-bento-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bh-889a-bento-7 > :nth-child(1) { grid-area: 1 / 1 / 2 / 3; } .bh-889a-bento-7 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-889a-bento-7 > :nth-child(3) { grid-area: 2 / 1 / 3 / 2; } .bh-889a-bento-7 > :nth-child(4) { grid-area: 2 / 2 / 3 / 3; } .bh-889a-bento-7 > :nth-child(5) { grid-area: 2 / 3 / 3 / 4; } .bh-889a-bento-7 > :nth-child(6) { grid-area: 3 / 1 / 4 / 2; } .bh-889a-bento-7 > :nth-child(7) { grid-area: 3 / 2 / 4 / 4; }
  .bh-889a-bento > .bh-889a-carte { min-height: 0; }
}
.bh-889a-mosaique > .bh-889a-carte { min-height: 10rem; }
.bh-889a-mosaique .bh-889a-c-lienimg { display: block; flex: 1; min-height: 0; }
.bh-889a-mosaique .bh-889a-cs-image-seule img { aspect-ratio: auto; height: 100%; min-height: 10rem; }

/* split : image ou aplat d'un côté, liste de l'autre */
.bh-889a-split { display: grid; gap: var(--e6); align-items: center; }
.bh-889a-split-media { margin: 0; }
.bh-889a-split-media img { width: 100%; height: min(68svh, 40rem); object-fit: cover; border-radius: var(--r-image); }
.bh-889a-split-texte {
  background: var(--c-primaire); color: var(--c-sur-primaire); border-radius: var(--r-carte);
  min-height: 22rem; padding: var(--e7); display: flex; align-items: flex-end;
}
.bh-889a-split-grand { font-family: var(--f-titre); font-size: clamp(var(--t4), 3.4vw, var(--t6)); line-height: 1.08; font-weight: var(--f-graisse-titre); }
.bh-889a-split-liste { display: grid; gap: var(--e4); }
@media (min-width: 1024px) {
  .bh-889a-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-889a-split-droite .bh-889a-split-media { order: 2; }
}

/* carrousel — le plancher de la carte est un plancher de LECTURE : une carte de
   21rem (336 px) moins 2 x --e5 et 2 px de bord laissait 291 px de texte, sous
   les 300 px de `page_cassee:colonne_etroite`. 22rem en laisse 307. */
.bh-889a-car-piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(22rem, 24rem); gap: var(--e5);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--e4); scrollbar-width: thin;
}
.bh-889a-car-piste > * { scroll-snap-align: start; }
.bh-889a-car-nav { display: flex; gap: var(--e3); margin-top: var(--e4); }
.bh-889a-car-nav .bh-889a-bouton {
  padding: .4em .9em; font-size: var(--t2); line-height: 1;
  color: var(--c-texte); background: var(--c-fond);
}

/* timeline = frise vivante (Cedia 26/09 : « timelines moches, pas dynamiques ») : le trait se
   remplit au défilement et chaque jalon s'allume (kit_vivant data-frise / data-jalon, --kv-progression).
   La frise porte son propre dessin : elle reste lisible même sans kit (trait plein). */
.bh-889a-timeline { list-style: none; margin: 0; padding: 0 0 0 var(--e6); border-left: 2px solid var(--c-bord); display: grid; gap: var(--e5); }
.bh-889a-home .bh-889a-timeline[data-frise] { border-left: 0; padding: 0 0 0 calc(var(--e7) + .25rem); position: relative; }
.bh-889a-home .bh-889a-timeline[data-frise]::before, .bh-889a-home .bh-889a-timeline[data-frise]::after {
  content: ""; position: absolute; left: calc(var(--e5) - 2px); top: .5rem; width: 4px; border-radius: 4px; }
.bh-889a-home .bh-889a-timeline[data-frise]::before { bottom: .5rem; height: auto; background: var(--c-bord); }
.bh-889a-home .bh-889a-timeline[data-frise]::after { height: calc((100% - 1rem) * var(--kv-progression, 1)); background: var(--c-primaire); transition: height .2s linear; }
.bh-889a-home .bh-889a-timeline[data-frise] > .bh-889a-tl-pas::before {
  left: calc(-1 * var(--e7) - .25rem + var(--e5) - 11px); top: 1.35rem; width: 22px; height: 22px;
  background: var(--c-fond); border: 4px solid var(--c-bord); box-sizing: border-box; transition: all .25s ease; z-index: 1; }
.bh-889a-home .bh-889a-timeline[data-frise] > .bh-889a-tl-pas.kv-atteint::before { border-color: var(--c-primaire); background: var(--c-primaire); }
.bh-889a-home .bh-889a-timeline[data-frise] > [data-jalon]::after { content: none; }
.bh-889a-home .bh-889a-timeline[data-frise] .bh-889a-carte { transition: transform .3s ease, box-shadow .3s ease; }
.bh-889a-home .bh-889a-timeline[data-frise] > .kv-atteint .bh-889a-carte { box-shadow: var(--o-survol); }
.bh-889a-c-echeance { display: inline-flex; align-self: flex-start; align-items: center; gap: .4em; font-weight: 700; font-size: var(--tm);
  letter-spacing: .04em; padding: .3em .75em; border-radius: 999px; background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-889a-home .bh-889a-carte .bh-889a-c-echeance { color: var(--c-sur-primaire) !important; }
.bh-889a-cs-jalon, .bh-889a-cs-repere { padding: var(--e5); padding-inline: var(--e4); gap: var(--e3); }
/* La marge intérieure horizontale d'une carte jalon/repere se paie UNE fois : le corps de carte ne
   la reprend pas. `correctifs.css` la pose sur tous les `.bh-889a-c-corps` d'un site déjà construit,
   d'où 230 px de texte à 1440 px en quatre colonnes (326 - 2 × --e5 - 2 × --e4, garde du parc
   30/09/2026, journal-entreprise.com). */
.bh-889a-cs-jalon > .bh-889a-c-corps, .bh-889a-cs-repere > .bh-889a-c-corps { padding-inline: 0; }
/* À 390 px, la marge intérieure de carte --e5 (20,4 px de chaque côté) ramenait le texte d'une carte
   jalon sous les 300 px exigés par `page_cassee.colonne_etroite` : 390 - 2 × --e4 (gouttière .bh-889a-int)
   - 2,25 rem (rail de frise) - 2 × --e5 = 286 px. Un `.cs-jalon` posé dans une frise cumule les trois
   retraits — même remède que la gouttière ci-dessus, ramené à --e4 sur mobile seulement
   (garde du parc 29/09/2026, assurance-et-famille.com). Au-delà de 640 px les valeurs de bureau
   restent : la mesure ne descend plus sous le seuil.
   30/09/2026 (journal-entreprise.com) : le retrait de 1,75 rem ne suffisait pas — sur un site dont
   --e4 vaut 1,2 rem, il laissait 285 px. Sous 640 px le rail est donc MASQUÉ et le retrait RETIRÉ
   (masquer le rail en gardant le retrait ne répare rien) : 352 px de carte, 313 px de texte. */
@media (max-width: 639px) {
  .bh-889a-home .bh-889a-timeline[data-frise] { padding-left: 0; }
  .bh-889a-home .bh-889a-timeline[data-frise]::before,
  .bh-889a-home .bh-889a-timeline[data-frise]::after,
  .bh-889a-home .bh-889a-timeline[data-frise] > .bh-889a-tl-pas::before { content: none; }
  .bh-889a-cs-jalon, .bh-889a-cs-repere { padding: var(--e4); }
}
.bh-889a-tl-pas { position: relative; }
.bh-889a-tl-pas::before {
  content: ""; position: absolute; left: calc(-1 * var(--e6) - 8px); top: 1.4rem;
  width: 14px; height: 14px; border-radius: 50%; background: var(--c-primaire); border: 3px solid var(--c-fond);
}
@media (min-width: 1024px) {
  .bh-889a-tl-alterne { border-left: 0; padding: 0; position: relative; }
  .bh-889a-tl-alterne::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px solid var(--c-bord); }
  .bh-889a-tl-alterne .bh-889a-tl-pas { width: calc(50% - var(--e6)); }
  .bh-889a-tl-alterne .bh-889a-tl-pas:nth-child(even) { margin-left: calc(50% + var(--e6)); }
  .bh-889a-tl-alterne .bh-889a-tl-pas::before { left: auto; right: calc(-1 * var(--e6) - 8px); }
  .bh-889a-tl-alterne .bh-889a-tl-pas:nth-child(even)::before { right: auto; left: calc(-1 * var(--e6) - 8px); }
}

/* onglets */
.bh-889a-onglets-barre { display: flex; flex-wrap: wrap; gap: var(--e2); margin-bottom: var(--e5); }
.bh-889a-onglet {
  font: inherit; font-weight: 600; cursor: pointer; padding: .6em 1.1em; border-radius: var(--r-bouton);
  border: var(--carte-bord); background: var(--carte-fond); color: var(--carte-encre);
}
.bh-889a-onglet[aria-selected="true"] { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-889a-panneau .bh-889a-carte { font-size: var(--t2); }
.bh-889a-panneau .bh-889a-cs-image-gauche .bh-889a-c-media { flex-basis: 45%; }

/* accordéon */
.bh-889a-accordeon { display: grid; gap: var(--e3); max-width: 60rem; }
[data-alignement="centre"] .bh-889a-accordeon { margin-inline: auto; }
.bh-889a-acc { background: var(--carte-fond); color: var(--carte-encre); border: var(--carte-bord); border-radius: var(--r-carte); box-shadow: var(--o-carte); }
.bh-889a-acc summary { cursor: pointer; padding: var(--e4) var(--e5); font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: var(--t2); }
.bh-889a-acc-corps { padding: 0 var(--e5) var(--e5); display: grid; gap: var(--e3); color: var(--carte-encre-2); }
.bh-889a-acc-corps a { color: var(--carte-lien); font-weight: 600; }
/* À 390 px la marge intérieure d'une carte d'accordéon se paie deux fois (conteneur --e4 + carte --e5
   + résumé --e5) : 352 - 2 × 28,8 = 292 px pour la question, sous les 300 px de
   `page_cassee.colonne_etroite` (garde du parc 30/09/2026, journal-entreprise.com). */
@media (max-width: 639px) {
  .bh-889a-home .bh-889a-acc > summary { padding: var(--e4); }
  .bh-889a-home .bh-889a-acc-corps { padding: 0 var(--e4) var(--e4); }
}

/* mur à colonnes explicites */
.bh-889a-mur { display: grid; gap: var(--e5); grid-template-columns: minmax(0, 1fr); }
.bh-889a-mur-col { display: grid; gap: var(--e5); align-content: start; }
@media (min-width: 640px) {
  .bh-889a-mur { grid-template-columns: repeat(var(--k), minmax(0, 1fr)); grid-template-rows: repeat(var(--r), auto); }
  .bh-889a-mur-col { grid-row: 1 / -1; grid-template-rows: subgrid; }
}

/* tableau */
.bh-889a-tableau-cadre { overflow-x: auto; }
.bh-889a-tableau { width: 100%; border-collapse: collapse; font-size: var(--t1); }
.bh-889a-tableau th, .bh-889a-tableau td { padding: var(--e4); text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-bord); }
.bh-889a-tableau thead th { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .06em; color: var(--c-texte-2); }
.bh-889a-tableau tbody th { font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: var(--t2); width: 34%; }
.bh-889a-tableau tbody th a { color: inherit; text-decoration: none; }
.bh-889a-tableau td { color: var(--c-texte-2); }

/* bandes pleine largeur */
.bh-889a-bandes { display: grid; border-top: 1px solid var(--c-bord); }
.bh-889a-bande { display: grid; gap: var(--e3); padding-block: var(--e6); border-bottom: 1px solid var(--c-bord); }
.bh-889a-bande-titre { font-family: var(--f-titre); font-size: clamp(var(--t3), 3vw, var(--t5)); line-height: 1.1; font-weight: var(--f-graisse-titre); }
.bh-889a-bande-titre a { text-decoration: none; color: inherit; }
.bh-889a-bande-titre a:hover { color: var(--c-primaire-texte); }
.bh-889a-bande-corps { display: grid; gap: var(--e2); color: var(--c-texte-2); }
.bh-889a-bande-corps .bh-889a-c-kicker { color: var(--c-primaire-texte); }
.bh-889a-bande-corps .bh-889a-c-p, .bh-889a-bande-corps .bh-889a-c-meta { color: var(--c-texte-2); }
@media (min-width: 1024px) { .bh-889a-bande { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; } }

/* zigzag */
.bh-889a-zigzag { display: grid; gap: var(--e6); }
.bh-889a-zz .bh-889a-cs-image-gauche { flex-direction: column; }
.bh-889a-zz .bh-889a-c-media { flex-basis: auto; }
.bh-889a-zz .bh-889a-c-media img { aspect-ratio: 16 / 10; height: auto; }
@media (min-width: 1024px) {
  .bh-889a-zz .bh-889a-cs-image-gauche { flex-direction: row; align-items: center; }
  .bh-889a-zz .bh-889a-c-media { flex: 0 0 52%; }
  .bh-889a-zz-inverse .bh-889a-cs-image-gauche { flex-direction: row-reverse; }
  .bh-889a-zz .bh-889a-c-titre { font-size: var(--t4); }
}

/* pile centrée */
.bh-889a-pile { display: grid; gap: var(--e5); max-width: 54rem; }
[data-alignement="centre"] .bh-889a-pile { margin-inline: auto; }
.bh-889a-pile .bh-889a-c-citation { font-size: var(--t3); -webkit-line-clamp: 12; }
.bh-889a-pile .bh-889a-cs-texte .bh-889a-c-titre { font-size: var(--t3); }

/* défilant */
.bh-889a-defilant { display: grid; gap: var(--e4); overflow: hidden; }
.bh-889a-def-rang { overflow: hidden; white-space: nowrap; }
.bh-889a-def-piste { display: inline-flex; gap: var(--e7); animation: bh-889a-defile 70s linear infinite; }
.bh-889a-def-inverse .bh-889a-def-piste { animation-direction: reverse; }
.bh-889a-def-mot { font-family: var(--f-titre); font-size: clamp(var(--t3), 4vw, var(--t6)); font-weight: var(--f-graisse-titre); text-decoration: none; color: var(--c-texte); }
.bh-889a-def-mot:nth-child(3n+2) { color: var(--c-primaire-texte); }
@keyframes bh-889a-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bh-889a-def-piste { animation: none; } }

/* rail : une vedette, un rail dessous */
.bh-889a-rail { display: grid; gap: var(--e5); }
.bh-889a-rail-vedette .bh-889a-cs-image-gauche .bh-889a-c-media { flex-basis: 50%; }
.bh-889a-rail-vedette .bh-889a-c-titre { font-size: var(--t4); }
@media (max-width: 1023px) { .bh-889a-rail-vedette .bh-889a-cs-image-gauche { flex-direction: column; } }

/* colle : intro collée à gauche */
.bh-889a-d-colle .bh-889a-int { display: grid; gap: var(--e6); }
.bh-889a-colle-liste { display: grid; gap: var(--e4); }
@media (min-width: 1024px) {
  .bh-889a-d-colle .bh-889a-int { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); align-items: start; }
  .bh-889a-d-colle .bh-889a-entete { position: sticky; top: calc(var(--header-h) + var(--e5)); }
}

/* ─── hero ─── */
.bh-889a-hero { height: calc(100svh - var(--header-h)); min-height: 0; padding-block: 0; position: relative; overflow: hidden; justify-content: flex-end; }
.bh-889a-hero-kicker { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .1em; font-weight: 600; margin-bottom: var(--e3); }
.bh-889a-home .bh-889a-hero-h1 { font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: clamp(2.2rem, 5.2vw, var(--t-hero)); line-height: 1; letter-spacing: -.02em; margin: 0 0 var(--e3); }
/* Plancher 320 px (garde du parc 29/09/2026, actu-pme.com) : `ch` suit la taille de police de
   l'élément, elle-même relative à la racine du thème (12,8 px en mobile). 46ch ne valaient plus
   que 294 px à 390 px de large : `page_cassee.colonne_etroite` refuse tout texte de 60 caractères
   et plus dans une boîte de moins de 300 px. Le plafond de lecture ne bouge pas au-delà. */
.bh-889a-home .bh-889a-hero-accroche { font-size: var(--t2); max-width: max(320px, 46ch); margin-bottom: var(--e5); }
.bh-889a-hero-actions { display: flex; flex-wrap: wrap; gap: var(--e3); }
.bh-889a-hero-titres { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3); }
.bh-889a-hero-titres a { display: grid; gap: .15em; text-decoration: none; color: inherit; border-top: 1px solid currentColor; padding-top: var(--e2); }
.bh-889a-hero-titres a:hover span:last-child { text-decoration: underline; }
.bh-889a-hero-date { font-size: var(--tm); opacity: .85; }
.bh-889a-hero-titres span:last-child { font-weight: 600; }

.bh-889a-hero-plein-cadre .bh-889a-hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-889a-hero-voile {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding-block: var(--e7);
  color: var(--c-sur-voile);
  background: linear-gradient(to top, color-mix(in srgb, var(--c-voile) 94%, transparent) 0%, color-mix(in srgb, var(--c-voile) 78%, transparent) 50%, color-mix(in srgb, var(--c-voile) 45%, transparent) 100%);
}
.bh-889a-hero-bas { display: grid; gap: var(--e6); align-items: end; }
@media (min-width: 1024px) { .bh-889a-hero-bas { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (max-width: 1023px) { .bh-889a-hero-plein-cadre .bh-889a-hero-titres { display: none; } }

.bh-889a-hero-scinde { display: grid; grid-template-rows: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--c-fond); }
.bh-889a-hero-moitie { min-height: 0; margin: 0; }
.bh-889a-hero-gauche { display: flex; align-items: flex-end; padding: var(--e6) var(--e5); }
.bh-889a-hero-media { position: relative; order: -1; }
.bh-889a-hero-media img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-889a-hero-media figcaption { position: absolute; left: var(--e4); bottom: var(--e4); right: var(--e4); }
.bh-889a-hero-media figcaption a { background: var(--c-surface); color: var(--c-texte); padding: .4em .7em; border-radius: var(--r-bouton); text-decoration: none; font-size: var(--tm); font-weight: 600; }
.bh-889a-hero-gauche .bh-889a-hero-kicker { color: var(--c-primaire-texte); }
@media (min-width: 1024px) {
  .bh-889a-hero-scinde { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .bh-889a-hero-media { order: 0; }
  .bh-889a-hero-gauche { padding: var(--e7) var(--e7) var(--e7) max(var(--e5), calc((100vw - var(--largeur)) / 2)); }
  .bh-889a-hero-gauche .bh-889a-hero-titres { margin-top: var(--e6); }
}
@media (max-width: 1023px) { .bh-889a-hero-scinde .bh-889a-hero-titres { display: none; } }

.bh-889a-hero-mosaique { background: var(--c-fond-2); }
.bh-889a-hero-grille { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--e4); padding: var(--e4); }
.bh-889a-hero-mosaique-img { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--e3); min-height: 0; order: -1; }
.bh-889a-hero-vignette { position: relative; overflow: hidden; border-radius: var(--r-image); min-height: 0; display: block; }
.bh-889a-hero-vignette img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-889a-hero-vignette span {
  position: absolute; inset: auto 0 0 0; padding: var(--e3); font-weight: 600; font-size: var(--tm); color: var(--c-sur-voile);
  background: linear-gradient(to top, color-mix(in srgb, var(--c-voile) 92%, transparent) 60%, color-mix(in srgb, var(--c-voile) 0%, transparent));
}
.bh-889a-hero-grille .bh-889a-hero-texte { padding: var(--e3) var(--e3) var(--e4); }
@media (min-width: 1024px) {
  .bh-889a-hero-grille { grid-template-columns: minmax(0, .95fr) minmax(0, 1.25fr); grid-template-rows: minmax(0, 1fr); align-items: end; padding: var(--e5) max(var(--e5), calc((100vw - var(--largeur)) / 2)); gap: var(--e7); }
  .bh-889a-hero-mosaique-img { order: 2; height: 100%; }
  .bh-889a-hero-vignette span { font-size: var(--t1); }
}
@media (max-width: 639px) { .bh-889a-hero-vignette span { display: none; } }

.bh-889a-hero-bandeau { justify-content: stretch; }
.bh-889a-hero-haut { flex: 1 1 auto; min-height: 0; margin: 0; }
.bh-889a-hero-haut img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-889a-hero-bande { flex: 0 0 auto; background: var(--c-primaire); color: var(--c-sur-primaire); padding-block: var(--e6); }
.bh-889a-hero-bande-int { display: grid; gap: var(--e5); align-items: end; }
.bh-889a-hero-cote { display: grid; gap: var(--e4); align-content: end; }
@media (min-width: 1024px) { .bh-889a-hero-bande-int { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
@media (max-width: 1023px) { .bh-889a-hero-bande .bh-889a-hero-titres { display: none; } }

.bh-889a-hero-typo { background: var(--c-fond-2); }
.bh-889a-hero-typo-int { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--e7); }
.bh-889a-hero-typo .bh-889a-hero-kicker { color: var(--c-primaire-texte); }
.bh-889a-home .bh-889a-hero-geant { font-family: var(--f-titre); font-size: clamp(2.8rem, 10.5vw, 10.5rem); line-height: .92; letter-spacing: -.035em; margin: 0 0 var(--e5); color: var(--c-texte); font-weight: var(--f-graisse-titre); overflow-wrap: anywhere; }
.bh-889a-hero-typo-bas { display: grid; gap: var(--e5); align-items: end; border-top: 2px solid var(--c-texte); padding-top: var(--e5); }
.bh-889a-hero-titres-ligne { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .bh-889a-hero-typo-bas { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; }
  .bh-889a-hero-titres-ligne { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) { .bh-889a-hero-typo .bh-889a-hero-titres { display: none; } }

/* Boutons posés sur le voile ou la bande primaire : leurs couleurs doivent battre la règle
   générale .bh-889a-home .bh-889a-bouton (en !important). Sans cela, un bouton contour gardait l encre
   primaire sur la bande primaire : 1.07 à 3.5 mesurés le 24/09 sur 8 homes hero/v5. */
.bh-889a-home .bh-889a-hero-voile .bh-889a-bouton-1 { background: var(--c-sur-voile) !important; color: var(--c-voile) !important; border: 2px solid var(--c-sur-voile); box-shadow: none; text-decoration: none; }
.bh-889a-home .bh-889a-hero-voile .bh-889a-bouton-2 { background: transparent !important; color: var(--c-sur-voile) !important; border: 2px solid var(--c-sur-voile); box-shadow: none; }
.bh-889a-home .bh-889a-hero-bande .bh-889a-bouton-1 { background: var(--c-sur-primaire) !important; color: var(--c-primaire) !important; border: 2px solid var(--c-sur-primaire); box-shadow: none; text-decoration: none; }
.bh-889a-home .bh-889a-hero-bande .bh-889a-bouton-2 { background: transparent !important; color: var(--c-sur-primaire) !important; border: 2px solid var(--c-sur-primaire); box-shadow: none; }
.bh-889a-home .bh-889a-hero-bande :is(h1, h2, p, span, small, strong, li):not(.bh-889a-bouton, .bh-889a-bouton *) { color: var(--c-sur-primaire) !important; }

@media (max-width: 639px) {
  .bh-889a-home .bh-889a-bloc:not(.bh-889a-hero) { padding-block: var(--e7); }
  /* Préfixée elle aussi, sinon la règle de forme (0,2,0) la battrait et le texte
     passerait à côté de l'image sur téléphone. */
  .bh-889a-home .bh-889a-cs-image-gauche { flex-direction: column; }
  .bh-889a-cs-image-gauche .bh-889a-c-media { flex-basis: auto; }
  .bh-889a-cs-image-gauche .bh-889a-c-media img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .bh-889a-home .bh-889a-hero-accroche { font-size: var(--t1); }
}

/* ─── garde-fous de largeur : une grille ne s'élargit jamais sur le contenu ─── */
.bh-889a-rail, .bh-889a-split, .bh-889a-magazine, .bh-889a-zigzag, .bh-889a-bandes, .bh-889a-pile, .bh-889a-d-colle .bh-889a-int, .bh-889a-split-liste,
.bh-889a-colle-liste, .bh-889a-accordeon, .bh-889a-timeline { grid-template-columns: minmax(0, 1fr); }
.bh-889a-carte, .bh-889a-bande, .bh-889a-acc { overflow-wrap: anywhere; }
.bh-889a-cs-ligne .bh-889a-c-corps { min-width: 0; }
@media (min-width: 1024px) {
  .bh-889a-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-889a-magazine { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .bh-889a-d-colle .bh-889a-int { grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr); }
}

/* ─── reprises du 24/09 : bloc par bloc, jamais plus loin ───────────────────
   Chaque règle est portée par l'identifiant du bloc concerné. Les mises en page
   du même type (zigzag, magazine, bento, bandes, split) servent à plusieurs
   blocs : une règle non préfixée les toucherait toutes. */

/* Une : les deux cartes du zigzag ont la hauteur de leur photo, et le texte
   occupe toute la colonne (titre en haut, « Lire l'article » en bas) au lieu de
   laisser le coin bas droit vide. Même traitement que la vedette des articles. */
.bh-889a-b-une .bh-889a-cs-image-gauche { align-items: stretch; }
.bh-889a-b-une .bh-889a-cs-image-gauche .bh-889a-c-suite { margin-top: auto; }
@media (min-width: 1024px) {
  .bh-889a-b-une .bh-889a-zz .bh-889a-c-media { flex: 0 0 52%; }
  .bh-889a-b-une .bh-889a-zz .bh-889a-c-media img { aspect-ratio: auto; height: 100%; object-fit: cover; }
}

/* le lien « Lire l article » garde sa flèche sur la même ligne */
.bh-889a-home .bh-889a-c-suite { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; width: fit-content; }

/* ─── retours Cedia 26/09 (revue-auto-moto.com) ─────────────────────────────── */

/* Idées reçues : de vraies cartes (fond, bord, ombre), l'idée barrée d'une croix, la réalité
   cochée ; avant, du texte flottant sans boîte. */
.bh-889a-home .bh-889a-cs-idee { padding: 0; gap: 0; border: var(--carte-bord); border-radius: max(var(--r-carte), 6px); box-shadow: var(--o-carte, none); }
.bh-889a-cs-idee .bh-889a-ir-faux, .bh-889a-cs-idee .bh-889a-ir-vrai { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e3); padding: var(--e5); align-items: start; }
.bh-889a-cs-idee .bh-889a-ir-faux { background: color-mix(in srgb, var(--c-bord) 35%, var(--carte-fond)); border-bottom: 1px solid var(--c-bord); }
.bh-889a-cs-idee .bh-889a-ir-vrai { flex: 1; }
.bh-889a-ir-ico { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: 0 0 auto; }
.bh-889a-ir-ico svg { width: 1.25rem; height: 1.25rem; }
.bh-889a-ir-faux .bh-889a-ir-ico { background: var(--carte-encre-2); color: var(--carte-fond); }
.bh-889a-ir-vrai .bh-889a-ir-ico { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-889a-ir-etiquette { display: block; font-size: var(--tm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--carte-encre-2); margin-bottom: .2em; }
.bh-889a-ir-vrai .bh-889a-ir-etiquette { color: var(--carte-lien); }
.bh-889a-ir-faux .bh-889a-c-titre { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--carte-encre) 45%, transparent); }

/* Le vrai/faux tient DEUX pistes : l'icône (2,25rem) et le texte. Sous 640 px la carte fait la
   largeur de la page (342 à 390 px) et la marge --e5 mange le reste : 342 - 48 - 36 - 12 = 246 px
   de texte, rouge `page_cassee:colonne_etroite` par construction, quelle que soit la longueur de
   la phrase — et aucune réduction de marge ne suffit à repasser 300 px. L'icône passe donc
   AU-DESSUS du texte sous 640 px, et l'horizontale à --e4 : 342 - 32 = 310 px.
   Garde : `tests/test_colonne_etroite_cs_idee_20260930.py`. */
@media (max-width: 639px) {
  .bh-889a-home .bh-889a-cs-idee .bh-889a-ir-faux,
  .bh-889a-home .bh-889a-cs-idee .bh-889a-ir-vrai {
    grid-template-columns: minmax(0, 1fr); padding: var(--e4);
  }
}

/* Repères : chaque chiffre a son icône, son sens et son lien (Cedia 26/09 : « un peu vide »). */
.bh-889a-cs-repere .bh-889a-rp-ico { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: color-mix(in srgb, var(--c-primaire) 14%, var(--carte-fond)); color: var(--carte-lien); }
.bh-889a-cs-repere .bh-889a-rp-ico svg { width: 1.35rem; height: 1.35rem; }
.bh-889a-cs-repere .bh-889a-c-chiffre { font-size: var(--t6); margin-top: var(--e2); }
.bh-889a-cs-repere .bh-889a-c-suite { margin-top: auto; }
.bh-889a-c-vedette.bh-889a-cs-repere { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: var(--e5); align-items: center; }
.bh-889a-c-vedette.bh-889a-cs-repere > * { margin: 0; }
.bh-889a-c-vedette.bh-889a-cs-repere .bh-889a-c-p, .bh-889a-c-vedette.bh-889a-cs-repere .bh-889a-c-suite { grid-column: 3; }
.bh-889a-c-vedette.bh-889a-cs-repere .bh-889a-c-label { grid-column: 3; font-size: var(--t2); }
.bh-889a-c-vedette.bh-889a-cs-repere .bh-889a-rp-ico { grid-row: 1 / span 3; }
.bh-889a-c-vedette.bh-889a-cs-repere .bh-889a-c-chiffre { grid-row: 1 / span 3; font-size: var(--t7); }
@media (max-width: 639px) {
  .bh-889a-c-vedette.bh-889a-cs-repere { grid-template-columns: auto minmax(0, 1fr); }
  .bh-889a-c-vedette.bh-889a-cs-repere .bh-889a-c-chiffre { grid-row: auto; grid-column: 2; font-size: var(--t6); }
  .bh-889a-c-vedette.bh-889a-cs-repere :is(.bh-889a-c-p, .bh-889a-c-suite, .bh-889a-c-label) { grid-column: 1 / -1; }
}

/* Avis : cartes citation lisibles, jamais plus étroites que 18rem ; la signature en pied. */
.bh-889a-home .bh-889a-cs-citation { gap: var(--e3); }
.bh-889a-cs-citation .bh-889a-c-citation p { margin: 0; }
.bh-889a-cs-citation .bh-889a-c-signature { margin-top: auto; padding-top: var(--e3); border-top: 1px solid var(--c-bord); }
.bh-889a-b-avis .bh-889a-c-vedette .bh-889a-c-citation { font-size: var(--t3); max-width: 60ch; }
@media (max-width: 639px) { .bh-889a-b-avis .bh-889a-c-vedette .bh-889a-c-citation, .bh-889a-c-vedette .bh-889a-c-citation { font-size: var(--t2); } }
.bh-889a-b-avis .bh-889a-grille { align-items: stretch; }

/* Le hero garde son écran plein quoi que le builder pose comme hauteur : sans le min-height général
   des blocs (retiré le 26/09), un hero calculé « écran moins header moins bandeau » s'arrêtait 44 px
   trop haut alors que le bandeau est DANS le header (portier_da da_hauteurs, revue-auto-moto). */
.bh-889a-home .bh-889a-bloc.bh-889a-hero { min-height: calc(100svh - var(--header-h)); }

/* Recopié de correctifs.css (Cedia 26/09) : les sites neufs l'ont dès la composition. */
/* Parcours / frise : une vignette à côté du texte, jamais une photo pleine largeur par étape
   (journal-entreprise, bloc parcours : trois photos de 1298 x 812 px à la suite, Cedia 26/09). */
.bh-889a-timeline .bh-889a-c-media img, .bh-889a-b-parcours .bh-889a-c-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 320px; object-fit: cover; }
@media (min-width: 900px) {
  .bh-889a-timeline .bh-889a-carte:has(> .bh-889a-c-media) { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--e5); align-items: start; }
  .bh-889a-timeline .bh-889a-carte:has(> .bh-889a-c-media) > .bh-889a-c-media { margin: 0; }
}

/* Vrai ou faux : une affirmation à la fois (kit_vivant), cinq habillages (Cedia 26/09). */
.bh-889a-quiz { max-width: 46rem; margin-inline: auto; display: grid; gap: var(--e4); }
.bh-889a-quiz-q { padding: var(--e5); }
.bh-889a-quiz-affirmation { font-family: var(--f-titre, inherit); font-size: var(--t3, 1.35rem); font-weight: 700; line-height: 1.25; margin: 0; }
.bh-889a-quiz-verdict { font-weight: 800; margin: var(--e3) 0 .25rem; }
.bh-889a-quiz-expl { margin-top: var(--e3); }
.bh-889a-quiz-score:empty { display: none; }
.bh-889a-quiz-bandes .bh-889a-quiz-q { border-left: 6px solid var(--c-primaire, currentColor); border-radius: 0; box-shadow: none; }
.bh-889a-quiz-plein .bh-889a-quiz-q { background: var(--c-primaire); color: var(--c-sur-primaire, var(--c-fond)); text-align: center; }
.bh-889a-quiz-plein .kv-choix { justify-content: center; }
.bh-889a-quiz-plein .kv-bouton { color: inherit; border-color: currentColor; }
.bh-889a-quiz-split { max-width: none; }
@media (min-width: 900px) {
  .bh-889a-quiz-split .bh-889a-quiz-q { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: var(--e6); align-items: start; }
  .bh-889a-quiz-split .bh-889a-quiz-q > * { grid-column: 2; }
  .bh-889a-quiz-split .bh-889a-quiz-q > .bh-889a-quiz-affirmation { grid-column: 1; grid-row: 1 / span 3; font-size: var(--t4, 1.6rem); }
}
.bh-889a-quiz-compact { max-width: 38rem; }
.bh-889a-quiz-compact .bh-889a-quiz-affirmation { font-size: var(--t2, 1.1rem); }

/* Pastilles de sujets : une vraie pastille cliquable, en nuage centré, jamais une barre grise plate
   (Cedia 26/09, journal-entreprise). */
.bh-889a-b-sujets .bh-889a-mur { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e3); }
.bh-889a-b-sujets .bh-889a-mur-col { display: contents; }
.bh-889a-b-sujets .bh-889a-carte.bh-889a-cs-pastille { background: transparent; border: 0; box-shadow: none; padding: 0; width: auto; }
.bh-889a-c-pastille {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .55em 1.2em;
  border-radius: 999px; border: 1.5px solid var(--c-primaire); background: var(--carte-fond);
  color: var(--c-primaire-texte, var(--carte-encre)); text-decoration: none; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s, transform .15s;
}
.bh-889a-c-pastille::after { content: "\2192"; font-weight: 400; }
.bh-889a-c-pastille:hover, .bh-889a-c-pastille:focus-visible { background: var(--c-primaire); color: var(--c-sur-primaire); transform: translateY(-1px); }

/* Hero : les boutons ne touchent jamais le texte voisin (Cedia 26/09, journal-entreprise : collés au 3e titre). */
.bh-889a-hero-actions { margin-top: var(--e5); }

/* 28/09 decorateur-maison : sur le hero plein cadre, tout le texte est sur la photo voilée ; les couleurs du hero
   scindé (hero-gauche, kicker primaire, H1 foncé) le rendaient illisible. */
.bh-889a-home .bh-889a-hero-plein-cadre :is(.bh-889a-hero-kicker, .bh-889a-hero-h1, .bh-889a-hero-geant, .bh-889a-hero-accroche) { color: var(--c-sur-voile); }

/* 28/09 maison-bien-etre : en mobile, l image 4/3 (248 px) sortait de son cadre de 164 px et passait sous le titre de la carte. Le cadre coupe son image. */
.bh-889a-carte .bh-889a-c-media { overflow: hidden; }

/* 28/09 decorateur-maison : hero-gauche dans le conteneur centré (hero plein cadre) : pas de marge d'écran en plus. */
@media (min-width: 1024px) { .bh-889a-home .bh-889a-int .bh-889a-hero-gauche { padding-left: 0; } }

/* ===== Carnet Revue Santé (Antares) : composants communs rs-* et blocs de home bh-rs-* ===== */
:root { --rs-teal: #28766d; --rs-teal-clair: #3bab9f; --rs-teal-fonce: #1f5f58; --rs-doux: #e3efed; --rs-corail: #ba4549; --rs-bord: #d3d9d9; --rs-largeur: 1100px; }
body { font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif; }
.rs-h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; font-weight: 700; margin: 0 0 1rem; }
.rs-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.2; font-weight: 700; margin: 0 0 .5rem; display: inline-flex; align-items: center; gap: .5rem; }
.rs-h2 svg { color: var(--rs-teal); width: 1em; height: 1em; }
.rs-kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .9rem; font-weight: 600; color: var(--rs-corail); margin: 0 0 1rem; }
.rs-kicker a { color: var(--rs-teal); }
.rs-texte { line-height: 1.7; color: #2f3b3a; max-width: 75ch; }
.rs-role { color: var(--rs-teal); font-weight: 600; font-size: .9rem; margin: .25rem 0 .75rem; }
.rs-centre { text-align: center; }
.rs-avatar { border-radius: 999px; object-fit: cover; flex: none; }
.rs-ico-rond { width: 2.75rem; height: 2.75rem; padding: .6rem; border-radius: 999px; background: var(--rs-doux); color: var(--rs-teal); flex: none; }
.btn-pill { display: inline-flex; align-items: center; gap: .5rem; border-radius: 999px; font-weight: 600; padding: 0 1.25rem; min-height: 2.75rem; transition: background-color .3s, color .3s; text-decoration: none; }
.btn-pill svg { width: 1.1em; height: 1.1em; }
.rs-btn-plein { background: var(--rs-teal-clair); color: #142927; }
.rs-btn-plein:hover { background: var(--rs-teal); color: #fff; }
.rs-btn-bord { border: 2px solid var(--rs-teal); color: var(--rs-teal); background: #fff; }
.rs-btn-bord:hover { background: var(--rs-doux); }
.rs-grille { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .rs-grille-2, .rs-grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .rs-grille-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .rs-grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rs-carte-rubrique { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; padding: 1.5rem; }
.rs-carte-rubrique:hover .font-semibold { color: var(--rs-teal); }
.rs-mini-auteur { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; }
.rs-carte-auteur { display: flex; gap: 1.25rem; padding: 1.5rem; align-items: flex-start; }
.rs-carte-auteur-grand { align-items: center; }
.rs-avatar-grand { width: 140px; height: 140px; }
.rs-carte-etape { overflow: hidden; }
.rs-carte-etape img { aspect-ratio: 16/10; max-height: 220px; }
.rs-num { font-weight: 700; color: var(--rs-teal); font-size: 1.5rem; }
.rs-carte-contact, .rs-carte-info { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; padding: 1.75rem; }
.rs-appel { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 2.5rem 1.5rem; background: var(--rs-doux); }
.rs-prose p { line-height: 1.7; margin: 0 0 1rem; max-width: 75ch; }
.rs-prose a, .rs-texte a { color: var(--rs-teal); text-decoration: underline; }
.rs-prose .rs-h2 { margin-top: 1.5rem; font-size: 1.4rem; }
/* cartes d'articles */
.rs-postcard-img { aspect-ratio: 16/9; height: auto; max-height: 420px; }
.rs-postcard-corps { display: flex; flex-direction: column; gap: .25rem; }
.rs-postcard-compact .rs-postcard-corps { padding: 1.1rem 1.25rem; }
/* pages internes */
.rs-interne { width: 100%; max-width: var(--rs-largeur); margin: 0 auto; padding: 0 .75rem; }
.rs-interne-tete { display: grid; gap: 1.5rem; padding: 2rem; align-items: center; margin-bottom: 2rem; }
@media (min-width: 900px) { .rs-interne-tete-image { grid-template-columns: 1.1fr 1fr; padding: 2.5rem; } }
.rs-interne-tete-img { width: 100%; height: auto; max-height: 340px; object-fit: cover; border-radius: .5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1); }
.rs-interne-intro { color: #5f6e6c; line-height: 1.7; font-size: 1.05rem; max-width: 65ch; }
.rs-section { margin: 0 0 2.5rem; }
.rs-section > .rs-h2 { margin-bottom: 1.25rem; }
.rs-ariane a { color: var(--rs-teal); }
.rs-chapo { font-size: 1.1rem; color: #5f6e6c; line-height: 1.6; }
.rs-article { max-width: 1240px; margin: 0 auto; width: 100%; }

/* ===== Home ===== */
.bh-rs-page { width: 100%; max-width: var(--rs-largeur); margin: 0 auto; padding: 0 1rem 1rem; }
.bh-rs-bloc { padding: 3rem 0 0; scroll-margin-top: var(--nav-h, 6.25rem); }
.rs-bloc-tete { text-align: center; margin: 0 auto 1.75rem; max-width: 46rem; }
.rs-bloc-tete p { color: #5f6e6c; margin-top: .25rem; }
.bh-rs-hero { display: grid; grid-template-columns: 1fr; width: 100%; min-height: calc(100svh - var(--nav-h, 6.25rem)); background: #f0f2f4; }
.bh-rs-hero-media { padding: 1rem 1rem 0; }
.bh-rs-hero-media img { width: 100%; height: 100%; max-height: 46vh; object-fit: cover; border-radius: .5rem; box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1); }
.bh-rs-hero-texte { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem 1rem 2rem; max-width: 40rem; }
.bh-rs-hero-kicker { color: #2f3b3a; }
.bh-rs-hero-chapo { color: #5f6e6c; line-height: 1.7; font-size: 1.05rem; margin-bottom: 1.5rem; }
.bh-rs-hero-boutons { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.75rem; }
.bh-rs-hero-boutons.rs-centre { justify-content: center; margin: 1rem 0 0; }
.bh-rs-hero-derniers { padding: 1rem 1.25rem; }
.bh-rs-hero-derniers-titre { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--rs-teal); margin-bottom: .5rem; }
.bh-rs-hero-derniers ul { list-style: none; margin: 0; padding: 0; }
.bh-rs-hero-derniers li + li { border-top: 1px solid var(--rs-bord); }
.bh-rs-hero-derniers a { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; min-height: 44px; align-items: center; }
.bh-rs-hero-derniers a:hover span { color: var(--rs-teal); }
.bh-rs-hero-derniers time { color: #5f6e6c; font-size: .8rem; white-space: nowrap; }
@media (min-width: 900px) {
  .bh-rs-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-rs-hero-media { padding: 2rem 0 2rem 2rem; }
  .bh-rs-hero-media img { max-height: none; height: 100%; min-height: 0; position: relative; }
  .bh-rs-hero-texte { padding: 2rem 3rem; max-width: 42rem; }
}
.bh-rs-chiffre { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1.5rem 1rem; }
.bh-rs-chiffre strong { font-size: 2rem; font-weight: 700; color: var(--rs-teal-fonce); line-height: 1.1; }
.bh-rs-chiffre span { color: #5f6e6c; font-size: .95rem; }
.bh-rs-une-grille { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.bh-rs-une-petites { display: grid; gap: 1rem; align-content: start; }
@media (min-width: 900px) { .bh-rs-une-grille { grid-template-columns: 2fr 1fr; } }
.bh-rs-etapes { display: grid; gap: 1.5rem; padding: 1.25rem; grid-template-columns: 1fr; align-items: center; }
.bh-rs-etapes > img { width: 100%; aspect-ratio: 16/10; max-height: 380px; object-fit: cover; border-radius: .5rem; }
.bh-rs-etapes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bh-rs-etapes li { display: flex; gap: 1rem; padding: .85rem 1rem; border-radius: .5rem; cursor: pointer; transition: background-color .3s; }
.bh-rs-etapes li:hover, .bh-rs-etapes li[aria-current], .bh-rs-etapes li.kv-actif, .bh-rs-etapes li.est-active { background: var(--rs-doux); }
.bh-rs-etapes h3 { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin-bottom: .2rem; }
.bh-rs-etapes h3 svg { color: var(--rs-teal); }
.bh-rs-etapes p { color: #5f6e6c; font-size: .95rem; line-height: 1.6; }
.bh-rs-etape-num { flex: none; width: 2rem; height: 2rem; border-radius: 999px; background: var(--rs-teal-clair); color: #142927; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .bh-rs-etapes { grid-template-columns: 1fr 1fr; padding: 1.75rem; } }
.bh-rs-calcul-carte { display: grid; gap: 1.5rem; padding: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bh-rs-calcul-carte { grid-template-columns: 1fr 1.2fr; } }
.bh-rs-calcul-ico { display: flex; align-items: center; gap: .75rem; font-weight: 600; color: var(--rs-teal); margin-bottom: 1rem; }
.bh-rs-calcul-champs label { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; font-size: .95rem; }
.bh-rs-calcul-champs input, .bh-rs-recherche-form input { border: 1px solid var(--rs-bord); border-radius: 999px; padding: .65rem 1rem; font-size: 1rem; min-height: 44px; background: #fff; color: #2f3b3a; }
.bh-rs-calcul-champs input:focus, .bh-rs-recherche-form input:focus { outline: 2px solid var(--rs-teal-clair); outline-offset: 1px; }
.bh-rs-calcul-resultats { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bh-rs-calcul-resultats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bh-rs-calcul-resultats > div { background: #f0f2f4; border-radius: .5rem; padding: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.bh-rs-calcul-resultats output { font-size: 2rem; font-weight: 700; color: var(--rs-teal-fonce); line-height: 1.1; }
.bh-rs-calcul-resultats span { font-size: .9rem; color: #5f6e6c; }
.bh-rs-calcul-note { grid-column: 1 / -1; font-size: .95rem; color: #2f3b3a; line-height: 1.6; }
.bh-rs-calcul-note a { color: var(--rs-teal); text-decoration: underline; }
.bh-rs-liste { display: grid; gap: 1.25rem; }
@media (min-width: 900px) {
  .bh-rs-liste .rs-postcard { flex-direction: row; }
  .bh-rs-liste .rs-postcard-img { width: 40%; aspect-ratio: auto; height: auto; max-height: 300px; border-radius: .5rem 0 0 .5rem; }
  .bh-rs-liste .rs-postcard-corps { flex: 1; justify-content: center; }
}
.bh-rs-liste + .rs-centre { margin-top: 1.25rem; }
.bh-rs-interrupteur { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px; background: #fff; box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1); margin: 0 auto 1.5rem; }
.bh-rs-bascule-corps { display: flex; flex-direction: column; }
.bh-rs-bascule-corps > .bh-rs-interrupteur { align-self: center; flex-wrap: wrap; justify-content: center; }
.bh-rs-interrupteur button { display: inline-flex; align-items: center; gap: .4rem; border-radius: 999px; padding: .55rem 1.1rem; min-height: 44px; font-weight: 600; color: #2f3b3a; }
.bh-rs-interrupteur button[aria-pressed="true"], .bh-rs-interrupteur button.kv-actif, .bh-rs-interrupteur button[aria-selected="true"] { background: var(--rs-doux); color: var(--rs-teal); }
.bh-rs-type { padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; transition: transform .3s, box-shadow .5s; }
.bh-rs-type h3 { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.2rem; color: var(--rs-teal-fonce); }
.bh-rs-type p { line-height: 1.6; }
.bh-rs-limite { color: var(--rs-corail); }
.bh-rs-formule { background: #f0f2f4; border-left: 3px solid var(--rs-teal-clair); padding: .6rem .9rem; border-radius: .35rem; font-size: .95rem; }
.bh-rs-selon { display: flex; align-items: center; gap: .5rem; justify-content: center; margin-top: 1.25rem; color: #2f3b3a; text-align: center; }
.bh-rs-selon svg { color: var(--rs-teal); flex: none; }
.bh-rs-chef { display: grid; gap: 1.5rem; padding: 1.75rem; align-items: center; grid-template-columns: 1fr; justify-items: center; text-align: center; }
.bh-rs-chef img { width: 140px; height: 140px; }
.bh-rs-chef .rs-texte { margin: 0 auto 1rem; }
@media (min-width: 640px) { .bh-rs-chef { grid-template-columns: auto 1fr; justify-items: start; text-align: left; } .bh-rs-chef .rs-texte { margin: 0 0 1rem; } }
.bh-rs-onglets-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.25rem; }
.bh-rs-onglets-liste button { display: inline-flex; align-items: center; gap: .4rem; background: #eee; border-radius: 999px; padding: .5rem 1rem; min-height: 44px; font-size: .9rem; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; color: #2f3b3a; }
.bh-rs-onglets-liste button[aria-selected="true"], .bh-rs-onglets-liste button.kv-actif { background: var(--rs-doux); color: var(--rs-teal); font-weight: 600; }
.bh-rs-panneau { padding: 1.75rem; display: flex; flex-direction: column; gap: .75rem; }
.bh-rs-panneau + .bh-rs-panneau { margin-top: 1rem; }
.bh-rs-panneau h3 { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.2rem; color: var(--rs-teal-fonce); }
.bh-rs-reflexes-grille { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .bh-rs-reflexes-grille { grid-template-columns: 1fr 1.4fr; } }
.bh-rs-lottie { padding: 1.5rem; display: flex; align-items: center; justify-content: center; min-height: 0; }
.bh-rs-lottie [data-lottie] { width: 100%; max-width: 320px; aspect-ratio: 1; }
.bh-rs-reflexes-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.bh-rs-reflexes-liste li { display: flex; gap: 1rem; align-items: flex-start; }
.bh-rs-reflexes-liste strong { display: block; font-weight: 600; }
.bh-rs-reflexes-liste span { color: #5f6e6c; font-size: .95rem; line-height: 1.55; }
.bh-rs-colonne { display: flex; flex-direction: column; gap: 1.25rem; }
.bh-rs-colonne-titre { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.15rem; color: var(--rs-teal-fonce); }
.bh-rs-recherche-carte { padding: 1.75rem; }
.bh-rs-recherche-form { display: flex; gap: .75rem; flex-wrap: wrap; }
.bh-rs-recherche-form input { flex: 1 1 16rem; }
.bh-rs-motscles-titre { display: flex; align-items: center; gap: .5rem; font-weight: 600; margin: 1.5rem 0 .75rem; color: var(--rs-teal); }
.bh-rs-motscles { display: flex; flex-wrap: wrap; gap: .5rem; }
.bh-rs-motscles .btn-sm { font-size: .85rem; padding: .45rem .9rem; }
.bh-rs-contact { padding-bottom: 3rem; }
.bh-rs-contact-carte { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; padding: 2.5rem 1.5rem; background: var(--rs-doux); }
.bh-rs-contact-carte p { max-width: 40rem; color: #2f3b3a; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
@media (prefers-reduced-motion: reduce) { .animate-move-up { animation: none !important; } .bh-rs-type, .card { transition: none !important; } }
.bh-rs-panneau[hidden], .bh-rs-selon[hidden], [data-selon][hidden], [data-panneau][hidden] { display: none !important; }
@media (min-width: 900px) {
  .bh-rs-hero-media { position: relative; min-height: 22rem; }
  .bh-rs-hero-media img { position: absolute; top: 2rem; left: 2rem; width: calc(100% - 2rem); height: calc(100% - 4rem); }
}
.bh-rs-type.kv-en-avant { box-shadow: 0 20px 25px -5px rgb(0 0 0 / .12), 0 8px 10px -6px rgb(0 0 0 / .1); outline: 2px solid var(--rs-teal-clair); }
[data-bascule].kv-pret .bh-rs-type:not(.kv-en-avant) { opacity: .72; }
.rs-kicker { color: var(--rs-teal); }
.bh-rs-hero-kicker { color: var(--rs-corail); }
:root { --gc-text-bgimg: linear-gradient(to right, #28766d, #1a4f49); }
@media (min-width: 900px) { .bh-rs-hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); } }
/* Colonnes de lecture : aucun texte long dans une boîte de moins de 300 px (page_cassee) */
.rs-interne { max-width: 1200px; }
@media (min-width: 1024px) { .rs-grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bh-rs-chiffres .rs-grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.rs-postcard:not(.rs-postcard-compact) .rs-postcard-corps { padding: 1.25rem !important; }
@media (max-width: 639px) {
  .bh-rs-etapes { padding: .75rem; }
  .bh-rs-etapes li { flex-direction: column; gap: .5rem; padding: .75rem; }
  .bh-rs-reflexes-liste li { flex-direction: column; gap: .5rem; }
  .rs-carte-auteur { flex-direction: column; padding: 1.25rem; }
  .rs-carte-contact, .rs-carte-info { padding: 1.25rem; }
}
.rs-form { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; }
.rs-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .95rem; }
.rs-form input, .rs-form textarea { border: 1px solid var(--rs-bord); border-radius: .5rem; padding: .7rem .9rem; font: inherit; font-weight: 400; min-height: 44px; background: #fff; color: #2f3b3a; }
.rs-form input:focus, .rs-form textarea:focus { outline: 2px solid var(--rs-teal-clair); outline-offset: 1px; }
.rs-form button { align-self: flex-start; }
.rs-form-retour { min-height: 1.5em; color: var(--rs-teal-fonce); }
.rs-pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 639px) { .bh-rs-reflexes-liste li { align-items: stretch; } }
.rs-postcard .markdown-standard, .rs-postcard .markdown-standard p { display: block; width: 100%; max-width: none; }
.bh-rs-reflexes-liste li > div, .bh-rs-reflexes-liste span { display: block; width: 100%; }
/* une : petites cartes avec leur couverture (builder 2) */
.bh-rs-une-petites .rs-postcard-img { aspect-ratio: 16/9; max-height: 200px; }
@media (min-width: 900px) { .bh-rs-une-petites .rs-postcard-img { max-height: 132px; } }
/* recherche, soins et actualité : une colonne par rubrique, jamais une colonne seule sur sa rangée */
.bh-rs-soins-grille { display: grid; gap: 1.5rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .bh-rs-soins-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .bh-rs-soins-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.bh-rs-soins .rs-postcard-corps { padding: 1.1rem 1rem; }
.bh-rs-colonne-titre { flex-wrap: wrap; }
.bh-rs-colonne-titre .bh-rs-pastille { margin-left: auto; font-weight: 500; font-size: .8rem; }
/* plumes : portrait, rôle puis bio en pleine largeur de carte */
[data-usine-bloc="auteurs"] .rs-mini-auteur { flex-direction: column; align-items: flex-start; }
.bh-rs-mini-bio { color: #5f6e6c; line-height: 1.55; }
/* Lottie : icône Lucide de repli tant que l’animation n’est pas posée */
.bh-rs-lottie [data-lottie] { display: flex; align-items: center; justify-content: center; }
.bh-rs-lottie-repli { width: 45%; height: 45%; color: var(--rs-teal); }
.bh-rs-lottie [data-lottie]:has(svg:not(.bh-rs-lottie-repli)) .bh-rs-lottie-repli { display: none; }
/* une : la grande carte garde la hauteur de son contenu, aucune zone blanche sous les tags (builder 3) */
[data-usine-bloc="une"] .bh-rs-une-grille { align-items: start; }
/* plumes : portraits carrés et ronds, jamais déformés (builder 3) */
[data-usine-bloc="auteurs"] .rs-mini-auteur .rs-avatar { width: 4.5rem; height: 4.5rem; min-width: 4.5rem; aspect-ratio: 1; border-radius: 999px; object-fit: cover; flex-shrink: 0; }
/* recherche, soins et actualité : titre et pastille sur une ligne, cartes alignées et de même hauteur (builder 3) */
[data-usine-bloc="soins"] .bh-rs-colonne-titre { flex-wrap: nowrap; font-size: 1.05rem; min-height: 2.75rem; }
[data-usine-bloc="soins"] .bh-rs-colonne-titre > span:not(.bh-rs-pastille) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
[data-usine-bloc="soins"] .bh-rs-colonne-titre .bh-rs-pastille { flex-shrink: 0; white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1279px) { [data-usine-bloc="soins"] .bh-rs-colonne-titre { font-size: .95rem; gap: .35rem; } }
[data-usine-bloc="soins"] .bh-rs-soins-grille { align-items: stretch; }
[data-usine-bloc="soins"] .bh-rs-colonne > .rs-postcard:last-child { flex: 1 1 auto; }
/* en-tête des pages internes : kicker AU-DESSUS du titre, comme sur /contact et /a-propos (builder 3) */
.rs-interne-tete-texte { display: flex; flex-direction: column; align-items: flex-start; }
.rs-interne-tete-texte > .rs-kicker { display: inline-flex; margin: 0 0 .5rem; }
.rs-interne-tete-texte > .rs-h1 { width: 100%; }
/* contact : bouton d’envoi en pilule teal pleine, plus fort que la remise à zéro des boutons (builder 3) */
.rs-form button[type="submit"].rs-btn-plein { background: #3bab9f; color: #142927; border: 0; border-radius: 999px; padding: .625rem 1.25rem; cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.rs-form button[type="submit"].rs-btn-plein:hover { box-shadow: 0 8px 18px -6px rgb(20 41 39 / .45); }
/* une : grande carte étirée sur la hauteur des 2 petites, 3e carte en pleine largeur dessous (builder 4) */
[data-usine-bloc="une"] .bh-rs-une-grille { align-items: stretch; }
[data-usine-bloc="une"] .bh-rs-une-large .rs-postcard-img { max-height: 220px; }
@media (min-width: 900px) {
  [data-usine-bloc="une"] .rs-postcard-grand { height: 100%; }
  [data-usine-bloc="une"] .rs-postcard-grand .rs-postcard-img { flex: 1 1 auto; min-height: 0; height: 100%; max-height: 480px; aspect-ratio: auto; }
  [data-usine-bloc="une"] .bh-rs-une-petites { grid-template-rows: 1fr 1fr; align-content: stretch; }
  [data-usine-bloc="une"] .bh-rs-une-petites .rs-postcard { height: 100%; }
  [data-usine-bloc="une"] .bh-rs-une-petites .rs-postcard-corps { flex: 1 1 auto; }
  [data-usine-bloc="une"] .bh-rs-une-large { grid-column: 1 / -1; }
  [data-usine-bloc="une"] .bh-rs-une-large .rs-postcard { flex-direction: row; }
  [data-usine-bloc="une"] .bh-rs-une-large .rs-postcard-img { width: 40%; aspect-ratio: auto; height: auto; max-height: 240px; border-radius: .5rem 0 0 .5rem; }
  [data-usine-bloc="une"] .bh-rs-une-large .rs-postcard-corps { flex: 1; justify-content: center; }
}
