:root {
  --f-titre: 'Lora', Georgia, 'Times New Roman', serif;
  --f-texte: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-graisse-titre: 800;
  --f-casse-kicker: uppercase;
  --tm: 0.707rem;
  --t1: 1.0rem;
  --t2: 1.414rem;
  --t3: 1.999rem;
  --t4: 2.827rem;
  --t5: 3.998rem;
  --t6: 5.653rem;
  --t7: 7.993rem;
  --t-hero: clamp(4.0rem, 6vw, 11.3rem);
  --e1: 0.212rem;
  --e2: 0.425rem;
  --e3: 0.637rem;
  --e4: 0.85rem;
  --e5: 1.275rem;
  --e6: 1.7rem;
  --e7: 2.55rem;
  --e8: 3.4rem;
  --r-carte: 6px;
  --r-bouton: 6px;
  --r-image: 4px;
  --largeur: 1280px;
  --ico-trait: 1.5;
  --header-h: 72px;
  --c-fond: #f6f6f6;
  --c-fond-2: #edebe9;
  --c-surface: #fefefe;
  --c-texte: #2f2923;
  --c-texte-2: #6b6157;
  --c-primaire: #a2774e;
  --c-sur-primaire: #1d150e;
  --c-secondaire: #abac53;
  --c-sur-secondaire: #292914;
  --c-primaire-texte: #866241;
  --c-secondaire-texte: #6a6a34;
  --c-doux: #eae5e1;
  --c-sur-doux: #291e14;
  --c-bord: #d9d6d3;
  --c-voile: #18120c;
  --c-sur-voile: #ffffff;
  --c-ombre: #24190f;
  --o-carte: 0 1px 2px color-mix(in srgb, #24190f 8%, transparent), 0 8px 24px color-mix(in srgb, #24190f 8%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #24190f 28%, transparent);
  --carte-fond: #edebe9;
  --carte-encre: #2f2923;
  --carte-encre-2: #6b6157;
  --carte-lien: #866241;
  --carte-bord: 0 solid transparent;
  --btn-fond: transparent;
  --btn-texte: #866241;
  --btn-bord: 0 solid transparent;
  --btn-ombre: none;
  --btn-deco: underline;
  --lien-couleur: #866241;
  --lien-deco: underline;
  --lien-epaisseur: 3px;
  --lien-fond: transparent;
  --lien-fond-encre: #866241;
}
html.dark, html[data-theme="dark"], html[data-mode="dark"], html.theme-dark, body.dark, [data-theme="dark"] [data-bh-home] {
  --c-fond: #181614;
  --c-fond-2: #24201c;
  --c-surface: #2b2724;
  --c-texte: #eeebe8;
  --c-texte-2: #c3bdb6;
  --c-primaire: #c09d7c;
  --c-sur-primaire: #291e14;
  --c-secondaire: #bcbc76;
  --c-sur-secondaire: #292914;
  --c-primaire-texte: #cdb298;
  --c-secondaire-texte: #d0d09f;
  --c-doux: #3c332a;
  --c-sur-doux: #f9f7f5;
  --c-bord: #4d4742;
  --c-voile: #18120c;
  --c-sur-voile: #ffffff;
  --c-ombre: #070503;
  --o-carte: 0 1px 2px color-mix(in srgb, #070503 8%, transparent), 0 8px 24px color-mix(in srgb, #070503 8%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #070503 28%, transparent);
  --carte-fond: #24201c;
  --carte-encre: #eeebe8;
  --carte-encre-2: #c3bdb6;
  --carte-lien: #cdb298;
  --carte-bord: 0 solid transparent;
  --btn-fond: transparent;
  --btn-texte: #cdb298;
  --btn-bord: 0 solid transparent;
  --btn-ombre: none;
  --btn-deco: underline;
  --lien-couleur: #cdb298;
  --lien-deco: underline;
  --lien-epaisseur: 3px;
  --lien-fond: transparent;
  --lien-fond-encre: #cdb298;
}

/* 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-c386-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-c386-home *, .bh-c386-home *::before, .bh-c386-home *::after { box-sizing: border-box; }
.bh-c386-home * { min-width: 0; }
.bh-c386-home :is(a, p, span, small) { opacity: 1; }
.bh-c386-home img { max-width: 100%; display: block; }
.bh-c386-home a { color: inherit !important; }
.bh-c386-home :is(h1, h2, h3, h4, blockquote) { color: inherit; }
.bh-c386-home p { margin: 0; }
.bh-c386-home h2, .bh-c386-home h3 { margin: 0; }
.bh-c386-home .bh-c386-h2 { color: var(--c-texte) !important; }
.bh-c386-home .bh-c386-intro { color: var(--c-texte) !important; }
.bh-c386-home :is(.bh-c386-kicker, .bh-c386-num) { color: var(--c-texte) !important; }
.bh-c386-home .bh-c386-c-p { color: var(--carte-encre) !important; }
.bh-c386-home :is(.bh-c386-c-titre, .bh-c386-c-meta, .bh-c386-c-kicker, .bh-c386-c-suite) { color: var(--carte-encre) !important; }
.bh-c386-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-c386-home .bh-c386-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-c386-home .bh-c386-fond-b { background: var(--c-fond-2) !important; }
.bh-c386-home .bh-c386-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-c386-home. */
.bh-c386-home { --btn-texte-racine: var(--btn-texte); --btn-bord-racine: var(--btn-bord); --carte-lien-racine: var(--carte-lien); }
.bh-c386-home .bh-c386-fond-doux { --carte-lien: var(--c-sur-doux); --lien-couleur: var(--c-sur-doux); --lien-fond-encre: var(--c-sur-doux); }
.bh-c386-home:is([data-bouton="contour"], [data-bouton="souligne"]) .bh-c386-fond-doux { --btn-texte: var(--c-sur-doux); }
.bh-c386-home[data-bouton="contour"] .bh-c386-fond-doux { --btn-bord: 2px solid var(--c-sur-doux); }
.bh-c386-home .bh-c386-fond-doux :is(.bh-c386-carte, .bh-c386-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-c386-int { width: min(100% - 2 * var(--e4), var(--largeur)); margin-inline: auto; }

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

/* ─── boutons et liens ─── */
.bh-c386-home .bh-c386-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-c386-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-c386-fleche svg { width: 1.1em; height: 1.1em; flex: 0 0 auto; }
.bh-c386-home :is(.bh-c386-c-suite, .bh-c386-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-c386-c-suite (encre de lien) gagnait : 3.85 mesuré en sombre */
.bh-c386-home[data-lien="surligne"] .bh-c386-c-suite { background: var(--c-doux); color: var(--c-sur-doux) !important; padding: .1em .35em; }

/* ─── cartes ─── */
.bh-c386-home .bh-c386-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-c386-carte:hover { box-shadow: var(--o-survol); }
.bh-c386-c-corps { padding: var(--e5); display: flex; flex-direction: column; gap: var(--e2); flex: 1; }
.bh-c386-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-c386-c-titre a { text-decoration: none; color: inherit; }
.bh-c386-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-c386-pile, qui l'appliquait déjà à ses propres cartes. */
.bh-c386-c-p { color: var(--carte-encre-2); display: -webkit-box; -webkit-line-clamp: 12; -webkit-box-orient: vertical; overflow: hidden; }
.bh-c386-c-kicker { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .06em; color: var(--carte-lien); font-weight: 600; }
.bh-c386-c-meta { font-size: var(--tm); color: var(--carte-encre-2); }
.bh-c386-c-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.bh-c386-cs-texte, .bh-c386-cs-qr, .bh-c386-cs-fait, .bh-c386-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-c386-c-corps,
.bh-c386-cs-texte, .bh-c386-cs-qr, .bh-c386-cs-fait, .bh-c386-cs-citation { padding-inline: var(--e4); }
/* Les formes de carte sont préfixées par .bh-c386-home : sans cela elles restaient à
   (0,1,0) sous `.bh-c386-home .bh-c386-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-c386-c-corps hors de la carte : `align-self: stretch` étire la photo
   sans écraser le texte. */
.bh-c386-home .bh-c386-cs-image-gauche { flex-direction: row; }
.bh-c386-cs-image-gauche .bh-c386-c-media { flex: 0 0 38%; align-self: stretch; min-height: 0; }
.bh-c386-cs-image-gauche .bh-c386-c-media img { width: 100%; height: 100%; min-height: 9rem; object-fit: cover; }
.bh-c386-cs-superpose { min-height: 15rem; justify-content: flex-end; }
.bh-c386-cs-superpose .bh-c386-c-img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.bh-c386-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-c386-c-voile .bh-c386-c-titre, .bh-c386-c-voile .bh-c386-c-kicker, .bh-c386-c-voile .bh-c386-c-meta { color: var(--c-sur-voile); }
.bh-c386-c-vedette .bh-c386-c-titre { font-size: var(--t4); }
.bh-c386-cs-portrait { align-items: flex-start; }
.bh-c386-c-avatar { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; margin: var(--e5) var(--e5) 0; }
.bh-c386-c-vedette .bh-c386-c-avatar { width: 9rem; height: 9rem; }
.bh-c386-cs-numero .bh-c386-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-c386-home .bh-c386-cs-ligne { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--e4); }
.bh-c386-cs-ligne .bh-c386-c-corps { padding-block: var(--e4); }
.bh-c386-c-fleche {
  display: inline-flex; align-items: center; padding: var(--e4); text-decoration: none;
  font-size: var(--t3); color: var(--carte-lien);
}
.bh-c386-cs-pastille { background: transparent; border: 0; box-shadow: none; overflow: visible; }
.bh-c386-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-c386-c-pastille small { color: var(--carte-encre-2); font-weight: 400; }
.bh-c386-c-pastille:hover { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-c386-c-pastille:hover small { color: var(--c-sur-primaire); }
.bh-c386-c-citation { margin: 0; font-family: var(--f-titre); font-size: var(--t2); line-height: 1.45; }
.bh-c386-c-vedette .bh-c386-c-citation { font-size: var(--t4); }
.bh-c386-c-signature { display: grid; gap: .1em; font-size: var(--tm); color: var(--carte-encre-2); }
.bh-c386-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-c386-etoiles { letter-spacing: .15em; font-size: var(--t1); display: flex; align-items: center; gap: .15em; flex-wrap: nowrap; margin: 0; line-height: 1; }
.bh-c386-etoiles svg { display: inline-block; flex: 0 0 auto; width: 1.15rem; height: 1.15rem; color: var(--carte-lien); }
.bh-c386-etoile { color: var(--carte-lien); }
.bh-c386-etoiles .bh-c386-etoile-vide { color: var(--c-bord); }
.bh-c386-etoiles-vides { display: inline-flex; gap: .15em; }
.bh-c386-etoiles-pleines { color: var(--carte-lien); }
.bh-c386-etoiles-vides { color: var(--c-bord); }
.bh-c386-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-c386-c-label { font-weight: 600; }
/* La carte image seule n'a pas de chrome : l'image EST la carte. Il faut .bh-c386-home et
   !important, sinon `.bh-c386-home .bh-c386-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-c386-home .bh-c386-cs-image-seule { background: transparent !important; border: 0; box-shadow: none; gap: var(--e2); }
.bh-c386-cs-image-seule img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); }
.bh-c386-c-legende { font-size: var(--tm); color: var(--c-texte-2); }

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

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

/* bento : rectangle toujours plein */
.bh-c386-bento { display: grid; gap: var(--e4); grid-template-columns: minmax(0, 1fr); }
.bh-c386-bento > .bh-c386-carte { min-height: 13rem; }
@media (min-width: 640px) {
  .bh-c386-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-c386-bento > :first-child { grid-column: span 2; }
  .bh-c386-bento-4 > :nth-child(2), .bh-c386-bento-6 > :nth-child(2) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bh-c386-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(11rem, 1fr); }
  .bh-c386-bento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-c386-bento-3 > :nth-child(1) { grid-area: 1 / 1 / 3 / 2; } .bh-c386-bento-3 > :nth-child(2) { grid-area: 1 / 2 / 2 / 3; } .bh-c386-bento-3 > :nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
  .bh-c386-bento-4 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-c386-bento-4 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-c386-bento-4 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-c386-bento-4 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; }
  .bh-c386-bento-5 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-c386-bento-5 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-c386-bento-5 > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; } .bh-c386-bento-5 > :nth-child(4) { grid-area: 2 / 3 / 3 / 4; } .bh-c386-bento-5 > :nth-child(5) { grid-area: 2 / 4 / 3 / 5; }
  .bh-c386-bento-6 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-c386-bento-6 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-c386-bento-6 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-c386-bento-6 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; } .bh-c386-bento-6 > :nth-child(5) { grid-area: 3 / 1 / 4 / 3; } .bh-c386-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-c386-bento-7 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bh-c386-bento-7 > :nth-child(1) { grid-area: 1 / 1 / 2 / 3; } .bh-c386-bento-7 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-c386-bento-7 > :nth-child(3) { grid-area: 2 / 1 / 3 / 2; } .bh-c386-bento-7 > :nth-child(4) { grid-area: 2 / 2 / 3 / 3; } .bh-c386-bento-7 > :nth-child(5) { grid-area: 2 / 3 / 3 / 4; } .bh-c386-bento-7 > :nth-child(6) { grid-area: 3 / 1 / 4 / 2; } .bh-c386-bento-7 > :nth-child(7) { grid-area: 3 / 2 / 4 / 4; }
  .bh-c386-bento > .bh-c386-carte { min-height: 0; }
}
.bh-c386-mosaique > .bh-c386-carte { min-height: 10rem; }
.bh-c386-mosaique .bh-c386-c-lienimg { display: block; flex: 1; min-height: 0; }
.bh-c386-mosaique .bh-c386-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-c386-split { display: grid; gap: var(--e6); align-items: center; }
.bh-c386-split-media { margin: 0; }
.bh-c386-split-media img { width: 100%; height: min(68svh, 40rem); object-fit: cover; border-radius: var(--r-image); }
.bh-c386-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-c386-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-c386-split-liste { display: grid; gap: var(--e4); }
@media (min-width: 1024px) {
  .bh-c386-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-c386-split-droite .bh-c386-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-c386-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-c386-car-piste > * { scroll-snap-align: start; }
.bh-c386-car-nav { display: flex; gap: var(--e3); margin-top: var(--e4); }
.bh-c386-car-nav .bh-c386-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-c386-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-c386-home .bh-c386-timeline[data-frise] { border-left: 0; padding: 0 0 0 calc(var(--e7) + .25rem); position: relative; }
.bh-c386-home .bh-c386-timeline[data-frise]::before, .bh-c386-home .bh-c386-timeline[data-frise]::after {
  content: ""; position: absolute; left: calc(var(--e5) - 2px); top: .5rem; width: 4px; border-radius: 4px; }
.bh-c386-home .bh-c386-timeline[data-frise]::before { bottom: .5rem; height: auto; background: var(--c-bord); }
.bh-c386-home .bh-c386-timeline[data-frise]::after { height: calc((100% - 1rem) * var(--kv-progression, 1)); background: var(--c-primaire); transition: height .2s linear; }
.bh-c386-home .bh-c386-timeline[data-frise] > .bh-c386-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-c386-home .bh-c386-timeline[data-frise] > .bh-c386-tl-pas.kv-atteint::before { border-color: var(--c-primaire); background: var(--c-primaire); }
.bh-c386-home .bh-c386-timeline[data-frise] > [data-jalon]::after { content: none; }
.bh-c386-home .bh-c386-timeline[data-frise] .bh-c386-carte { transition: transform .3s ease, box-shadow .3s ease; }
.bh-c386-home .bh-c386-timeline[data-frise] > .kv-atteint .bh-c386-carte { box-shadow: var(--o-survol); }
.bh-c386-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-c386-home .bh-c386-carte .bh-c386-c-echeance { color: var(--c-sur-primaire) !important; }
.bh-c386-cs-jalon, .bh-c386-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-c386-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-c386-cs-jalon > .bh-c386-c-corps, .bh-c386-cs-repere > .bh-c386-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-c386-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-c386-home .bh-c386-timeline[data-frise] { padding-left: 0; }
  .bh-c386-home .bh-c386-timeline[data-frise]::before,
  .bh-c386-home .bh-c386-timeline[data-frise]::after,
  .bh-c386-home .bh-c386-timeline[data-frise] > .bh-c386-tl-pas::before { content: none; }
  .bh-c386-cs-jalon, .bh-c386-cs-repere { padding: var(--e4); }
}
.bh-c386-tl-pas { position: relative; }
.bh-c386-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-c386-tl-alterne { border-left: 0; padding: 0; position: relative; }
  .bh-c386-tl-alterne::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px solid var(--c-bord); }
  .bh-c386-tl-alterne .bh-c386-tl-pas { width: calc(50% - var(--e6)); }
  .bh-c386-tl-alterne .bh-c386-tl-pas:nth-child(even) { margin-left: calc(50% + var(--e6)); }
  .bh-c386-tl-alterne .bh-c386-tl-pas::before { left: auto; right: calc(-1 * var(--e6) - 8px); }
  .bh-c386-tl-alterne .bh-c386-tl-pas:nth-child(even)::before { right: auto; left: calc(-1 * var(--e6) - 8px); }
}

/* onglets */
.bh-c386-onglets-barre { display: flex; flex-wrap: wrap; gap: var(--e2); margin-bottom: var(--e5); }
.bh-c386-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-c386-onglet[aria-selected="true"] { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-c386-panneau .bh-c386-carte { font-size: var(--t2); }
.bh-c386-panneau .bh-c386-cs-image-gauche .bh-c386-c-media { flex-basis: 45%; }

/* accordéon */
.bh-c386-accordeon { display: grid; gap: var(--e3); max-width: 60rem; }
[data-alignement="centre"] .bh-c386-accordeon { margin-inline: auto; }
.bh-c386-acc { background: var(--carte-fond); color: var(--carte-encre); border: var(--carte-bord); border-radius: var(--r-carte); box-shadow: var(--o-carte); }
.bh-c386-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-c386-acc-corps { padding: 0 var(--e5) var(--e5); display: grid; gap: var(--e3); color: var(--carte-encre-2); }
.bh-c386-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-c386-home .bh-c386-acc > summary { padding: var(--e4); }
  .bh-c386-home .bh-c386-acc-corps { padding: 0 var(--e4) var(--e4); }
}

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

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

/* bandes pleine largeur */
.bh-c386-bandes { display: grid; border-top: 1px solid var(--c-bord); }
.bh-c386-bande { display: grid; gap: var(--e3); padding-block: var(--e6); border-bottom: 1px solid var(--c-bord); }
.bh-c386-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-c386-bande-titre a { text-decoration: none; color: inherit; }
.bh-c386-bande-titre a:hover { color: var(--c-primaire-texte); }
.bh-c386-bande-corps { display: grid; gap: var(--e2); color: var(--c-texte-2); }
.bh-c386-bande-corps .bh-c386-c-kicker { color: var(--c-primaire-texte); }
.bh-c386-bande-corps .bh-c386-c-p, .bh-c386-bande-corps .bh-c386-c-meta { color: var(--c-texte-2); }
@media (min-width: 1024px) { .bh-c386-bande { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; } }

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

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

/* défilant */
.bh-c386-defilant { display: grid; gap: var(--e4); overflow: hidden; }
.bh-c386-def-rang { overflow: hidden; white-space: nowrap; }
.bh-c386-def-piste { display: inline-flex; gap: var(--e7); animation: bh-c386-defile 70s linear infinite; }
.bh-c386-def-inverse .bh-c386-def-piste { animation-direction: reverse; }
.bh-c386-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-c386-def-mot:nth-child(3n+2) { color: var(--c-primaire-texte); }
@keyframes bh-c386-defile { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bh-c386-def-piste { animation: none; } }

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

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

/* ─── hero ─── */
.bh-c386-hero { height: calc(100svh - var(--header-h)); min-height: 0; padding-block: 0; position: relative; overflow: hidden; justify-content: flex-end; }
.bh-c386-hero-kicker { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .1em; font-weight: 600; margin-bottom: var(--e3); }
.bh-c386-home .bh-c386-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-c386-home .bh-c386-hero-accroche { font-size: var(--t2); max-width: max(320px, 46ch); margin-bottom: var(--e5); }
.bh-c386-hero-actions { display: flex; flex-wrap: wrap; gap: var(--e3); }
.bh-c386-hero-titres { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3); }
.bh-c386-hero-titres a { display: grid; gap: .15em; text-decoration: none; color: inherit; border-top: 1px solid currentColor; padding-top: var(--e2); }
.bh-c386-hero-titres a:hover span:last-child { text-decoration: underline; }
.bh-c386-hero-date { font-size: var(--tm); opacity: .85; }
.bh-c386-hero-titres span:last-child { font-weight: 600; }

.bh-c386-hero-plein-cadre .bh-c386-hero-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-c386-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-c386-hero-bas { display: grid; gap: var(--e6); align-items: end; }
@media (min-width: 1024px) { .bh-c386-hero-bas { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
@media (max-width: 1023px) { .bh-c386-hero-plein-cadre .bh-c386-hero-titres { display: none; } }

.bh-c386-hero-scinde { display: grid; grid-template-rows: minmax(0, .9fr) minmax(0, 1.1fr); background: var(--c-fond); }
.bh-c386-hero-moitie { min-height: 0; margin: 0; }
.bh-c386-hero-gauche { display: flex; align-items: flex-end; padding: var(--e6) var(--e5); }
.bh-c386-hero-media { position: relative; order: -1; }
.bh-c386-hero-media img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-c386-hero-media figcaption { position: absolute; left: var(--e4); bottom: var(--e4); right: var(--e4); }
.bh-c386-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-c386-hero-gauche .bh-c386-hero-kicker { color: var(--c-primaire-texte); }
@media (min-width: 1024px) {
  .bh-c386-hero-scinde { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
  .bh-c386-hero-media { order: 0; }
  .bh-c386-hero-gauche { padding: var(--e7) var(--e7) var(--e7) max(var(--e5), calc((100vw - var(--largeur)) / 2)); }
  .bh-c386-hero-gauche .bh-c386-hero-titres { margin-top: var(--e6); }
}
@media (max-width: 1023px) { .bh-c386-hero-scinde .bh-c386-hero-titres { display: none; } }

.bh-c386-hero-mosaique { background: var(--c-fond-2); }
.bh-c386-hero-grille { height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: var(--e4); padding: var(--e4); }
.bh-c386-hero-mosaique-img { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: var(--e3); min-height: 0; order: -1; }
.bh-c386-hero-vignette { position: relative; overflow: hidden; border-radius: var(--r-image); min-height: 0; display: block; }
.bh-c386-hero-vignette img { width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bh-c386-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-c386-hero-grille .bh-c386-hero-texte { padding: var(--e3) var(--e3) var(--e4); }
@media (min-width: 1024px) {
  .bh-c386-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-c386-hero-mosaique-img { order: 2; height: 100%; }
  .bh-c386-hero-vignette span { font-size: var(--t1); }
}
@media (max-width: 639px) { .bh-c386-hero-vignette span { display: none; } }

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

.bh-c386-hero-typo { background: var(--c-fond-2); }
.bh-c386-hero-typo-int { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-block: var(--e7); }
.bh-c386-hero-typo .bh-c386-hero-kicker { color: var(--c-primaire-texte); }
.bh-c386-home .bh-c386-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-c386-hero-typo-bas { display: grid; gap: var(--e5); align-items: end; border-top: 2px solid var(--c-texte); padding-top: var(--e5); }
.bh-c386-hero-titres-ligne { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .bh-c386-hero-typo-bas { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; }
  .bh-c386-hero-titres-ligne { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) { .bh-c386-hero-typo .bh-c386-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-c386-home .bh-c386-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-c386-home .bh-c386-hero-voile .bh-c386-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-c386-home .bh-c386-hero-voile .bh-c386-bouton-2 { background: transparent !important; color: var(--c-sur-voile) !important; border: 2px solid var(--c-sur-voile); box-shadow: none; }
.bh-c386-home .bh-c386-hero-bande .bh-c386-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-c386-home .bh-c386-hero-bande .bh-c386-bouton-2 { background: transparent !important; color: var(--c-sur-primaire) !important; border: 2px solid var(--c-sur-primaire); box-shadow: none; }
.bh-c386-home .bh-c386-hero-bande :is(h1, h2, p, span, small, strong, li):not(.bh-c386-bouton, .bh-c386-bouton *) { color: var(--c-sur-primaire) !important; }

@media (max-width: 639px) {
  .bh-c386-home .bh-c386-bloc:not(.bh-c386-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-c386-home .bh-c386-cs-image-gauche { flex-direction: column; }
  .bh-c386-cs-image-gauche .bh-c386-c-media { flex-basis: auto; }
  .bh-c386-cs-image-gauche .bh-c386-c-media img { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .bh-c386-home .bh-c386-hero-accroche { font-size: var(--t1); }
}

/* ─── garde-fous de largeur : une grille ne s'élargit jamais sur le contenu ─── */
.bh-c386-rail, .bh-c386-split, .bh-c386-magazine, .bh-c386-zigzag, .bh-c386-bandes, .bh-c386-pile, .bh-c386-d-colle .bh-c386-int, .bh-c386-split-liste,
.bh-c386-colle-liste, .bh-c386-accordeon, .bh-c386-timeline { grid-template-columns: minmax(0, 1fr); }
.bh-c386-carte, .bh-c386-bande, .bh-c386-acc { overflow-wrap: anywhere; }
.bh-c386-cs-ligne .bh-c386-c-corps { min-width: 0; }
@media (min-width: 1024px) {
  .bh-c386-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-c386-magazine { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .bh-c386-d-colle .bh-c386-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-c386-b-une .bh-c386-cs-image-gauche { align-items: stretch; }
.bh-c386-b-une .bh-c386-cs-image-gauche .bh-c386-c-suite { margin-top: auto; }
@media (min-width: 1024px) {
  .bh-c386-b-une .bh-c386-zz .bh-c386-c-media { flex: 0 0 52%; }
  .bh-c386-b-une .bh-c386-zz .bh-c386-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-c386-home .bh-c386-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-c386-home .bh-c386-cs-idee { padding: 0; gap: 0; border: var(--carte-bord); border-radius: max(var(--r-carte), 6px); box-shadow: var(--o-carte, none); }
.bh-c386-cs-idee .bh-c386-ir-faux, .bh-c386-cs-idee .bh-c386-ir-vrai { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e3); padding: var(--e5); align-items: start; }
.bh-c386-cs-idee .bh-c386-ir-faux { background: color-mix(in srgb, var(--c-bord) 35%, var(--carte-fond)); border-bottom: 1px solid var(--c-bord); }
.bh-c386-cs-idee .bh-c386-ir-vrai { flex: 1; }
.bh-c386-ir-ico { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: 0 0 auto; }
.bh-c386-ir-ico svg { width: 1.25rem; height: 1.25rem; }
.bh-c386-ir-faux .bh-c386-ir-ico { background: var(--carte-encre-2); color: var(--carte-fond); }
.bh-c386-ir-vrai .bh-c386-ir-ico { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-c386-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-c386-ir-vrai .bh-c386-ir-etiquette { color: var(--carte-lien); }
.bh-c386-ir-faux .bh-c386-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-c386-home .bh-c386-cs-idee .bh-c386-ir-faux,
  .bh-c386-home .bh-c386-cs-idee .bh-c386-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-c386-cs-repere .bh-c386-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-c386-cs-repere .bh-c386-rp-ico svg { width: 1.35rem; height: 1.35rem; }
.bh-c386-cs-repere .bh-c386-c-chiffre { font-size: var(--t6); margin-top: var(--e2); }
.bh-c386-cs-repere .bh-c386-c-suite { margin-top: auto; }
.bh-c386-c-vedette.bh-c386-cs-repere { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: var(--e5); align-items: center; }
.bh-c386-c-vedette.bh-c386-cs-repere > * { margin: 0; }
.bh-c386-c-vedette.bh-c386-cs-repere .bh-c386-c-p, .bh-c386-c-vedette.bh-c386-cs-repere .bh-c386-c-suite { grid-column: 3; }
.bh-c386-c-vedette.bh-c386-cs-repere .bh-c386-c-label { grid-column: 3; font-size: var(--t2); }
.bh-c386-c-vedette.bh-c386-cs-repere .bh-c386-rp-ico { grid-row: 1 / span 3; }
.bh-c386-c-vedette.bh-c386-cs-repere .bh-c386-c-chiffre { grid-row: 1 / span 3; font-size: var(--t7); }
@media (max-width: 639px) {
  .bh-c386-c-vedette.bh-c386-cs-repere { grid-template-columns: auto minmax(0, 1fr); }
  .bh-c386-c-vedette.bh-c386-cs-repere .bh-c386-c-chiffre { grid-row: auto; grid-column: 2; font-size: var(--t6); }
  .bh-c386-c-vedette.bh-c386-cs-repere :is(.bh-c386-c-p, .bh-c386-c-suite, .bh-c386-c-label) { grid-column: 1 / -1; }
}

/* Avis : cartes citation lisibles, jamais plus étroites que 18rem ; la signature en pied. */
.bh-c386-home .bh-c386-cs-citation { gap: var(--e3); }
.bh-c386-cs-citation .bh-c386-c-citation p { margin: 0; }
.bh-c386-cs-citation .bh-c386-c-signature { margin-top: auto; padding-top: var(--e3); border-top: 1px solid var(--c-bord); }
.bh-c386-b-avis .bh-c386-c-vedette .bh-c386-c-citation { font-size: var(--t3); max-width: 60ch; }
@media (max-width: 639px) { .bh-c386-b-avis .bh-c386-c-vedette .bh-c386-c-citation, .bh-c386-c-vedette .bh-c386-c-citation { font-size: var(--t2); } }
.bh-c386-b-avis .bh-c386-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-c386-home .bh-c386-bloc.bh-c386-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-c386-timeline .bh-c386-c-media img, .bh-c386-b-parcours .bh-c386-c-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 320px; object-fit: cover; }
@media (min-width: 900px) {
  .bh-c386-timeline .bh-c386-carte:has(> .bh-c386-c-media) { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--e5); align-items: start; }
  .bh-c386-timeline .bh-c386-carte:has(> .bh-c386-c-media) > .bh-c386-c-media { margin: 0; }
}

/* Vrai ou faux : une affirmation à la fois (kit_vivant), cinq habillages (Cedia 26/09). */
.bh-c386-quiz { max-width: 46rem; margin-inline: auto; display: grid; gap: var(--e4); }
.bh-c386-quiz-q { padding: var(--e5); }
.bh-c386-quiz-affirmation { font-family: var(--f-titre, inherit); font-size: var(--t3, 1.35rem); font-weight: 700; line-height: 1.25; margin: 0; }
.bh-c386-quiz-verdict { font-weight: 800; margin: var(--e3) 0 .25rem; }
.bh-c386-quiz-expl { margin-top: var(--e3); }
.bh-c386-quiz-score:empty { display: none; }
.bh-c386-quiz-bandes .bh-c386-quiz-q { border-left: 6px solid var(--c-primaire, currentColor); border-radius: 0; box-shadow: none; }
.bh-c386-quiz-plein .bh-c386-quiz-q { background: var(--c-primaire); color: var(--c-sur-primaire, var(--c-fond)); text-align: center; }
.bh-c386-quiz-plein .kv-choix { justify-content: center; }
.bh-c386-quiz-plein .kv-bouton { color: inherit; border-color: currentColor; }
.bh-c386-quiz-split { max-width: none; }
@media (min-width: 900px) {
  .bh-c386-quiz-split .bh-c386-quiz-q { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: var(--e6); align-items: start; }
  .bh-c386-quiz-split .bh-c386-quiz-q > * { grid-column: 2; }
  .bh-c386-quiz-split .bh-c386-quiz-q > .bh-c386-quiz-affirmation { grid-column: 1; grid-row: 1 / span 3; font-size: var(--t4, 1.6rem); }
}
.bh-c386-quiz-compact { max-width: 38rem; }
.bh-c386-quiz-compact .bh-c386-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-c386-b-sujets .bh-c386-mur { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e3); }
.bh-c386-b-sujets .bh-c386-mur-col { display: contents; }
.bh-c386-b-sujets .bh-c386-carte.bh-c386-cs-pastille { background: transparent; border: 0; box-shadow: none; padding: 0; width: auto; }
.bh-c386-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-c386-c-pastille::after { content: "\2192"; font-weight: 400; }
.bh-c386-c-pastille:hover, .bh-c386-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-c386-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-c386-home .bh-c386-hero-plein-cadre :is(.bh-c386-hero-kicker, .bh-c386-hero-h1, .bh-c386-hero-geant, .bh-c386-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-c386-carte .bh-c386-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-c386-home .bh-c386-int .bh-c386-hero-gauche { padding-left: 0; } }

/* ===== Home Crédit Travaux Maison (bh-ctm), composants du thème sur la palette da.css ===== */
.home { max-width: none; padding: 0; }
.bh-ctm { --cadre: min(1100px, 100% - 2 * var(--e6, 1.7rem)); }
.bh-ctm h2, .bh-ctm h3 { color: var(--c-texte); }
.bh-ctm-section { padding: var(--e8) 0; }
.bh-ctm-section > * { width: var(--cadre); margin-inline: auto; }
.bh-ctm-fond { background: var(--c-fond-2); }
.bh-ctm-titre { text-align: center; font-size: clamp(1.7rem, 3vw, var(--t3)); font-weight: 800; line-height: 1.15; margin-top: 0; margin-bottom: .6rem; }
.bh-ctm-chapo { text-align: center; color: var(--c-texte-2); max-width: 60ch; margin: 0 auto var(--e7) !important; }
.bh-ctm-titre + :not(.bh-ctm-chapo) { margin-top: var(--e6); }
.bh-ctm-suite { margin-top: var(--e6); }
.bh-ctm-num { font-family: var(--mono); color: var(--c-primaire-texte); font-size: .9rem; }
.bh-ctm .center { text-align: center; margin-top: var(--e6); }

/* Hero media_droite : texte à gauche, photo pleine hauteur à droite, sous header + bandeau */
.bh-ctm-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100svh - var(--tete-h)); width: 100%; }
.bh-ctm-hero-texte { align-self: center; padding: var(--e7) var(--e7) var(--e7) max(var(--e6), (100vw - 1100px) / 2); }
.bh-ctm-hero h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); line-height: 1.02; font-weight: 800; margin: 0 0 1rem; color: var(--c-texte); }
.bh-ctm-hero-accroche { font-size: 1.15rem; color: var(--c-texte-2); max-width: 46ch; margin: 0 0 1.5rem; }
.bh-ctm-hero-boutons { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin: 0 0 2rem; }
.bh-ctm-hero-sous { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--c-texte-2); margin: 0 0 .5rem; padding-top: 1rem; border-top: 1px solid var(--c-bord); }
.bh-ctm-hero-liste { margin: 0; }
.bh-ctm-hero-liste .post { margin: 0 0 .55rem; }
.bh-ctm-hero-liste .title { font-size: 1.02rem; font-weight: 500; color: var(--c-texte); }
.bh-ctm-hero-liste time { font-size: .8rem; margin-left: .35rem; }
.bh-ctm-hero-media { position: relative; min-height: 100%; }
.bh-ctm-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
@media (max-width: 820px) {
	.bh-ctm-hero { grid-template-columns: 1fr; grid-template-rows: 34svh auto; }
	.bh-ctm-hero-media { order: -1; }
	.bh-ctm-hero-texte { padding: var(--e6) var(--e5); align-self: center; }
	.bh-ctm-hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
	.bh-ctm-hero-accroche { font-size: 1rem; margin-bottom: 1.1rem; }
	.bh-ctm-hero-boutons { margin-bottom: 1.2rem; }
}
@media (max-width: 420px) { .bh-ctm-hero-liste .post:nth-child(3) { display: none; } }

/* Bande des acteurs publics (défilé) */
.bh-ctm-acteurs { background: var(--c-fond-2); padding: var(--e6) 0; border-block: 1px solid var(--c-bord); }
.bh-ctm-titre-mono { width: var(--cadre); margin: 0 auto var(--e5); text-align: center; font-family: var(--mono); font-weight: 400; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--c-texte-2); }
.bh-ctm-logo { display: flex; flex-direction: column; align-items: center; gap: .4rem; margin: 0; }
.bh-ctm-logo img { height: 56px !important; width: 56px !important; object-fit: contain; border-radius: 0; background: #fff; }
.bh-ctm-logo figcaption { font-family: var(--mono); font-size: .75rem; color: var(--c-texte-2); white-space: nowrap; }

/* Calculateur */
.bh-ctm-calc { display: grid !important; grid-template-columns: 1.2fr 1fr; gap: var(--e7) !important; background: var(--c-surface); border: 1px solid var(--c-bord); border-radius: var(--r-carte); padding: var(--e7); box-sizing: border-box; }
.bh-ctm-calc-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-content: start; }
.bh-ctm-calc input { border-radius: var(--r-bouton) !important; min-height: 44px; box-sizing: border-box; width: 100%; }
.bh-ctm-calc-resultats { display: grid; gap: .8rem; align-content: start; border-left: 1px solid var(--c-bord); padding-left: var(--e7); }
.bh-ctm-calc-resultats p { margin: 0; display: grid; }
.bh-ctm-calc-resultats span { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--c-texte-2); }
.bh-ctm-calc-resultats output { font-family: var(--f-titre); font-weight: 800; font-size: var(--t4); line-height: 1.1; color: var(--c-texte); }
.bh-ctm-calc-resultats p + p output { font-size: var(--t3); color: var(--c-primaire-texte); }
.bh-ctm-calc-note { color: var(--c-texte-2); font-size: .9rem; }
@media (max-width: 820px) {
	.bh-ctm-calc { grid-template-columns: 1fr; padding: var(--e5); }
	.bh-ctm-calc-resultats { border-left: 0; padding-left: 0; border-top: 1px solid var(--c-bord); padding-top: var(--e5); }
}
@media (max-width: 480px) { .bh-ctm-calc-champs { grid-template-columns: 1fr; } }

/* Étapes photo */
.bh-ctm-etapes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e7); align-items: start; }
.bh-ctm-etapes > img { width: 100%; aspect-ratio: 3 / 2; max-height: 400px; object-fit: cover; }
.bh-ctm-etapes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.bh-ctm-etapes li { display: grid; grid-template-columns: 2.5rem 1fr; gap: .75rem; padding: 1rem; border-radius: var(--r-carte); cursor: pointer; }
.bh-ctm-etapes li.kv-actif { background: var(--c-fond-2); }
.bh-ctm-etapes h3 { text-align: left; font-size: 1.2rem; margin: 0 0 .35rem; display: flex; gap: .5rem; align-items: center; }
.bh-ctm-etapes p { margin: 0 0 .4rem; }
.bh-ctm-etapes a { font-size: .95rem; color: var(--c-primaire-texte); }
.bh-ctm-etapes .bh-ctm-num { font-size: 1.4rem; font-weight: 700; padding-top: .1rem; }
@media (max-width: 820px) { .bh-ctm-etapes { grid-template-columns: 1fr; } .bh-ctm-etapes > img { position: static !important; max-height: 280px; } }

/* Bascule prêt affecté / personnel */
.bh-ctm-bascule { text-align: center; }
.bh-ctm-bascule .kv-interrupteur { background: var(--c-doux); }
.bh-ctm-bascule [data-choix] { min-height: 44px; }
.bh-ctm-bascule [data-choix].kv-actif { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-ctm-bascule-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e6); margin-top: var(--e6); text-align: left; }
.bh-ctm-bascule article { background: var(--carte-fond); border: 2px solid transparent; border-radius: var(--r-carte); padding: var(--e6); box-shadow: none; outline: 0; transform: none; transition: border-color .2s, opacity .2s, background-color .2s, box-shadow .2s; }
.bh-ctm-bascule article.kv-en-avant { border-color: var(--c-primaire); background: var(--c-surface); box-shadow: none; outline: 0; transform: none; }
.bh-ctm-bascule article:hover { box-shadow: var(--o-survol); }
.bh-ctm-bascule article:not(.kv-en-avant) { opacity: .8; }
.bh-ctm-bascule h3 { text-align: left; margin: 0 0 .25rem; font-size: var(--t2); }
.bh-ctm-pour { color: var(--c-texte-2); margin: 0 0 1rem; }
.bh-ctm-bascule ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.bh-ctm-bascule li { display: flex; gap: .7rem; align-items: flex-start; }
@media (max-width: 820px) { .bh-ctm-bascule-cartes { grid-template-columns: 1fr; } }

/* Rubriques : 3 + 2 cartes photo */
.bh-ctm-rubriques { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--e6); }
.bh-ctm-rub { grid-column: span 2; position: relative; background: var(--carte-fond); border-radius: var(--r-carte); overflow: hidden; transition: box-shadow .2s; }
.bh-ctm-rub:nth-child(n + 4) { grid-column: span 3; }
.bh-ctm-rub:hover { box-shadow: var(--o-survol); }
.bh-ctm-rub img { width: 100%; aspect-ratio: 3 / 2; max-height: 300px; object-fit: cover; border-radius: 0; display: block; }
.bh-ctm-rub > div { padding: var(--e5); }
.bh-ctm-rub h3 { text-align: left; margin: .3rem 0; font-size: var(--t2); }
.bh-ctm-rub h3 a { color: var(--c-texte); }
.bh-ctm-rub h3 a::after { content: ""; position: absolute; inset: 0; }
.bh-ctm-rub p { margin: 0; color: var(--c-texte-2); }
.bh-ctm-rub-haut { display: flex; justify-content: space-between; align-items: center; }
.bh-ctm-rub .tag { margin: 0; color: var(--c-primaire-texte); }
@media (max-width: 900px) { .bh-ctm-rubriques { grid-template-columns: 1fr; } .bh-ctm-rub, .bh-ctm-rub:nth-child(n + 4) { grid-column: auto; } .bh-ctm-rub img { max-height: 240px; } }

/* Vrai ou faux */
.bh-ctm-quiz { max-width: 70ch; background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e6); box-sizing: border-box; }
.bh-ctm-quiz [data-question-texte] { font-family: var(--f-titre); font-size: 1.3rem; font-weight: 700; }
.bh-ctm-quiz [data-explication] { border: 1px solid var(--c-bord); padding: .75rem 1rem; font-style: italic; }
.bh-ctm-quiz button { min-height: 44px; }

/* Frise */
.bh-ctm-frise { max-width: 760px; margin-inline: auto; display: grid; gap: var(--e5); padding: 0; }
.bh-ctm-frise li { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; align-items: start; background: var(--c-fond-2); border-radius: var(--r-carte); padding: var(--e5); }
.bh-ctm-annee { font-family: var(--mono); font-size: 1.5rem; font-weight: 700; color: var(--c-primaire-texte); }
.bh-ctm-frise h3 { text-align: left; margin: 0 0 .3rem; font-size: 1.2rem; }
.bh-ctm-frise p { margin: 0; }
@media (max-width: 480px) { .bh-ctm-frise li { grid-template-columns: 1fr; gap: .25rem; } }

/* Dossier en onglets */
.bh-ctm-onglets { text-align: center; }
.bh-ctm-onglets [role="tablist"] { background: var(--c-doux); margin-bottom: var(--e6); }
.bh-ctm-onglets [data-onglet] { min-height: 44px; font-family: var(--mono); }
.bh-ctm-onglets [data-onglet].kv-actif { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-ctm-panneau { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e7); align-items: center; text-align: left; background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e6); margin-bottom: var(--e5); }
.bh-ctm-panneau img { width: 100%; aspect-ratio: 3 / 2; max-height: 360px; object-fit: cover; }
.bh-ctm-panneau h3 { text-align: left; font-size: var(--t2); margin: .4rem 0; }
.bh-ctm-panneau h3 a { color: var(--c-texte); }
.bh-ctm-panneau .tag { margin: 0; color: var(--c-primaire-texte); }
@media (max-width: 820px) { .bh-ctm-panneau { grid-template-columns: 1fr; } }

/* Critères : 3 + 2 */
.bh-ctm-criteres { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--e6); }
.bh-ctm-critere { grid-column: span 2; background: var(--carte-fond); border-radius: var(--r-carte); padding: var(--e6); transition: box-shadow .2s; }
.bh-ctm-critere:nth-child(n + 4) { grid-column: span 3; }
.bh-ctm-critere:hover { box-shadow: var(--o-survol); }
.bh-ctm-critere-haut { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .5rem; }
.bh-ctm-critere h3 { text-align: left; font-size: 1.25rem; margin: 0 0 .4rem; }
.bh-ctm-critere p { margin: 0; }
@media (max-width: 900px) { .bh-ctm-criteres { grid-template-columns: 1fr; } .bh-ctm-critere, .bh-ctm-critere:nth-child(n + 4) { grid-column: auto; } }

/* Rédaction */
.bh-ctm-mot { max-width: 70ch; box-sizing: border-box; font-family: var(--f-titre); font-size: 1.15rem; background: var(--c-surface); }
.bh-ctm-auteurs { list-style: none; padding: 0; margin-top: var(--e6) !important; display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--e5); }
.bh-ctm-auteurs li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; }
.bh-ctm-auteurs img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; }
.bh-ctm-auteurs a { font-family: var(--f-titre); font-weight: 700; font-size: 1.05rem; }
.bh-ctm-auteurs span { font-family: var(--mono); font-size: .75rem; color: var(--c-texte-2); }
@media (max-width: 640px) {
	.bh-ctm-auteurs { grid-template-columns: 1fr; }
	.bh-ctm-auteurs li { flex-direction: row; text-align: left; gap: 1rem; flex-wrap: wrap; }
	.bh-ctm-auteurs img { width: 72px; height: 72px; }
}

/* Calendrier + Lottie */
.bh-ctm-calendrier { display: grid; grid-template-columns: 260px 1fr; gap: var(--e7); align-items: center; }
.bh-ctm-lottie { max-width: 240px !important; }
.bh-ctm-saisons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e5); }
.bh-ctm-saison { background: var(--carte-fond); border-radius: var(--r-carte); padding: var(--e5) var(--e6); }
.bh-ctm-saison h3 { text-align: left; margin: 0 0 .4rem; display: flex; gap: .5rem; align-items: center; font-size: 1.2rem; }
.bh-ctm-saison p { margin: 0; }
@media (max-width: 820px) { .bh-ctm-calendrier { grid-template-columns: 1fr; } .bh-ctm-lottie { max-width: 160px !important; } }
@media (max-width: 640px) { .bh-ctm-saisons { grid-template-columns: 1fr; } }

/* FAQ */
.bh-ctm-faq { max-width: 70ch; }
.bh-ctm-faq details { border-bottom: 1px solid var(--c-bord); }
.bh-ctm-faq summary { list-style: none; display: flex; gap: .75rem; align-items: center; padding: 1rem 0; min-height: 44px; cursor: pointer; font-family: var(--f-titre); font-weight: 700; font-size: 1.1rem; }
.bh-ctm-faq summary::-webkit-details-marker { display: none; }
.bh-ctm-faq summary span { flex: 1; }
.bh-ctm-faq details[open] .bh-ctm-chevron { transform: rotate(180deg); }
.bh-ctm-faq details p { margin: 0 0 1rem 2rem; }

/* Parcourir par rubrique */
.bh-ctm .tags { gap: .5rem 0; }
.bh-ctm .tags .tag { font-size: .95rem; min-height: 44px; display: inline-flex; align-items: center; }
.bh-ctm-themes { justify-content: center; margin-top: var(--e5) !important; }
.bh-ctm .appel-fin { margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .bh-ctm * { transition: none !important; } }
.bh-ctm-panneau[hidden] { display: none; }
@media (max-width: 640px) {
	.bh-ctm-hero { grid-template-rows: 28svh auto; }
	.bh-ctm-hero-sous, .bh-ctm-hero-liste { display: none; }
}
.bh-ctm-section > ul.posts-list.grille-articles, .bh-ctm-section > .pastilles { margin-inline: auto; }
/* Acteurs publics : logos OpenBrand en défilé lent (kit_vivant data-defile), figé sous prefers-reduced-motion */
[data-usine-bloc="acteurs"] .bh-ctm-sources { width: var(--cadre); margin: 0 auto; }
[data-usine-bloc="acteurs"] .bh-ctm-sources .kv-piste { animation-duration: 60s; }
/* Sans JS : rangée statique centrée, une seule série (la copie aria-hidden est masquée) */
html:not(.kv-js) [data-usine-bloc="acteurs"] .bh-ctm-sources { mask-image: none; }
html:not(.kv-js) [data-usine-bloc="acteurs"] .bh-ctm-sources .kv-piste { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
html:not(.kv-js) [data-usine-bloc="acteurs"] .bh-ctm-source[aria-hidden="true"] { display: none; }
[data-usine-bloc="acteurs"] .bh-ctm-sources .kv-piste > * { margin-right: 8rem; }
[data-usine-bloc="acteurs"] .bh-ctm-source { display: flex; flex-direction: column; align-items: center; gap: .5rem; margin: 0; }
[data-usine-bloc="acteurs"] .bh-ctm-source img { height: 40px; width: auto; max-width: none; filter: none; opacity: 1; background: none; border: 0; padding: 0; border-radius: 0; object-fit: contain; }
[data-theme="dark"] [data-usine-bloc="acteurs"] .bh-ctm-source img { background: #fff; padding: .3rem .5rem; border-radius: var(--r-image); }
[data-usine-bloc="acteurs"] .bh-ctm-source img[data-source="anil.org"] { height: 64px; }
[data-usine-bloc="acteurs"] .bh-ctm-source { justify-content: flex-end; }
[data-usine-bloc="acteurs"] .bh-ctm-source { flex: 0 0 auto; min-width: max-content; background: none; border: 0; }
[data-usine-bloc="acteurs"] .bh-ctm-source figcaption { font-family: var(--mono); font-size: .78rem; color: var(--c-texte-2); white-space: nowrap; overflow: visible; text-overflow: clip; max-width: none; }
@media (prefers-reduced-motion: reduce) { [data-usine-bloc="acteurs"] .bh-ctm-sources .kv-piste { animation: none; width: auto; flex-wrap: wrap; justify-content: center; } [data-usine-bloc="acteurs"] .bh-ctm-source[aria-hidden="true"] { display: none; } [data-usine-bloc="acteurs"] .bh-ctm-sources { mask-image: none; } }
/* Étapes photo : visuel visible dès le rendu, colonne gauche collante, étapes inactives lisibles */
[data-usine-bloc="etapes"] .bh-ctm-etapes > img[data-etapes-visuel] { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 420px; object-fit: cover; border-radius: var(--r-image); opacity: 1; }
[data-usine-bloc="etapes"] .bh-ctm-etapes > img[data-etapes-visuel].kv-change { opacity: .35; }
/* Photo d'étape posée dans le flux (jamais sticky) : en sticky elle sortait de sa colonne dans les captures pleine page. */
[data-usine-bloc="etapes"] .bh-ctm-etapes > img[data-etapes-visuel] { position: static !important; min-height: 12rem; background: var(--c-fond-2); }
[data-usine-bloc="etapes"] .bh-ctm-etapes > img[data-etapes-visuel].kv-change { opacity: 1; }
[data-usine-bloc="etapes"] [data-etape] { opacity: .8; color: var(--c-texte-2); }
[data-usine-bloc="etapes"] [data-etape] h3 { color: var(--c-texte-2); }
[data-usine-bloc="etapes"] [data-etape].kv-actif, [data-usine-bloc="etapes"] [data-etape].kv-actif h3 { opacity: 1; color: var(--c-texte); }
html:not(.kv-js) [data-usine-bloc="etapes"] [data-etape] { opacity: 1; color: var(--c-texte); }
.bh-ctm-themes a .ico { color: currentColor; }
/* Colonnes lisibles : jamais un texte long dans une boîte de moins de 300 px */
.bh-ctm-critere { padding: var(--e5); }
@media (max-width: 640px) {
	.bh-ctm { --cadre: calc(100% - 2 * var(--e5)); }
	.bh-ctm-etapes li { grid-template-columns: 1fr; gap: .25rem; padding: .75rem .5rem; }
	.bh-ctm-calc { padding: var(--e5) var(--e4); }
	.bh-ctm-quiz, .bh-ctm-panneau, .bh-ctm-bascule article { padding: var(--e5) var(--e4); }
	.bh-ctm-saison, .bh-ctm-critere { padding: var(--e5) var(--e4); }
	.bh-ctm-bascule li { flex-direction: column; gap: .3rem; }
	.bh-ctm-frise li { padding: var(--e4); }
	.bh-ctm-faq summary > .ico:first-child { display: none; }
	.bh-ctm-faq details p { margin-left: 0; }
}
