:root {
  --f-titre: 'Libre Franklin', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-texte: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --f-graisse-titre: 500;
  --f-casse-kicker: uppercase;
  --tm: 0.75rem;
  --t1: 1.0rem;
  --t2: 1.333rem;
  --t3: 1.777rem;
  --t4: 2.369rem;
  --t5: 3.157rem;
  --t6: 4.209rem;
  --t7: 5.61rem;
  --t-hero: clamp(3.16rem, 6vw, 7.48rem);
  --e1: 0.25rem;
  --e2: 0.5rem;
  --e3: 0.75rem;
  --e4: 1.0rem;
  --e5: 1.5rem;
  --e6: 2.0rem;
  --e7: 3.0rem;
  --e8: 4.0rem;
  --r-carte: 6px;
  --r-bouton: 0px;
  --r-image: 4px;
  --largeur: 1360px;
  --ico-trait: 2.5;
  --header-h: 72px;
  --c-fond: #f7f6f7;
  --c-fond-2: #ece8ee;
  --c-surface: #fefefe;
  --c-texte: #2c2131;
  --c-texte-2: #67536e;
  --c-primaire: #883fa6;
  --c-sur-primaire: #f8f5f9;
  --c-secondaire: #8d5ea1;
  --c-sur-secondaire: #f8f5f9;
  --c-primaire-texte: #7f3b9b;
  --c-secondaire-texte: #714b81;
  --c-doux: #e8e0eb;
  --c-sur-doux: #231429;
  --c-bord: #d8d1db;
  --c-voile: #140c18;
  --c-sur-voile: #ffffff;
  --c-ombre: #1e0f24;
  --o-carte: 0 18px 40px -12px color-mix(in srgb, #1e0f24 28%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #1e0f24 28%, transparent);
  --carte-fond: #fefefe;
  --carte-encre: #2c2131;
  --carte-encre-2: #67536e;
  --carte-lien: #7f3b9b;
  --carte-bord: 1px solid #d8d1db;
  --btn-fond: #8d5ea1;
  --btn-texte: #f8f5f9;
  --btn-bord: 2px solid #2c2131;
  --btn-ombre: 4px 4px 0 #2c2131;
  --btn-deco: none;
  --lien-couleur: #7f3b9b;
  --lien-deco: underline;
  --lien-epaisseur: 1px;
  --lien-fond: transparent;
  --lien-fond-encre: #7f3b9b;
}
html.dark, html[data-theme="dark"], html[data-mode="dark"], html.theme-dark, body.dark, [data-theme="dark"] [data-bh-home] {
  --c-fond: #171319;
  --c-fond-2: #221b25;
  --c-surface: #2a222d;
  --c-texte: #ece7ee;
  --c-texte-2: #c1b3c6;
  --c-primaire: #b073ca;
  --c-sur-primaire: #231429;
  --c-secondaire: #a47eb4;
  --c-sur-secondaire: #221727;
  --c-primaire-texte: #c190d5;
  --c-secondaire-texte: #bfa5ca;
  --c-doux: #38283e;
  --c-sur-doux: #f8f5f9;
  --c-bord: #4b3f50;
  --c-voile: #140c18;
  --c-sur-voile: #ffffff;
  --c-ombre: #060307;
  --o-carte: 0 18px 40px -12px color-mix(in srgb, #060307 28%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #060307 28%, transparent);
  --carte-fond: #2a222d;
  --carte-encre: #ece7ee;
  --carte-encre-2: #c1b3c6;
  --carte-lien: #c190d5;
  --carte-bord: 1px solid #4b3f50;
  --btn-fond: #a47eb4;
  --btn-texte: #221727;
  --btn-bord: 2px solid #ece7ee;
  --btn-ombre: 4px 4px 0 #ece7ee;
  --btn-deco: none;
  --lien-couleur: #c190d5;
  --lien-deco: underline;
  --lien-epaisseur: 1px;
  --lien-fond: transparent;
  --lien-fond-encre: #c190d5;
}

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

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

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

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

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

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

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

/* bento : rectangle toujours plein */
.bh-5e1c-bento { display: grid; gap: var(--e4); grid-template-columns: minmax(0, 1fr); }
.bh-5e1c-bento > .bh-5e1c-carte { min-height: 13rem; }
@media (min-width: 640px) {
  .bh-5e1c-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-5e1c-bento > :first-child { grid-column: span 2; }
  .bh-5e1c-bento-4 > :nth-child(2), .bh-5e1c-bento-6 > :nth-child(2) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bh-5e1c-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(11rem, 1fr); }
  /* Le bento-7 place sa grande carte sur UNE rangée (deux colonnes sur quatre). Elle en
     couvrait deux : la vedette mesurait 824 px de haut, donc son image plein cadre
     dépassait le plafond de 480 px du socle (socle:images-hors-hero mesure la hauteur
     de TOUT <img> d'un bloc de home hors hero à 1440, y compris en position absolue).
     Le plafond de 30rem par rangée garde l'image sous les 480 px par construction :
     on corrige la géométrie du bloc, pas le seuil. */
  .bh-5e1c-bento-7 { grid-auto-rows: minmax(11rem, 30rem); }
  .bh-5e1c-bento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-5e1c-bento-3 > :nth-child(1) { grid-area: 1 / 1 / 3 / 2; } .bh-5e1c-bento-3 > :nth-child(2) { grid-area: 1 / 2 / 2 / 3; } .bh-5e1c-bento-3 > :nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
  .bh-5e1c-bento-4 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-5e1c-bento-4 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-5e1c-bento-4 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-5e1c-bento-4 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; }
  .bh-5e1c-bento-5 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-5e1c-bento-5 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-5e1c-bento-5 > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; } .bh-5e1c-bento-5 > :nth-child(4) { grid-area: 2 / 3 / 3 / 4; } .bh-5e1c-bento-5 > :nth-child(5) { grid-area: 2 / 4 / 3 / 5; }
  .bh-5e1c-bento-6 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-5e1c-bento-6 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-5e1c-bento-6 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-5e1c-bento-6 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; } .bh-5e1c-bento-6 > :nth-child(5) { grid-area: 3 / 1 / 4 / 3; } .bh-5e1c-bento-6 > :nth-child(6) { grid-area: 3 / 3 / 4 / 5; }
  /* Sept cartes, trois rangées pleines : la grande vignette n'occupe que la rangée 1,
     la cellule qu'elle libère en rangée 2 est reprise par la 4e carte (aucun trou). */
  .bh-5e1c-bento-7 > :nth-child(1) { grid-area: 1 / 1 / 2 / 3; } .bh-5e1c-bento-7 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-5e1c-bento-7 > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; } .bh-5e1c-bento-7 > :nth-child(4) { grid-area: 2 / 1 / 3 / 3; } .bh-5e1c-bento-7 > :nth-child(5) { grid-area: 2 / 3 / 3 / 4; } .bh-5e1c-bento-7 > :nth-child(6) { grid-area: 2 / 4 / 3 / 5; } .bh-5e1c-bento-7 > :nth-child(7) { grid-area: 3 / 1 / 4 / 5; }
  .bh-5e1c-bento > .bh-5e1c-carte { min-height: 0; }
  /* Garde-fou du plafond de rangée : le texte d'une carte ne dépasse jamais 440 px,
     sinon la rangée déborderait au lieu de se remplir. */
  .bh-5e1c-bento .bh-5e1c-c-p { -webkit-line-clamp: 2; }
  .bh-5e1c-bento .bh-5e1c-c-titre { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.bh-5e1c-mosaique > .bh-5e1c-carte { min-height: 10rem; }
.bh-5e1c-mosaique .bh-5e1c-c-lienimg { display: block; flex: 1; min-height: 0; }
.bh-5e1c-mosaique .bh-5e1c-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-5e1c-split { display: grid; gap: var(--e6); align-items: center; }
.bh-5e1c-split-media { margin: 0; }
.bh-5e1c-split-media img { width: 100%; height: min(68svh, 40rem); object-fit: cover; border-radius: var(--r-image); }
.bh-5e1c-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-5e1c-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-5e1c-split-liste { display: grid; gap: var(--e4); }
@media (min-width: 1024px) {
  .bh-5e1c-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-5e1c-split-droite .bh-5e1c-split-media { order: 2; }
}

/* carrousel */
.bh-5e1c-car-piste {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(16rem, 21rem); gap: var(--e5);
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--e4); scrollbar-width: thin;
}
.bh-5e1c-car-piste > * { scroll-snap-align: start; }
.bh-5e1c-car-nav { display: flex; gap: var(--e3); margin-top: var(--e4); }
.bh-5e1c-car-nav .bh-5e1c-bouton {
  padding: .4em .9em; font-size: var(--t2); line-height: 1;
  color: var(--c-texte); background: var(--c-fond);
}

/* timeline = frise vivante (correctifs du 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-5e1c-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-5e1c-home .bh-5e1c-timeline[data-frise] { border-left: 0; padding: 0 0 0 calc(var(--e7) + .25rem); position: relative; }
.bh-5e1c-home .bh-5e1c-timeline[data-frise]::before, .bh-5e1c-home .bh-5e1c-timeline[data-frise]::after {
  content: ""; position: absolute; left: calc(var(--e5) - 2px); top: .5rem; width: 4px; border-radius: 4px; }
.bh-5e1c-home .bh-5e1c-timeline[data-frise]::before { bottom: .5rem; height: auto; background: var(--c-bord); }
.bh-5e1c-home .bh-5e1c-timeline[data-frise]::after { height: calc((100% - 1rem) * var(--kv-progression, 1)); background: var(--c-primaire); transition: height .2s linear; }
.bh-5e1c-home .bh-5e1c-timeline[data-frise] > .bh-5e1c-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-5e1c-home .bh-5e1c-timeline[data-frise] > .bh-5e1c-tl-pas.kv-atteint::before { border-color: var(--c-primaire); background: var(--c-primaire); }
.bh-5e1c-home .bh-5e1c-timeline[data-frise] > [data-jalon]::after { content: none; }
.bh-5e1c-home .bh-5e1c-timeline[data-frise] .bh-5e1c-carte { transition: transform .3s ease, box-shadow .3s ease; }
.bh-5e1c-home .bh-5e1c-timeline[data-frise] > .kv-atteint .bh-5e1c-carte { box-shadow: var(--o-survol); }
.bh-5e1c-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-5e1c-home .bh-5e1c-carte .bh-5e1c-c-echeance { color: var(--c-sur-primaire) !important; }
.bh-5e1c-cs-jalon, .bh-5e1c-cs-repere { padding: var(--e5); gap: var(--e3); }
.bh-5e1c-tl-pas { position: relative; }
.bh-5e1c-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-5e1c-tl-alterne { border-left: 0; padding: 0; position: relative; }
  .bh-5e1c-tl-alterne::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px solid var(--c-bord); }
  .bh-5e1c-tl-alterne .bh-5e1c-tl-pas { width: calc(50% - var(--e6)); }
  .bh-5e1c-tl-alterne .bh-5e1c-tl-pas:nth-child(even) { margin-left: calc(50% + var(--e6)); }
  .bh-5e1c-tl-alterne .bh-5e1c-tl-pas::before { left: auto; right: calc(-1 * var(--e6) - 8px); }
  .bh-5e1c-tl-alterne .bh-5e1c-tl-pas:nth-child(even)::before { right: auto; left: calc(-1 * var(--e6) - 8px); }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ─── garde-fous de largeur : une grille ne s'élargit jamais sur le contenu ─── */
.bh-5e1c-rail, .bh-5e1c-split, .bh-5e1c-magazine, .bh-5e1c-zigzag, .bh-5e1c-bandes, .bh-5e1c-pile, .bh-5e1c-d-colle .bh-5e1c-int, .bh-5e1c-split-liste,
.bh-5e1c-colle-liste, .bh-5e1c-accordeon, .bh-5e1c-timeline { grid-template-columns: minmax(0, 1fr); }
.bh-5e1c-carte, .bh-5e1c-bande, .bh-5e1c-acc { overflow-wrap: anywhere; }
.bh-5e1c-cs-ligne .bh-5e1c-c-corps { min-width: 0; }
@media (min-width: 1024px) {
  .bh-5e1c-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-5e1c-magazine { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .bh-5e1c-d-colle .bh-5e1c-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-5e1c-b-une .bh-5e1c-cs-image-gauche { align-items: stretch; }
.bh-5e1c-b-une .bh-5e1c-cs-image-gauche .bh-5e1c-c-suite { margin-top: auto; }
@media (min-width: 1024px) {
  .bh-5e1c-b-une .bh-5e1c-zz .bh-5e1c-c-media { flex: 0 0 52%; }
  .bh-5e1c-b-une .bh-5e1c-zz .bh-5e1c-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-5e1c-home .bh-5e1c-c-suite { display: inline-flex; align-items: center; gap: .4em; white-space: nowrap; width: fit-content; }

/* ─── retours correctifs du 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-5e1c-home .bh-5e1c-cs-idee { padding: 0; gap: 0; border: var(--carte-bord); border-radius: max(var(--r-carte), 6px); box-shadow: var(--o-carte, none); }
.bh-5e1c-cs-idee .bh-5e1c-ir-faux, .bh-5e1c-cs-idee .bh-5e1c-ir-vrai { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e3); padding: var(--e5); align-items: start; }
.bh-5e1c-cs-idee .bh-5e1c-ir-faux { background: color-mix(in srgb, var(--c-bord) 35%, var(--carte-fond)); border-bottom: 1px solid var(--c-bord); }
.bh-5e1c-cs-idee .bh-5e1c-ir-vrai { flex: 1; }
.bh-5e1c-ir-ico { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: 0 0 auto; }
.bh-5e1c-ir-ico svg { width: 1.25rem; height: 1.25rem; }
.bh-5e1c-ir-faux .bh-5e1c-ir-ico { background: var(--carte-encre-2); color: var(--carte-fond); }
.bh-5e1c-ir-vrai .bh-5e1c-ir-ico { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-5e1c-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-5e1c-ir-vrai .bh-5e1c-ir-etiquette { color: var(--carte-lien); }
.bh-5e1c-ir-faux .bh-5e1c-c-titre { text-decoration: line-through; text-decoration-thickness: 1px; text-decoration-color: color-mix(in srgb, var(--carte-encre) 45%, transparent); }

/* Repères : chaque chiffre a son icône, son sens et son lien (correctifs du 26/09 : « un peu vide »). */
.bh-5e1c-cs-repere .bh-5e1c-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-5e1c-cs-repere .bh-5e1c-rp-ico svg { width: 1.35rem; height: 1.35rem; }
.bh-5e1c-cs-repere .bh-5e1c-c-chiffre { font-size: var(--t6); margin-top: var(--e2); }
.bh-5e1c-cs-repere .bh-5e1c-c-suite { margin-top: auto; }
.bh-5e1c-c-vedette.bh-5e1c-cs-repere { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: var(--e5); align-items: center; }
.bh-5e1c-c-vedette.bh-5e1c-cs-repere > * { margin: 0; }
.bh-5e1c-c-vedette.bh-5e1c-cs-repere .bh-5e1c-c-p, .bh-5e1c-c-vedette.bh-5e1c-cs-repere .bh-5e1c-c-suite { grid-column: 3; }
.bh-5e1c-c-vedette.bh-5e1c-cs-repere .bh-5e1c-c-label { grid-column: 3; font-size: var(--t2); }
.bh-5e1c-c-vedette.bh-5e1c-cs-repere .bh-5e1c-rp-ico { grid-row: 1 / span 3; }
.bh-5e1c-c-vedette.bh-5e1c-cs-repere .bh-5e1c-c-chiffre { grid-row: 1 / span 3; font-size: var(--t7); }
@media (max-width: 639px) {
  .bh-5e1c-c-vedette.bh-5e1c-cs-repere { grid-template-columns: auto minmax(0, 1fr); }
  .bh-5e1c-c-vedette.bh-5e1c-cs-repere .bh-5e1c-c-chiffre { grid-row: auto; grid-column: 2; font-size: var(--t6); }
  .bh-5e1c-c-vedette.bh-5e1c-cs-repere :is(.bh-5e1c-c-p, .bh-5e1c-c-suite, .bh-5e1c-c-label) { grid-column: 1 / -1; }
}

/* Avis : cartes citation lisibles, jamais plus étroites que 18rem ; la signature en pied. */
.bh-5e1c-home .bh-5e1c-cs-citation { gap: var(--e3); }
.bh-5e1c-cs-citation .bh-5e1c-c-citation p { margin: 0; }
.bh-5e1c-cs-citation .bh-5e1c-c-signature { margin-top: auto; padding-top: var(--e3); border-top: 1px solid var(--c-bord); }
.bh-5e1c-b-avis .bh-5e1c-c-vedette .bh-5e1c-c-citation { font-size: var(--t3); max-width: 60ch; }
@media (max-width: 639px) { .bh-5e1c-b-avis .bh-5e1c-c-vedette .bh-5e1c-c-citation, .bh-5e1c-c-vedette .bh-5e1c-c-citation { font-size: var(--t2); } }
.bh-5e1c-b-avis .bh-5e1c-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-5e1c-home .bh-5e1c-bloc.bh-5e1c-hero { min-height: calc(100svh - var(--header-h)); }

/* Recopié de correctifs.css (correctifs du 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, correctifs du 26/09). */
.bh-5e1c-timeline .bh-5e1c-c-media img, .bh-5e1c-b-parcours .bh-5e1c-c-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 320px; object-fit: cover; }
@media (min-width: 900px) {
  .bh-5e1c-timeline .bh-5e1c-carte:has(> .bh-5e1c-c-media) { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 1fr); gap: var(--e5); align-items: start; }
  .bh-5e1c-timeline .bh-5e1c-carte:has(> .bh-5e1c-c-media) > .bh-5e1c-c-media { margin: 0; }
}

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

/* Pastilles de sujets : une vraie pastille cliquable, en nuage centré, jamais une barre grise plate
   (correctifs du 26/09, journal-entreprise). */
.bh-5e1c-b-sujets .bh-5e1c-mur { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e3); }
.bh-5e1c-b-sujets .bh-5e1c-mur-col { display: contents; }
.bh-5e1c-b-sujets .bh-5e1c-carte.bh-5e1c-cs-pastille { background: transparent; border: 0; box-shadow: none; padding: 0; width: auto; }
.bh-5e1c-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-5e1c-c-pastille::after { content: "\2192"; font-weight: 400; }
.bh-5e1c-c-pastille:hover, .bh-5e1c-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 (correctifs du 26/09, journal-entreprise : collés au 3e titre). */
.bh-5e1c-hero-actions { margin-top: var(--e5); }
