:root {
  --f-titre: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texte: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-graisse-titre: 700;
  --f-casse-kicker: none;
  --tm: 0.707rem;
  --t1: 1rem;
  --t2: 1.414rem;
  --t3: 1.999rem;
  --t4: 2.827rem;
  --t5: 3.998rem;
  --t6: 5.653rem;
  --t7: 7.993rem;
  --t-hero: clamp(4rem, 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: 0px;
  --r-bouton: 0px;
  --r-image: 0px;
  --largeur: 1200px;
  --ico-trait: 2;
  --header-h: 72px;
  --c-fond: #fbfafa;
  --c-fond-2: #f2eae9;
  --c-surface: #ffffff;
  --c-texte: #35211d;
  --c-texte-2: #78514a;
  --c-primaire: #d13215;
  --c-sur-primaire: #f9f6f5;
  --c-secondaire: #ba5745;
  --c-sur-secondaire: #fefdfd;
  --c-primaire-texte: #c32f13;
  --c-secondaire-texte: #954637;
  --c-doux: #f0dedb;
  --c-sur-doux: #291714;
  --c-bord: #dfd0cd;
  --c-voile: #180e0c;
  --c-sur-voile: #ffffff;
  --c-ombre: #24130f;
  --o-carte: 0 18px 40px -12px color-mix(in srgb, #24130f 28%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #24130f 28%, transparent);
  --carte-fond: #ffffff;
  --carte-encre: #35211d;
  --carte-encre-2: #78514a;
  --carte-lien: #c32f13;
  --carte-bord: 2px solid #35211d;
  --btn-fond: transparent;
  --btn-texte: #c32f13;
  --btn-bord: 0 solid transparent;
  --btn-ombre: none;
  --btn-deco: underline;
  --lien-couleur: #c32f13;
  --lien-deco: none;
  --lien-epaisseur: 1px;
  --lien-fond: #f0dedb;
  --lien-fond-encre: #291714;
}
html.dark,
html[data-theme="dark"],
html[data-mode="dark"],
html.theme-dark,
body.dark,
[data-theme="dark"] [data-bh-home] {
  --c-fond: #1b1210;
  --c-fond-2: #281a18;
  --c-surface: #31211e;
  --c-texte: #f1e7e5;
  --c-texte-2: #cdb2ad;
  --c-primaire: #ee684f;
  --c-sur-primaire: #291714;
  --c-secondaire: #c8796a;
  --c-sur-secondaire: #291714;
  --c-primaire-texte: #f18774;
  --c-secondaire-texte: #d8a197;
  --c-doux: #48251e;
  --c-sur-doux: #f9f6f5;
  --c-bord: #573d38;
  --c-voile: #180e0c;
  --c-sur-voile: #ffffff;
  --c-ombre: #070403;
  --o-carte: 0 18px 40px -12px color-mix(in srgb, #070403 28%, transparent);
  --o-survol: 0 18px 40px -12px color-mix(in srgb, #070403 28%, transparent);
  --carte-fond: #31211e;
  --carte-encre: #f1e7e5;
  --carte-encre-2: #cdb2ad;
  --carte-lien: #f18774;
  --carte-bord: 2px solid #f1e7e5;
  --btn-fond: transparent;
  --btn-texte: #f18774;
  --btn-bord: 0 solid transparent;
  --btn-ombre: none;
  --btn-deco: underline;
  --lien-couleur: #f18774;
  --lien-deco: none;
  --lien-epaisseur: 1px;
  --lien-fond: #48251e;
  --lien-fond-encre: #f9f6f5;
}

/* 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-b202-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-b202-home *,
.bh-b202-home *::before,
.bh-b202-home *::after {
  box-sizing: border-box;
}
.bh-b202-home * {
  min-width: 0;
}
.bh-b202-home :is(a, p, span, small) {
  opacity: 1;
}
.bh-b202-home img {
  max-width: 100%;
  display: block;
}
.bh-b202-home a {
  color: inherit !important;
}
.bh-b202-home :is(h1, h2, h3, h4, blockquote) {
  color: inherit;
}
.bh-b202-home p {
  margin: 0;
}
.bh-b202-home h2,
.bh-b202-home h3 {
  margin: 0;
}
.bh-b202-home .bh-b202-h2 {
  color: var(--c-texte) !important;
}
.bh-b202-home .bh-b202-intro {
  color: var(--c-texte) !important;
}
.bh-b202-home :is(.bh-b202-kicker, .bh-b202-num) {
  color: var(--c-texte) !important;
}
.bh-b202-home .bh-b202-c-p {
  color: var(--carte-encre) !important;
}
.bh-b202-home
  :is(.bh-b202-c-titre, .bh-b202-c-meta, .bh-b202-c-kicker, .bh-b202-c-suite) {
  color: var(--carte-encre) !important;
}
.bh-b202-marque-site {
  position: absolute;
  z-index: 10;
  inset-block-start: var(--e3);
  inset-inline-start: var(--e5);
  padding: var(--e2) var(--e3);
  background: var(--c-fond);
  color: var(--c-texte);
  border: var(--bordure) solid var(--c-bordure);
  border-radius: var(--r-bouton);
}

/* ─── sections : le HERO seul fait un écran (règle Cedia 26/09) ───
   Les autres blocs prennent la hauteur de leur contenu, avec une respiration régulière :
   le min-height d'un écran laissait 140 à 213 px de vide en bas de repères, duel, titres
   (revue-auto-moto.com). */
.bh-b202-home .bh-b202-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-b202-home .bh-b202-fond-b {
  background: var(--c-fond-2) !important;
}
.bh-b202-home .bh-b202-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-b202-home. */
.bh-b202-home {
  --btn-texte-racine: var(--btn-texte);
  --btn-bord-racine: var(--btn-bord);
  --carte-lien-racine: var(--carte-lien);
}
.bh-b202-home .bh-b202-fond-doux {
  --carte-lien: var(--c-sur-doux);
  --lien-couleur: var(--c-sur-doux);
  --lien-fond-encre: var(--c-sur-doux);
}
.bh-b202-home:is([data-bouton="contour"], [data-bouton="souligne"])
  .bh-b202-fond-doux {
  --btn-texte: var(--c-sur-doux);
}
.bh-b202-home[data-bouton="contour"] .bh-b202-fond-doux {
  --btn-bord: 2px solid var(--c-sur-doux);
}
.bh-b202-home .bh-b202-fond-doux :is(.bh-b202-carte, .bh-b202-acc) {
  --carte-lien: var(--carte-lien-racine);
  --btn-texte: var(--btn-texte-racine);
  --btn-bord: var(--btn-bord-racine);
}
/* Gouttière de 1 rem, pas 1,5 rem (garde du parc 29/09/2026, actu-pme.com) : à 390 px, --e5
   (1,5 rem) ne laissait que 351 px de conteneur, et la moindre marge intérieure de carte faisait
   passer le texte sous les 300 px exigés par `page_cassee.colonne_etroite`. Au-delà de 1360 px
   (--largeur) la valeur ne change rien : le plafond décide. */
.bh-b202-int {
  width: min(100% - 2 * var(--e4), var(--largeur));
  margin-inline: auto;
}

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

/* ─── boutons et liens ─── */
.bh-b202-home .bh-b202-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.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: 0.35em;
  text-decoration-thickness: 2px;
  transition: transform 0.15s ease;
}
.bh-b202-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-b202-fleche svg {
  width: 1.1em;
  height: 1.1em;
  flex: 0 0 auto;
}
.bh-b202-home :is(.bh-b202-c-suite, .bh-b202-intro a) {
  color: var(--carte-lien) !important;
  font-weight: 600;
  text-decoration: var(--lien-deco);
  text-decoration-thickness: var(--lien-epaisseur);
  text-underline-offset: 0.3em;
  width: fit-content;
}
/* surligné : l encre du doux, en !important sinon la règle .bh-b202-c-suite (encre de lien) gagnait : 3.85 mesuré en sombre */
.bh-b202-home[data-lien="surligne"] .bh-b202-c-suite {
  background: var(--c-doux);
  color: var(--c-sur-doux) !important;
  padding: 0.1em 0.35em;
}

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

.bh-b202-cs-texte,
.bh-b202-cs-qr,
.bh-b202-cs-fait,
.bh-b202-cs-citation {
  padding: var(--e5);
  gap: var(--e3);
}
/* ─── plancher de lecture des cartes (garde du parc 30/09/2026, decorateur-maison.com) ───
   `page_cassee.colonne_etroite` refuse tout texte de 60 caractères et plus dans une boîte de
   moins de 300 px. La marge intérieure HORIZONTALE d'une carte se paie deux fois : dans un
   conteneur de --largeur une grille de trois colonnes donne une carte de 354 px (1120 px de
   --largeur, 28,8 px de gouttière --e5) et --e5 (28,8 px de chaque côté) ne laissait que
   296 px au paragraphe — 4 px sous le seuil. On garde --e5 en vertical (la respiration de la
   carte ne bouge pas) et on ramène l'horizontale à --e4 : 316 px de texte à trois colonnes,
   313 px à une colonne sur un écran de 390 px. C'est le remède que quatre gardes du parc ont
   porté à la main dans la copie figée de leur site (actu-pme, assurance-et-famille,
   actu-maison, maison-bien-etre) : il manquait au gabarit lui-même, donc tout site neuf
   renaissait avec le défaut. Figé par `tests/test_colonne_etroite_grille_kit.py`. */
.bh-b202-c-corps,
.bh-b202-cs-texte,
.bh-b202-cs-qr,
.bh-b202-cs-fait,
.bh-b202-cs-citation {
  padding-inline: var(--e4);
}
/* Les formes de carte sont préfixées par .bh-b202-home : sans cela elles restaient à
   (0,1,0) sous `.bh-b202-home .bh-b202-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-b202-c-corps hors de la carte : `align-self: stretch` étire la photo
   sans écraser le texte. */
.bh-b202-home .bh-b202-cs-image-gauche {
  flex-direction: row;
}
.bh-b202-cs-image-gauche .bh-b202-c-media {
  flex: 0 0 38%;
  align-self: stretch;
  min-height: 0;
}
.bh-b202-cs-image-gauche .bh-b202-c-media img {
  width: 100%;
  height: 100%;
  min-height: 9rem;
  object-fit: cover;
}
.bh-b202-cs-superpose {
  min-height: 15rem;
  justify-content: flex-end;
}
.bh-b202-cs-superpose .bh-b202-c-img {
  position: absolute;
  inset: 0;
  height: 100%;
  aspect-ratio: auto;
}
.bh-b202-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-b202-c-voile .bh-b202-c-titre,
.bh-b202-c-voile .bh-b202-c-kicker,
.bh-b202-c-voile .bh-b202-c-meta {
  color: var(--c-sur-voile);
}
.bh-b202-c-vedette .bh-b202-c-titre {
  font-size: var(--t4);
}
.bh-b202-cs-portrait {
  align-items: flex-start;
}
.bh-b202-c-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  object-fit: cover;
  margin: var(--e5) var(--e5) 0;
}
.bh-b202-c-vedette .bh-b202-c-avatar {
  width: 9rem;
  height: 9rem;
}
.bh-b202-cs-numero .bh-b202-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-b202-home .bh-b202-cs-ligne {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: var(--e4);
}
.bh-b202-cs-ligne .bh-b202-c-corps {
  padding-block: var(--e4);
}
.bh-b202-c-fleche {
  display: inline-flex;
  align-items: center;
  padding: var(--e4);
  text-decoration: none;
  font-size: var(--t3);
  color: var(--carte-lien);
}
.bh-b202-cs-pastille {
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}
.bh-b202-c-pastille {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--e3);
  padding: 0.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-b202-c-pastille small {
  color: var(--carte-encre-2);
  font-weight: 400;
}
.bh-b202-c-pastille:hover {
  background: var(--c-primaire);
  color: var(--c-sur-primaire);
}
.bh-b202-c-pastille:hover small {
  color: var(--c-sur-primaire);
}
.bh-b202-c-citation {
  margin: 0;
  font-family: var(--f-titre);
  font-size: var(--t2);
  line-height: 1.45;
}
.bh-b202-c-vedette .bh-b202-c-citation {
  font-size: var(--t4);
}
.bh-b202-c-signature {
  display: grid;
  gap: 0.1em;
  font-size: var(--tm);
  color: var(--carte-encre-2);
}
.bh-b202-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-b202-etoiles {
  letter-spacing: 0.15em;
  font-size: var(--t1);
  display: flex;
  align-items: center;
  gap: 0.15em;
  flex-wrap: nowrap;
  margin: 0;
  line-height: 1;
}
.bh-b202-etoiles svg {
  display: inline-block;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
  color: var(--carte-lien);
}
.bh-b202-etoile {
  color: var(--carte-lien);
}
.bh-b202-etoiles .bh-b202-etoile-vide {
  color: var(--c-bord);
}
.bh-b202-etoiles-vides {
  display: inline-flex;
  gap: 0.15em;
}
.bh-b202-etoiles-pleines {
  color: var(--carte-lien);
}
.bh-b202-etoiles-vides {
  color: var(--c-bord);
}
.bh-b202-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-b202-c-label {
  font-weight: 600;
}
/* La carte image seule n'a pas de chrome : l'image EST la carte. Il faut .bh-b202-home et
   !important, sinon `.bh-b202-home .bh-b202-carte` (0,2,0, `background: var(--carte-fond)
   !important`) repeint la carte et le texte de la légende se retrouve collé à son bord
   gauche (decorateur-maison.com 28/09, contrôle home:cartes-marge-interne). */
.bh-b202-home .bh-b202-cs-image-seule {
  background: transparent !important;
  border: 0;
  box-shadow: none;
  gap: var(--e2);
}
.bh-b202-cs-image-seule img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-image);
}
.bh-b202-c-legende {
  font-size: var(--tm);
  color: var(--c-texte-2);
}

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

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

/* bento : rectangle toujours plein */
.bh-b202-bento {
  display: grid;
  gap: var(--e4);
  grid-template-columns: minmax(0, 1fr);
}
.bh-b202-bento > .bh-b202-carte {
  min-height: 13rem;
}
@media (min-width: 640px) {
  .bh-b202-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bh-b202-bento > :first-child {
    grid-column: span 2;
  }
  .bh-b202-bento-4 > :nth-child(2),
  .bh-b202-bento-6 > :nth-child(2) {
    grid-column: span 2;
  }
}
@media (min-width: 1024px) {
  .bh-b202-bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(11rem, 1fr);
  }
  .bh-b202-bento-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bh-b202-bento-3 > :nth-child(1) {
    grid-area: 1 / 1 / 3 / 2;
  }
  .bh-b202-bento-3 > :nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
  }
  .bh-b202-bento-3 > :nth-child(3) {
    grid-area: 2 / 2 / 3 / 3;
  }
  .bh-b202-bento-4 > :nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
  }
  .bh-b202-bento-4 > :nth-child(2) {
    grid-area: 1 / 3 / 2 / 5;
  }
  .bh-b202-bento-4 > :nth-child(3) {
    grid-area: 2 / 3 / 3 / 4;
  }
  .bh-b202-bento-4 > :nth-child(4) {
    grid-area: 2 / 4 / 3 / 5;
  }
  .bh-b202-bento-5 > :nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
  }
  .bh-b202-bento-5 > :nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
  }
  .bh-b202-bento-5 > :nth-child(3) {
    grid-area: 1 / 4 / 2 / 5;
  }
  .bh-b202-bento-5 > :nth-child(4) {
    grid-area: 2 / 3 / 3 / 4;
  }
  .bh-b202-bento-5 > :nth-child(5) {
    grid-area: 2 / 4 / 3 / 5;
  }
  .bh-b202-bento-6 > :nth-child(1) {
    grid-area: 1 / 1 / 3 / 3;
  }
  .bh-b202-bento-6 > :nth-child(2) {
    grid-area: 1 / 3 / 2 / 5;
  }
  .bh-b202-bento-6 > :nth-child(3) {
    grid-area: 2 / 3 / 3 / 4;
  }
  .bh-b202-bento-6 > :nth-child(4) {
    grid-area: 2 / 4 / 3 / 5;
  }
  .bh-b202-bento-6 > :nth-child(5) {
    grid-area: 3 / 1 / 4 / 3;
  }
  .bh-b202-bento-6 > :nth-child(6) {
    grid-area: 3 / 3 / 4 / 5;
  }
  /* Sept cartes sur TROIS colonnes, pas quatre (garde du parc 29/09/2026, actu-pme.com) : à quatre
     colonnes dans un conteneur de 1360 px, une carte mesure 328 px et son texte (marge intérieure
     de carte + bordure) tombe à 278-294 px — sous les 300 px exigés par `page_cassee.colonne_etroite`
     pour tout texte de 60 caractères et plus. Aucun réglage de marge intérieure ne rattrape 22 px ;
     c'est le NOMBRE DE COLONNES qui fait la largeur de lecture. Trois colonnes = 442 px de carte,
     392 à 408 px de texte. Neuf cellules, sept cartes, aucun trou : 2+1 / 1+1+1 / 1+2, dans l'ordre
     de lecture. La 7e carte garde DEUX colonnes comme la vedette : c'est souvent une carte
     horizontale (image | texte), dont les deux moitiés divisent la largeur — à une seule colonne son
     texte tombait à 188 px (mesuré sur actu-pme.com le 29/09). */
  .bh-b202-bento-7 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .bh-b202-bento-7 > :nth-child(1) {
    grid-area: 1 / 1 / 2 / 3;
  }
  .bh-b202-bento-7 > :nth-child(2) {
    grid-area: 1 / 3 / 2 / 4;
  }
  .bh-b202-bento-7 > :nth-child(3) {
    grid-area: 2 / 1 / 3 / 2;
  }
  .bh-b202-bento-7 > :nth-child(4) {
    grid-area: 2 / 2 / 3 / 3;
  }
  .bh-b202-bento-7 > :nth-child(5) {
    grid-area: 2 / 3 / 3 / 4;
  }
  .bh-b202-bento-7 > :nth-child(6) {
    grid-area: 3 / 1 / 4 / 2;
  }
  .bh-b202-bento-7 > :nth-child(7) {
    grid-area: 3 / 2 / 4 / 4;
  }
  .bh-b202-bento > .bh-b202-carte {
    min-height: 0;
  }
}
.bh-b202-mosaique > .bh-b202-carte {
  min-height: 10rem;
}
.bh-b202-mosaique .bh-b202-c-lienimg {
  display: block;
  flex: 1;
  min-height: 0;
}
.bh-b202-mosaique .bh-b202-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-b202-split {
  display: grid;
  gap: var(--e6);
  align-items: center;
}
.bh-b202-split-media {
  margin: 0;
}
.bh-b202-split-media img {
  width: 100%;
  height: min(68svh, 40rem);
  object-fit: cover;
  border-radius: var(--r-image);
}
.bh-b202-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-b202-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-b202-split-liste {
  display: grid;
  gap: var(--e4);
}
@media (min-width: 1024px) {
  .bh-b202-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .bh-b202-split-droite .bh-b202-split-media {
    order: 2;
  }
}

/* carrousel — le plancher de la carte est un plancher de LECTURE : une carte de
   21rem (336 px) moins 2 x --e5 et 2 px de bord laissait 291 px de texte, sous
   les 300 px de `page_cassee:colonne_etroite`. 22rem en laisse 307. */
.bh-b202-car-piste {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(22rem, 24rem);
  gap: var(--e5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--e4);
  scrollbar-width: thin;
}
.bh-b202-car-piste > * {
  scroll-snap-align: start;
}
.bh-b202-car-nav {
  display: flex;
  gap: var(--e3);
  margin-top: var(--e4);
}
.bh-b202-car-nav .bh-b202-bouton {
  padding: 0.4em 0.9em;
  font-size: var(--t2);
  line-height: 1;
  color: var(--c-texte);
  background: var(--c-fond);
}

/* timeline = frise vivante (Cedia 26/09 : « timelines moches, pas dynamiques ») : le trait se
   remplit au défilement et chaque jalon s'allume (kit_vivant data-frise / data-jalon, --kv-progression).
   La frise porte son propre dessin : elle reste lisible même sans kit (trait plein). */
.bh-b202-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-b202-home .bh-b202-timeline[data-frise] {
  border-left: 0;
  padding: 0 0 0 calc(var(--e7) + 0.25rem);
  position: relative;
}
.bh-b202-home .bh-b202-timeline[data-frise]::before,
.bh-b202-home .bh-b202-timeline[data-frise]::after {
  content: "";
  position: absolute;
  left: calc(var(--e5) - 2px);
  top: 0.5rem;
  width: 4px;
  border-radius: 4px;
}
.bh-b202-home .bh-b202-timeline[data-frise]::before {
  bottom: 0.5rem;
  height: auto;
  background: var(--c-bord);
}
.bh-b202-home .bh-b202-timeline[data-frise]::after {
  height: calc((100% - 1rem) * var(--kv-progression, 1));
  background: var(--c-primaire);
  transition: height 0.2s linear;
}
.bh-b202-home .bh-b202-timeline[data-frise] > .bh-b202-tl-pas::before {
  left: calc(-1 * var(--e7) - 0.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 0.25s ease;
  z-index: 1;
}
.bh-b202-home
  .bh-b202-timeline[data-frise]
  > .bh-b202-tl-pas.kv-atteint::before {
  border-color: var(--c-primaire);
  background: var(--c-primaire);
}
.bh-b202-home .bh-b202-timeline[data-frise] > [data-jalon]::after {
  content: none;
}
.bh-b202-home .bh-b202-timeline[data-frise] .bh-b202-carte {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.bh-b202-home .bh-b202-timeline[data-frise] > .kv-atteint .bh-b202-carte {
  box-shadow: var(--o-survol);
}
.bh-b202-c-echeance {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4em;
  font-weight: 700;
  font-size: var(--tm);
  letter-spacing: 0.04em;
  padding: 0.3em 0.75em;
  border-radius: 999px;
  background: var(--c-primaire);
  color: var(--c-sur-primaire);
}
.bh-b202-home .bh-b202-carte .bh-b202-c-echeance {
  color: var(--c-sur-primaire) !important;
}
.bh-b202-cs-jalon,
.bh-b202-cs-repere {
  padding: var(--e5);
  padding-inline: var(--e4);
  gap: var(--e3);
}
/* La marge intérieure horizontale d'une carte jalon/repere se paie UNE fois : le corps de carte ne
   la reprend pas. `correctifs.css` la pose sur tous les `.bh-b202-c-corps` d'un site déjà construit,
   d'où 230 px de texte à 1440 px en quatre colonnes (326 - 2 × --e5 - 2 × --e4, garde du parc
   30/09/2026, journal-entreprise.com). */
.bh-b202-cs-jalon > .bh-b202-c-corps,
.bh-b202-cs-repere > .bh-b202-c-corps {
  padding-inline: 0;
}
/* À 390 px, la marge intérieure de carte --e5 (20,4 px de chaque côté) ramenait le texte d'une carte
   jalon sous les 300 px exigés par `page_cassee.colonne_etroite` : 390 - 2 × --e4 (gouttière .bh-b202-int)
   - 2,25 rem (rail de frise) - 2 × --e5 = 286 px. Un `.cs-jalon` posé dans une frise cumule les trois
   retraits — même remède que la gouttière ci-dessus, ramené à --e4 sur mobile seulement
   (garde du parc 29/09/2026, assurance-et-famille.com). Au-delà de 640 px les valeurs de bureau
   restent : la mesure ne descend plus sous le seuil.
   30/09/2026 (journal-entreprise.com) : le retrait de 1,75 rem ne suffisait pas — sur un site dont
   --e4 vaut 1,2 rem, il laissait 285 px. Sous 640 px le rail est donc MASQUÉ et le retrait RETIRÉ
   (masquer le rail en gardant le retrait ne répare rien) : 352 px de carte, 313 px de texte. */
@media (max-width: 639px) {
  .bh-b202-home .bh-b202-timeline[data-frise] {
    padding-left: 0;
  }
  .bh-b202-home .bh-b202-timeline[data-frise]::before,
  .bh-b202-home .bh-b202-timeline[data-frise]::after,
  .bh-b202-home .bh-b202-timeline[data-frise] > .bh-b202-tl-pas::before {
    content: none;
  }
  .bh-b202-cs-jalon,
  .bh-b202-cs-repere {
    padding: var(--e4);
  }
}
.bh-b202-tl-pas {
  position: relative;
}
.bh-b202-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-b202-tl-alterne {
    border-left: 0;
    padding: 0;
    position: relative;
  }
  .bh-b202-tl-alterne::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 2px solid var(--c-bord);
  }
  .bh-b202-tl-alterne .bh-b202-tl-pas {
    width: calc(50% - var(--e6));
  }
  .bh-b202-tl-alterne .bh-b202-tl-pas:nth-child(even) {
    margin-left: calc(50% + var(--e6));
  }
  .bh-b202-tl-alterne .bh-b202-tl-pas::before {
    left: auto;
    right: calc(-1 * var(--e6) - 8px);
  }
  .bh-b202-tl-alterne .bh-b202-tl-pas:nth-child(even)::before {
    right: auto;
    left: calc(-1 * var(--e6) - 8px);
  }
}

/* onglets */
.bh-b202-onglets-barre {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e2);
  margin-bottom: var(--e5);
}
.bh-b202-onglet {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0.6em 1.1em;
  border-radius: var(--r-bouton);
  border: var(--carte-bord);
  background: var(--carte-fond);
  color: var(--carte-encre);
}
.bh-b202-onglet[aria-selected="true"] {
  background: var(--c-primaire);
  color: var(--c-sur-primaire);
}
.bh-b202-panneau .bh-b202-carte {
  font-size: var(--t2);
}
.bh-b202-panneau .bh-b202-cs-image-gauche .bh-b202-c-media {
  flex-basis: 45%;
}

/* accordéon */
.bh-b202-accordeon {
  display: grid;
  gap: var(--e3);
  max-width: 60rem;
}
[data-alignement="centre"] .bh-b202-accordeon {
  margin-inline: auto;
}
.bh-b202-acc {
  background: var(--carte-fond);
  color: var(--carte-encre);
  border: var(--carte-bord);
  border-radius: var(--r-carte);
  box-shadow: var(--o-carte);
}
.bh-b202-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-b202-acc-corps {
  padding: 0 var(--e5) var(--e5);
  display: grid;
  gap: var(--e3);
  color: var(--carte-encre-2);
}
.bh-b202-acc-corps a {
  color: var(--carte-lien);
  font-weight: 600;
}
/* À 390 px la marge intérieure d'une carte d'accordéon se paie deux fois (conteneur --e4 + carte --e5
   + résumé --e5) : 352 - 2 × 28,8 = 292 px pour la question, sous les 300 px de
   `page_cassee.colonne_etroite` (garde du parc 30/09/2026, journal-entreprise.com). */
@media (max-width: 639px) {
  .bh-b202-home .bh-b202-acc > summary {
    padding: var(--e4);
  }
  .bh-b202-home .bh-b202-acc-corps {
    padding: 0 var(--e4) var(--e4);
  }
}

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

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

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

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

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

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

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

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

/* ─── hero ─── */
.bh-b202-hero {
  height: calc(100svh - var(--header-h));
  min-height: 0;
  padding-block: 0;
  position: relative;
  overflow: hidden;
  justify-content: flex-end;
}
.bh-b202-hero-kicker {
  font-size: var(--tm);
  text-transform: var(--f-casse-kicker);
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: var(--e3);
}
.bh-b202-home .bh-b202-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: -0.02em;
  margin: 0 0 var(--e3);
}
/* Plancher 320 px (garde du parc 29/09/2026, actu-pme.com) : `ch` suit la taille de police de
   l'élément, elle-même relative à la racine du thème (12,8 px en mobile). 46ch ne valaient plus
   que 294 px à 390 px de large : `page_cassee.colonne_etroite` refuse tout texte de 60 caractères
   et plus dans une boîte de moins de 300 px. Le plafond de lecture ne bouge pas au-delà. */
.bh-b202-home .bh-b202-hero-accroche {
  font-size: var(--t2);
  max-width: max(320px, 46ch);
  margin-bottom: var(--e5);
}
.bh-b202-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--e3);
}
.bh-b202-hero-titres {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--e3);
}
.bh-b202-hero-titres a {
  display: grid;
  gap: 0.15em;
  text-decoration: none;
  color: inherit;
  border-top: 1px solid currentColor;
  padding-top: var(--e2);
}
.bh-b202-hero-titres a:hover span:last-child {
  text-decoration: underline;
}
.bh-b202-hero-date {
  font-size: var(--tm);
  opacity: 0.85;
}
.bh-b202-hero-titres span:last-child {
  font-weight: 600;
}

.bh-b202-hero-plein-cadre .bh-b202-hero-fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.bh-b202-hero-voile {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-block: var(--e7);
  color: var(--c-sur-voile);
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--c-voile) 94%, transparent) 0%,
    color-mix(in srgb, var(--c-voile) 78%, transparent) 50%,
    color-mix(in srgb, var(--c-voile) 45%, transparent) 100%
  );
}
.bh-b202-hero-bas {
  display: grid;
  gap: var(--e6);
  align-items: end;
}
@media (min-width: 1024px) {
  .bh-b202-hero-bas {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}
@media (max-width: 1023px) {
  .bh-b202-hero-plein-cadre .bh-b202-hero-titres {
    display: none;
  }
}

.bh-b202-hero-scinde {
  display: grid;
  grid-template-rows: minmax(0, 0.9fr) minmax(0, 1.1fr);
  background: var(--c-fond);
}
.bh-b202-hero-moitie {
  min-height: 0;
  margin: 0;
}
.bh-b202-hero-gauche {
  display: flex;
  align-items: flex-end;
  padding: var(--e6) var(--e5);
}
.bh-b202-hero-media {
  position: relative;
  order: -1;
}
.bh-b202-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: none;
}
.bh-b202-hero-media figcaption {
  position: absolute;
  left: var(--e4);
  bottom: var(--e4);
  right: var(--e4);
}
.bh-b202-hero-media figcaption a {
  background: var(--c-surface);
  color: var(--c-texte);
  padding: 0.4em 0.7em;
  border-radius: var(--r-bouton);
  text-decoration: none;
  font-size: var(--tm);
  font-weight: 600;
}
.bh-b202-hero-gauche .bh-b202-hero-kicker {
  color: var(--c-primaire-texte);
}
@media (min-width: 1024px) {
  .bh-b202-hero-scinde {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }
  .bh-b202-hero-media {
    order: 0;
  }
  .bh-b202-hero-gauche {
    padding: var(--e7) var(--e7) var(--e7)
      max(var(--e5), calc((100vw - var(--largeur)) / 2));
  }
  .bh-b202-hero-gauche .bh-b202-hero-titres {
    margin-top: var(--e6);
  }
}
@media (max-width: 1023px) {
  .bh-b202-hero-scinde .bh-b202-hero-titres {
    display: none;
  }
}

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

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

.bh-b202-hero-typo {
  background: var(--c-fond-2);
}
.bh-b202-hero-typo-int {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: var(--e7);
}
.bh-b202-hero-typo .bh-b202-hero-kicker {
  color: var(--c-primaire-texte);
}
.bh-b202-home .bh-b202-hero-geant {
  font-family: var(--f-titre);
  font-size: clamp(2.8rem, 10.5vw, 10.5rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  margin: 0 0 var(--e5);
  color: var(--c-texte);
  font-weight: var(--f-graisse-titre);
  overflow-wrap: anywhere;
}
.bh-b202-hero-typo-bas {
  display: grid;
  gap: var(--e5);
  align-items: end;
  border-top: 2px solid var(--c-texte);
  padding-top: var(--e5);
}
.bh-b202-hero-titres-ligne {
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
  .bh-b202-hero-typo-bas {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
  }
  .bh-b202-hero-titres-ligne {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1023px) {
  .bh-b202-hero-typo .bh-b202-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-b202-home .bh-b202-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-b202-home .bh-b202-hero-voile .bh-b202-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-b202-home .bh-b202-hero-voile .bh-b202-bouton-2 {
  background: transparent !important;
  color: var(--c-sur-voile) !important;
  border: 2px solid var(--c-sur-voile);
  box-shadow: none;
}
.bh-b202-home .bh-b202-hero-bande .bh-b202-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-b202-home .bh-b202-hero-bande .bh-b202-bouton-2 {
  background: transparent !important;
  color: var(--c-sur-primaire) !important;
  border: 2px solid var(--c-sur-primaire);
  box-shadow: none;
}
.bh-b202-home
  .bh-b202-hero-bande
  :is(h1, h2, p, span, small, strong, li):not(
    .bh-b202-bouton,
    .bh-b202-bouton *
  ) {
  color: var(--c-sur-primaire) !important;
}

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

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

/* ─── retours Cedia 26/09 (revue-auto-moto.com) ─────────────────────────────── */

/* Idées reçues : de vraies cartes (fond, bord, ombre), l'idée barrée d'une croix, la réalité
   cochée ; avant, du texte flottant sans boîte. */
.bh-b202-home .bh-b202-cs-idee {
  padding: 0;
  gap: 0;
  border: var(--carte-bord);
  border-radius: max(var(--r-carte), 6px);
  box-shadow: var(--o-carte, none);
}
.bh-b202-cs-idee .bh-b202-ir-faux,
.bh-b202-cs-idee .bh-b202-ir-vrai {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--e3);
  padding: var(--e5);
  align-items: start;
}
.bh-b202-cs-idee .bh-b202-ir-faux {
  background: color-mix(in srgb, var(--c-bord) 35%, var(--carte-fond));
  border-bottom: 1px solid var(--c-bord);
}
.bh-b202-cs-idee .bh-b202-ir-vrai {
  flex: 1;
}
.bh-b202-ir-ico {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  flex: 0 0 auto;
}
.bh-b202-ir-ico svg {
  width: 1.25rem;
  height: 1.25rem;
}
.bh-b202-ir-faux .bh-b202-ir-ico {
  background: var(--carte-encre-2);
  color: var(--carte-fond);
}
.bh-b202-ir-vrai .bh-b202-ir-ico {
  background: var(--c-primaire);
  color: var(--c-sur-primaire);
}
.bh-b202-ir-etiquette {
  display: block;
  font-size: var(--tm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--carte-encre-2);
  margin-bottom: 0.2em;
}
.bh-b202-ir-vrai .bh-b202-ir-etiquette {
  color: var(--carte-lien);
}
.bh-b202-ir-faux .bh-b202-c-titre {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: color-mix(
    in srgb,
    var(--carte-encre) 45%,
    transparent
  );
}

/* Le vrai/faux tient DEUX pistes : l'icône (2,25rem) et le texte. Sous 640 px la carte fait la
   largeur de la page (342 à 390 px) et la marge --e5 mange le reste : 342 - 48 - 36 - 12 = 246 px
   de texte, rouge `page_cassee:colonne_etroite` par construction, quelle que soit la longueur de
   la phrase — et aucune réduction de marge ne suffit à repasser 300 px. L'icône passe donc
   AU-DESSUS du texte sous 640 px, et l'horizontale à --e4 : 342 - 32 = 310 px.
   Garde : `tests/test_colonne_etroite_cs_idee_20260930.py`. */
@media (max-width: 639px) {
  .bh-b202-home .bh-b202-cs-idee .bh-b202-ir-faux,
  .bh-b202-home .bh-b202-cs-idee .bh-b202-ir-vrai {
    grid-template-columns: minmax(0, 1fr);
    padding: var(--e4);
  }
}

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

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

/* Recopié de correctifs.css (Cedia 26/09) : les sites neufs l'ont dès la composition. */
/* Parcours / frise : une vignette à côté du texte, jamais une photo pleine largeur par étape
   (journal-entreprise, bloc parcours : trois photos de 1298 x 812 px à la suite, Cedia 26/09). */
.bh-b202-timeline .bh-b202-c-media img,
.bh-b202-b-parcours .bh-b202-c-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 320px;
  object-fit: cover;
}
@media (min-width: 900px) {
  .bh-b202-timeline .bh-b202-carte:has(> .bh-b202-c-media) {
    display: grid;
    grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
    gap: var(--e5);
    align-items: start;
  }
  .bh-b202-timeline .bh-b202-carte:has(> .bh-b202-c-media) > .bh-b202-c-media {
    margin: 0;
  }
}

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

/* Pastilles de sujets : une vraie pastille cliquable, en nuage centré, jamais une barre grise plate
   (Cedia 26/09, journal-entreprise). */
.bh-b202-b-sujets .bh-b202-mur {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--e3);
}
.bh-b202-b-sujets .bh-b202-mur-col {
  display: contents;
}
.bh-b202-b-sujets .bh-b202-carte.bh-b202-cs-pastille {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  width: auto;
}
.bh-b202-c-pastille {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.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 0.2s,
    color 0.2s,
    transform 0.15s;
}
.bh-b202-c-pastille::after {
  content: "\2192";
  font-weight: 400;
}
.bh-b202-c-pastille:hover,
.bh-b202-c-pastille:focus-visible {
  background: var(--c-primaire);
  color: var(--c-sur-primaire);
  transform: translateY(-1px);
}

/* Hero : les boutons ne touchent jamais le texte voisin (Cedia 26/09, journal-entreprise : collés au 3e titre). */
.bh-b202-hero-actions {
  margin-top: var(--e5);
}

/* 28/09 decorateur-maison : sur le hero plein cadre, tout le texte est sur la photo voilée ; les couleurs du hero
   scindé (hero-gauche, kicker primaire, H1 foncé) le rendaient illisible. */
.bh-b202-home
  .bh-b202-hero-plein-cadre
  :is(
    .bh-b202-hero-kicker,
    .bh-b202-hero-h1,
    .bh-b202-hero-geant,
    .bh-b202-hero-accroche
  ) {
  color: var(--c-sur-voile);
}

/* 28/09 maison-bien-etre : en mobile, l image 4/3 (248 px) sortait de son cadre de 164 px et passait sous le titre de la carte. Le cadre coupe son image. */
.bh-b202-carte .bh-b202-c-media {
  overflow: hidden;
}

/* 28/09 decorateur-maison : hero-gauche dans le conteneur centré (hero plein cadre) : pas de marge d'écran en plus. */
@media (min-width: 1024px) {
  .bh-b202-home .bh-b202-int .bh-b202-hero-gauche {
    padding-left: 0;
  }
}

/* Site magazine dossiers */
.mag-home {
  width: 100%;
  overflow: hidden;
}
.mag-wrap {
  width: min(1100px, calc(100% - 32px));
  margin: auto;
}
.mag-section {
  padding: clamp(3.5rem, 7vw, 7rem) 0;
}
.mag-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.34);
}
.mag-hero {
  height: calc(100svh - var(--site-header-height, 132px) - 12px);
  min-height: 0;
  display: grid;
  align-items: center;
  padding: 3rem 0;
}
.bh-b202-home .bh-b202-bloc.mag-hero { min-height: 0; }
.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 6.7rem);
  max-width: 10ch;
}
.hero-copy > p:not(.eyebrow) {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 52ch;
  color: var(--c-texte-2);
  margin-top: 1.5rem;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-primaire-texte);
  margin-bottom: 0.75rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.hero-media {
  position: relative;
  margin: 0;
}
.hero-media img {
  width: 100%;
  height: min(68vh, 720px);
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--o-carte);
}
.hero-media figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #241112e8;
  color: #fff;
  padding: 0.8rem 1rem;
  border-radius: 16px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2.2rem;
}
.section-head h2,
.mag-section > div > h2 {
  font-size: clamp(2.3rem, 5vw, 4.3rem);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-primaire-texte);
  font-weight: 700;
}
.text-link svg {
  width: 20px;
}
.story-list {
  display: grid;
  gap: 1rem;
}
.story-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--carte-fond);
  padding: 1rem;
  border-radius: 24px;
  box-shadow: var(--o-carte);
  transition: transform 0.2s ease;
}
.story-card:hover {
  transform: translateY(-3px);
}
.story-card img {
  width: 260px;
  height: 170px;
  object-fit: cover;
  border-radius: 18px;
}
.story-card span {
  display: grid;
  gap: 0.25rem;
}
.story-card small,
.story-card time {
  color: var(--c-primaire-texte);
}
.story-card strong {
  font: 400 clamp(1.3rem, 2.5vw, 2rem)/1.15 var(--f-titre);
}
.story-card h3 {
  font: 400 clamp(1.3rem, 2.5vw, 2rem) / 1.15 var(--f-titre);
  margin: 0;
}
.story-card p {
  color: var(--c-texte-2);
  margin: 0;
}
.soft-panel {
  background: var(--c-doux) !important;
}
.tabs > div[role="tablist"] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}
.tabs button {
  min-height: 46px;
  padding: 0.6rem 1rem;
  border: 1px solid var(--c-primaire);
  border-radius: 999px;
  background: transparent;
}
.tabs button[aria-selected="true"] {
  background: var(--c-primaire);
  color: #fff;
}
.tab-panel {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  background: #fff;
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--o-carte);
}
.tab-panel svg {
  width: 50px;
  color: var(--c-primaire);
}
.compact-list {
  display: grid;
  border-top: 1px solid var(--c-bord);
}
.compact-list > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  min-height: 82px;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-bord);
}
.compact-list strong {
  font: 400 1.25rem var(--f-titre);
}
.compact-list small,
.compact-list time,
.compact-list span:last-child {
  color: var(--c-texte-2);
}
.compact-list svg {
  width: 22px;
  flex: none;
}
.tone {
  background: #efe1d7 !important;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.steps-nav {
  display: grid;
  gap: 0.65rem;
}
.steps-nav button {
  text-align: left;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 0.2rem 1rem;
  align-items: center;
  border: 0;
  background: #fff;
  padding: 1rem;
  border-radius: 20px;
  min-height: 80px;
}
.steps-nav button span {
  grid-row: 1/3;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-doux);
  font-weight: 700;
}
.steps-nav button small {
  color: var(--c-texte-2);
}
.steps-nav button[aria-current="step"] {
  outline: 2px solid var(--c-primaire);
}
.steps figure {
  margin: 0;
}
.steps figure img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 32px;
}
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.featured > img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 32px;
}
.featured h2 {
  margin-bottom: 1rem;
}
.quiz-panel {
  background: var(--c-voile) !important;
  color: #fff;
}
.quiz-panel .eyebrow {
  color: #ffff85;
}
.quiz {
  max-width: 760px;
  margin-top: 2rem;
}
.bh-b202-quiz-q {
  background: #fff;
  color: #111;
  padding: 2rem;
  border-radius: 24px;
}
.bh-b202-quiz-affirmation {
  font-size: 1.45rem;
}
.bh-b202-quiz-q button,
.quiz > [data-suivante] {
  min-height: 46px;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  margin: 0.5rem;
  background: transparent;
}
.quiz > [data-suivante] {
  color: #111;
  background: #ffff85;
  border-color: #ffff85;
}
[data-quiz] > button[data-suivante],
[data-quiz] > .kv-bouton,
[data-quiz] .kv-quiz-pied .kv-bouton {
  color: #111 !important;
  background: #ffff85 !important;
  border-color: #ffff85 !important;
}
.team-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.team-row a {
  display: grid;
  gap: 0.5rem;
}
.team-row img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}
.team-row strong {
  font: 400 1.1rem var(--f-titre);
}
.team-row small {
  color: var(--c-texte-2);
}
.dotted {
  border: 2px dashed var(--c-primaire);
  border-radius: 32px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
}
.dotted > svg {
  width: 50px;
  color: var(--c-primaire);
}
.final-panel {
  background: var(--c-primaire) !important;
  color: #fff;
  text-align: center;
}
.final-panel .eyebrow {
  color: #ffff85;
}
.final-panel h2 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 14ch;
  margin: auto;
}
.final-panel p {
  max-width: 60ch;
  margin: 1.5rem auto;
}
.final-panel .pill {
  margin: auto;
}
[data-usine-bloc="hero"] .pill--dark,
[data-usine-bloc="essai-vedette"] .pill--dark,
[data-usine-bloc="recherche"] .pill--dark {
  color: #fff !important;
}
[data-usine-bloc="contact"] .pill--light {
  color: #111 !important;
}
.method-copy { position: relative; }
.method-lottie { width: 82px; margin: 0 0 0.75rem; aspect-ratio: 1; color: var(--c-primaire); }
.method-lottie [data-lottie-fallback],
.method-lottie svg { display: block; width: 100%; height: 100%; }
.method-lottie[data-kv-lottie="1"] [data-lottie-fallback] { display: none; }
@media (max-width: 760px) {
  .tab-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 0.75rem;
  }
  .bh-b202-quiz-q,
  .dotted {
    padding: 0.75rem;
  }
  .text-link {
    min-height: 44px;
    align-items: center;
  }
  .mag-hero {
    height: calc(100svh - var(--site-header-height, 100px) - 12px);
    min-height: 0;
    padding: 0.8rem 0;
  }
  .hero-grid,
  .steps,
  .featured {
    grid-template-columns: 1fr;
  }
  .hero-copy h1 {
    font-size: clamp(2rem, 9.5vw, 3rem);
  }
  .hero-copy > p:not(.eyebrow) { font-size: 0.92rem; line-height: 1.35; margin-top: 0.65rem; }
  .hero-actions { margin-top: 0.75rem; gap: 0.45rem; }
  .hero-actions .pill { min-height: 44px; padding: 0.5rem 0.85rem; font-size: 0.88rem; }
  .hero-grid { gap: 0.7rem; grid-template-rows: auto minmax(0, 1fr); height: 100%; }
  .hero-media img {
    height: 100%;
    min-height: 150px;
  }
  .hero-media { height: 100%; min-height: 0; }
  .hero-media figcaption { padding: 0.45rem 0.65rem; font-size: 0.78rem; }
  .story-card {
    grid-template-columns: 110px 1fr;
    gap: 1rem;
  }
  .story-card img {
    width: 110px;
    height: 120px;
  }
  .story-card p {
    display: none;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .team-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dotted {
    grid-template-columns: 1fr;
  }
  .compact-list > a {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
  .featured > img {
    height: 300px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
