@charset "UTF-8";
/*
Theme Name: Batinex
Theme URI: https://batinex.fr
Description: Le carnet de réserves : magazine des travaux du bâtiment. Thème écrit pour batinex.fr.
Version: 1.1.1
Text Domain: batinex
*/

/* ---------------------------------------------------------------
   Fontes auto-hébergées : Khand (titres) et Author (texte)
   --------------------------------------------------------------- */
@font-face { font-family: "Khand"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/kq4n7.woff2) format("woff2"); }
@font-face { font-family: "Khand"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/kq5n7.woff2) format("woff2"); }
@font-face { font-family: "Khand"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/kq6n7.woff2) format("woff2"); }
@font-face { font-family: "Author"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/au4r2.woff2) format("woff2"); }
@font-face { font-family: "Author"; font-style: italic; font-weight: 400; font-display: swap; src: url(assets/fonts/au4i2.woff2) format("woff2"); }
@font-face { font-family: "Author"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/au5r2.woff2) format("woff2"); }
@font-face { font-family: "Author"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/au7r2.woff2) format("woff2"); }

/* ---------------------------------------------------------------
   Jetons
   --------------------------------------------------------------- */
:root {
    --bnx-blanc: #ffffff;
    --bnx-encre: #15191e;
    --bnx-encre-2: #3a424c;
    --bnx-gris: #5f6873;
    --bnx-filet: #d9dee4;
    --bnx-filet-fort: #b4bcc6;
    --bnx-fond-2: #f4f6f8;
    --bnx-bleu: #0b6fb8;
    --bnx-bleu-texte: #0a5e9c;
    --bnx-bleu-sombre: #084d81;
    --bnx-bleu-pale: #e8f2fa;
    --bnx-bleu-clair: #9cc9ee;
    --bnx-accent: var(--bnx-bleu);
    --bnx-titre: "Khand", "Arial Narrow", "Roboto Condensed", sans-serif;
    --bnx-texte: "Author", "Trebuchet MS", "Segoe UI", sans-serif;
    --bnx-cadre: 1160px;
    --bnx-mesure: 41rem;
    --bnx-gouttiere: clamp(16px, 4vw, 40px);
    --bnx-respire: clamp(72px, 10vw, 140px);
    --bnx-entete: 72px;
    --bnx-courbe: cubic-bezier(0.16, 1, 0.3, 1);
    --bnx-duree: 0.6s;
}

/* ---------------------------------------------------------------
   Base
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--bnx-filet-fort) var(--bnx-blanc); }
body {
    margin: 0;
    background: var(--bnx-blanc);
    color: var(--bnx-encre);
    font-family: var(--bnx-texte);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    caret-color: var(--bnx-bleu);
    overflow-x: clip;
}
body.bnx-menu-ouvert { overflow: hidden; }
::selection { background: var(--bnx-bleu-pale); color: var(--bnx-encre); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: var(--bnx-filet-fort); border: 2px solid var(--bnx-blanc); }
::-webkit-scrollbar-track { background: var(--bnx-blanc); }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--bnx-titre); font-weight: 600; line-height: 0.95; letter-spacing: -0.005em; text-wrap: balance; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bnx-bleu); outline-offset: 3px; }
.bnx-saut { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 8px 14px; background: var(--bnx-encre); color: var(--bnx-blanc); }
.bnx-saut:focus { left: 8px; }

.bnx-cadre { width: min(var(--bnx-cadre), 100% - 2 * var(--bnx-gouttiere)); margin-inline: auto; }
.bnx-section { padding-block: var(--bnx-respire); }
.bnx-picto { width: 24px; height: 24px; flex: none; }
.bnx-picto--cercle { width: 44px; height: 44px; }

/* Révélation : masqué SEULEMENT si le JS est là, et toujours lisible à terme. */
[data-bnx-reveal] { transition: opacity var(--bnx-duree) var(--bnx-courbe), transform calc(var(--bnx-duree) + 0.15s) var(--bnx-courbe); }
html.bnx-js [data-bnx-reveal]:not(.est-pose) { opacity: 0; transform: translateY(-12px); }
/* Cadence d'épinglage : sibling-index() (Chrome 138+) donne le rang sans nth-child ;
   un navigateur qui l'ignore pose tout d'un coup, rien n'est perdu. Plafonnée à 300 ms. */
.bnx-reserves-liste > li, .bnx-legende-liste > li, .bnx-voisins-grille > article {
    transition-delay: min(calc((sibling-index() - 1) * 60ms), 300ms);
}
/* Les titres Khand perdent leur blanc d'interlignage au-dessus et en dessous (text-box-trim). */
h1, h2, .bnx-cartouche dt { text-box: trim-both cap alphabetic; }
[data-bnx-parallaxe] { will-change: transform; }

/* ---------------------------------------------------------------
   Boutons et liens
   --------------------------------------------------------------- */
.bnx-bouton {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px;
    background: var(--bnx-bleu); color: var(--bnx-blanc);
    font-weight: 500; font-size: 1rem; line-height: 1.2;
    border: 1px solid var(--bnx-bleu);
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.bnx-bouton .bnx-picto { width: 20px; height: 20px; transition: transform 0.3s var(--bnx-courbe); }
.bnx-bouton:hover { background: var(--bnx-bleu-sombre); border-color: var(--bnx-bleu-sombre); }
.bnx-bouton:hover .bnx-picto { transform: translateX(4px); }
.bnx-bouton--ligne { background: transparent; color: var(--bnx-encre); border-color: var(--bnx-encre); }
.bnx-bouton--ligne:hover { background: var(--bnx-encre); border-color: var(--bnx-encre); color: var(--bnx-blanc); }

.bnx-lien-souligne, .entry-content a, .bnx-signature a, .bnx-ap-liste a, .bnx-plan-site a {
    color: var(--bnx-bleu-texte);
    text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em;
    text-decoration-color: color-mix(in srgb, var(--bnx-bleu-texte) 45%, transparent);
    transition: text-decoration-color 0.2s;
}
.entry-content a:hover, .bnx-signature a:hover, .bnx-ap-liste a:hover, .bnx-plan-site a:hover { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------
   En-tête
   --------------------------------------------------------------- */
.bnx-entete {
    position: sticky; top: 0; z-index: 50;
    height: var(--bnx-entete);
    background: var(--bnx-blanc);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.bnx-entete.est-defile { border-color: var(--bnx-filet); box-shadow: 0 12px 28px -22px rgba(21, 25, 30, 0.35); }
.bnx-entete-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.bnx-marque svg { height: 30px; width: auto; }
.bnx-nav { display: flex; align-items: center; gap: 32px; }
.bnx-nav-haut { display: none; }
.bnx-nav-liens { display: flex; gap: 26px; }
.bnx-nav-liens a {
    position: relative; display: inline-block; padding: 6px 0;
    font-weight: 500; font-size: 0.95rem; color: var(--bnx-encre-2);
    transition: color 0.2s;
}
.bnx-nav-liens a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: var(--bnx-bleu); transform: scaleX(0); transform-origin: left;
    transition: transform 0.3s var(--bnx-courbe);
}
.bnx-nav-liens a:hover, .bnx-nav-liens a[aria-current] { color: var(--bnx-encre); }
.bnx-nav-liens a:hover::after { transform: scaleX(1); }
.bnx-nav-outils { display: flex; align-items: center; gap: 16px; }
.bnx-nav-recherche { display: inline-flex; padding: 6px; color: var(--bnx-encre-2); transition: color 0.2s; }
.bnx-nav-recherche .bnx-picto { width: 20px; height: 20px; }
.bnx-nav-recherche:hover { color: var(--bnx-bleu); }
.bnx-nav-contact {
    display: inline-flex; align-items: center; padding: 9px 16px;
    border: 1px solid var(--bnx-encre); font-weight: 500; font-size: 0.95rem;
    transition: background-color 0.2s, color 0.2s;
}
.bnx-nav-contact:hover { background: var(--bnx-encre); color: var(--bnx-blanc); }
.bnx-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
.bnx-nav-close { display: none; }

/* ---------------------------------------------------------------
   Ouverture : le plan pointé
   --------------------------------------------------------------- */
.bnx-ouverture {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: center;
    padding-block: clamp(40px, 5vw, 72px);
}
.bnx-ouverture-fond { position: absolute; inset: -16% 0; z-index: -3; }
.bnx-ouverture-fond img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.bnx-ouverture-voile {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, var(--bnx-blanc) 100%),
        linear-gradient(90deg, var(--bnx-blanc) 0%, var(--bnx-blanc) 40%, rgba(255, 255, 255, 0.9) 54%, rgba(255, 255, 255, 0.38) 72%, rgba(255, 255, 255, 0.18) 100%);
}
.bnx-ouverture-inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.bnx-ouverture-texte { grid-column: 1 / 8; }
.bnx-ouverture h1 {
    font-size: clamp(2.5rem, 4.7vw, 4.375rem);
    line-height: 0.94; letter-spacing: -0.01em;
}
/* La rangée à filets sous le titre : appui bleu et bouton, filet vertical, texte courant. */
.bnx-ouverture-filets { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); margin-top: 28px; border-top: 1px solid var(--bnx-encre); }
.bnx-ouverture-filets > * { padding-top: 20px; }
.bnx-ouverture-cell { border-left: 1px solid var(--bnx-filet-fort); padding-left: 28px; margin-left: 28px; }
.bnx-ouverture-ligne { font-family: var(--bnx-titre); font-weight: 500; font-size: clamp(1.375rem, 1.9vw, 1.75rem); line-height: 1.02; color: var(--bnx-bleu-texte); margin: 0 0 22px; text-wrap: balance; }
.bnx-ouverture-sous { font-size: 1.0625rem; line-height: 1.55; color: var(--bnx-encre-2); margin: 0; }
.bnx-ouverture-actions { margin: 0; }
.bnx-plan-bloc { grid-column: 8 / 13; }
.bnx-plan {
    margin: 0; padding: 16px 16px 12px;
    background: var(--bnx-blanc);
    border: 1px solid var(--bnx-filet);
    box-shadow: 0 32px 64px -36px rgba(21, 25, 30, 0.45), 0 2px 6px -2px rgba(21, 25, 30, 0.12);
}
.bnx-plan svg { width: 100%; height: auto; overflow: visible; }
.bnx-plan-legende { margin-top: 12px; font-size: 0.8125rem; color: var(--bnx-gris); line-height: 1.4; }
.bnx-plan--petit { padding: 16px; box-shadow: none; }

/* Épingles */
.bnx-epingle { transform-box: fill-box; transform-origin: 50% 100%; transition: transform 0.6s var(--bnx-courbe), opacity 0.35s ease; }
html.bnx-js .bnx-epingle:not(.est-pose) { opacity: 0; transform: translateY(-22px); }
.bnx-epingle-corps { fill: var(--bnx-bleu); transition: fill 0.25s; }
.bnx-epingle-ombre { fill: rgba(21, 25, 30, 0.28); }
.bnx-epingle-halo { fill: none; stroke: var(--bnx-bleu); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.bnx-epingle-folio rect { fill: var(--bnx-blanc); stroke: var(--bnx-encre); stroke-width: 0.8; transition: fill 0.25s; }
.bnx-epingle-folio text { fill: var(--bnx-encre); transition: fill 0.25s; }
/* Sujet sans article publié : la tête de l'épingle est au trait pointillé, pas pleine. */
.bnx-epingle--a-venir .bnx-epingle-corps { fill: var(--bnx-blanc); stroke: var(--bnx-bleu); stroke-width: 1.4; stroke-dasharray: 3 2; }
.bnx-epingle--a-venir .bnx-epingle-picto { stroke: var(--bnx-bleu); }
.bnx-epingle.est-active .bnx-epingle-corps, .bnx-epingle.est-active .bnx-epingle-folio rect { fill: var(--bnx-encre); }
.bnx-epingle--a-venir.est-active .bnx-epingle-corps { fill: var(--bnx-encre); stroke: var(--bnx-encre); stroke-dasharray: none; }
.bnx-epingle--a-venir.est-active .bnx-epingle-picto { stroke: var(--bnx-blanc); }
.bnx-epingle.est-active .bnx-epingle-folio text { fill: var(--bnx-blanc); }
.bnx-epingle.est-active .bnx-epingle-halo { animation: bnx-halo 1.1s var(--bnx-courbe) infinite; }
@keyframes bnx-halo {
    0%   { opacity: 0.8; transform: scale(1); }
    100% { opacity: 0; transform: scale(2.1); }
}

/* Cartouche de relevés */
.bnx-cartouche { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 24px; margin: 0; padding: 16px 20px 18px; background: var(--bnx-blanc); border: 1px solid var(--bnx-filet); border-top: 1px solid var(--bnx-encre); }
.bnx-cartouche div { display: flex; flex-direction: column; gap: 2px; }
.bnx-cartouche dt { font-family: var(--bnx-titre); font-weight: 600; font-size: 2.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.bnx-cartouche dt b { font-weight: inherit; }
.bnx-cartouche dd { margin: 0; font-size: 0.875rem; color: var(--bnx-gris); }

/* ---------------------------------------------------------------
   Bande photo pleine largeur : la profondeur, sans voile
   --------------------------------------------------------------- */
.bnx-bande { position: relative; isolation: isolate; overflow: hidden; height: clamp(360px, 58vh, 640px); }
.bnx-bande-fond { position: absolute; inset: -30% 0; z-index: -1; }
.bnx-bande-fond img { width: 100%; height: 100%; object-fit: cover; }
.bnx-bande-pied { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }
.bnx-bande-legende { display: inline-flex; align-items: baseline; gap: 14px; margin: 0; padding: 12px 16px; background: var(--bnx-blanc); border-top: 1px solid var(--bnx-encre); font-size: 0.9rem; color: var(--bnx-encre-2); }
.bnx-bande-legende span { font-family: var(--bnx-titre); font-weight: 500; font-size: 1.125rem; line-height: 1; color: var(--bnx-bleu-texte); white-space: nowrap; }

/* ---------------------------------------------------------------
   Têtes de section
   --------------------------------------------------------------- */
.bnx-tete { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid var(--bnx-encre); }
.bnx-tete h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.bnx-tete-note { margin: 0; font-size: 0.95rem; color: var(--bnx-gris); max-width: 46ch; }
.bnx-section h2:not(.bnx-tete h2) { font-size: clamp(1.75rem, 3vw, 2.5rem); }

/* ---------------------------------------------------------------
   Les réserves (liste des articles)
   --------------------------------------------------------------- */
.bnx-reserves-liste { border-bottom: 1px solid var(--bnx-filet); }
.bnx-reserve {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 40px; align-items: start;
    padding: 40px 0; border-top: 1px solid var(--bnx-filet);
}
.bnx-reserve-ancre { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.bnx-reserve-folio {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 48px; height: 34px; padding: 0 10px;
    font-family: var(--bnx-titre); font-weight: 600; font-size: 1.5rem; line-height: 1;
    color: var(--bnx-bleu-texte); border: 1px solid var(--bnx-filet-fort);
    font-variant-numeric: tabular-nums; transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.bnx-reserve--derniere .bnx-reserve-folio, .bnx-reserve:hover .bnx-reserve-folio { background: var(--bnx-bleu); border-color: var(--bnx-bleu); color: var(--bnx-blanc); }
.bnx-reserve-picto { color: var(--bnx-encre); }
.bnx-reserve-corps h2, .bnx-reserve-corps h3 { font-size: clamp(1.625rem, 2.6vw, 2.25rem); font-weight: 500; line-height: 1.02; margin-bottom: 12px; }
.bnx-reserve-corps h2 a, .bnx-reserve-corps h3 a { transition: color 0.2s; }
.bnx-reserve:hover .bnx-reserve-corps a { color: var(--bnx-bleu-texte); }
.bnx-reserve-extrait { color: var(--bnx-encre-2); font-size: 1rem; max-width: 44ch; margin-bottom: 12px; }
.bnx-cartouche-ligne { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; font-size: 0.8125rem; color: var(--bnx-gris); }
.bnx-cartouche-ligne > * { position: relative; }
.bnx-cartouche-ligne > * + *::before { content: ""; position: absolute; left: -11px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--bnx-filet-fort); transform: translateY(-50%); }
.bnx-reserve-vue { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bnx-fond-2); }
.bnx-reserve-vue img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--bnx-courbe); }
.bnx-reserve:hover .bnx-reserve-vue img { transform: scale(1.03); }
.bnx-archive-note { margin-bottom: 20px; }

.bnx-vide { max-width: 60ch; padding: 40px; border: 1px solid var(--bnx-filet); }
.bnx-vide-titre { font-family: var(--bnx-titre); font-weight: 600; font-size: 2rem; line-height: 1; margin-bottom: 0.5em; }
.bnx-vide p:not(.bnx-vide-titre) { color: var(--bnx-encre-2); }

/* ---------------------------------------------------------------
   Légende du carnet
   --------------------------------------------------------------- */
.bnx-legende-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: start; }
.bnx-legende-liste { border-bottom: 1px solid var(--bnx-filet); }
.bnx-legende-liste li {
    display: grid; grid-template-columns: 40px 44px minmax(0, 1fr); gap: 20px; align-items: center;
    padding: 18px 12px 18px 0; border-top: 1px solid var(--bnx-filet); cursor: default;
    transition: background-color 0.25s, box-shadow 0.25s;
}
.bnx-legende-liste li:hover, .bnx-legende-liste li:focus-visible { background: var(--bnx-bleu-pale); box-shadow: -12px 0 0 var(--bnx-bleu-pale); outline-offset: -2px; }
.bnx-legende-liste li > * { transition: transform 0.35s var(--bnx-courbe); }
.bnx-legende-liste li:hover > *, .bnx-legende-liste li:focus-visible > * { transform: translateX(8px); }
.bnx-legende-folio { font-family: var(--bnx-titre); font-weight: 600; font-size: 1.25rem; color: var(--bnx-bleu-texte); font-variant-numeric: tabular-nums; }
.bnx-legende-picto { color: var(--bnx-encre); }
.bnx-legende-texte { display: flex; flex-direction: column; gap: 2px; }
.bnx-legende-texte strong { font-family: var(--bnx-titre); font-weight: 500; font-size: 1.375rem; line-height: 1; }
.bnx-legende-texte span { font-size: 0.95rem; color: var(--bnx-encre-2); }
.bnx-legende-plan { position: sticky; top: calc(var(--bnx-entete) + 24px); }

/* ---------------------------------------------------------------
   La rédaction
   --------------------------------------------------------------- */
.bnx-redaction { border-top: 1px solid var(--bnx-filet); }
.bnx-redaction-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; }
.bnx-redaction-tete h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 8px; }
.bnx-redaction-role { font-weight: 500; color: var(--bnx-bleu-texte); margin-bottom: 1.2em; }
.bnx-redaction-note { color: var(--bnx-gris); font-size: 0.95rem; max-width: 36ch; }
.bnx-redaction-bio { font-size: 1.0625rem; color: var(--bnx-encre-2); margin-bottom: 28px; }
.bnx-redaction-bio p { margin-bottom: 1em; }
.bnx-redaction-bio strong { color: var(--bnx-encre); font-weight: 500; }

/* ---------------------------------------------------------------
   Rubrique : la région bleue
   --------------------------------------------------------------- */
.bnx-rubrique { background: var(--bnx-bleu); color: var(--bnx-blanc); }
.bnx-rubrique h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 32px; }
.bnx-rubrique-liste { border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
.bnx-rubrique-liste a {
    display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 24px; align-items: center;
    padding: 28px 0; border-top: 1px solid rgba(255, 255, 255, 0.35);
}
.bnx-rubrique-picto { color: var(--bnx-blanc); }
.bnx-rubrique-texte { display: flex; flex-direction: column; gap: 4px; }
.bnx-rubrique-texte strong { font-family: var(--bnx-titre); font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1; }
.bnx-rubrique-texte span { color: rgba(255, 255, 255, 0.94); max-width: 62ch; }
.bnx-rubrique-compte { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; white-space: nowrap; }
.bnx-rubrique-compte .bnx-picto { width: 20px; height: 20px; transition: transform 0.3s var(--bnx-courbe); }
.bnx-rubrique-liste a:hover .bnx-rubrique-compte .bnx-picto { transform: translateX(6px); }
.bnx-rubrique-liste a:hover .bnx-rubrique-texte strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }
.bnx-rubrique :focus-visible { outline-color: var(--bnx-blanc); }

/* ---------------------------------------------------------------
   Coiffe des pages intérieures
   --------------------------------------------------------------- */
.bnx-coiffe {
    position: relative; isolation: isolate; overflow: hidden;
    display: flex; align-items: flex-end;
    min-height: 44vh; padding: 120px 0 48px;
    background: var(--bnx-encre); color: var(--bnx-blanc);
}
.bnx-coiffe--article { min-height: 62vh; }
.bnx-coiffe--uni { min-height: 0; padding-top: 72px; }
.bnx-coiffe-fond { position: absolute; inset: -16% 0; z-index: -2; }
.bnx-coiffe-fond img { width: 100%; height: 100%; object-fit: cover; }
.bnx-coiffe-voile { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21, 25, 30, 0.55) 0%, rgba(21, 25, 30, 0.72) 60%, rgba(21, 25, 30, 0.86) 100%); }
.bnx-fil { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font-size: 0.875rem; color: rgba(255, 255, 255, 0.82); }
.bnx-fil a { transition: color 0.2s; }
.bnx-fil a:hover { color: var(--bnx-blanc); text-decoration: underline; text-underline-offset: 0.2em; }
.bnx-fil-sep { color: rgba(255, 255, 255, 0.5); }
.bnx-fil-courant { color: rgba(255, 255, 255, 0.62); }
.bnx-coiffe-titre { display: flex; align-items: flex-start; gap: 20px; }
.bnx-coiffe-picto { color: var(--bnx-blanc); margin-top: 6px; }
.bnx-coiffe h1 { font-size: clamp(2.5rem, 5.2vw, 4.5rem); line-height: 0.94; max-width: 20ch; color: var(--bnx-blanc); }
.bnx-coiffe--article h1 { max-width: 24ch; }
.bnx-coiffe-desc { margin-top: 18px; max-width: 60ch; font-size: 1.0625rem; color: #fff !important; }
.bnx-coiffe-desc p { color: #fff !important; margin: 0; }
.archive-hero-desc, .archive-hero-desc p { color: #fff !important; }
.bnx-coiffe-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin: 18px 0 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
.bnx-badge {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.55); font-size: 0.875rem; font-weight: 500; color: var(--bnx-blanc);
    transition: background-color 0.2s, color 0.2s;
}
.bnx-badge .bnx-picto { width: 18px; height: 18px; }
.bnx-badge:hover { background: var(--bnx-blanc); color: var(--bnx-encre); }
.bnx-etoiles { margin-top: 14px; }
.bnx-etoiles .kksr-stars-inactive .kksr-icon { opacity: 0.38; }
.bnx-etoiles .kksr-stars-active .kksr-icon { filter: brightness(0) invert(1); }
.bnx-etoiles .kksr-legend { color: rgba(255, 255, 255, 0.75); font-size: 0.8rem; }
.bnx-coiffe :focus-visible { outline-color: var(--bnx-blanc); }

/* ---------------------------------------------------------------
   Article : colonne de lecture centrée
   --------------------------------------------------------------- */
.bnx-article { padding-block: var(--bnx-respire); }
.bnx-article > .bnx-rang > *, .bnx-lecture { max-width: var(--bnx-mesure); margin-inline: auto; }
.bnx-plaque { margin: 0 auto 40px; }
.bnx-plaque img { width: 100%; max-height: 600px; object-fit: cover; }
.bnx-resume { margin-bottom: 32px; }

.entry-content { font-size: 1.0625rem; line-height: 1.7; color: var(--bnx-encre); }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content p { margin: 0; }
.entry-content h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-top: 2.2em; margin-bottom: 0.1em; }
.entry-content h3 { font-size: 1.5rem; font-weight: 500; margin-top: 1.8em; margin-bottom: 0; }
.entry-content h4 { font-size: 1.2rem; font-weight: 500; margin-top: 1.5em; }
.entry-content h2 + *, .entry-content h3 + *, .entry-content h4 + * { margin-top: 0.85em; }
.entry-content img { margin: 0 auto; }
.entry-content figure { margin: 0; }
.entry-content figcaption { font-size: 0.875rem; color: var(--bnx-gris); margin-top: 8px; }
.entry-content blockquote { margin: 0; padding: 4px 0 4px 24px; border-left: 1px solid var(--bnx-encre); font-size: 1.125rem; color: var(--bnx-encre-2); }
.entry-content blockquote p + p { margin-top: 0.8em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; font-variant-numeric: tabular-nums; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--bnx-filet); text-align: left; vertical-align: top; }
.entry-content th { font-weight: 500; border-bottom-color: var(--bnx-encre); }
.entry-content pre, .entry-content code { font-size: 0.9em; background: var(--bnx-fond-2); }
/* Surfaces des extensions, ramenées dans la grammaire du thème : sommaire et « À lire ». */
.entry-content #ez-toc-container { width: 100%; padding: 20px 24px 16px; background: var(--bnx-blanc); border: 1px solid var(--bnx-filet); border-radius: 0; box-shadow: none; }
.entry-content #ez-toc-container .ez-toc-title-container { display: block; margin-bottom: 8px; }
.entry-content #ez-toc-container .ez-toc-title { font-family: var(--bnx-titre); font-weight: 500; font-size: 1.375rem !important; line-height: 1; color: var(--bnx-encre); cursor: default; }
.entry-content #ez-toc-container .ez-toc-title-toggle { display: none; }
.entry-content #ez-toc-container nav, .entry-content #ez-toc-container nav > ul, .entry-content #ez-toc-container .eztoc-toggle-hide-by-default { display: block !important; }
.entry-content #ez-toc-container nav ul { list-style: none; padding-left: 0; margin: 0; }
.entry-content #ez-toc-container nav ul li { position: relative; padding-left: 1.4em; margin: 0.35em 0; }
.entry-content #ez-toc-container nav ul li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--bnx-bleu); }
.entry-content #ez-toc-container nav ul li::after { content: ""; position: absolute; left: 3px; top: calc(0.55em + 7px); width: 1px; height: 7px; background: var(--bnx-bleu); }
.entry-content #ez-toc-container nav ul ul { margin-top: 0.3em; }
.entry-content #ez-toc-container a { color: var(--bnx-encre-2) !important; text-decoration: none; font-weight: 400 !important; font-size: 0.95rem !important; }
.entry-content #ez-toc-container a:hover { color: var(--bnx-bleu-texte) !important; text-decoration: underline; text-underline-offset: 0.2em; }
.entry-content a:has(> .centered-text-area) { display: block !important; margin: 1.4em 0 !important; padding: 16px 20px !important; background: var(--bnx-blanc) !important; border: 1px solid var(--bnx-filet) !important; border-radius: 0 !important; box-shadow: none !important; text-decoration: none !important; }
.entry-content a:has(> .centered-text-area):hover { background: var(--bnx-blanc) !important; border-color: var(--bnx-bleu) !important; }
.entry-content a:has(> .centered-text-area) .centered-text { display: block !important; height: auto !important; padding-left: 0 !important; float: none !important; }
.entry-content a:has(> .centered-text-area) [class$="-content"] { display: block !important; padding-right: 0 !important; }
.entry-content a:has(> .centered-text-area) .ctaText { display: block; margin-bottom: 4px; font-family: var(--bnx-titre); font-weight: 500 !important; font-size: 0.95rem !important; letter-spacing: 0.08em; color: var(--bnx-bleu-texte) !important; text-decoration: none !important; border: 0 !important; }
.entry-content a:has(> .centered-text-area) .postTitle { font-family: var(--bnx-texte); font-weight: 500 !important; font-size: 1.0625rem !important; color: var(--bnx-encre) !important; }
.entry-content a:has(> .centered-text-area) .ctaButton { display: none !important; }
.entry-content a:has(> .centered-text-area):hover .postTitle { color: var(--bnx-bleu-texte) !important; }
.entry-content pre { padding: 16px; overflow: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--bnx-filet); margin-block: 2em; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-image img, .entry-content .wp-caption img { height: auto; }

/* Bullets décoratifs : la tête d'épingle (cercle plein 7 px + hampe de 1 px) */
.entry-content ul { list-style: none; padding-left: 0; margin-bottom: 1.4em; }
.entry-content ol { list-style: decimal; padding-left: 1.5em; margin-bottom: 1.4em; }
.entry-content ul li { position: relative; padding-left: 1.4em; margin-bottom: 0.5em; }
.entry-content ul li::before {
    content: "";
    position: absolute; left: 0; top: 0.5em;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--bnx-accent);
    flex-shrink: 0;
}
.entry-content ul li::after {
    content: ""; position: absolute; left: 3px; top: calc(0.5em + 7px);
    width: 1px; height: 7px; background: var(--bnx-accent);
}
.entry-content ol li { margin-bottom: 0.5em; }
.entry-content li > ul, .entry-content li > ol { margin-top: 0.5em; margin-bottom: 0; }

.bnx-etiquettes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.bnx-etiquettes a { padding: 6px 12px; border: 1px solid var(--bnx-filet-fort); font-size: 0.875rem; color: var(--bnx-encre-2); transition: border-color 0.2s, color 0.2s; }
.bnx-etiquettes a:hover { border-color: var(--bnx-bleu); color: var(--bnx-bleu-texte); }

.bnx-signature { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--bnx-encre); }
.bnx-signature h2 { font-size: 1.75rem; margin-bottom: 4px; }
.bnx-signature-role { font-weight: 500; color: var(--bnx-bleu-texte); font-size: 0.95rem; margin-bottom: 0.9em; }
.bnx-signature-bio { color: var(--bnx-encre-2); font-size: 1rem; }
.bnx-signature-bio p { margin-bottom: 0.8em; }
.bnx-signature-relu { font-size: 0.9rem; color: var(--bnx-gris); margin: 12px 0 4px; }
.bnx-signature-relu strong { color: var(--bnx-encre-2); font-weight: 500; }
.bnx-signature-charte { font-size: 0.9rem; margin: 0; }

/* Articles similaires */
.bnx-voisins { border-top: 1px solid var(--bnx-filet); }
.bnx-voisins-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.bnx-fiche { border-top: 1px solid var(--bnx-encre); padding-top: 16px; }
.bnx-fiche-vue { display: block; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bnx-fond-2); margin-bottom: 16px; }
.bnx-fiche-vue img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--bnx-courbe); }
.bnx-fiche:hover .bnx-fiche-vue img { transform: scale(1.04); }
.bnx-fiche-picto { display: block; color: var(--bnx-encre-2); margin-bottom: 12px; }
.bnx-fiche-picto .bnx-picto--cercle { width: 36px; height: 36px; }
.bnx-fiche h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.05; margin-bottom: 10px; }
.bnx-fiche h3 a { transition: color 0.2s; }
.bnx-fiche:hover h3 a { color: var(--bnx-bleu-texte); }

/* ---------------------------------------------------------------
   Bloc éditorial de bas d’archive
   --------------------------------------------------------------- */
.bnx-dossier { padding-block: var(--bnx-respire); background: var(--bnx-blanc); border-top: 1px solid var(--bnx-filet); border-bottom: 1px solid var(--bnx-filet); }
.bnx-dossier h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); max-width: 22ch; margin-bottom: 32px; }
.bnx-dossier-grille { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; }
.bnx-dossier-texte { color: var(--bnx-encre-2); }
.bnx-dossier-texte ul { margin: 1.2em 0; }
.bnx-dossier-texte li { position: relative; padding-left: 1.4em; margin-bottom: 0.5em; }
.bnx-dossier-texte li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--bnx-bleu); }
.bnx-dossier-texte li::after { content: ""; position: absolute; left: 3px; top: calc(0.5em + 7px); width: 1px; height: 7px; background: var(--bnx-bleu); }
.bnx-dossier-vue { overflow: hidden; aspect-ratio: 4 / 5; }
.bnx-dossier-vue img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--bnx-courbe); }
.bnx-dossier-vue:hover img { transform: scale(1.03); }

/* ---------------------------------------------------------------
   Pages
   --------------------------------------------------------------- */
.bnx-page { padding-block: var(--bnx-respire); }
.bnx-legal { font-size: 0.95rem; }
.bnx-legal h2 { font-size: 1.5rem; }
.bnx-ap-bloc { margin-bottom: 40px; }
.bnx-ap-bloc h2 { font-size: clamp(1.75rem, 2.6vw, 2.25rem); margin-bottom: 0.4em; }
.bnx-ap-liste li { position: relative; padding-left: 1.4em; margin-bottom: 0.6em; }
.bnx-ap-liste li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--bnx-bleu); }
.bnx-ap-liste li::after { content: ""; position: absolute; left: 3px; top: calc(0.5em + 7px); width: 1px; height: 7px; background: var(--bnx-bleu); }
.bnx-ap-liste strong { font-weight: 500; }
.bnx-ap-fin { padding-top: 28px; border-top: 1px solid var(--bnx-encre); }
.bnx-ap-fin p { font-size: 1.125rem; margin-bottom: 1.2em; }

.bnx-plan-site { columns: 2; column-gap: 48px; }
.bnx-plan-bloc { break-inside: avoid; margin-bottom: 40px; }
.bnx-plan-bloc h2 { font-size: 1.75rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--bnx-encre); }
.bnx-plan-bloc li { position: relative; padding-left: 1.4em; margin-bottom: 0.4em; }
.bnx-plan-bloc li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--bnx-bleu); }
.bnx-plan-bloc li::after { content: ""; position: absolute; left: 3px; top: calc(0.55em + 7px); width: 1px; height: 7px; background: var(--bnx-bleu); }
.bnx-plan-bloc a { color: var(--bnx-encre); text-decoration-color: transparent; }
.bnx-plan-bloc a:hover { text-decoration-color: var(--bnx-bleu); }

/* Contact */
.bnx-contact-grille { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.bnx-contact-intro { font-size: 1.0625rem; color: var(--bnx-encre-2); }
.bnx-contact-points { margin-top: 28px; border-top: 1px solid var(--bnx-filet); }
.bnx-contact-points li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--bnx-filet); color: var(--bnx-encre); }
.bnx-contact-points .bnx-picto--cercle { width: 40px; height: 40px; color: var(--bnx-bleu-texte); }
.bnx-contact-panneau { padding: 32px; border: 1px solid var(--bnx-encre); }
.bnx-contact-panneau h2 { font-size: 1.75rem; margin-bottom: 20px; }
.wpcf7-form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.wpcf7-form br { display: none; }
.wpcf7-form label { font-weight: 500; font-size: 0.9rem; color: var(--bnx-encre-2); }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea, .bnx-recherche input {
    width: 100%; padding: 12px 14px; background: var(--bnx-blanc);
    border: 1px solid var(--bnx-filet-fort); border-radius: 0; color: var(--bnx-encre);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus, .bnx-recherche input:focus { outline: none; border-color: var(--bnx-bleu); box-shadow: 0 0 0 3px var(--bnx-bleu-pale); }
.wpcf7-form ::placeholder { color: #7a838e; }
.wpcf7-form input[type="submit"] {
    width: 100%; padding: 14px 22px; background: var(--bnx-bleu); color: var(--bnx-blanc);
    border: 1px solid var(--bnx-bleu); font-weight: 500; cursor: pointer; transition: background-color 0.2s;
}
.wpcf7-form input[type="submit"]:hover { background: var(--bnx-bleu-sombre); }
.wpcf7-form .wpcf7-not-valid-tip { font-size: 0.85rem; color: #b3261e; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 14px; border: 1px solid var(--bnx-encre); }
.wpcf7-spinner { display: none; }

/* Recherche */
.bnx-recherche { max-width: var(--bnx-mesure); margin: 0 auto 40px; }
.bnx-recherche label { display: block; font-weight: 500; margin-bottom: 8px; }
.bnx-recherche-champ { display: flex; }
.bnx-recherche-champ button { display: inline-flex; align-items: center; justify-content: center; width: 52px; background: var(--bnx-encre); color: var(--bnx-blanc); border: 1px solid var(--bnx-encre); transition: background-color 0.2s; }
.bnx-recherche-champ button:hover { background: var(--bnx-bleu); border-color: var(--bnx-bleu); }
.bnx-recherche-champ button .bnx-picto { width: 20px; height: 20px; }

/* ---------------------------------------------------------------
   Pied de page
   --------------------------------------------------------------- */
.bnx-pied { background: var(--bnx-encre); color: rgba(255, 255, 255, 0.84); padding-top: var(--bnx-respire); }
.bnx-pied-grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; padding-bottom: 56px; }
.bnx-pied-marque svg { height: 30px; width: auto; margin-bottom: 20px; }
.bnx-pied-desc { font-size: 0.95rem; max-width: 36ch; }
.bnx-pied-titre { font-family: var(--bnx-titre); font-weight: 600; font-size: 1.25rem; color: var(--bnx-blanc); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.25); }
.bnx-pied-col li { position: relative; padding-left: 1.3em; margin-bottom: 0.55em; font-size: 0.95rem; }
.bnx-pied-col li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--bnx-bleu-clair); }
.bnx-pied-col li::after { content: ""; position: absolute; left: 3px; top: calc(0.55em + 7px); width: 1px; height: 7px; background: var(--bnx-bleu-clair); }
.bnx-pied-col a { transition: color 0.2s; }
.bnx-pied-col a:hover { color: var(--bnx-blanc); text-decoration: underline; text-underline-offset: 0.2em; }
.bnx-pied :focus-visible { outline-color: var(--bnx-blanc); }
.bnx-pied-bas { border-top: 1px solid rgba(255, 255, 255, 0.18); padding: 20px 0; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); }

/* ---------------------------------------------------------------
   Responsive
   --------------------------------------------------------------- */
@media (max-width: 1100px) {
    .bnx-ouverture-texte { grid-column: 1 / 8; }
    .bnx-plan-bloc { grid-column: 8 / 13; }
    .bnx-ouverture-filets { grid-template-columns: 1fr; }
    .bnx-ouverture-cell { border-left: 0; border-top: 1px solid var(--bnx-filet); margin-left: 0; padding-left: 0; margin-top: 20px; }
}

@media (max-width: 960px) {
    .bnx-burger { display: inline-flex; }
    .bnx-nav {
        position: fixed; inset: 0; z-index: 60;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
        padding: 0 var(--bnx-gouttiere) 40px;
        background: var(--bnx-blanc); overflow: auto;
        transform: translateX(100%); visibility: hidden;
        transition: transform 0.45s var(--bnx-courbe), visibility 0s 0.45s;
    }
    .bnx-nav.est-ouvert { transform: translateX(0); visibility: visible; transition: transform 0.45s var(--bnx-courbe), visibility 0s; }
    html:not(.bnx-js) .bnx-nav { position: static; transform: none; visibility: visible; display: none; }
    .bnx-nav-haut { display: flex; align-items: center; justify-content: space-between; height: var(--bnx-entete); }
    .bnx-nav-logo svg { height: 30px; width: auto; }
    .bnx-nav-close { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -10px; }
    .bnx-nav-liens { flex-direction: column; gap: 0; margin-top: 16px; border-top: 1px solid var(--bnx-encre); }
    .bnx-nav-liens li { border-bottom: 1px solid var(--bnx-filet); }
    .bnx-nav-liens a { display: block; padding: 18px 0; font-family: var(--bnx-titre); font-weight: 500; font-size: 2rem; line-height: 1; color: var(--bnx-encre); }
    .bnx-nav-liens a::after { display: none; }
    .bnx-nav-outils { margin-top: 28px; justify-content: space-between; }
    .bnx-nav-contact { padding: 14px 22px; background: var(--bnx-bleu); border-color: var(--bnx-bleu); color: var(--bnx-blanc); }

    .bnx-ouverture { min-height: 0; align-items: flex-start; }
    .bnx-ouverture-voile { background: linear-gradient(180deg, var(--bnx-blanc) 0%, rgba(255, 255, 255, 0.92) 55%, rgba(255, 255, 255, 0.75) 100%); }
    .bnx-ouverture-inner { grid-template-columns: 1fr; gap: 40px; }
    .bnx-ouverture-texte, .bnx-plan-bloc { grid-column: 1 / -1; }
    .bnx-reserve { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
    .bnx-reserve-ancre { flex-direction: row; align-items: center; margin-bottom: 14px; }
    .bnx-reserve-extrait { max-width: 62ch; }
    .bnx-bande { height: clamp(260px, 48vh, 420px); }

    .bnx-tete { grid-template-columns: 1fr; gap: 10px; }
    .bnx-legende-grille { grid-template-columns: 1fr; }
    .bnx-legende-plan { position: static; }
    .bnx-redaction-grille, .bnx-contact-grille, .bnx-dossier-grille { grid-template-columns: 1fr; gap: 32px; }
    .bnx-dossier-vue { order: -1; aspect-ratio: 3 / 2; }
    .bnx-voisins-grille { grid-template-columns: 1fr 1fr; }
    .bnx-plan-site { columns: 1; }
    .bnx-pied-grille { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 680px) {
    :root { --bnx-entete: 64px; }
    .bnx-section h2:not(.bnx-tete h2), .bnx-tete h2 { font-size: 2rem; }
    .bnx-ouverture h1 { font-size: clamp(2.375rem, 10.5vw, 3rem); }
    .bnx-ouverture-filets { margin-top: 20px; }
    .bnx-ouverture-ligne { margin-bottom: 16px; }
    .bnx-plan { padding: 12px; }
    .bnx-cartouche { gap: 12px; }
    .bnx-cartouche dt { font-size: 2rem; }
    .bnx-cartouche dd { font-size: 0.8125rem; }
    .bnx-reserve-vue { aspect-ratio: 16 / 9; }
    .bnx-bande-pied { bottom: 16px; }
    .bnx-bande-legende { flex-direction: column; gap: 6px; }
    .bnx-legende-liste li { grid-template-columns: 36px 40px minmax(0, 1fr); gap: 12px; }
    .bnx-legende-texte strong { font-size: 1.25rem; }
    .bnx-coiffe { min-height: 0; padding: 104px 0 36px; }
    .bnx-coiffe--article { min-height: 0; }
    .bnx-coiffe h1 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
    .bnx-coiffe-titre { gap: 14px; }
    .bnx-coiffe-picto .bnx-picto--cercle { width: 36px; height: 36px; }
    .bnx-voisins-grille { grid-template-columns: 1fr; }
    .bnx-contact-panneau { padding: 20px; }
    .bnx-vide { padding: 24px; }
    .bnx-pied-grille { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .bnx-pied-marque svg { margin-inline: auto; }
    .bnx-pied-desc { margin-inline: auto; }
    .bnx-pied-col li { padding-left: 0; }
    .bnx-pied-col li::before, .bnx-pied-col li::after { display: none; }
    .bnx-pied-bas { text-align: center; }
}

/* ---------------------------------------------------------------
   Mouvement réduit : tout est posé, rien ne bouge
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    html.bnx-js [data-bnx-reveal]:not(.est-pose), html.bnx-js .bnx-epingle:not(.est-pose) { opacity: 1; transform: none; }
    [data-bnx-parallaxe] { transform: none !important; will-change: auto; }
}

@media print {
    .bnx-entete, .bnx-pied, .bnx-voisins, .bnx-ouverture-fond, .bnx-coiffe-fond { display: none; }
    .bnx-coiffe { background: none; color: #000; min-height: 0; padding: 0; }
    .bnx-coiffe h1 { color: #000; }
}
