/* Modebys : socle, en-tête, pied de page, pages internes et blocs d’accueil (bh-3aaf-) */
html.light { background: linear-gradient(180deg, #fdfcfb 0%, #e2d1c3 100%) fixed; color: var(--c-texte); }
body { font-family: var(--f-texte); color: var(--c-texte); overflow-x: clip; }
h1, h2, .mb-pied-geant { font-family: var(--f-titre); font-weight: 400; line-height: 1.1; }
h3, h4, h5, h6 { font-family: var(--f-texte); font-weight: 700; line-height: 1.25; }
html.light h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); padding-block: .5rem; }
html.light h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); padding-block: .25rem; }
html.light h3 { font-size: 1.2rem; }
.mb-main { width: 100%; padding-inline: clamp(1rem, 4vw, 2rem); }
:focus-visible { outline: 3px solid var(--c-primaire); outline-offset: 2px; }
html.light a.button-link { min-height: 44px; font-weight: 600; }
html.light a.button-link.space-btn-filled:not(:disabled) { background: var(--c-texte); color: #fdfcfb; border-color: var(--c-texte); }
html.light a.button-link.space-btn-filled:not(:disabled):hover { background: var(--c-primaire); border-color: var(--c-primaire); color: #fdfcfb; }
html.light a.button-link.space-btn-outlined:not(:disabled) { border: 2px solid var(--c-texte); color: var(--c-texte); }

/* ───── en-tête ───── */
header.mb-entete { position: sticky; top: 0; left: 0; z-index: 50; width: 100%; padding: 0; margin: 0; }
html.light .mb-entete .mb-bandeau { position: relative; top: 0; left: 0; width: 100%; display: flex; align-items: center; gap: .75rem; padding: .4rem clamp(1rem, 4vw, 2rem); background: var(--c-voile); color: #fdfcfb; font-weight: 400; font-size: .95rem; }
html.light .mb-entete .mb-bandeau[hidden] { display: none; }
.mb-bandeau-titre { flex: none; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .8rem; color: #ffff85; }
.mb-bandeau-defile { flex: 1; min-width: 0; }
html.light .mb-entete .mb-bandeau a { color: #fdfcfb; text-decoration: none; white-space: nowrap; }
html.light .mb-entete .mb-bandeau a:hover { color: #ffff85; text-decoration: underline; }
.mb-bandeau-fermer { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; margin-block: -6px; color: #fdfcfb; }
header.mb-entete > nav.mb-nav { position: relative; max-width: 1200px; width: calc(100% - 2 * clamp(.5rem, 3vw, 2rem)); margin: .6rem auto 0; display: flex; align-items: center; justify-content: flex-start; gap: 28px; padding: .5rem 1rem .5rem 1.4rem; background: color-mix(in srgb, #fdfcfb 72%, transparent); border-radius: 999px; }
.mb-logo { display: inline-flex; flex: none; align-items: center; min-height: 44px; }
.mb-logo img { height: 52px; width: auto; max-width: none; border-radius: 0; }
.mb-menu { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; flex: 1; }
.mb-menu li:nth-last-child(2) { margin-left: auto; }
html.light .mb-menu a.mb-menu-lien { white-space: nowrap; font-weight: 600; display: inline-flex; align-items: center; min-height: 44px; }
html.light .mb-menu a.mb-actif { color: var(--c-primaire); }
.mb-recherche { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; }
.mb-contact { white-space: nowrap; }
.mb-burger { display: none; margin-left: auto; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 999px; color: var(--c-texte); }
.mb-burger-fermer { display: none; }
.mb-burger[aria-expanded="true"] .mb-burger-ouvrir { display: none; }
.mb-burger[aria-expanded="true"] .mb-burger-fermer { display: inline-flex; }
@media (max-width: 960px) {
  header.mb-entete > nav.mb-nav { gap: 12px; padding: .4rem .6rem .4rem 1rem; }
  .mb-logo img { height: 38px; }
  .mb-burger { display: inline-flex; }
  .mb-menu { display: none; position: absolute; top: calc(100% + .5rem); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: .25rem; padding: 1rem; background: #fdfcfb; border-radius: 1.5rem; box-shadow: var(--o-survol); }
  .mb-menu.mb-ouvert { display: flex; }
  .mb-menu li:nth-last-child(2) { margin-left: 0; }
  .mb-menu a { width: 100%; }
}
@media (max-width: 420px) { .mb-logo img { height: 34px; } }

/* ───── pied de page ───── */
html.light footer.mb-pied { max-width: 1100px; margin: 4rem auto 0; padding: 2.5rem clamp(1rem, 4vw, 2rem) 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; overflow: hidden; border-top: 1px solid var(--c-bord); }
.mb-pied-logo img { height: 48px; width: auto; border-radius: 0; }
.mb-pied-nav ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
html.light .mb-pied-nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; font-weight: 600; }
html.light .mb-pied p { margin: 0; color: var(--c-texte-2); }
.mb-pied-geant { font-size: clamp(4rem, 14vw, 12rem); color: var(--c-texte); margin: 0 !important; line-height: .9 !important; letter-spacing: -.02em; padding-bottom: .5rem; user-select: none; }

/* ───── pages internes ───── */
[data-usine-page="interne"] { max-width: 1160px; margin-inline: auto; padding-block: 2rem 1rem; width: 100%; }
.mb-texte { max-width: 72ch; }
.mb-texte p, .mb-texte li { line-height: 1.7; }
.mb-texte ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.5rem; }
.mb-texte h2 { margin-top: 1.5rem; }
.mb-texte a, .mb-lien { text-decoration: underline; text-underline-offset: 3px; }
.mb-surtitre { text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: .85rem; color: var(--c-primaire); margin-bottom: .25rem !important; }
.mb-chapo { font-size: 1.2rem; color: var(--c-texte-2); max-width: 72ch; }
.mb-grille { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-block: 1.5rem; }
.mb-grille-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mb-grille-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .mb-grille, .mb-grille-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .mb-grille, .mb-grille-2, .mb-grille-4 { grid-template-columns: 1fr; } }
.mb-encadre { border: 2px dotted var(--c-texte); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2rem); margin-block: 2rem; }
.mb-carte-simple { background: var(--carte-fond); border-radius: .75rem; padding: 1.5rem; }
.mb-carte-simple h2, .mb-carte-simple h3 { margin: .5rem 0; }
.mb-carte-simple p:last-child { margin-bottom: 0; }
.mb-pagination { display: flex; justify-content: center; margin-top: 2rem; }

/* cartes d’article */
.mb-carte { background: var(--carte-fond); border-radius: .75rem; overflow: hidden; transition: box-shadow .2s, transform .2s; height: 100%; }
.mb-carte:hover { box-shadow: var(--o-survol); transform: translateY(-2px); }
html.light .mb-carte a.mb-carte-lien { display: flex; flex-direction: column; height: 100%; color: var(--c-texte); text-decoration: none; }
.mb-carte img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .75rem .75rem 0 0; max-height: 480px; }
.mb-carte-corps { display: flex; flex-direction: column; gap: .4rem; padding: 1rem 1.1rem 1.2rem; }
.mb-carte-rub { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--c-primaire); }
html.light .mb-carte-titre { font-family: var(--f-texte); font-weight: 700; font-size: 1.15rem; line-height: 1.3; padding: 0; margin: 0; }
.mb-carte-grande .mb-carte-titre { font-size: clamp(1.3rem, 2.4vw, 1.7rem) !important; }
.mb-carte-resume { color: var(--c-texte-2); line-height: 1.5; }
.mb-carte-meta { font-size: .875rem; color: var(--c-texte-2); margin-top: auto; }

/* article */
.mb-article .mb-retour { margin-top: 2rem; }
.mb-tete-article { width: 100%; }
.mb-tete-article .mb-meta { color: var(--c-texte-2); }
.mb-tete-article .mb-meta a { text-decoration: underline; }

/* calculateur */
.mb-calcul { background: #fdfcfb; border: 2px dotted var(--c-texte); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2rem); max-width: 860px; margin: 1.5rem auto; }
.mb-calcul-champs { display: grid; gap: 1rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 820px) { .mb-calcul-champs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .mb-calcul-champs { grid-template-columns: 1fr; } }
.mb-calcul input { min-height: 44px; width: 100%; }
.mb-calcul-resultat { font-size: 1.3rem; font-weight: 700; margin: 0 !important; }
.mb-calcul-resultat output { color: var(--c-primaire); font-size: 1.8rem; }
.mb-calcul-lecture { color: var(--c-texte-2); margin: 0 !important; }
.mb-calcul-lien { margin: 0 !important; }
.mb-calcul-lien a { text-decoration: underline; }

/* formulaire */
.mb-form { display: grid; gap: 1rem; }
.mb-form label { display: grid; gap: .35rem; font-weight: 600; }
.mb-form input, .mb-form textarea, .mb-form select { font: inherit; min-height: 44px; padding: .6rem .9rem; border-radius: 12px; border: 1.5px solid #8a7f78; background: #fff; color: var(--c-texte); }
.mb-form textarea { min-height: 160px; }
.mb-form .mb-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mb-form button { justify-self: start; }
.mb-form .mb-consentement { font-weight: 400; }
.mb-form .mb-consentement input { min-height: 0; width: 1.2rem; height: 1.2rem; vertical-align: middle; margin-right: .4rem; accent-color: #90393a; }
.mb-message { padding: 1rem 1.25rem; border-radius: .75rem; font-weight: 600; }
.mb-message-ok { background: #e3f0e1; color: #1d4a1a; }
.mb-message-erreur { background: #f6dede; color: #6d1f20; }
.mb-message[hidden] { display: none; }
.mb-coordonnees { list-style: none; padding: 0; display: grid; gap: .75rem; }
div.mb-coordonnees { display: flex; flex-direction: column; justify-content: flex-start; gap: 18px; align-self: start; height: auto; background: var(--carte-fond, #fdfcfb); border-radius: .75rem; padding: 1.5rem; }
div.mb-coordonnees h2 { margin: 0; padding: 0; }
div.mb-coordonnees p { display: flex; flex-direction: row; align-items: flex-start; gap: .75rem; margin: 0 !important; }
div.mb-coordonnees p svg { display: inline-block; flex: none; color: var(--c-primaire); margin-top: .2rem; }
.mb-coordonnees li { display: flex; gap: .6rem; align-items: flex-start; }
.mb-coordonnees svg { flex: none; color: var(--c-primaire); margin-top: .15rem; }

/* auteurs */
.mb-portrait { width: 160px; height: 160px; object-fit: cover; border-radius: 999px; }
.mb-profil { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.mb-profil > div { flex: 1 1 300px; }
.mb-equipe-carte { display: flex; flex-direction: column; align-items: center; text-align: center; }
.mb-equipe-carte img { width: 128px; height: 128px; object-fit: cover; border-radius: 999px; }

/* étapes services */
.mb-etapes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; margin-block: 2rem; }
.mb-etapes ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.mb-etapes [data-etape] { padding: 1rem 1.25rem; border-radius: .75rem; background: var(--carte-fond); }
.mb-etapes [data-etape] h3 { margin: 0 0 .3rem; }
.mb-etapes [data-etape] p { margin: 0; }
.mb-etapes img { width: 100%; max-height: 480px; object-fit: cover; }
@media (max-width: 760px) { .mb-etapes { grid-template-columns: 1fr; } }
.mb-icone { color: var(--c-primaire); }

/* ───── accueil ───── */
.bh-3aaf-accueil { display: flex; flex-direction: column; gap: clamp(3.5rem, 7vw, 6rem); padding-bottom: 2rem; }
.bh-3aaf-bloc { width: 100%; max-width: 1100px; margin-inline: auto; }
.bh-3aaf-titre { text-align: center; margin: 0 0 1.75rem; }
.bh-3aaf-intro { text-align: center; color: var(--c-texte-2); margin: -1rem auto 1.5rem !important; max-width: 60ch; }
.bh-3aaf-centre { text-align: center; margin-top: 1.5rem; }
.bh-3aaf-grille3 { display: grid; gap: 1.5rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bh-3aaf-grille2 { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .bh-3aaf-grille3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .bh-3aaf-grille2 { grid-template-columns: 1fr; } }

/* héros */
.bh-3aaf-hero { width: calc(100% + 2 * clamp(1rem, 4vw, 2rem)); margin-inline: calc(-1 * clamp(1rem, 4vw, 2rem)); min-height: calc(100svh - var(--h-entete, 122px)); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: 2rem max(clamp(1rem, 4vw, 2rem), calc((100% - 1200px) / 2)); }
.bh-3aaf-hero-texte { display: flex; flex-direction: column; justify-content: center; }
.bh-3aaf-surtitre { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .9rem; color: var(--c-primaire); margin: 0 0 .5rem !important; }
.bh-3aaf-hero h1 { margin: 0; padding: 0; }
.bh-3aaf-chapo { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--c-texte-2); margin: 1rem 0 0 !important; max-width: 50ch; }
.bh-3aaf-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.bh-3aaf-mosaique { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: .9rem; height: min(480px, 62svh); }
.bh-3aaf-mosaique a { position: relative; display: block; overflow: hidden; border-radius: .75rem; }
.bh-3aaf-m1 { grid-row: 1 / 3; }
.bh-3aaf-mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bh-3aaf-mosaique a:hover img { transform: scale(1.04); }
html.light .bh-3aaf-mosaique a span { position: absolute; left: .6rem; bottom: .6rem; background: rgba(28, 25, 23, .85); color: #fdfcfb; font-weight: 600; font-size: .9rem; padding: .3rem .8rem; border-radius: 999px; }
@media (max-width: 860px) {
  .bh-3aaf-hero { grid-template-columns: 1fr; grid-template-rows: auto auto; height: auto; min-height: 0; align-content: start; align-items: start; padding-block: 1.25rem 1.5rem; gap: 24px; overflow: hidden; }
  .bh-3aaf-hero-texte { justify-content: flex-start; }
  .bh-3aaf-mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; min-height: 0; max-height: none; align-self: start; width: 100%; }
  .bh-3aaf-mosaique a { min-height: 0; height: auto; aspect-ratio: 3 / 4; }
  .bh-3aaf-m1 { display: none !important; }
  .bh-3aaf-mosaique img { height: 100%; max-height: none; }
  .bh-3aaf-hero { height: calc(100svh - var(--h-entete, 111px)); min-height: 0; grid-template-rows: auto minmax(0, 1fr); }
}
@media (min-width: 481px) and (max-width: 860px) {
  .bh-3aaf-mosaique { height: 100%; align-self: stretch; grid-template-rows: minmax(0, 1fr); }
  .bh-3aaf-mosaique a { aspect-ratio: auto; height: 100%; }
}

/* à la une */
.bh-3aaf-une { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.5rem; }
.bh-3aaf-une-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.bh-3aaf-une-liste .mb-carte img { aspect-ratio: 16 / 9; }
.bh-3aaf-une-liste .mb-carte-titre { font-size: 1rem !important; }
.bh-3aaf-une .mb-carte-grande img { aspect-ratio: 4 / 3; max-height: 480px; }
@media (max-width: 900px) { .bh-3aaf-une { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .bh-3aaf-une-liste { grid-template-columns: 1fr; } }

/* rubriques */
.bh-3aaf-rubriques { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.bh-3aaf-rub { position: relative; display: block; border-radius: .75rem; overflow: hidden; }
.bh-3aaf-rub img { width: 100%; aspect-ratio: 4 / 5; max-height: 420px; object-fit: cover; display: block; }
.bh-3aaf-rub-voile { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; padding: 1.25rem; background: linear-gradient(0deg, rgba(28, 25, 23, .9) 0%, rgba(28, 25, 23, .7) 60%, rgba(28, 25, 23, 0) 100%); }
html.light .bh-3aaf-rub .bh-3aaf-rub-nom { font-family: var(--f-titre); font-size: 1.7rem; color: #fdfcfb; }
html.light .bh-3aaf-rub .bh-3aaf-rub-compte { color: #fdfcfb; font-weight: 600; }
@media (max-width: 760px) { .bh-3aaf-rubriques { grid-template-columns: 1fr; } .bh-3aaf-rub img { aspect-ratio: 16 / 9; } }

/* méthode */
.bh-3aaf-methode { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 2rem; align-items: center; border: 2px dotted var(--c-texte); border-radius: 1rem; padding: clamp(1.25rem, 3vw, 2.5rem); }
.bh-3aaf-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; width: 100%; }
.bh-3aaf-methode-anim { width: 100%; max-width: 200px; background: #e2d1c3; border-radius: .75rem; overflow: hidden; padding: .5rem; }
.bh-3aaf-lottie-rendu svg { background: transparent !important; display: block; }
.bh-3aaf-lottie-repli { color: var(--c-primaire); display: flex; justify-content: center; }
.bh-3aaf-points li { display: flex; flex-direction: column; gap: .5rem; }
.bh-3aaf-points svg { color: var(--c-primaire); width: 32px; height: 32px; }
.bh-3aaf-points h3 { margin: 0; }
.bh-3aaf-points p { margin: 0; color: var(--c-texte-2); }
@media (max-width: 900px) { .bh-3aaf-methode { grid-template-columns: 1fr; } .bh-3aaf-methode-anim { max-width: 160px; } .bh-3aaf-points { grid-template-columns: 1fr; } }

/* auteurs */
.bh-3aaf-auteurs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
html.light a.bh-3aaf-auteur { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .3rem; padding: 1.25rem; border-radius: .75rem; background: var(--carte-fond); }
.bh-3aaf-auteur img { width: 120px; height: 120px; object-fit: cover; border-radius: 999px; margin-bottom: .5rem; }
.bh-3aaf-auteur-nom { font-weight: 700; font-size: 1.1rem; }
.bh-3aaf-auteur-role { color: var(--c-texte-2); font-size: .95rem; }
@media (max-width: 900px) { .bh-3aaf-auteurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* bascule */
[data-usine-bloc="bascule"] { text-align: center; }
[data-usine-bloc="bascule"] .bh-3aaf-grille3 { text-align: left; margin-top: 1.5rem; }
html.light .bh-3aaf-interrupteur [data-choix].kv-actif { background: var(--c-texte); color: #fdfcfb; }
html.light [data-bascule] .mb-carte:not(.kv-en-avant) { display: none; }
html.light [data-bascule] .mb-carte.kv-en-avant { transform: none; outline: none; box-shadow: none; }
.bh-3aaf-accueil:not(.kv-js *) [data-bascule] .mb-carte[data-met-en-avant="tendance"] { display: block; }

/* exergue */
.bh-3aaf-exergue { margin: 0 auto; max-width: 900px; text-align: center; background: var(--c-voile); color: #fdfcfb; border-radius: 1.25rem; padding: clamp(2rem, 5vw, 3.5rem); }
html.light .bh-3aaf-exergue blockquote p { font-family: var(--f-titre); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; color: #fdfcfb; margin: 0 0 1rem; }
html.light .bh-3aaf-exergue figcaption, html.light .bh-3aaf-exergue figcaption a { color: #fdfcfb; }
html.light .bh-3aaf-exergue figcaption a { text-decoration: underline; }
.bh-3aaf-exergue-icone { display: inline-flex; color: #fdfcfb; margin-bottom: 1rem; }
html.light .bh-3aaf-exergue blockquote { margin: 0; padding: 0; border: 0; height: auto; max-height: none; overflow: visible; display: flow-root; }
html.light .bh-3aaf-exergue blockquote::before, html.light .bh-3aaf-exergue blockquote::after { content: none; }
html.light .bh-3aaf-exergue blockquote p { margin: 0; line-height: 1.6; padding-block: .15em; }
.bh-3aaf-exergue figcaption { margin-top: 1rem; }
@media (max-width: 600px) { .bh-3aaf-exergue { padding: 2rem 1rem; } }
.bh-3aaf-contact-icone { display: inline-flex; color: var(--c-primaire); flex: none; }
/* « À lire aussi » en cartes : colonnes de 324 px minimum (texte >= 300 px une fois le rembourrage retiré) */
html body .ka-lies--cartes .ka-lies-liste { grid-template-columns: repeat(auto-fit, minmax(min(100%, 324px), 1fr)); }
html.light .bh-3aaf-exergue figcaption a:hover { color: #ffff85; }

/* onglets */
.bh-3aaf-onglets { text-align: center; }
html.light .bh-3aaf-onglets [data-onglet][aria-selected="true"] { background: var(--c-texte); color: #fdfcfb; }
.bh-3aaf-onglets [data-onglet] { min-height: 44px; }
.bh-3aaf-onglets-corps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; text-align: left; margin-top: 1.5rem; }
.bh-3aaf-onglets-corps img { width: 100%; max-height: 400px; object-fit: cover; }
.bh-3aaf-onglets-corps h3 { margin: 0 0 .5rem; font-size: 1.4rem; }
.bh-3aaf-onglets-corps a { text-decoration: underline; font-weight: 600; }
.bh-3aaf-onglets [data-panneau][hidden] { display: none; }
@media (max-width: 760px) { .bh-3aaf-onglets-corps { grid-template-columns: 1fr; } }

/* parcours */
.bh-3aaf-parcours { list-style: none; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: .75rem; }
html.light .bh-3aaf-parcours a { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-radius: .75rem; background: var(--carte-fond); }
.bh-3aaf-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; background: var(--c-texte); color: #fdfcfb; font-weight: 700; }
.bh-3aaf-parcours-txt { display: flex; flex-direction: column; }
.bh-3aaf-parcours-txt span { color: var(--c-texte-2); font-size: .9rem; }

/* services */
html.light a.bh-3aaf-service { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem; border-radius: .75rem; background: var(--carte-fond); transition: box-shadow .2s; }
a.bh-3aaf-service:hover { box-shadow: var(--o-survol); }
.bh-3aaf-service svg { color: var(--c-primaire); }
.bh-3aaf-service h3 { margin: 0; }
.bh-3aaf-service p { margin: 0; color: var(--c-texte-2); }

/* chiffres */
.bh-3aaf-chiffres { list-style: none; margin: 0; padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; background: var(--c-voile); border-radius: 1.25rem; text-align: center; }
.bh-3aaf-chiffres li { display: flex; flex-direction: column; gap: .3rem; color: #fdfcfb; font-size: 1rem; }
.bh-3aaf-chiffre { font-family: var(--f-titre); font-size: clamp(1.8rem, 4vw, 2.8rem); color: #f4ece6; line-height: 1.1; }
@media (max-width: 760px) { .bh-3aaf-chiffres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* faq */
.bh-3aaf-faq { max-width: 820px; margin: 0 auto; display: grid; gap: .75rem; }
.bh-3aaf-faq details { background: var(--carte-fond); border-radius: .75rem; padding: 0 1.25rem; }
.bh-3aaf-faq summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; padding: .75rem 0; }
.bh-3aaf-faq details p { margin: 0 0 1rem; color: var(--c-texte-2); }
.bh-3aaf-faq details a { text-decoration: underline; }

/* archives */
.bh-3aaf-archives { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 2rem; }
html.light .bh-3aaf-archives a { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .8rem 0; border-bottom: 1px solid var(--c-bord); min-height: 44px; }
.bh-3aaf-archives small { color: var(--c-texte-2); white-space: nowrap; }
@media (max-width: 760px) { .bh-3aaf-archives { grid-template-columns: 1fr; } }

/* contact */
.bh-3aaf-contact { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; background: var(--c-voile); color: #fdfcfb; border-radius: 2rem; padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 3rem); }
html.light .bh-3aaf-contact h2 { color: #fdfcfb; margin: 0; padding: 0; text-align: left; }
.bh-3aaf-contact p { margin: .5rem 0 0 !important; color: #fdfcfb; }
html.light .bh-3aaf-contact a.button-link.space-btn-filled:not(:disabled) { background: #fdfcfb; color: var(--c-texte); border-color: #fdfcfb; }
html.light .bh-3aaf-contact a.button-link.space-btn-filled:not(:disabled):hover { background: #ffff85; border-color: #ffff85; }

/* faq : chevron Lucide qui pivote à l’ouverture */
[data-usine-bloc="faq"] .bh-3aaf-faq summary { justify-content: space-between; gap: 1rem; list-style: none; }
[data-usine-bloc="faq"] .bh-3aaf-faq summary::-webkit-details-marker { display: none; }
[data-usine-bloc="faq"] .bh-3aaf-faq-chevron { flex: none; color: var(--c-primaire); transition: transform .25s; }
[data-usine-bloc="faq"] .bh-3aaf-faq details[open] .bh-3aaf-faq-chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { [data-usine-bloc="faq"] .bh-3aaf-faq-chevron { transition: none; } }
/* contact home : bloc centré, icône dans une pastille sable au trait bordeaux */
[data-usine-bloc="contact"] .bh-3aaf-contact { flex-direction: column; justify-content: flex-start; text-align: center; gap: 1.25rem; }
html.light [data-usine-bloc="contact"] .bh-3aaf-contact h2 { text-align: center; }
[data-usine-bloc="contact"] .bh-3aaf-contact-icone { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 999px; background: #f4ece6; color: #90393a; }
