:root {
 --f-titre: 'Playfair Display', Georgia, 'Times New Roman', serif;
 --f-texte: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
 --f-graisse-titre: 600;
 --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.3rem;
 --e2: 0.6rem;
 --e3: 0.9rem;
 --e4: 1.2rem;
 --e5: 1.8rem;
 --e6: 2.4rem;
 --e7: 3.6rem;
 --e8: 4.8rem;
 --r-carte: 16px;
 --r-bouton: 12px;
 --r-image: 24px;
 --largeur: 1280px;
 --ico-trait: 2.5;
 --header-h: 116px;
 --c-fond: #fbfbfa;
 --c-fond-2: #f2edec;
 --c-surface: #ffffff;
 --c-texte: #32231f;
 --c-texte-2: #72564f;
 --c-primaire: #c14225;
 --c-sur-primaire: #f9f6f5;
 --c-secondaire: #a56050;
 --c-sur-secondaire: #fcfaf9;
 --c-primaire-texte: #b43e22;
 --c-secondaire-texte: #895043;
 --c-doux: #eee0dd;
 --c-sur-doux: #291814;
 --c-bord: #ddd2d0;
 --c-voile: #180e0c;
 --c-sur-voile: #ffffff;
 --c-ombre: #24130f;
 --o-carte: 0 1px 2px color-mix(in srgb, #24130f 8%, transparent), 0 8px 24px color-mix(in srgb, #24130f 8%, transparent);
 --o-survol: 0 18px 40px -12px color-mix(in srgb, #24130f 28%, transparent);
 --carte-fond: #f2edec;
 --carte-encre: #32231f;
 --carte-encre-2: #72564f;
 --carte-lien: #b43e22;
 --carte-bord: 0 solid transparent;
 --btn-fond: var(--c-primaire);
 --btn-texte: #f9f6f5;
 --btn-bord: 0 solid transparent;
 --btn-ombre: 0 8px 24px color-mix(in srgb, #c14225 24%, transparent);
 --btn-deco: none;
 --lien-couleur: #b43e22;
 --lien-deco: none;
 --lien-epaisseur: 1px;
 --lien-fond: transparent;
 --lien-fond-encre: #b43e22;
}
html.dark, html[data-theme="dark"], html[data-mode="dark"], html.theme-dark, body.dark, [data-theme="dark"] [data-bh-home] {
 --c-fond: #1a1312;
 --c-fond-2: #261c1a;
 --c-surface: #2f2320;
 --c-texte: #efe8e6;
 --c-texte-2: #c9b5b1;
 --c-primaire: #e0755c;
 --c-sur-primaire: #291814;
 --c-secondaire: #bc8376;
 --c-sur-secondaire: #291814;
 --c-primaire-texte: #e7927e;
 --c-secondaire-texte: #d0a89f;
 --c-doux: #442822;
 --c-sur-doux: #f9f6f5;
 --c-bord: #53403c;
 --c-voile: #180e0c;
 --c-sur-voile: #ffffff;
 --c-ombre: #070403;
 --o-carte: 0 1px 2px color-mix(in srgb, #070403 8%, transparent), 0 8px 24px color-mix(in srgb, #070403 8%, transparent);
 --o-survol: 0 18px 40px -12px color-mix(in srgb, #070403 28%, transparent);
 --carte-fond: #261c1a;
 --carte-encre: #efe8e6;
 --carte-encre-2: #c9b5b1;
 --carte-lien: #e7927e;
 --carte-bord: 0 solid transparent;
 --btn-fond: var(--c-primaire);
 --btn-texte: #291814;
 --btn-bord: 0 solid transparent;
 --btn-ombre: 0 8px 24px color-mix(in srgb, #c14225 24%, transparent);
 --btn-deco: none;
 --lien-couleur: #e7927e;
 --lien-deco: none;
 --lien-epaisseur: 1px;
 --lien-fond: transparent;
 --lien-fond-encre: #e7927e;
}

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

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

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

/* ─── cartes ─── */
.bh-51e4-home .bh-51e4-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-51e4-carte:hover { box-shadow: var(--o-survol); }
.bh-51e4-c-corps { padding: var(--e5); display: flex; flex-direction: column; gap: var(--e2); flex: 1; }
.bh-51e4-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-51e4-c-titre a { text-decoration: none; color: inherit; }
.bh-51e4-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-51e4-pile, qui l'appliquait déjà à ses propres cartes. */
.bh-51e4-c-p { color: var(--carte-encre-2); display: -webkit-box; -webkit-line-clamp: 12; -webkit-box-orient: vertical; overflow: hidden; }
.bh-51e4-c-kicker { font-size: var(--tm); text-transform: var(--f-casse-kicker); letter-spacing: .06em; color: var(--carte-lien); font-weight: 600; }
.bh-51e4-c-meta { font-size: var(--tm); color: var(--carte-encre-2); }
.bh-51e4-c-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* Icône de carte : la DA exige qu'un bloc porte une image, un logo, une icône, un chiffre
   ou une interaction (portier_ultrafast, bloc_mur_de_texte, 26/09). Le manifeste
   n'avait que du texte : une icône par engagement le sort du mur de texte. */
.bh-51e4-home .bh-51e4-c-ico { display: block; width: 28px; height: 28px; margin: 0 0 var(--e3); color: var(--carte-lien); }
.bh-51e4-home .bh-51e4-c-ico svg { display: block; width: 100%; height: 100%; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* ─── retours 26/09 ─────────────────────────────── */

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

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

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

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

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

/* ─── formes du thème rendues au site ( 26/09) ───
 Bouton primaire plein et arrondi, secondaire souligné : le thème n'a jamais
 deux boutons pleins côte à côte. Tous les boutons du kit_vivant héritent du
 même rayon. Aucune couleur hors des --c-*. */
.bh-51e4-home { --btn-ombre: 0 8px 24px color-mix(in srgb, var(--c-primaire) 24%, transparent); }
.bh-51e4-home .bh-51e4-bouton {
 background: var(--c-primaire) !important; color: var(--c-sur-primaire) !important;
 border: 0; border-radius: var(--r-bouton); box-shadow: var(--btn-ombre);
 text-decoration: none; text-underline-offset: .35em; text-decoration-thickness: 2px;
 padding: .75em 1.35em; font-weight: 700; display: inline-flex; align-items: center; gap: .5em;
}
.bh-51e4-home .bh-51e4-bouton:hover { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--c-primaire) 30%, transparent); }
.bh-51e4-home .bh-51e4-bouton svg { width: 20px; height: 20px; }
/* le lien de section et la suite d'article restent des liens soulignés, jamais des boutons pleins */
.bh-51e4-home .bh-51e4-entete-lien,
.bh-51e4-home .bh-51e4-entete-lien:hover,
.bh-51e4-home .bh-51e4-car-nav .bh-51e4-bouton {
 background: transparent !important; color: var(--c-primaire-texte) !important;
 box-shadow: none; padding: 0; text-decoration: underline; text-underline-offset: .35em;
 text-decoration-thickness: 2px;
}
.bh-51e4-home .bh-51e4-car-nav .bh-51e4-bouton { padding: .5em; border: 1px solid var(--c-bord); border-radius: 999px; text-decoration: none; }
/* bouton secondaire du hero, à côté du bouton plein */
.bh-51e4-home .bh-51e4-hero-actions { display: flex; flex-wrap: wrap; gap: var(--e3) var(--e5); align-items: center; }
.bh-51e4-home .bh-51e4-bouton-2,
.bh-51e4-home .bh-51e4-bouton-2:hover {
 background: transparent !important; color: var(--c-primaire-texte) !important; box-shadow: none;
 padding: .75em 0; text-decoration: underline; text-underline-offset: .35em; text-decoration-thickness: 2px;
}
.bh-51e4-home .bh-51e4-hero { margin-top: 0; }
.bh-51e4-home .bh-51e4-hero-titres a { text-decoration: none; }
.bh-51e4-home .bh-51e4-hero-titres-ligne { display: flex; gap: .6em; }
/* SVG Lucide : jamais un caractère de fonte en guise d'icône */
.bh-51e4-home .bh-51e4-c-pastille::after { content: none !important; display: none !important; }
.bh-51e4-home .bh-51e4-c-pastille { display: inline-flex; align-items: center; gap: .45em; }
.bh-51e4-home svg { flex: none; }
.bh-51e4-home .bh-51e4-ic { width: 22px; height: 22px; color: var(--c-primaire-texte); }
.bh-51e4-home .bh-51e4-c-chiffre .bh-51e4-ic,
.bh-51e4-home .bh-51e4-rp-ico { color: var(--c-primaire-texte); }
.bh-51e4-home .bh-51e4-bandes .bh-51e4-bande { align-items: flex-start; }
/* bande de logos partenaires : section native du thème, juste après le hero */
.bh-51e4-partenaires { border-block: 1px solid var(--c-bord); background: var(--c-surface); padding-block: var(--e5); }
.bh-51e4-partenaires p { margin: 0 0 var(--e4); text-align: center; font-size: var(--tm); font-weight: 700;
 letter-spacing: .12em; text-transform: uppercase; color: var(--c-texte-2); }
.bh-51e4-partenaires .bh-51e4-logos { overflow: hidden; }
.bh-51e4-partenaires .bh-51e4-logos img { height: 30px; width: auto; opacity: .62; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.bh-51e4-partenaires .bh-51e4-logos img:hover { opacity: 1; filter: none; }
/* calculateur du reste à charge */
.bh-51e4-calc { display: grid; gap: var(--e5); grid-template-columns: 1fr; }
@media (min-width: 900px) { .bh-51e4-calc { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.bh-51e4-calc-champs { display: grid; gap: var(--e3); grid-template-columns: 1fr; }
@media (min-width: 560px) { .bh-51e4-calc-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bh-51e4-calc-champs label { display: grid; gap: .35em; font-size: var(--tm); font-weight: 700; color: var(--c-texte-2); }
.bh-51e4-calc-champs input, .bh-51e4-calc-champs select {
 font: inherit; font-size: 1rem; font-weight: 600; padding: .6em .7em; min-height: 44px;
 color: var(--c-texte); background: var(--c-fond); border: 1px solid var(--c-bord); border-radius: var(--r-bouton);
}
.bh-51e4-calc-sortie { background: var(--c-doux); color: var(--c-sur-doux); border-radius: var(--r-carte); padding: var(--e5); display: grid; gap: var(--e3); align-content: start; }
.bh-51e4-calc-sortie .bh-51e4-calc-grand { font-family: var(--f-titre); font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.05; }
.bh-51e4-calc-note { font-size: var(--tm); color: var(--c-texte-2); }
/* étapes photo */
.bh-51e4-etapes { display: grid; gap: var(--e6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .bh-51e4-etapes { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; } }
.bh-51e4-etapes-visuel { border-radius: var(--r-image); overflow: hidden; box-shadow: var(--o-carte); aspect-ratio: 4 / 3; }
.bh-51e4-etapes-visuel img { width: 100%; height: 100%; object-fit: cover; }
.bh-51e4-etapes ol { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e3); }
.bh-51e4-etapes li { display: flex; gap: var(--e4); align-items: flex-start; padding: var(--e4); border: 1px solid var(--c-bord);
 border-radius: var(--r-carte); background: var(--c-surface); cursor: pointer; text-align: left; }
.bh-51e4-etapes li[aria-current="step"] { border-color: var(--c-primaire); box-shadow: var(--o-carte); }
.bh-51e4-etapes .bh-51e4-etape-num { font-family: var(--f-titre); font-size: 1.6rem; line-height: 1; color: var(--c-primaire-texte); }
.bh-51e4-lottie { width: 84px; height: 84px; }
/* comparatif à bascule */
.bh-51e4-bascule .kv-interrupteur { display: inline-flex; gap: .25rem; padding: .3rem; border-radius: 999px;
 background: color-mix(in srgb, var(--c-texte) 8%, transparent); margin-bottom: var(--e5); }
.bh-51e4-bascule .kv-interrupteur button { font: inherit; font-weight: 700; min-height: 44px; padding: .55em 1.1em;
 border: 0; border-radius: 999px; background: transparent; color: var(--c-texte-2); cursor: pointer; }
.bh-51e4-bascule .kv-interrupteur button.kv-actif { background: var(--c-primaire); color: var(--c-sur-primaire); }
.bh-51e4-bascule .bh-51e4-bascule-paire { display: grid; gap: var(--e5); grid-template-columns: 1fr; }
@media (min-width: 820px) { .bh-51e4-bascule .bh-51e4-bascule-paire { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bh-51e4-bascule article.kv-en-avant { border-color: var(--c-primaire); box-shadow: var(--o-survol); }
.bh-51e4-bascule dl { margin: 0; display: grid; gap: var(--e3); }
.bh-51e4-bascule dt { font-size: var(--tm); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-primaire-texte); }
.bh-51e4-bascule dd { margin: .2em 0 0; }
/* frise chronologique */
.bh-51e4-home [data-frise] { position: relative; }
.bh-51e4-home [data-frise] .bh-51e4-jalon { background: var(--c-surface); }
/* avis : cartes d'au moins 18rem, étoiles en rangée */
.bh-51e4-home .bh-51e4-cs-citation { min-width: 18rem; }
/* conclusion en aplat sombre plein largeur */
.bh-51e4-conclusion { background: var(--c-voile); color: var(--c-sur-voile); }
.bh-51e4-conclusion .bh-51e4-int { padding-block: clamp(3rem, 7vw, 6rem); display: grid; gap: var(--e4); justify-items: start; }
.bh-51e4-conclusion h2 { color: var(--c-sur-voile); font-size: clamp(1.7rem, 3.4vw, 2.6rem); max-width: 22em; }
.bh-51e4-conclusion p { color: color-mix(in srgb, var(--c-sur-voile) 82%, transparent); max-width: 34em; margin: 0; }
.bh-51e4-conclusion .bh-51e4-bouton { background: var(--c-sur-voile) !important; color: var(--c-voile) !important; box-shadow: none; }
/* recit : photo + citation */
.bh-51e4-recit { display: grid; gap: var(--e6); grid-template-columns: 1fr; }
@media (min-width: 900px) { .bh-51e4-recit { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; } }
.bh-51e4-recit figure { margin: 0; border-radius: var(--r-image); overflow: hidden; box-shadow: var(--o-carte); aspect-ratio: 4/3; }
.bh-51e4-recit figure img { width: 100%; height: 100%; object-fit: cover; }
.bh-51e4-recit blockquote { margin: 0; font-family: var(--f-titre); font-size: 1.25rem; line-height: 1.4; }
/* méthode et sources : cartes numérotées */
.bh-51e4-num-carte .bh-51e4-c-numero { font-family: var(--f-titre); font-size: 1.8rem; color: var(--c-primaire-texte); }
/* règle : un aplat doux ne porte pas de texte de bouton inversé.
   L encre d un aplat doux est --c-sur-doux, pas --c-sur-primaire : sur un thème clair, --c-doux est
   pâle (#eee0dd) et --c-sur-primaire quasi blanc (#f9f6f5), soit 1,2 de contraste mesuré (« Tous les
   articles » du bloc articles, 26/09). --c-sur-doux suit la paire dans les deux thèmes. */
.bh-51e4-home .bh-51e4-fond-doux .bh-51e4-bouton { color: var(--c-sur-doux) !important; }
@media (max-width: 640px) {
 .bh-51e4-home .bh-51e4-bouton, .bh-51e4-home .bh-51e4-bouton-2,
 .bh-51e4-home .bh-51e4-c-suite, .bh-51e4-home .bh-51e4-c-pastille { min-height: 44px; }
}


/* =====================================================================
   Correctifs du portier : hero deux colonnes, voiles lisibles, aplat
   sombre de conclusion, logos partenaires, faq, checklist, etapes.
   Aucune couleur litterale : uniquement les variables du theme.
   ===================================================================== */

/* --- cartes posees sur photo : encre claire sur voile opaque (AA) ---- */
.bh-51e4-home .bh-51e4-cs-superpose .bh-51e4-c-voile {
  background: linear-gradient(to top,
    color-mix(in srgb, var(--c-voile) 96%, transparent) 0%,
    color-mix(in srgb, var(--c-voile) 94%, transparent) 58%,
    color-mix(in srgb, var(--c-voile) 70%, transparent) 82%,
    color-mix(in srgb, var(--c-voile) 42%, transparent) 100%);
  padding-top: var(--e8);
}
.bh-51e4-home .bh-51e4-cs-superpose :is(.bh-51e4-c-titre, .bh-51e4-c-kicker, .bh-51e4-c-meta, .bh-51e4-c-p, .bh-51e4-c-suite) {
  color: var(--c-sur-voile) !important;
  text-shadow: 0 1px 2px color-mix(in srgb, var(--c-voile) 70%, transparent);
}
.bh-51e4-home .bh-51e4-cs-vedette-photo .bh-51e4-c-media { border-radius: 24px; overflow: hidden; }
.bh-51e4-home .bh-51e4-cs-vedette-photo .bh-51e4-c-img {
  position: static; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block;
}
.bh-51e4-home .bh-51e4-cs-vedette-photo .bh-51e4-c-corps {
  display: grid; gap: var(--e3); padding: var(--e5); align-content: start;
}
.bh-51e4-home .bh-51e4-cs-vedette-photo .bh-51e4-c-p { -webkit-line-clamp: 4; }

/* --- hero deux colonnes du theme ------------------------------------- */
/* le hero seul fait un ecran : son contenu doit tenir dans calc(100svh - header). Le padding
   haute/basse du theme (76,8 px) ajoute 153 px a un interieur de 722 px, soit 875 px mesures pour
   799 disponibles (da_hauteurs, 26/09) : var(--e5) rend la hauteur au contenu. */
.bh-51e4-home .bh-51e4-hero-duo {
  height: auto; min-height: calc(100svh - var(--header-h)); justify-content: center; padding-block: var(--e5);
}
.bh-51e4-home .bh-51e4-hero-duo-int { display: grid; gap: var(--e7); align-items: center; width: 100%; }
.bh-51e4-home .bh-51e4-hero-kicker {
  font-size: var(--tm); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--c-primaire-texte) !important; margin: 0 0 var(--e3);
}
.bh-51e4-home .bh-51e4-hero-h1 { font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: var(--t-hero); line-height: 1.05; letter-spacing: -.01em; color: var(--c-texte) !important; margin: 0 0 var(--e4); }
.bh-51e4-home .bh-51e4-hero-accroche { font-size: var(--t3); line-height: 1.6; color: var(--c-texte-2) !important; max-width: 46ch; margin: 0; }
.bh-51e4-home .bh-51e4-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: var(--e5) 0; }
.bh-51e4-home .bh-51e4-bouton-1 {
  background: var(--c-primaire) !important; color: var(--c-sur-primaire) !important;
  border-radius: 12px; padding: .75em 1.35em; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c-primaire) 20%, transparent);
}
.bh-51e4-home .bh-51e4-bouton-2 {
  background: none !important; color: var(--c-primaire-texte) !important; font-weight: 700;
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px;
}
.bh-51e4-home .bh-51e4-hero-titres { list-style: none; margin: var(--e6) 0 0; padding: 0; display: grid; gap: var(--e2); }
.bh-51e4-home .bh-51e4-hero-titres a {
  display: flex; gap: var(--e3); align-items: baseline; color: var(--c-texte) !important;
  text-decoration: none; font-weight: 600; line-height: 1.35; border-top: 1px solid var(--c-bord); padding-top: var(--e2);
}
.bh-51e4-home .bh-51e4-hero-date { flex: 0 0 auto; font-size: var(--tm); color: var(--c-texte-2) !important; font-weight: 400; }
.bh-51e4-home .bh-51e4-hero-cote { display: grid; gap: var(--e4); }
.bh-51e4-home .bh-51e4-hero-carte {
  margin: 0; border-radius: 24px; overflow: hidden; background: var(--c-surface);
  border: 1px solid var(--c-bord); box-shadow: var(--o-carte);
}
.bh-51e4-home .bh-51e4-hero-carte img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 46svh; object-fit: cover; }
.bh-51e4-home .bh-51e4-hero-cases { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
.bh-51e4-home .bh-51e4-hero-case { border-radius: var(--r-carte); padding: var(--e4); border: 1px solid var(--c-bord); }
.bh-51e4-home .bh-51e4-hero-case-creme { background: var(--c-doux); color: var(--c-texte-2); }
.bh-51e4-home .bh-51e4-hero-case-accent { background: var(--c-secondaire); color: var(--c-sur-secondaire); border-color: transparent; }
.bh-51e4-home .bh-51e4-hero-case-label { margin: 0; font-size: var(--tm); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.bh-51e4-home .bh-51e4-hero-case-val { margin: .2em 0; font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: var(--t5); line-height: 1; }
.bh-51e4-home .bh-51e4-hero-case-note { margin: 0; font-size: var(--tm); line-height: 1.45; }
.bh-51e4-home .bh-51e4-hero-case-creme :is(.bh-51e4-hero-case-label, .bh-51e4-hero-case-val) { color: var(--c-texte) !important; }
.bh-51e4-home .bh-51e4-hero-case-note { color: inherit !important; }
.bh-51e4-home .bh-51e4-hero-case-accent :is(.bh-51e4-hero-case-label, .bh-51e4-hero-case-val, .bh-51e4-hero-case-note) { color: var(--c-sur-secondaire) !important; }
@media (max-width: 1023px) {
  .bh-51e4-home .bh-51e4-hero-titres { display: none; }
  .bh-51e4-home .bh-51e4-hero-duo-int { gap: var(--e5); }
  .bh-51e4-home .bh-51e4-hero-cote { order: -1; }
  .bh-51e4-home .bh-51e4-bloc.bh-51e4-hero-duo { padding-block: var(--e5); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .bh-51e4-home .bh-51e4-hero-cote { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .bh-51e4-home .bh-51e4-hero-carte img { aspect-ratio: 4 / 3; max-height: 200px; }
  .bh-51e4-home .bh-51e4-hero-cases { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 639px) {
  .bh-51e4-home .bh-51e4-hero-carte { display: none; }
  .bh-51e4-home .bh-51e4-hero-accroche { -webkit-line-clamp: 4; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .bh-51e4-home .bh-51e4-hero-actions { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .bh-51e4-home .bh-51e4-bouton-1, .bh-51e4-home .bh-51e4-bouton-2 { min-height: 44px; display: inline-flex; align-items: center; }
  .bh-51e4-home .bh-51e4-hero-case { padding: var(--e3); }
  .bh-51e4-home .bh-51e4-hero-case-note { font-size: .78rem; }
  /* da_hauteurs mobile (26/09) : --t-hero vaut 4 rem et --t3 vaut 1,999 rem quel que soit
     l'ecran, soit 407 px de titre et d'accroche dans un telephone de 844 : le hero mesurait
     942 px pour 745 disponibles. La typographie redescend a l'echelle du telephone, le contenu
     tient alors sous calc(100svh - header) et le bloc reste un ecran plein. */
  .bh-51e4-home .bh-51e4-hero-h1 { font-size: clamp(1.9rem, 9.5vw, 2.5rem); }
  .bh-51e4-home .bh-51e4-hero-accroche { font-size: 1rem; line-height: 1.5; }
}
@media (min-width: 1024px) {
  .bh-51e4-home .bh-51e4-hero-duo-int { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

/* Correctifs de lisibilite et de mise en page du 27/09. */
.bh-51e4-home .bh-51e4-hero-duo { overflow: hidden; padding-inline: 0; }
.bh-51e4-home .bh-51e4-hero-duo-int {
  max-width: none;
  margin-inline: 0;
  padding-left: max(var(--e5), calc((100vw - var(--largeur)) / 2 + var(--e5)));
  padding-right: 0;
}
.bh-51e4-home .bh-51e4-b-checklist .bh-51e4-colle { min-width: 0; }
.bh-51e4-home .bh-51e4-b-checklist .bh-51e4-colle-liste {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 639px) {
  .bh-51e4-home .bh-51e4-hero-duo-int { padding-inline: var(--e4); }
  .bh-51e4-home .bh-51e4-b-checklist .bh-51e4-colle-liste { grid-template-columns: 1fr; }
}

/* --- bande de logos : une rangee, hauteur normalisee, provenance ------ */
.bh-51e4-home .bh-51e4-partenaires .bh-51e4-logos { overflow: hidden; width: 100%; }
.bh-51e4-home .bh-51e4-partenaires .kv-piste { display: flex; align-items: center; gap: var(--e7); }
.bh-51e4-home .bh-51e4-logo-tiers {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: var(--e2); min-height: 48px; opacity: .82;
}
.bh-51e4-home .bh-51e4-logo-tiers img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); }
.bh-51e4-home .bh-51e4-logo-nom { font-size: var(--tm); font-weight: 600; color: var(--c-texte-2) !important; white-space: nowrap; }

/* --- images de bloc : jamais plus haut que le socle ------------------- */
.bh-51e4-home .bh-51e4-split-media img { height: auto; max-height: 480px; aspect-ratio: 4 / 3; object-fit: cover; }
.bh-51e4-home .bh-51e4-etapes-visuel img { max-height: 320px; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-image); display: block; }
.bh-51e4-home .bh-51e4-etape-corps { display: grid; gap: .2em; }
.bh-51e4-home .bh-51e4-etape-texte { display: block; color: var(--c-texte) !important; }
.bh-51e4-home .bh-51e4-etapes-liste li[data-etape] { cursor: pointer; }
.bh-51e4-home .bh-51e4-etapes-liste li[aria-current="true"] { background: var(--c-doux); }

/* --- reperes : icone + chiffre + libelle complet ---------------------- */
.bh-51e4-home .bh-51e4-repere { display: grid; gap: var(--e2); justify-items: start; padding: var(--e5); }
.bh-51e4-home .bh-51e4-repere .bh-51e4-c-chiffre { margin: 0; }
.bh-51e4-home .bh-51e4-bande-ico { margin: 0 0 var(--e2); color: var(--c-primaire-texte); }
.bh-51e4-home .bh-51e4-ic svg { width: 24px; height: 24px; }

/* --- comparatif : la bascule met vraiment en avant la formule choisie -- */
.bh-51e4-home [data-bascule] .kv-interrupteur button[data-choix] {
  border-radius: 999px; border: 1px solid var(--c-bord); background: var(--c-surface);
  color: var(--c-texte-2); font-weight: 700; padding: .6em 1.1em; cursor: pointer; min-height: 44px;
}
.bh-51e4-home [data-bascule] .kv-interrupteur button[data-choix].kv-actif {
  background: var(--c-primaire); color: var(--c-sur-primaire); border-color: transparent;
}
.bh-51e4-home [data-met-en-avant].kv-en-avant {
  border-color: var(--c-primaire); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-primaire) 25%, transparent), var(--o-carte);
}

/* --- auteurs : toute la carte est un lien ---------------------------- */
.bh-51e4-home .bh-51e4-lien-auteur { display: block; height: 100%; text-decoration: none; color: inherit; border-radius: var(--r-carte); }
.bh-51e4-home .bh-51e4-lien-auteur:focus-visible { outline: 3px solid var(--c-primaire); outline-offset: 3px; }

/* --- faq : accordeon en cartes, largeur du conteneur ------------------ */
.bh-51e4-home .bh-51e4-accordeon { display: grid; gap: var(--e3); max-width: none; width: 100%; }
.bh-51e4-home .bh-51e4-acc {
  background: var(--c-surface); border: 1px solid var(--c-bord); border-radius: var(--r-carte);
  box-shadow: var(--o-carte); overflow: hidden;
}
.bh-51e4-home .bh-51e4-acc[open] { border-color: color-mix(in srgb, var(--c-primaire) 40%, var(--c-bord)); }
.bh-51e4-home .bh-51e4-acc > summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--e4);
  padding: var(--e4) var(--e5); cursor: pointer; list-style: none; min-height: 44px;
  font-family: var(--f-titre); font-weight: var(--f-graisse-titre); font-size: var(--t2); color: var(--c-texte);
}
.bh-51e4-home .bh-51e4-acc > summary::-webkit-details-marker { display: none; }
.bh-51e4-home .bh-51e4-acc-chev { flex: 0 0 auto; width: 24px; height: 24px; color: var(--c-primaire-texte); transition: transform .2s ease; }
.bh-51e4-home .bh-51e4-acc[open] .bh-51e4-acc-chev { transform: rotate(180deg); }
.bh-51e4-home .bh-51e4-acc-corps { padding: 0 var(--e5) var(--e5); }
.bh-51e4-home .bh-51e4-acc-corps .bh-51e4-c-p { -webkit-line-clamp: none; overflow: visible; display: block; }

/* --- checklist : une vraie case a cocher, une icone par ligne --------- */
.bh-51e4-home .bh-51e4-case { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); min-height: 44px; }
.bh-51e4-home .bh-51e4-case-label { display: flex; align-items: center; gap: var(--e3); cursor: pointer; flex: 1 1 auto; min-height: 44px; }
.bh-51e4-home .bh-51e4-case-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bh-51e4-home .bh-51e4-case-ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 28px; height: 28px; color: var(--c-texte-2); }
.bh-51e4-home .bh-51e4-case-ico svg { width: 24px; height: 24px; }
.bh-51e4-home .bh-51e4-case-plein { display: none; color: var(--c-primaire-texte); }
.bh-51e4-home .bh-51e4-case-input:checked ~ .bh-51e4-case-ico .bh-51e4-case-vide { display: none; }
.bh-51e4-home .bh-51e4-case-input:checked ~ .bh-51e4-case-ico .bh-51e4-case-plein { display: block; }
.bh-51e4-home .bh-51e4-case-input:checked ~ .bh-51e4-case-titre { text-decoration: line-through; color: var(--c-texte-2); }
.bh-51e4-home .bh-51e4-case-icone { color: var(--c-primaire-texte); opacity: .8; }

/* --- conclusion : aplat sombre plein largeur, titre clair ------------- */
.bh-51e4-home .bh-51e4-bloc.bh-51e4-conclusion {
  background: var(--c-voile) !important; background-image: none !important; color: var(--c-sur-voile) !important;
  color: var(--c-sur-voile); border-radius: 0; margin-inline: 0; max-width: none;
}
.bh-51e4-home .bh-51e4-conclusion :is(h1, h2, h3, h4, p, li, .bh-51e4-h2, .bh-51e4-c-p, .bh-51e4-conclusion-titre) {
  color: var(--c-sur-voile) !important;
}
.bh-51e4-home .bh-51e4-conclusion .bh-51e4-bouton {
  background: var(--c-sur-voile) !important; color: var(--c-voile) !important; border-color: transparent !important;
}
.bh-51e4-home .bh-51e4-lottie { display: grid; place-items: center; }
.bh-51e4-home .bh-51e4-lottie svg, .bh-51e4-home .bh-51e4-lottie canvas { max-width: 180px; height: auto; }

/* TPL magazine : grille éditoriale, tokens de la DA Astro conservés. */
.bh-a3f0-home{width:94%;margin:0 auto;color:var(--c-texte);padding-bottom:var(--e6)}
.bh-a3f0-home a,.bh-a3f0-recherche a{color:inherit;text-decoration:none}
.bh-a3f0-home a:hover h3,.bh-a3f0-titre a:hover{text-decoration:underline;text-underline-offset:.18em}
.bh-a3f0-zone{padding:var(--e6) 0;border-bottom:1px solid var(--c-bord)}
.bh-a3f0-titre{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:var(--e5)}
.bh-a3f0-titre h1,.bh-a3f0-titre h2{font:600 clamp(1.5rem,2.1vw,2.8rem)/1.2 var(--f-titre);margin:0}
.bh-a3f0-titre>span,.bh-a3f0-titre>a,.bh-a3f0-note{font-size:.9rem;color:var(--c-texte-2)}
.bh-a3f0-une{display:grid;grid-template-columns:1.3fr 1fr;gap:var(--e7)}
.bh-a3f0-carte{min-width:0}.bh-a3f0-article{display:block}
.bh-a3f0-article img{width:100%;height:auto;aspect-ratio:1.6;object-fit:cover;border-radius:var(--r-carte)}
.bh-a3f0-surtitre{display:block;color:var(--c-primaire-texte);font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;font-weight:700;margin:.6rem 0}
.bh-a3f0-carte h3{font:600 clamp(1.2rem,1.55vw,1.85rem)/1.25 var(--f-titre);margin:.35rem 0 .7rem;overflow-wrap:normal}
.bh-a3f0-principale h3{font-size:clamp(1.8rem,2.5vw,3.3rem)}
.bh-a3f0-chapo{font-size:1.05rem;line-height:1.5;margin:.8rem 0;color:var(--c-texte-2)}
.bh-a3f0-meta{display:flex;flex-wrap:wrap;gap:.1rem 1rem;font-size:.82rem;line-height:1.45;margin:.5rem 0;color:var(--c-texte-2)}
.bh-a3f0-meta span{font-weight:600;color:var(--c-texte)}
.bh-a3f0-pile{display:grid;gap:1rem;align-content:space-between}.bh-a3f0-pile .bh-a3f0-carte{border-bottom:1px solid var(--c-bord);padding-bottom:.9rem}
.bh-a3f0-pile .bh-a3f0-article{display:grid;grid-template-columns:100px 1fr;gap:1.2rem}.bh-a3f0-pile img{aspect-ratio:1;height:100px;border-radius:var(--r-bouton)}
.bh-a3f0-grille{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--e5)}
.bh-a3f0-actualites{display:grid;align-items:start;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:var(--e7)}
.bh-a3f0-fil{display:grid;gap:var(--e5)}.bh-a3f0-fil .bh-a3f0-article{display:grid;grid-template-columns:160px 1fr;gap:var(--e5);border-bottom:1px solid var(--c-bord);padding-bottom:var(--e5)}
.bh-a3f0-fil img{aspect-ratio:1;height:160px}.bh-a3f0-classement{margin:0;padding:0;list-style:none;display:grid;gap:var(--e5)}
.bh-a3f0-numero{display:block;color:var(--c-primaire-texte);font:500 2rem var(--f-titre);border-top:1px solid var(--c-bord);padding-top:.7rem}
.bh-a3f0-classement h3{font-size:clamp(1.3rem,1.8vw,2rem)}
.bh-a3f0-mosaique{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--e5)}
.bh-a3f0-disposition-grande-liste{grid-template-columns:2fr 1fr 1fr}.bh-a3f0-disposition-horizontale{grid-template-columns:repeat(3,minmax(0,1fr))}
.bh-a3f0-newsletter{display:flex;justify-content:space-between;align-items:center;gap:2rem;background:var(--c-texte);color:var(--c-fond);padding:var(--e5) var(--e6);margin-top:var(--e6);border-radius:var(--r-carte)}
.bh-a3f0-newsletter h2{font-size:1.55rem;margin:.2rem 0}.bh-a3f0-newsletter p{margin:.2rem 0;font-size:.95rem}.bh-a3f0-newsletter .bh-a3f0-surtitre{color:var(--c-fond-2);margin:0}
.bh-a3f0-bouton{display:inline-block;border:1px solid currentColor;border-radius:var(--r-bouton);padding:.65rem 1rem;white-space:nowrap;font-weight:600}
.bh-a3f0-contributeurs{padding:var(--e5) 0;border-bottom:1px solid var(--c-bord)}.bh-a3f0-contributeurs h2,.bh-a3f0-outil h2,.bh-a3f0-redaction h2{font:600 1.25rem var(--f-titre);margin:0 0 .6rem}
.bh-a3f0-contributeurs>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}.bh-a3f0-contributeurs a{display:flex;gap:.65rem;align-items:center}.bh-a3f0-contributeurs img{width:48px;height:48px;border-radius:50%;object-fit:cover}.bh-a3f0-contributeurs strong,.bh-a3f0-contributeurs small{display:block}.bh-a3f0-contributeurs strong{font-size:.9rem}.bh-a3f0-contributeurs small{font-size:.72rem;color:var(--c-texte-2)}
.bh-a3f0-outil{padding:var(--e5) 0;display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--c-bord)}.bh-a3f0-outil p{font-size:.9rem;margin:0}.bh-a3f0-outil form{display:flex;align-items:center;gap:1rem;font-size:.9rem}.bh-a3f0-outil input{width:110px;padding:.5rem;border:1px solid var(--c-bord);border-radius:var(--r-bouton);background:var(--c-surface);color:var(--c-texte)}.bh-a3f0-outil output{font-weight:700;min-width:110px}
.bh-a3f0-redaction{padding:var(--e5) 0;display:grid;grid-template-columns:160px 1fr auto;gap:1rem;align-items:baseline;font-size:.9rem}.bh-a3f0-redaction p{margin:0}
.bh-a3f0-ticker{display:flex;gap:1.2rem;align-items:center;padding:.45rem 3%;background:var(--c-texte);color:var(--c-fond);font-size:.78rem;line-height:1.3}.bh-a3f0-ticker>a{color:inherit;white-space:nowrap;font-weight:700}.bh-a3f0-ticker>div{display:flex;gap:2rem;overflow:hidden;white-space:nowrap;min-width:0}.bh-a3f0-ticker span{flex:none}
.bh-a3f0-recherche{width:94%;max-width:1100px;margin:2rem auto 5rem}.bh-a3f0-recherche input{display:block;padding:.9rem;border:1px solid var(--c-bord);border-radius:var(--r-bouton);width:100%;margin:1rem 0}.bh-a3f0-recherche ul{padding:0;list-style:none}.bh-a3f0-recherche li{padding:1.5rem 0;border-top:1px solid var(--c-bord)}.bh-a3f0-recherche h2{font-size:1.5rem}
@media(min-width:1800px){.bh-a3f0-home{width:90%}.bh-a3f0-carte h3{font-size:1.85rem}.bh-a3f0-principale h3{font-size:3.2rem}.bh-a3f0-chapo{font-size:1.2rem}.bh-a3f0-meta{font-size:.95rem}.bh-a3f0-pile .bh-a3f0-article{grid-template-columns:160px 1fr}.bh-a3f0-pile img{height:160px}}
@media(max-width:1100px){.bh-a3f0-grille{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-a3f0-une,.bh-a3f0-actualites{grid-template-columns:1fr}.bh-a3f0-pile{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-a3f0-pile .bh-a3f0-article{display:block}.bh-a3f0-pile img{display:none}.bh-a3f0-mosaique{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-a3f0-redaction{grid-template-columns:1fr}.bh-a3f0-outil{align-items:start}.bh-a3f0-outil form{flex-wrap:wrap}}
@media(max-width:650px){.bh-a3f0-home{width:calc(100% - 40px)}.bh-a3f0-titre{display:block}.bh-a3f0-titre>span{display:block;margin-top:.5rem}.bh-a3f0-zone{padding:1.5rem 0}.bh-a3f0-grille,.bh-a3f0-pile,.bh-a3f0-mosaique{grid-template-columns:1fr}.bh-a3f0-pile .bh-a3f0-article{display:block}.bh-a3f0-pile img{display:none}.bh-a3f0-fil .bh-a3f0-article{display:block}.bh-a3f0-fil img{width:100%;height:auto;aspect-ratio:1.8}.bh-a3f0-meta{font-size:.86rem}.bh-a3f0-carte h3{font-size:1.4rem}.bh-a3f0-principale h3{font-size:1.9rem}.bh-a3f0-newsletter{display:block;padding:1.2rem}.bh-a3f0-newsletter .bh-a3f0-bouton{margin-top:1rem;white-space:normal}.bh-a3f0-newsletter h2{font-size:1.5rem}.bh-a3f0-contributeurs>div{display:grid;grid-template-columns:1fr}.bh-a3f0-outil{display:block}.bh-a3f0-outil form{margin-top:1rem}.bh-a3f0-outil label{width:100%}.bh-a3f0-ticker{font-size:.7rem;gap:.6rem;padding:.45rem 20px}.bh-a3f0-redaction{gap:.5rem}.bh-a3f0-recherche{width:calc(100% - 40px)}}

/* Largeur de lecture des pages du média, y compris les cartes imbriquées. */
:root .msm-grille{grid-template-columns:repeat(auto-fit,minmax(min(100%,380px),1fr))}
:root .msm-carte:has(.msm-carte-corps){padding:0;overflow:hidden}
@media(max-width:650px){
 :root .msm-conteneur{padding-inline:20px}
 :root .msm-carte,:root .msm-carte-corps{padding:12px}
 :root .msm-section-douce{padding:0;border:0;background:transparent}
 :root .msm-intro-points{padding:12px}
 :root .msm-intro-points li,:root .msm-liste-puces li{display:grid;grid-template-columns:1fr;gap:.5rem}
}

/* Les rubriques occupent la largeur disponible et alternent au build. */
.bh-a3f0-rubrique-grille{grid-template-columns:repeat(var(--cartes,3),minmax(0,1fr))}
.bh-a3f0-disposition-horizontale .bh-a3f0-carte img{aspect-ratio:2}
@media(max-width:1100px){.bh-a3f0-rubrique-grille{grid-template-columns:1fr}}

@media(max-width:650px){
 html:root body main .msm-coordonnees,html:root body main .msm-intro-points,html:root body main .msm-carte{padding:12px}
 html:root body main .msm-section.msm-section-douce{padding:0;border:0;background:transparent}
 html:root body main .msm-intro-points li,html:root body main .msm-liste-puces li{display:grid;grid-template-columns:1fr;gap:.5rem}
}

@media(max-width:650px){
 html:root body main .msm-intro-points li,html:root body main .msm-liste-puces li{display:grid!important;grid-template-columns:1fr;gap:.5rem}
 html:root body main .msm-carte-corps{padding:0!important}
}

@media(max-width:650px){html:root body main .msm-une-corps{padding:0!important}}

/* Garder le libellé du bandeau séparé des titres sur mobile. */
html:root body header .bh-a3f0-ticker>a{flex-shrink:0;margin-inline-end:.75rem}

/* Retour Cedia : cinq blocs, une une épurée et une largeur de lecture contenue. */
html:root body .bh-a3f0-home.bh-a3f0-compact{width:calc(100% - 64px);max-width:1100px;margin-inline:auto;padding-bottom:48px}
html:root body .msm-header-bar{max-width:1164px;margin-inline:auto;padding-inline:32px}
html:root body header .bh-a3f0-ticker{padding-inline:max(32px,calc((100vw - 1100px)/2))}
html:root body footer .msm-conteneur{max-width:1164px}
.bh-a3f0-compact .bh-a3f0-zone{padding:32px 0}
.bh-a3f0-compact .bh-a3f0-titre{margin-bottom:24px;gap:20px}
.bh-a3f0-compact .bh-a3f0-titre h1{font-size:clamp(1.5rem,2.1vw,1.9rem);line-height:1.25}
.bh-a3f0-compact .bh-a3f0-titre h2{font-size:1.65rem}
.bh-a3f0-compact .bh-a3f0-une{grid-template-columns:minmax(0,1.85fr) minmax(0,1fr);gap:32px;align-items:start}
.bh-a3f0-compact .bh-a3f0-principale img{aspect-ratio:2.05;border-radius:4px}
.bh-a3f0-compact .bh-a3f0-principale h3{font-size:clamp(1.65rem,2.3vw,2.2rem);line-height:1.2;max-width:24ch}
.bh-a3f0-compact .bh-a3f0-chapo{font-size:1rem;line-height:1.55;max-width:65ch}
.bh-a3f0-compact .bh-a3f0-meta{font-size:.8rem;gap:4px 12px}
.bh-a3f0-compact .bh-a3f0-pile{display:grid;grid-template-columns:1fr;align-content:start;gap:22px;border-left:1px solid var(--c-bord);padding-left:28px}
.bh-a3f0-compact .bh-a3f0-pile .bh-a3f0-article{display:block}
.bh-a3f0-compact .bh-a3f0-pile img{display:none}
.bh-a3f0-compact .bh-a3f0-pile h3{font-size:1.35rem;line-height:1.3}
.bh-a3f0-compact .bh-a3f0-grille,.bh-a3f0-compact .bh-a3f0-mosaique{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}
.bh-a3f0-compact .bh-a3f0-carte h3{font-size:1.25rem;line-height:1.3}
.bh-a3f0-compact .bh-a3f0-principale h3{font-size:clamp(1.65rem,2.3vw,2.2rem)}
.bh-a3f0-compact .bh-a3f0-pile h3{font-size:1.35rem}
.bh-a3f0-compact .bh-a3f0-fil{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 32px}
.bh-a3f0-compact article.bh-a3f0-fil{display:block}
.bh-a3f0-compact .bh-a3f0-fil .bh-a3f0-article{grid-template-columns:116px minmax(0,1fr);gap:18px;padding-bottom:24px}
.bh-a3f0-compact .bh-a3f0-fil img{width:116px;height:100px;aspect-ratio:1.16}
.bh-a3f0-compact .bh-a3f0-fil .bh-a3f0-chapo{display:none}
.bh-a3f0-compact .bh-a3f0-newsletter{padding:24px 28px;margin-top:8px;gap:24px}
.bh-a3f0-compact .bh-a3f0-newsletter h2{font-size:1.4rem}
@media(max-width:900px){
 .bh-a3f0-compact .bh-a3f0-une{grid-template-columns:1fr}
 .bh-a3f0-compact .bh-a3f0-pile{border-left:0;padding-left:0;gap:16px}
 .bh-a3f0-compact .bh-a3f0-grille,.bh-a3f0-compact .bh-a3f0-mosaique{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bh-a3f0-compact .bh-a3f0-fil{grid-template-columns:1fr}
 .bh-a3f0-compact .bh-a3f0-newsletter{display:block}
 .bh-a3f0-compact .bh-a3f0-newsletter .bh-a3f0-bouton{margin-top:16px}
}
@media(max-width:600px){
 html:root body .bh-a3f0-home.bh-a3f0-compact{width:calc(100% - 40px)}
 html:root body .msm-header-bar{padding-inline:20px}
 html:root body header .bh-a3f0-ticker{padding-inline:20px}
 .bh-a3f0-compact .bh-a3f0-zone{padding:24px 0}
 .bh-a3f0-compact .bh-a3f0-titre h1{font-size:1.55rem}
 .bh-a3f0-compact .bh-a3f0-titre h2{font-size:1.45rem}
 .bh-a3f0-compact .bh-a3f0-grille,.bh-a3f0-compact .bh-a3f0-mosaique{grid-template-columns:1fr;gap:24px}
 .bh-a3f0-compact .bh-a3f0-fil .bh-a3f0-article{display:block}
 .bh-a3f0-compact .bh-a3f0-fil img{display:none}
 .bh-a3f0-compact .bh-a3f0-newsletter{padding:20px 16px}
 .bh-a3f0-compact .bh-a3f0-principale img{aspect-ratio:1.8}
}

/* 2026-09-29 : trois rendez-vous par rubrique, largeur éditoriale conservée. */
.bh-a3f0-editorial .bh-a3f0-dossier .bh-a3f0-titre h2 a{font:inherit;color:inherit;text-decoration:none}
.bh-a3f0-editorial .bh-a3f0-dossier-cartes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}
.bh-a3f0-editorial .bh-a3f0-dossier-cartes img{width:100%;height:auto;aspect-ratio:1.65;object-fit:cover}
.bh-a3f0-editorial .bh-a3f0-dossier-cartes .bh-a3f0-article{display:block}
.bh-a3f0-editorial .bh-a3f0-dossier-cartes h3{font-size:1.35rem;line-height:1.3}
.bh-a3f0-editorial .bh-a3f0-dossier-1{grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px 32px}
.bh-a3f0-editorial .bh-a3f0-dossier-1>article:first-child{grid-row:span 2}
.bh-a3f0-editorial .bh-a3f0-dossier-1>article:first-child h3{font-size:1.8rem}
.bh-a3f0-editorial .bh-a3f0-dossier-1>article:not(:first-child) img{display:none}
.bh-a3f0-editorial .bh-a3f0-dossier-1>article:last-child{border-top:1px solid #ddd;padding-top:24px}
.bh-a3f0-editorial .bh-a3f0-dossier-2>article{border-top:2px solid currentColor;padding-top:20px}
.bh-a3f0-editorial .bh-a3f0-dossier-2 img{aspect-ratio:2.2}
@media(max-width:1100px){.bh-a3f0-editorial .bh-a3f0-dossier-cartes{grid-template-columns:1fr}.bh-a3f0-editorial .bh-a3f0-dossier-1>article:first-child{grid-row:auto}.bh-a3f0-editorial .bh-a3f0-dossier-cartes img{max-height:360px}}
@media(max-width:600px){.bh-a3f0-editorial .bh-a3f0-dossier-cartes{gap:28px}.bh-a3f0-editorial .bh-a3f0-dossier-1>article:first-child h3{font-size:1.5rem}.bh-a3f0-editorial .bh-a3f0-dossier .bh-a3f0-titre{align-items:flex-start;flex-direction:column;gap:10px}}

/* Pauses éditoriales : les couleurs et les polices restent celles du thème. */
.bh-a3f0-editorial .bh-a3f0-pause{margin:16px 0 24px;padding:24px 28px;border:1px solid var(--c-bord);border-radius:4px;color:var(--c-texte)}
.bh-a3f0-editorial .bh-a3f0-pause h2{font-family:var(--f-titre);font-size:1.65rem;line-height:1.2;margin:8px 0 12px}
.bh-a3f0-editorial .bh-a3f0-pause p{font-size:1rem;line-height:1.5;margin:0 0 12px}
.bh-a3f0-editorial .bh-a3f0-preparer{display:grid;grid-template-columns:1fr 1fr;gap:32px;background:var(--c-doux)}
.bh-a3f0-editorial .bh-a3f0-preparer h2{max-width:22ch}
.bh-a3f0-editorial .bh-a3f0-preparer output{font-size:.85rem;font-weight:600}
.bh-a3f0-editorial .bh-a3f0-checklist{border:0;padding:0;margin:0;display:grid;gap:8px}
.bh-a3f0-editorial .bh-a3f0-checklist label{display:flex;gap:12px;align-items:center;cursor:pointer;padding:8px 12px;background:var(--c-fond);border-radius:3px}
.bh-a3f0-editorial .bh-a3f0-checklist input{width:20px;height:20px;flex:none;accent-color:var(--c-primaire)}
.bh-a3f0-editorial .bh-a3f0-checklist strong,.bh-a3f0-editorial .bh-a3f0-checklist small{display:block;line-height:1.4}
.bh-a3f0-editorial .bh-a3f0-checklist small{font-size:.85rem}
.bh-a3f0-editorial .bh-a3f0-checklist label:has(input:checked){outline:1px solid var(--c-primaire)}
.bh-a3f0-editorial .bh-a3f0-contributeurs{border-inline:0;padding-inline:0;background:var(--c-fond)}
.bh-a3f0-editorial .bh-a3f0-contributeurs .bh-a3f0-titre{margin-bottom:18px}
.bh-a3f0-editorial .bh-a3f0-visages{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}
.bh-a3f0-editorial .bh-a3f0-personne{display:flex;flex-direction:column;align-items:flex-start;gap:6px;text-decoration:none;color:var(--c-texte)}
.bh-a3f0-editorial .bh-a3f0-personne img{width:64px;height:64px;border-radius:50%;object-fit:cover}
.bh-a3f0-editorial .bh-a3f0-personne strong{font-size:1rem}
.bh-a3f0-editorial .bh-a3f0-personne span{font-size:.8rem;line-height:1.4}
.bh-a3f0-editorial .bh-a3f0-personne:hover strong{text-decoration:underline}
.bh-a3f0-editorial .bh-a3f0-mot{display:grid;grid-template-columns:1fr 1.5fr;gap:36px;background:var(--c-fond-2);border-left:3px solid var(--c-primaire)}
.bh-a3f0-editorial .bh-a3f0-mot a{font-weight:600}
.bh-a3f0-editorial .bh-a3f0-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.bh-a3f0-editorial .bh-a3f0-pause :is(a,input):focus-visible{outline:2px solid var(--c-primaire);outline-offset:4px}
@media(max-width:900px){.bh-a3f0-editorial .bh-a3f0-visages{grid-template-columns:repeat(3,minmax(0,1fr))}.bh-a3f0-editorial .bh-a3f0-preparer,.bh-a3f0-editorial .bh-a3f0-mot{grid-template-columns:1fr;gap:18px}}
@media(max-width:600px){.bh-a3f0-editorial .bh-a3f0-pause{padding:20px 16px}.bh-a3f0-editorial .bh-a3f0-contributeurs{padding-inline:0}.bh-a3f0-editorial .bh-a3f0-visages{grid-template-columns:1fr;gap:18px}.bh-a3f0-editorial .bh-a3f0-personne{display:grid;grid-template-columns:56px 1fr;column-gap:14px;row-gap:2px}.bh-a3f0-editorial .bh-a3f0-personne img{grid-row:span 2;width:56px;height:56px}.bh-a3f0-editorial .bh-a3f0-personne strong{align-self:end}.bh-a3f0-editorial .bh-a3f0-contributeurs .bh-a3f0-titre{display:block}.bh-a3f0-editorial .bh-a3f0-pause h2{font-size:1.45rem}}
