:root {
  --f-titre: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --f-texte: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-graisse-titre: 600;
  --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: 1200px;
  --ico-trait: 2;
  --bandeau-h: 40px;
  --header-h: calc(72px + var(--bandeau-h));
  --c-fond: #fdfcfc;
  --c-fond-2: #f4ebed;
  --c-surface: #ffffff;
  --c-texte: #371b20;
  --c-texte-2: #7e444f;
  --c-primaire: #bd2944;
  --c-sur-primaire: #f9f5f6;
  --c-secondaire: #ab5464;
  --c-sur-secondaire: #f9f5f6;
  --c-primaire-texte: #b02640;
  --c-secondaire-texte: #894350;
  --c-doux: #eedde0;
  --c-sur-doux: #291418;
  --c-bord: #e2cbcf;
  --c-voile: #180c0e;
  --c-sur-voile: #ffffff;
  --c-ombre: #240f13;
  --o-carte: 0 1px 2px color-mix(in srgb, #240f13 8%, transparent), 0 8px 24px color-mix(in srgb, #240f13 8%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #240f13 28%, transparent);
  --carte-fond: #ffffff;
  --carte-encre: #371b20;
  --carte-encre-2: #7e444f;
  --carte-lien: #b02640;
  --carte-bord: 0 solid transparent;
  --btn-fond: transparent;
  --btn-texte: #b02640;
  --btn-bord: 0 solid transparent;
  --btn-ombre: none;
  --btn-deco: underline;
  --lien-couleur: #b02640;
  --lien-deco: underline;
  --lien-epaisseur: 3px;
  --lien-fond: transparent;
  --lien-fond-encre: #b02640;
}
html.clair-force-jamais, html[data-clair="jamais"], body.clair-force-jamais {
  --c-fond: #1c0f12;
  --c-fond-2: #2a1619;
  --c-surface: #331c20;
  --c-texte: #f2e3e6;
  --c-texte-2: #d1a9b0;
  --c-primaire: #dc6077;
  --c-sur-primaire: #291418;
  --c-secondaire: #bc7683;
  --c-sur-secondaire: #291418;
  --c-primaire-texte: #e48194;
  --c-secondaire-texte: #d09fa8;
  --c-doux: #432329;
  --c-sur-doux: #f9f5f6;
  --c-bord: #5b333b;
  --c-voile: #180c0e;
  --c-sur-voile: #ffffff;
  --c-ombre: #070304;
  --o-carte: 0 1px 2px color-mix(in srgb, #070304 8%, transparent), 0 8px 24px color-mix(in srgb, #070304 8%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #070304 28%, transparent);
  --carte-fond: #331c20;
  --carte-encre: #f2e3e6;
  --carte-encre-2: #d1a9b0;
  --carte-lien: #e48194;
  --carte-bord: 0 solid transparent;
  --btn-fond: transparent;
  --btn-texte: #e48194;
  --btn-bord: 0 solid transparent;
  --btn-ombre: none;
  --btn-deco: underline;
  --lien-couleur: #e48194;
  --lien-deco: underline;
  --lien-epaisseur: 3px;
  --lien-fond: transparent;
  --lien-fond-encre: #e48194;
}

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

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

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

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

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

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

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

/* bento : rectangle toujours plein */
.bh-3c72-bento { display: grid; gap: var(--e4); grid-template-columns: minmax(0, 1fr); }
.bh-3c72-bento > .bh-3c72-carte { min-height: 13rem; }
@media (min-width: 640px) {
  .bh-3c72-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-3c72-bento > :first-child { grid-column: span 2; }
  .bh-3c72-bento-4 > :nth-child(2), .bh-3c72-bento-6 > :nth-child(2) { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .bh-3c72-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(11rem, 1fr); }
  .bh-3c72-bento-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bh-3c72-bento-3 > :nth-child(1) { grid-area: 1 / 1 / 3 / 2; } .bh-3c72-bento-3 > :nth-child(2) { grid-area: 1 / 2 / 2 / 3; } .bh-3c72-bento-3 > :nth-child(3) { grid-area: 2 / 2 / 3 / 3; }
  .bh-3c72-bento-4 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-3c72-bento-4 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-3c72-bento-4 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-3c72-bento-4 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; }
  .bh-3c72-bento-5 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-3c72-bento-5 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-3c72-bento-5 > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; } .bh-3c72-bento-5 > :nth-child(4) { grid-area: 2 / 3 / 3 / 4; } .bh-3c72-bento-5 > :nth-child(5) { grid-area: 2 / 4 / 3 / 5; }
  .bh-3c72-bento-6 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-3c72-bento-6 > :nth-child(2) { grid-area: 1 / 3 / 2 / 5; } .bh-3c72-bento-6 > :nth-child(3) { grid-area: 2 / 3 / 3 / 4; } .bh-3c72-bento-6 > :nth-child(4) { grid-area: 2 / 4 / 3 / 5; } .bh-3c72-bento-6 > :nth-child(5) { grid-area: 3 / 1 / 4 / 3; } .bh-3c72-bento-6 > :nth-child(6) { grid-area: 3 / 3 / 4 / 5; }
  .bh-3c72-bento-7 > :nth-child(1) { grid-area: 1 / 1 / 3 / 3; } .bh-3c72-bento-7 > :nth-child(2) { grid-area: 1 / 3 / 2 / 4; } .bh-3c72-bento-7 > :nth-child(3) { grid-area: 1 / 4 / 2 / 5; } .bh-3c72-bento-7 > :nth-child(4) { grid-area: 2 / 3 / 3 / 5; } .bh-3c72-bento-7 > :nth-child(5) { grid-area: 3 / 1 / 4 / 2; } .bh-3c72-bento-7 > :nth-child(6) { grid-area: 3 / 2 / 4 / 3; } .bh-3c72-bento-7 > :nth-child(7) { grid-area: 3 / 3 / 4 / 5; }
  .bh-3c72-bento > .bh-3c72-carte { min-height: 0; }
}
.bh-3c72-mosaique > .bh-3c72-carte { min-height: 10rem; }
.bh-3c72-mosaique .bh-3c72-c-lienimg { display: block; flex: 1; min-height: 0; }
.bh-3c72-mosaique .bh-3c72-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-3c72-split { display: grid; gap: var(--e6); align-items: center; }
.bh-3c72-split-media { margin: 0; }
.bh-3c72-split-media img { width: 100%; height: min(68svh, 40rem); object-fit: cover; border-radius: var(--r-image); }
.bh-3c72-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-3c72-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-3c72-split-liste { display: grid; gap: var(--e4); }
@media (min-width: 1024px) {
  .bh-3c72-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bh-3c72-split-droite .bh-3c72-split-media { order: 2; }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ─────────── correctifs de rendu (portier 2) ─────────── */
.bh-3c72-hero-logos { background: var(--c-surface); border-block: 1px solid var(--c-bord); padding-block: var(--e3); }
.bh-3c72-hero-logos .bh-3c72-logos-titre { margin: 0 0 var(--e2); text-align: center; }
.bh-3c72-hero-logos .kv-piste { display: flex; align-items: center; gap: var(--e6); }
.bh-3c72-logos-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: var(--e4); align-items: center; padding-block: var(--e4) 0; overflow: visible; }
.bh-3c72-logos-grille img { max-width: 100%; height: 30px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; }
/* voile des cartes sur photo : assez opaque pour un titre blanc lisible (AA) */
.bh-3c72-c-voile { background: linear-gradient(to top, color-mix(in srgb, var(--c-voile) 96%, transparent) 62%, color-mix(in srgb, var(--c-voile) 62%, transparent)); }
.bh-3c72-c-voile a, .bh-3c72-c-voile .bh-3c72-c-titre a, .bh-3c72-c-voile .bh-3c72-c-titre { color: var(--c-sur-voile); text-decoration-color: currentColor; }
.bh-3c72-bento-7 > .bh-3c72-carte:last-child { min-height: 0; }
/* listes : icones Lucide, jamais de puce de texte */
.bh-3c72-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5em; }
.bh-3c72-liste li { display: flex; gap: .55em; align-items: flex-start; }
.bh-3c72-liste li > svg { flex: 0 0 auto; width: 1.15em; height: 1.15em; margin-top: .2em; color: var(--c-primaire-texte); }
.bh-3c72-rubrique-titres { list-style: none; margin: 0; padding: 0; }
/* etapes : une photo par etape (ratio 4/3), etat actif lisible */
.bh-3c72-etape-photo { display: block; width: min(240px, 48%); height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); margin-bottom: .6rem; }
/* avis : guillemet et badge en icones */
.bh-3c72-citation-icone { display: block; color: var(--c-primaire-texte); }
.bh-3c72-citation-icone svg { width: 1.4rem; height: 1.4rem; display: block; }
.bh-3c72-c-verifie { color: var(--c-primaire-texte); display: block; }
.bh-3c72-c-verifie svg { width: 1rem; height: 1rem; display: block; }
.bh-3c72-c-suite-ligne { margin: .5rem 0 0; }
.bh-3c72-colle-suite { margin: var(--e5) 0 0; }
/* colonne laterale des incontournables : plus de vide */
.bh-3c72-colle-cote { display: grid; gap: var(--e4); align-content: start; }
.bh-3c72-colle-cote .bh-3c72-entete { position: static; }
.bh-3c72-colle-cote .bh-3c72-c-avatar { aspect-ratio: 4 / 3; object-fit: cover; }
.bh-3c72-colle-liste-rubriques { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.bh-3c72-colle-liste-rubriques a { display: inline-flex; align-items: center; gap: .45em; }
.bh-3c72-colle-liste-rubriques svg { width: 1em; height: 1em; color: var(--c-primaire-texte); }
/* contact : formulaire dans le style du theme */
.bh-3c72-form { display: grid; gap: var(--e3); }
.bh-3c72-form textarea { min-height: 8rem; resize: vertical; }

/* ══════════ correctifs de portier 3 (26/09) ══════════ */
/* le hero démarre juste sous le header : la gouttière du main (p-4) est annulée sous le hero */
body:has(.bh-3c72-home) main#app { padding-top: 0; }
/* titres sur photo : voile assez opaque pour un blanc AA dans les deux modes */
.bh-3c72-home .bh-3c72-c-voile { background: linear-gradient(to top, color-mix(in srgb, var(--c-voile) 94%, transparent) 58%, color-mix(in srgb, var(--c-voile) 76%, transparent)); }
.bh-3c72-home .bh-3c72-c-voile .bh-3c72-c-kicker,
.bh-3c72-home .bh-3c72-c-voile .bh-3c72-c-titre,
.bh-3c72-home .bh-3c72-c-voile .bh-3c72-c-titre a,
.bh-3c72-home .bh-3c72-c-voile .bh-3c72-c-meta,
.bh-3c72-home .bh-3c72-c-voile .bh-3c72-c-p { color: var(--c-sur-voile) !important; }
/* bandeau de logos : plateau clair fixe (identique dans les deux modes), logos jamais coupés */
:root { --c-papier: #fdfcfc; }
.bh-3c72-home .bh-3c72-hero-logos { background: var(--c-papier); border-block: 1px solid var(--c-bord); }
.bh-3c72-hero-logos[data-defile] { overflow: hidden; }
.bh-3c72-hero-logos .kv-piste { padding-block: .25rem; }
.bh-3c72-hero-logos .bh-3c72-logos-titre { color: var(--c-texte); }
/* colonne de gauche de la sélection : elle descend jusqu'au bas du bloc (pas de vide en pied) */
.bh-3c72-home .bh-3c72-d-colle .bh-3c72-colle-cote { align-self: stretch; align-content: stretch; grid-template-rows: auto auto minmax(0, 1fr); }
.bh-3c72-home .bh-3c72-colle-cote > .bh-3c72-carte:last-child { align-content: start; }
/* chronologie : la frise remplit la hauteur des repères (les échéances annuelles s'ajoutent) */
.bh-3c72-home .bh-3c72-g-jalon[data-frise] { align-items: stretch; }
