: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: 500;
  --f-casse-kicker: none;
  --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.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: 6px;
  --r-image: 4px;
  --largeur: 1360px;
  --ico-trait: 2.5;
  --header-h: 72px;
  --c-fond: #f5f8f8;
  --c-fond-2: #e2eded;
  --c-surface: #fefefe;
  --c-texte: #1d3535;
  --c-texte-2: #446f6f;
  --c-primaire: #0bdada;
  --c-sur-primaire: #142929;
  --c-secondaire: #4ab5b5;
  --c-sur-secondaire: #142929;
  --c-primaire-texte: #067474;
  --c-secondaire-texte: #2f7474;
  --c-doux: #daf1f1;
  --c-sur-doux: #142929;
  --c-bord: #cddfdf;
  --c-voile: #0c1818;
  --c-sur-voile: #ffffff;
  --c-ombre: #0f2424;
  --o-carte: none;
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #0f2424 28%, transparent);
  --carte-fond: #daf1f1;
  --carte-encre: #142929;
  --carte-encre-2: #142929;
  --carte-lien: #142929;
  --carte-bord: 0 solid transparent;
  --btn-fond: #0bdada;
  --btn-texte: #142929;
  --btn-bord: 2px solid #0bdada;
  --btn-ombre: none;
  --btn-deco: none;
  --lien-couleur: #067474;
  --lien-deco: none;
  --lien-epaisseur: 1px;
  --lien-fond: #daf1f1;
  --lien-fond-encre: #142929;
}
html.dark, html[data-theme="dark"], html[data-mode="dark"], html.theme-dark, body.dark, [data-theme="dark"] [data-bh-home] {
  --c-fond: #101b1b;
  --c-fond-2: #182828;
  --c-surface: #1e3131;
  --c-texte: #e5f0f1;
  --c-texte-2: #adcdcd;
  --c-primaire: #47f5f5;
  --c-sur-primaire: #142929;
  --c-secondaire: #6ec4c4;
  --c-sur-secondaire: #142929;
  --c-primaire-texte: #6ef7f7;
  --c-secondaire-texte: #9ad5d6;
  --c-doux: #1c4a4a;
  --c-sur-doux: #f5f9f9;
  --c-bord: #385757;
  --c-voile: #0c1818;
  --c-sur-voile: #ffffff;
  --c-ombre: #030707;
  --o-carte: none;
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #030707 28%, transparent);
  --carte-fond: #1c4a4a;
  --carte-encre: #f5f9f9;
  --carte-encre-2: #f5f9f9;
  --carte-lien: #f5f9f9;
  --carte-bord: 0 solid transparent;
  --btn-fond: #47f5f5;
  --btn-texte: #142929;
  --btn-bord: 2px solid #47f5f5;
  --btn-ombre: none;
  --btn-deco: none;
  --lien-couleur: #6ef7f7;
  --lien-deco: none;
  --lien-epaisseur: 1px;
  --lien-fond: #1c4a4a;
  --lien-fond-encre: #f5f9f9;
}

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

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

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

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

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

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

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

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

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

/* carrousel */
.bh-7e38-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-7e38-car-piste > * { scroll-snap-align: start; }
.bh-7e38-car-nav { display: flex; gap: var(--e3); margin-top: var(--e4); }
.bh-7e38-car-nav .bh-7e38-bouton {
  padding: .4em .9em; font-size: var(--t2); line-height: 1;
  color: var(--c-texte); background: var(--c-fond);
}

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

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

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

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

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

/* bandes pleine largeur */
.bh-7e38-bandes { display: grid; border-top: 1px solid var(--c-bord); }
.bh-7e38-bande { display: grid; gap: var(--e3); padding-block: var(--e6); border-bottom: 1px solid var(--c-bord); }
.bh-7e38-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-7e38-bande-titre a { text-decoration: none; color: inherit; }
.bh-7e38-bande-titre a:hover { color: var(--c-primaire-texte); }
/* Le titre de bande peut porter une pastille d'icone : la caler sur la premiere ligne du titre. */
.bh-7e38-bande-titre .bh-7e38-ico { margin-right: .7rem; vertical-align: middle; }
.bh-7e38-bande-corps { display: grid; gap: var(--e2); color: var(--c-texte-2); }
.bh-7e38-bande-corps .bh-7e38-c-kicker { color: var(--c-primaire-texte); }
.bh-7e38-bande-corps .bh-7e38-c-p, .bh-7e38-bande-corps .bh-7e38-c-meta { color: var(--c-texte-2); }
@media (min-width: 1024px) { .bh-7e38-bande { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: baseline; } }

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ─── retours  (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-7e38-home .bh-7e38-cs-idee { padding: 0; gap: 0; border: var(--carte-bord); border-radius: max(var(--r-carte), 6px); box-shadow: var(--o-carte, none); }
.bh-7e38-cs-idee .bh-7e38-ir-faux, .bh-7e38-cs-idee .bh-7e38-ir-vrai { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e3); padding: var(--e5); align-items: start; }
.bh-7e38-cs-idee .bh-7e38-ir-faux { background: color-mix(in srgb, var(--c-bord) 35%, var(--carte-fond)); border-bottom: 1px solid var(--c-bord); }
.bh-7e38-cs-idee .bh-7e38-ir-vrai { flex: 1; }
.bh-7e38-ir-ico { display: inline-grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; flex: 0 0 auto; }
.bh-7e38-ir-ico svg { width: 1.25rem; height: 1.25rem; }
.bh-7e38-ir-faux .bh-7e38-ir-ico { background: var(--carte-encre-2); color: var(--carte-fond); }
.bh-7e38-ir-vrai .bh-7e38-ir-ico { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-7e38-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-7e38-ir-vrai .bh-7e38-ir-etiquette { color: var(--carte-lien); }
.bh-7e38-ir-faux .bh-7e38-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 ( : « un peu vide »). */
.bh-7e38-cs-repere .bh-7e38-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-7e38-cs-repere .bh-7e38-rp-ico svg { width: 1.35rem; height: 1.35rem; }
.bh-7e38-cs-repere .bh-7e38-c-chiffre { font-size: var(--t6); margin-top: var(--e2); }
.bh-7e38-cs-repere .bh-7e38-c-suite { margin-top: auto; }
.bh-7e38-c-vedette.bh-7e38-cs-repere { display: grid; grid-template-columns: auto auto minmax(0, 1fr); column-gap: var(--e5); align-items: center; }
.bh-7e38-c-vedette.bh-7e38-cs-repere > * { margin: 0; }
.bh-7e38-c-vedette.bh-7e38-cs-repere .bh-7e38-c-p, .bh-7e38-c-vedette.bh-7e38-cs-repere .bh-7e38-c-suite { grid-column: 3; }
.bh-7e38-c-vedette.bh-7e38-cs-repere .bh-7e38-c-label { grid-column: 3; font-size: var(--t2); }
.bh-7e38-c-vedette.bh-7e38-cs-repere .bh-7e38-rp-ico { grid-row: 1 / span 3; }
.bh-7e38-c-vedette.bh-7e38-cs-repere .bh-7e38-c-chiffre { grid-row: 1 / span 3; font-size: var(--t7); }
@media (max-width: 639px) {
  .bh-7e38-c-vedette.bh-7e38-cs-repere { grid-template-columns: auto minmax(0, 1fr); }
  .bh-7e38-c-vedette.bh-7e38-cs-repere .bh-7e38-c-chiffre { grid-row: auto; grid-column: 2; font-size: var(--t6); }
  .bh-7e38-c-vedette.bh-7e38-cs-repere :is(.bh-7e38-c-p, .bh-7e38-c-suite, .bh-7e38-c-label) { grid-column: 1 / -1; }
}

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

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

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

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

/* ══ Blocs ajoutes a la home () ═════════════════════════════════
   Partenaires, dossier, methode, calcul, bascule, onglets, chiffres,
   inspirations, faq, suivre, appel. Aucune couleur en dur : tout passe par
   les jetons du site (--c-*, --e*, --r-*, --t*). */

/* Le hero vit sous l'entete : sa hauteur deduit l'entete ENTIERE (barre + bandeau).
   --header-h est PUBLIE par le JS de la home : il vaut deja le haut du hero, bandeau compris.
   Retirer le bandeau une seconde fois laissait le hero 44 px plus court que l'ecran (27/09). */
.bh-7e38-hero { height: calc(100svh - var(--header-h)); }
.bh-7e38-home .bh-7e38-bloc.bh-7e38-hero { min-height: calc(100svh - var(--header-h)); }

/* Aucune image de bloc ne depasse 480 px de haut (). */
.bh-7e38-home .bh-7e38-bloc:not(.bh-7e38-hero) img { max-height: 480px; object-fit: cover; }

/* Pastille d'icone et lien fleche, communs aux blocs ajoutes. */
.bh-7e38-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 2.25rem; height: 2.25rem; border-radius: 50%;
  background: var(--c-doux); color: var(--c-primaire-texte);
}
.bh-7e38-ico svg { width: 1.1rem; height: 1.1rem; }
.bh-7e38-lien-fleche {
  display: inline-flex; align-items: center; gap: .5em; min-height: 44px;
  color: var(--c-primaire-texte); font-weight: 600; text-decoration: none; white-space: nowrap;
}
.bh-7e38-lien-fleche:hover, .bh-7e38-lien-fleche:focus-visible { text-decoration: underline; }
.bh-7e38-lien-fleche svg { width: 1.05rem; height: 1.05rem; }

/* Listes a puces illustrees et notes de bas de bloc. */
.bh-7e38-points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e4); }
.bh-7e38-points li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e3); align-items: start; }
.bh-7e38-points strong { display: block; }
.bh-7e38-note { margin: var(--e5) 0 0; font-size: var(--tm); color: var(--c-texte-2); }

/* Partenaires : un seul rang de logos, qui defile. */
.bh-7e38-logos { overflow: hidden; margin-top: var(--e5); }
.bh-7e38-logos-piste { display: flex; align-items: center; gap: var(--e7); width: max-content; }
.bh-7e38-logos-piste img {
  height: 40px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: .72;
}
.bh-7e38-logos-piste img:hover { filter: none; opacity: 1; }
.bh-7e38-logos-note { margin: var(--e5) 0 0; font-size: var(--tm); color: var(--c-texte-2); }

/* Dossier : une vedette, deux brèves. */
.bh-7e38-dossier { display: grid; gap: var(--e5); }
.bh-7e38-dossier-vedette { background: var(--c-surface); }
.bh-7e38-dossier-vedette .bh-7e38-c-media img { aspect-ratio: 16 / 9; max-height: 420px; }
.bh-7e38-dossier-cote { display: grid; gap: var(--e5); align-content: start; }
.bh-7e38-dossier .bh-7e38-c-media img { max-height: 320px; }
@media (min-width: 900px) {
  .bh-7e38-dossier { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
}

/* Methode : le visuel et le Lottie d'un cote, les etapes de l'autre. */
.bh-7e38-methode { display: grid; gap: var(--e5); }


.bh-7e38-methode-lottie { max-width: 320px; min-height: 120px; }
.bh-7e38-methode-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e5); }
.bh-7e38-methode-pas {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e2) var(--e4);
  background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e5);
}
.bh-7e38-methode-num { font-family: var(--f-titre); font-size: var(--t3); line-height: 1; color: var(--c-primaire-texte); }
.bh-7e38-methode-pas .bh-7e38-c-titre, .bh-7e38-methode-pas .bh-7e38-c-p { grid-column: 2; margin: 0; }
@media (min-width: 900px) {
  
}

/* Calcul : un formulaire vivant, jamais un simulateur muet. */
.bh-7e38-b-calcul .bh-7e38-widget { display: grid; gap: var(--e5); }
.bh-7e38-b-calcul .bh-7e38-widget-media { margin: 0; }
.bh-7e38-b-calcul .bh-7e38-widget-media img { width: 100%; height: 320px; max-height: 320px; object-fit: cover; border-radius: var(--r-image); }
@media (min-width: 900px) {
  .bh-7e38-b-calcul .bh-7e38-widget { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; }
}
.bh-7e38-form { display: grid; gap: var(--e5); background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e5); }
.bh-7e38-form-rang { display: grid; gap: var(--e4); }
@media (min-width: 640px) {
  .bh-7e38-form-rang { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
}
.bh-7e38-champ { display: grid; gap: var(--e2); font-size: var(--tm); font-weight: 600; color: var(--c-texte-2); }
.bh-7e38-champ input {
  min-height: 44px; padding: .5em .75em; font: inherit; font-size: var(--t1); font-weight: 400;
  color: var(--c-texte); background: var(--c-fond);
  border: 1px solid var(--c-bord); border-radius: var(--r-bouton);
}
.bh-7e38-champ input:focus-visible { outline: 2px solid var(--c-primaire); outline-offset: 1px; }
.bh-7e38-form-sortie { display: grid; gap: var(--e3); border-top: 1px solid var(--c-bord); padding-top: var(--e4); }
.bh-7e38-sortie { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5em; }
.bh-7e38-sortie-libelle { color: var(--c-texte-2); }
.bh-7e38-sortie-valeur { font-family: var(--f-titre); font-size: var(--t3); color: var(--c-primaire-texte); }
.bh-7e38-sortie-unite { color: var(--c-texte-2); }

/* Bascule : deux articles, un interrupteur. */
.bh-7e38-bascule { display: grid; gap: var(--e5); }
.bh-7e38-interrupteur {
  display: inline-flex; flex-wrap: wrap; gap: var(--e2); padding: var(--e2);
  width: max-content; max-width: 100%; background: var(--c-fond-2); border-radius: 999px;
}
.bh-7e38-choix {
  min-height: 44px; padding: .5em 1.2em; font: inherit; font-weight: 600; cursor: pointer;
  background: transparent; color: var(--c-texte-2); border: 0; border-radius: 999px;
}
.bh-7e38-choix[aria-selected="true"], .bh-7e38-choix[aria-pressed="true"] {
  background: var(--c-primaire); color: var(--c-sur-primaire);
}
.bh-7e38-bascule-panneaux { display: grid; gap: var(--e5); }
.bh-7e38-panneau {
  display: grid; gap: var(--e4); align-content: start;
  background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e5);
}
.bh-7e38-panneau[hidden] { display: none; }
.bh-7e38-panneau img { width: 100%; height: 300px; max-height: 320px; object-fit: cover; border-radius: var(--r-image); }
.bh-7e38-panneau-tete { display: grid; gap: var(--e2); }

/* Onglets de piece : une barre lisible, un panneau a la fois. */
.bh-7e38-onglets { display: grid; gap: var(--e5); }
.bh-7e38-onglets-barre { display: flex; flex-wrap: wrap; gap: var(--e2); border-bottom: 1px solid var(--c-bord); padding-bottom: var(--e2); }
.bh-7e38-onglet {
  min-height: 44px; padding: .5em 1em; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  background: transparent; color: var(--c-texte-2);
  border: 0; border-bottom: 2px solid transparent; margin-bottom: -2px;
}
.bh-7e38-onglet[aria-selected="true"] { color: var(--c-primaire-texte); border-bottom-color: var(--c-primaire); }
.bh-7e38-onglets .bh-7e38-panneau { padding: 0; background: transparent; }
.bh-7e38-onglets .bh-7e38-panneau img { height: 340px; max-height: 480px; }
/* Check-list d'onglet : icone, libelle en gras et description sur UNE seule
   ligne, tout a gauche, exactement comme les items du bloc bascule (meme
   composant .bh-7e38-points). En grille, le texte libre apres le libelle
   tombait dans la colonne de l'icone et rejetait le libelle au bout de la
   ligne : ici le libelle et sa description partagent un meme flux inline. */
.bh-7e38-onglets .bh-7e38-points li { display: flex; align-items: flex-start; gap: var(--e3); }
.bh-7e38-onglets .bh-7e38-point-texte { min-width: 0; }
.bh-7e38-onglets .bh-7e38-point-texte strong { display: inline; }

/* Chiffres, inspirations, suivi : des grilles qui ne laissent jamais
   une carte orpheline (1 colonne a 390, 2 a 820, 4 au-dela). */
.bh-7e38-g-chiffre, .bh-7e38-g-image, .bh-7e38-g-icone { display: grid; gap: var(--e5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) {
  .bh-7e38-g-chiffre, .bh-7e38-g-image, .bh-7e38-g-icone { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .bh-7e38-g-chiffre, .bh-7e38-g-image, .bh-7e38-g-icone { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.bh-7e38-chiffre { display: grid; gap: var(--e2); align-content: start; background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e5); }
.bh-7e38-chiffre-nombre { margin: 0; font-family: var(--f-titre); font-size: var(--t4); line-height: 1; color: var(--c-primaire-texte); }
.bh-7e38-chiffre-libelle { margin: 0; font-weight: 600; }
.bh-7e38-chiffre .bh-7e38-c-p { margin: 0; font-size: var(--tm); color: var(--c-texte-2); }
.bh-7e38-b-inspirations .bh-7e38-c-media img { height: 260px; max-height: 320px; }
.bh-7e38-b-suivre .bh-7e38-carte { display: grid; gap: var(--e3); align-content: start; text-decoration: none; }
.bh-7e38-b-suivre .bh-7e38-c-titre, .bh-7e38-b-suivre .bh-7e38-c-p { margin: 0; }

/* FAQ : des questions ouvertes une par une, reponse chiffree. */
.bh-7e38-faq { display: grid; gap: var(--e3); }
.bh-7e38-faq-item { background: var(--c-surface); border: 1px solid var(--c-bord); border-radius: var(--r-carte); padding: var(--e4) var(--e5); }
.bh-7e38-faq-item summary {
  min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: var(--e4);
  cursor: pointer; font-family: var(--f-titre); font-size: var(--t2); font-weight: 600; list-style: none;
}
.bh-7e38-faq-item summary::-webkit-details-marker { display: none; }
.bh-7e38-faq-item summary::after { content: "+"; font-family: var(--f-texte); font-size: var(--t2); color: var(--c-primaire-texte); }
.bh-7e38-faq-item[open] summary::after { content: "\2212"; }
.bh-7e38-faq-item p { margin: var(--e3) 0 0; color: var(--c-texte-2); }

/* Appel : le seul bloc sombre de la home, pose sur le voile. */
.bh-7e38-appel {
  display: grid; gap: var(--e4); justify-items: center; text-align: center;
  background: var(--c-voile); color: var(--c-sur-voile);
  border-radius: var(--r-carte); padding: var(--e7) var(--e5);
}
.bh-7e38-appel-titre { margin: 0; font-family: var(--f-titre); font-size: var(--t3); color: var(--c-sur-voile); }
.bh-7e38-appel-texte { margin: 0; max-width: 62ch; color: var(--c-sur-voile); }
.bh-7e38-appel-actions { margin: 0; display: flex; flex-wrap: wrap; gap: var(--e3); align-items: center; justify-content: center; }
.bh-7e38-appel .bh-7e38-lien-fleche { color: var(--c-sur-voile); }

/* Photo de la piece dont parle l'avis : un vrai visuel a la place d'un monogramme. */
.bh-7e38-c-image {
  display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--r-image); margin: 0 0 var(--e4);
}

/* Une grille ne laisse jamais une carte seule sur sa rangee. */
.bh-7e38-grille-anti-orphelin > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ══ Correctifs du portier du 27/09 ═══════════════════════════
   Hero, methode, prochains sujets, edito, signatures, rubriques, reperes.
   Aucune couleur litterale : tout passe par les jetons du site. */

/* 1. Hero-scinde : une seule rangee des 1024 px. Le display:flex des blocs de home
   (.bh-7e38-home .bh-7e38-bloc, specificite 0,2,0) ecrasait la grille du theme : le
   texte prenait la rangee haute et la photo tombait en bandeau pleine largeur dessous,
   laissant la moitie droite du hero vide. */
.bh-7e38-home .bh-7e38-bloc.bh-7e38-hero-scinde {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: stretch;
}
.bh-7e38-hero-scinde .bh-7e38-hero-media img { aspect-ratio: 3 / 2; }
@media (min-width: 1024px) {
  .bh-7e38-home .bh-7e38-bloc.bh-7e38-hero-scinde {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: center;
    justify-items: stretch;
  }
  .bh-7e38-hero-scinde .bh-7e38-hero-gauche { width: 100%; }
  .bh-7e38-hero-scinde .bh-7e38-hero-media { width: 100%; height: 100%; align-self: stretch; }
  .bh-7e38-hero-scinde .bh-7e38-hero-media img { width: 100%; height: 100%; max-height: none; }
}

/* 2. Methode : une photo par etape, presente dans le HTML (repli sans JS), pendant que
   le grand visuel suit l'etape active (data-etapes du kit_vivant). */


/* 3. Prochains sujets : des cartes, plus de defile de titres coupes par les bords. */
.bh-7e38-suivant { display: grid; gap: var(--e3); align-content: start; }
.bh-7e38-suivant .bh-7e38-c-titre, .bh-7e38-suivant .bh-7e38-c-p { margin: 0; }

/* 4. Edito : la colonne de gauche porte le visuel de la redaction. */
.bh-7e38-colle-gauche { display: grid; gap: var(--e5); align-content: start; }
.bh-7e38-colle-media { margin: 0; }
.bh-7e38-colle-media img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-image); display: block;
}
.bh-7e38-colle-media figcaption { font-size: var(--tm); color: var(--c-texte-2); margin-top: var(--e3); }
.bh-7e38-colle-signature { display: block; font-weight: 600; color: var(--c-texte); }

/* 5. Signatures : chaque carte mene a la page de son auteur. */
.bh-7e38-c-avatar-lien { display: block; }
.bh-7e38-cs-portrait .bh-7e38-c-titre a { color: inherit; text-decoration: none; }
.bh-7e38-cs-portrait .bh-7e38-c-titre a:hover { text-decoration: underline; }
.bh-7e38-c-suite { margin: 0; font-weight: 500; }
.bh-7e38-c-suite a { display: inline-flex; align-items: center; gap: .35rem; color: var(--c-primaire-texte); }

/* 6. Rubriques : cartes cliquables en rangees qui se remplissent (jamais de carte seule). */
.bh-7e38-rub-cartes { display: flex; flex-wrap: wrap; gap: var(--e4); }
.bh-7e38-rub-carte {
  flex: 1 1 15rem; display: grid; gap: var(--e3); align-content: start;
  text-decoration: none; color: inherit; padding: var(--e4);
}
.bh-7e38-rub-media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-image); display: block;
}
.bh-7e38-rub-corps { display: grid; gap: var(--e2); }
.bh-7e38-rub-haut { display: flex; align-items: center; gap: var(--e3); }
.bh-7e38-rub-haut .bh-7e38-c-titre { margin: 0; }
.bh-7e38-rub-ico { display: inline-flex; color: var(--c-primaire-texte); flex: 0 0 auto; }
.bh-7e38-rub-fleche { margin-left: auto; display: inline-flex; color: var(--c-primaire-texte); }
.bh-7e38-rub-carte:hover .bh-7e38-rub-fleche { transform: translateX(2px); }

/* 7. Reperes : le nombre reste dans le HTML statique, data-compte l'anime sans l'effacer. */
.bh-7e38-b-reperes [data-compte] {
  font-family: var(--f-titre); font-size: 1.8rem; line-height: 1; color: var(--c-primaire-texte);
  margin-right: .25em;
}

/* ══ Correctifs du portier du 28/09 ═══════════════════════════
   1. Methode : une seule colonne, chaque temps avec sa photo a cote de son texte.
   2. Edito : les deux colonnes remplissent toute la hauteur du bloc.
   3. Signatures : les cartes en grille pleine largeur, sans encadre citation.
   Aucune couleur litterale : tout passe par les jetons du site. */

/* 1. Methode ─────────────────────────────────────────────────── */
#bloc-methode .bh-7e38-methode { grid-template-columns: minmax(0, 1fr); gap: var(--e5); }
#bloc-methode .bh-7e38-methode-pas {
  display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: var(--e5); align-items: center;
}

#bloc-methode .bh-7e38-methode-corps {
  grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: var(--e2); min-width: 0;
}
#bloc-methode .bh-7e38-methode-pas .bh-7e38-c-titre,
#bloc-methode .bh-7e38-methode-pas .bh-7e38-c-p { margin: 0; }
/* l'etape la plus proche du milieu de l'ecran est marquee : la page reste lisible sans JS */
#bloc-methode [data-etape] { opacity: 1; transform: none; }
#bloc-methode [data-etape].kv-actif { box-shadow: inset 3px 0 0 var(--c-primaire); }
#bloc-methode [data-etape].kv-actif .bh-7e38-methode-num { color: var(--c-primaire-texte); }
#bloc-methode .bh-7e38-methode-pied {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--e6); align-items: center;
  background: var(--c-surface); border-radius: var(--r-carte); padding: var(--e5);
}
#bloc-methode .bh-7e38-methode-lottie { width: min(260px, 38vw); max-width: 260px; aspect-ratio: 962 / 616; }
#bloc-methode .bh-7e38-methode-note { margin: 0; color: var(--c-texte-2); }
#bloc-methode .bh-7e38-methode-note a { color: var(--c-primaire-texte); }
@media (max-width: 639px) {
  #bloc-methode .bh-7e38-methode-pas,
  #bloc-methode .bh-7e38-methode-pied { grid-template-columns: minmax(0, 1fr); gap: var(--e4); }
  
  #bloc-methode .bh-7e38-methode-corps { grid-column: 1; grid-row: 2; }
}

/* 2. Edito ───────────────────────────────────────────────────── */
#bloc-mot_redaction .bh-7e38-int { grid-template-columns: minmax(0, 1fr); gap: var(--e6); }
#bloc-mot_redaction .bh-7e38-entete { position: static; margin: 0; text-align: left; }
#bloc-mot_redaction .bh-7e38-colle-gauche { display: flex; flex-direction: column; gap: var(--e4); }
#bloc-mot_redaction .bh-7e38-colle-media { margin: 0; }
#bloc-mot_redaction .bh-7e38-colle-media img {
  width: 100%; aspect-ratio: 3 / 2; max-height: 440px; object-fit: cover;
  border-radius: var(--r-image); display: block;
}
#bloc-mot_redaction .bh-7e38-colle-media figcaption { margin-top: var(--e3); }
#bloc-mot_redaction .bh-7e38-colle-mot { margin: 0; color: var(--c-texte-2); }
#bloc-mot_redaction .bh-7e38-colle-liste { align-content: start; }
@media (min-width: 1024px) {
  #bloc-mot_redaction .bh-7e38-int {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: stretch;
  }
  #bloc-mot_redaction .bh-7e38-colle-media {
    flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0;
  }
  #bloc-mot_redaction .bh-7e38-colle-media img {
    flex: 1 1 auto; height: auto; aspect-ratio: auto; min-height: 14rem; max-height: 440px;
  }
  #bloc-mot_redaction .bh-7e38-colle { align-self: stretch; }
}

/* 3. Signatures ──────────────────────────────────────────────── */

@media (min-width: 640px) {
  
}
@media (min-width: 1024px) {
  
}




/* ══ Application des reponses du portier du 29/09 ═════════════
   Methode : une seule colonne a tous les paliers, vignette 16/9 sans hauteur figee.
   Signatures : flex-wrap centre, la grille ne contient que les cinq auteurs. */

#bloc-methode .bh-7e38-methode { grid-template-columns: minmax(0, 1fr); }
#bloc-methode .bh-7e38-methode-pas {
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: var(--e5);
}
#bloc-methode .bh-7e38-methode-vignette {
  grid-column: 1; grid-row: 1; width: 100%; height: auto; aspect-ratio: 16 / 9;
  object-fit: cover; border-radius: var(--r-image); margin: 0; transition: filter .35s ease;
}
#bloc-methode .bh-7e38-methode-corps { grid-column: 2; grid-row: 1; }
/* sans JS, les trois photos restent pleinement saturees : le pas visible se marque
   au numero et au filet, jamais par une photo terne quand le script ne tourne pas */
.kv-js #bloc-methode [data-etape] .bh-7e38-methode-vignette { filter: saturate(.82); }
.kv-js #bloc-methode [data-etape].kv-actif .bh-7e38-methode-vignette { filter: none; }
#bloc-methode [data-etape].kv-actif .bh-7e38-methode-num { color: var(--c-primaire-texte); }
#bloc-methode .bh-7e38-methode-pied { align-items: center; }
@media (prefers-reduced-motion: reduce) {
  #bloc-methode .bh-7e38-methode-vignette { transition: none; }
  #bloc-methode .bh-7e38-methode-pied { grid-template-columns: minmax(0, 1fr); }
  #bloc-methode .bh-7e38-methode-lottie { display: none; }
}
@media (max-width: 639px) {
  #bloc-methode .bh-7e38-methode-pas { grid-template-columns: minmax(0, 1fr); gap: var(--e4); }
  #bloc-methode .bh-7e38-methode-corps { grid-column: 1; grid-row: 2; }
}
#bloc-auteurs .bh-7e38-g-signatures {
  display: flex; flex-wrap: wrap; gap: var(--e5); justify-content: center;
}
/* Cinq signatures : 5 ne se divise ni par 2 ni par 3, toute rangee a 2 ou 3
   colonnes laissait donc une rangee courte (3 + 2 a 1440, 2 + 2 + 1 a 820).
   Deux dispositions seulement donnent des rangees egales : la colonne unique
   sous 1024, puis les cinq cartes sur une seule ligne au-dela. La base de
   chaque carte vaut exactement la largeur d'une colonne : le navigateur ne
   peut donc pas en loger une de plus par rangee. */
#bloc-auteurs .bh-7e38-g-signatures > .bh-7e38-carte { flex: 1 1 100%; max-width: 100%; height: auto; }
@media (min-width: 1024px) {
  #bloc-auteurs .bh-7e38-g-signatures > .bh-7e38-carte {
    flex-basis: calc((100% - 4 * var(--e5)) / 5); max-width: calc((100% - 4 * var(--e5)) / 5);
  }
}
#bloc-auteurs .bh-7e38-pied-signatures { display: flex; justify-content: center; margin: var(--e6) 0 0; }

/* Une carte dont le contenu n'est PAS enveloppe dans -c-corps (grilles d'icones, de chiffres,
   d'images) n'avait ni rembourrage ni gouttiere : l'icone, le titre et le texte se collaient au
   bord de la carte, ce que le controle « texte colle au bord d'une carte » refuse (27/09,
   bloc « Comment suivre le magazine »). Meme gouttiere et meme espacement que -c-corps. */
.bh-7e38-home .bh-7e38-carte:not(:has(.bh-7e38-c-corps)) { padding: var(--e5); gap: var(--e2); }
