/*
Theme Name: Mémoire du Bâti
Theme URI: https://memoiredubati.fr
Description: Magazine maison, décoration, jardin, travaux et immobilier — Archetype AO Calque & Cuivre
Author: Netlinqueen
Version: 1.0.1
Text Domain: memoiredubati
*/

/* ── Google Fonts ──────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Lexend:wght@300;400;500;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────────────────────────── */
:root {
    /* Palette — AO Calque & Cuivre */
    --mb-calque:         #ECF0F3;   /* fond principal : bleu-zinc très pâle (inédit réseau) */
    --mb-fond-sombre:    #1E2428;   /* header / hero / footer */
    --mb-fond-sombre-2:  #141A1E;   /* footer base */
    --mb-cuivre:         #B85C28;   /* accent cuivre */
    --mb-cuivre-deep:    #8F4418;   /* cuivre hover */
    --mb-cuivre-tint:    #F5EDE5;   /* fond section persona */
    --mb-or:             #9E7B3A;   /* or vieilli */
    --mb-surface:        #FAFCFC;   /* surface cards */
    --mb-encre:          #181C20;   /* texte */
    --mb-encre-soft:     #5A6068;   /* texte secondaire */
    --mb-ligne:          #D8DCE0;   /* bordures */

    /* Typo */
    --mb-display: 'Vollkorn', Georgia, 'Times New Roman', serif;
    --mb-body:    'Lexend', 'Helvetica Neue', Arial, sans-serif;

    /* Mesures */
    --mb-hh:   70px;   /* header height */
    --mb-r:    6px;
    --mb-gap:  24px;
}

/* ── Reset & base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--mb-calque);
    color: var(--mb-encre);
    font-family: var(--mb-body);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar { margin-top: 32px; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── Utilitaires ────────────────────────────────────────────────────────────── */
.mb-corps {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 var(--mb-gap);
}

.mb-visually-hidden {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ── Boutons ────────────────────────────────────────────────────────────────── */
.mb-bouton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--mb-cuivre);
    color: #F5EDE5;
    font-family: var(--mb-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 200ms ease, transform 150ms ease;
    text-decoration: none;
}
.mb-bouton:hover {
    background: var(--mb-cuivre-deep);
    transform: translateY(-1px);
}
.mb-bouton--ligne {
    background: transparent;
    color: var(--mb-cuivre);
    border: 1.5px solid var(--mb-cuivre);
}
.mb-bouton--ligne:hover {
    background: var(--mb-cuivre);
    color: #F5EDE5;
}
.mb-bouton--clair {
    background: #F5EDE5;
    color: var(--mb-cuivre);
}
.mb-bouton--clair:hover {
    background: #fff;
    color: var(--mb-cuivre-deep);
}

/* ── Header ─────────────────────────────────────────────────────────────────── */
.mb-fronton {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--mb-hh);
    background: var(--mb-fond-sombre);
    border-bottom: 1px solid rgba(184,92,40,0.2);
    transition: box-shadow 200ms ease;
}
.mb-fronton.mb-fronton--scroll {
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.mb-fronton-inner {
    display: flex;
    align-items: center;
    height: var(--mb-hh);
    gap: 40px;
}
/* Logo */
.mb-logo {
    display: flex;
    flex-direction: column;
    gap: 0;
    text-decoration: none;
    flex-shrink: 0;
}
.mb-logo svg { display: block; }

/* Nav */
.mb-nav { display: flex; align-items: center; justify-content: center; gap: 0; flex: 1; }
.mb-nav ul { display: flex; align-items: center; gap: 2px; }
.mb-nav ul li a {
    font-family: var(--mb-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: rgba(232,228,220,0.7);
    padding: 6px 12px;
    border-radius: 3px;
    transition: color 150ms ease, background 150ms ease;
    text-transform: uppercase;
    display: block;
}
.mb-nav ul li a:hover {
    color: #E8E4DC;
    background: rgba(255,255,255,0.05);
}
.menu-contact a {
    color: var(--mb-cuivre) !important;
    border: 1px solid rgba(184,92,40,0.5) !important;
    border-radius: 3px !important;
    padding: 6px 14px !important;
}
.menu-contact a:hover {
    background: var(--mb-cuivre) !important;
    color: #F5EDE5 !important;
}

/* Burger */
.mb-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.mb-burger span {
    display: block;
    height: 2px;
    background: #E8E4DC;
    border-radius: 1px;
    transition: transform 250ms ease, opacity 200ms ease, width 200ms ease;
    width: 100%;
}
.mb-fronton.mb-nav--open .mb-burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mb-fronton.mb-nav--open .mb-burger span:nth-child(2) { opacity: 0; width: 0; }
.mb-fronton.mb-nav--open .mb-burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav éléments internes cachés sur desktop */
.mb-nav-close { display: none; }
.mb-nav-logo-mobile { display: none; }

/* ── Offset body ─────────────────────────────────────────────────────────────── */
.mb-decalage { height: var(--mb-hh); }

/* ── Hero — Façade ───────────────────────────────────────────────────────────── */
.mb-facade {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--mb-fond-sombre);
}
.mb-facade-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%; height: 100%;
    opacity: 0.35;
    transition: opacity 1s ease;
}
.mb-facade-noise {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(30,36,40,0.4) 0%, rgba(30,36,40,0) 60%);
}
.mb-facade-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 2px 1fr;
    gap: 48px;
    align-items: center;
    padding-top: 64px;
    padding-bottom: 64px;
    width: 100%;
}
.mb-facade-sep {
    align-self: stretch;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--mb-cuivre) 20%, var(--mb-cuivre) 80%, transparent);
    opacity: 0.7;
}
.mb-facade-eyebrow {
    display: block;
    font-family: var(--mb-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mb-cuivre);
    margin-bottom: 20px;
}
.mb-facade-titre h1 {
    font-family: var(--mb-display);
    font-style: italic;
    font-weight: 600;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    color: #E8E4DC;
    letter-spacing: -0.02em;
}
.mb-facade-titre h1 em {
    font-style: normal;
    color: var(--mb-cuivre);
}
.mb-facade-lead {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.mb-facade-desc {
    font-family: var(--mb-body);
    font-size: 1.05rem;
    color: rgba(232,228,220,0.75);
    line-height: 1.7;
    max-width: 440px;
}
.mb-stats {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.mb-stat { display: flex; flex-direction: column; gap: 2px; }
.mb-stat-num {
    font-family: var(--mb-display);
    font-size: 2rem;
    font-weight: 600;
    color: #E8E4DC;
    line-height: 1;
}
.mb-stat-label {
    font-family: var(--mb-body);
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(232,228,220,0.45);
}
.mb-facade-cta { display: flex; align-items: center; gap: 16px; }
.mb-lien-texte {
    font-family: var(--mb-body);
    font-size: 0.85rem;
    color: rgba(232,228,220,0.55);
    border-bottom: 1px solid rgba(232,228,220,0.25);
    transition: color 200ms, border-color 200ms;
    padding-bottom: 2px;
}
.mb-lien-texte:hover {
    color: var(--mb-cuivre);
    border-color: var(--mb-cuivre);
}
/* Barre de scroll en bas du hero */
.mb-facade-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.mb-facade-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--mb-cuivre), transparent);
    animation: mb-scroll-line 1.8s ease-in-out infinite;
}
@keyframes mb-scroll-line {
    0% { height: 0; opacity: 0; }
    50% { height: 40px; opacity: 1; }
    100% { height: 0; opacity: 0; transform: translateY(20px); }
}

/* ── Temple — bande catégories sous hero ─────────────────────────────────────── */
.mb-temple {
    background: var(--mb-fond-sombre);
    border-bottom: 2px solid rgba(184,92,40,0.25);
}
.mb-colonnades {
    display: flex;
    align-items: stretch;
}
.mb-colonnade {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 12px;
    border-right: 1px solid rgba(184,92,40,0.18);
    text-decoration: none;
    transition: background 200ms ease;
    gap: 6px;
    text-align: center;
}
.mb-colonnade:last-child { border-right: none; }
.mb-colonnade:hover { background: rgba(184,92,40,0.12); }
.mb-colonnade-index {
    font-family: var(--mb-body);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(184,92,40,0.7);
    line-height: 1;
}
.mb-colonnade-nom {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 400;
    color: #DDD9CE;
    line-height: 1.1;
    transition: color 200ms;
}
.mb-colonnade:hover .mb-colonnade-nom { color: #F0EAE0; }
.mb-colonnade-ct {
    font-family: var(--mb-body);
    font-size: 0.65rem;
    color: rgba(220,213,200,0.4);
    letter-spacing: 0.06em;
}

/* ── Section articles "Registre" ─────────────────────────────────────────────── */
.mb-registre { padding: 64px 0; }
.mb-registre-titre {
    font-family: var(--mb-display);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mb-encre-soft);
    border-bottom: 1px solid var(--mb-ligne);
    padding-bottom: 16px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.mb-registre-titre::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--mb-cuivre), transparent);
    opacity: 0.5;
}

/* Vedette à la une */
.mb-vedette {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    border-top: 3px solid var(--mb-cuivre);
    margin-bottom: 36px;
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.mb-vedette-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21 / 8;
}
.mb-vedette-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}
.mb-vedette:hover .mb-vedette-image-wrap img { transform: scale(1.03); }
.mb-vedette-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(24,28,32,0.88) 0%, rgba(24,28,32,0.3) 55%, transparent 80%);
}
.mb-vedette-body {
    position: absolute;
    bottom: 0; left: 0;
    padding: 32px 40px;
    max-width: 55%;
}
.mb-vedette-cat {
    display: inline-block;
    font-family: var(--mb-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mb-cuivre);
    margin-bottom: 12px;
}
.mb-vedette-titre {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    font-weight: 600;
    color: #EDE9E0;
    line-height: 1.2;
    margin-bottom: 12px;
}
.mb-vedette-meta {
    font-family: var(--mb-body);
    font-size: 0.7rem;
    color: rgba(237,233,224,0.5);
}

/* Grille 3 col */
.mb-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.mb-fiche {
    background: var(--mb-surface);
    border-top: 3px solid var(--mb-cuivre);
    border-radius: 0 0 var(--mb-r) var(--mb-r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.mb-fiche:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(24,28,32,0.1);
}
.mb-fiche-vue {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}
.mb-fiche-vue img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}
.mb-fiche:hover .mb-fiche-vue img { transform: scale(1.05); }
.mb-fiche-corps {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mb-fiche-cat {
    font-family: var(--mb-body);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mb-cuivre);
}
.mb-fiche-titre {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--mb-encre);
    line-height: 1.3;
    margin: 0;
}
.mb-fiche-extrait {
    font-family: var(--mb-body);
    font-size: 0.85rem;
    color: var(--mb-encre-soft);
    line-height: 1.6;
    flex: 1;
}
.mb-fiche-meta {
    font-family: var(--mb-body);
    font-size: 0.68rem;
    color: rgba(90,96,104,0.6);
    padding-top: 10px;
    border-top: 1px solid var(--mb-ligne);
}

/* ── Section Persona "Gardien" ───────────────────────────────────────────────── */
.mb-gardien {
    background: var(--mb-cuivre-tint);
    padding: 80px 0;
    position: relative;
}
.mb-gardien::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--mb-cuivre) 20%, var(--mb-cuivre) 80%, transparent);
    opacity: 0.4;
}
.mb-gardien-inner {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
}
.mb-gardien-portrait-wrap {
    position: relative;
    flex-shrink: 0;
}
.mb-gardien-portrait {
    position: relative;
    width: 280px;
    height: 280px;
    border-radius: 3px;
    overflow: hidden;
    border: 2px solid var(--mb-cuivre);
    box-shadow: 0 0 0 6px var(--mb-cuivre-tint), 0 0 0 8px var(--mb-cuivre), 0 0 0 10px var(--mb-cuivre-tint);
    /* double cadre cuivre = motif architectural */
}
.mb-gardien-portrait img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
}
.mb-gardien-corps { display: flex; flex-direction: column; gap: 20px; }
.mb-gardien-eyebrow {
    display: block;
    font-family: var(--mb-body);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mb-cuivre);
}
.mb-gardien-nom {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 2rem;
    font-weight: 600;
    color: var(--mb-encre);
    line-height: 1;
}
.mb-gardien-role {
    font-family: var(--mb-body);
    font-size: 0.85rem;
    color: var(--mb-encre-soft);
}
.mb-gardien-bio {
    font-family: var(--mb-body);
    font-size: 0.95rem;
    color: var(--mb-encre);
    line-height: 1.75;
    column-count: 2;
    column-gap: 32px;
}
.mb-gardien-bio p { margin-bottom: 0.9em; break-inside: avoid; }
.mb-gardien-bio ul { padding-left: 0; margin-bottom: 0.9em; }
.mb-gardien-bio li {
    position: relative;
    padding-left: 1.3em;
    margin-bottom: 0.4em;
}
.mb-gardien-bio li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px; height: 2px;
    background: var(--mb-cuivre);
    border-radius: 1px;
}

/* ── Section Catégories "Panneaux" ───────────────────────────────────────────── */
.mb-panneaux-section { padding: 64px 0; }
.mb-panneaux-titre {
    font-family: var(--mb-display);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mb-encre-soft);
    border-bottom: 1px solid var(--mb-ligne);
    padding-bottom: 16px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.mb-panneaux-titre::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, var(--mb-cuivre), transparent);
    opacity: 0.5;
}
.mb-panneaux {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
/* 5 panneaux : 3 en haut, 2 centrés en bas */
.mb-panneau {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid var(--mb-ligne);
    aspect-ratio: 4 / 3;
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.mb-panneau:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(24,28,32,0.14);
}
/* Double cadre boiserie (signature AO) */
.mb-panneau::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(184,92,40,0.4);
    pointer-events: none;
    z-index: 3;
    transition: border-color 250ms ease;
}
.mb-panneau:hover::before { border-color: rgba(184,92,40,0.8); }
.mb-panneau-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 400ms ease, filter 300ms ease;
    filter: grayscale(15%);
}
.mb-panneau:hover .mb-panneau-image {
    transform: scale(1.05);
    filter: grayscale(0);
}
.mb-panneau-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24,28,32,0.82) 0%, rgba(24,28,32,0.25) 100%);
    transition: background 250ms ease;
    z-index: 2;
}
.mb-panneau:hover .mb-panneau-overlay {
    background: linear-gradient(to top, rgba(24,28,32,0.65) 0%, rgba(184,92,40,0.12) 100%);
}
.mb-panneau-body {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 20px 22px 26px;
    z-index: 4;
}
.mb-panneau-desc {
    display: block;
    font-family: var(--mb-body);
    font-size: 0.7rem;
    color: rgba(240,235,225,0.6);
    margin-bottom: 6px;
    line-height: 1.4;
}
.mb-panneau-nom {
    display: block;
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.45rem;
    font-weight: 600;
    color: #F0EBE1;
    line-height: 1.1;
}
.mb-panneau-ct {
    display: block;
    font-family: var(--mb-body);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    color: rgba(240,235,225,0.4);
    margin-top: 6px;
}

/* ── Bloc SEO archive ────────────────────────────────────────────────────────── */
.mb-encart {
    background: var(--mb-surface);
    border-top: 3px solid var(--mb-cuivre);
    border-radius: 0 0 var(--mb-r) var(--mb-r);
    padding: 48px 56px;
    margin-top: 56px;
}
.mb-encart-inner {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: center;
}
.mb-encart h2 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mb-encre);
    margin-bottom: 16px;
}
.mb-encart p {
    font-family: var(--mb-body);
    font-size: 0.9rem;
    color: var(--mb-encre-soft);
    line-height: 1.7;
    margin-bottom: 12px;
}
.mb-encart ul {
    margin: 12px 0;
    padding-left: 0;
}
.mb-encart ul li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0.4em;
    font-size: 0.88rem;
    color: var(--mb-encre-soft);
}
.mb-encart ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.7em;
    width: 12px; height: 2px;
    background: var(--mb-cuivre);
    border-radius: 1px;
}
.mb-encart-image {
    border-radius: var(--mb-r);
    overflow: hidden;
    border: 1px solid var(--mb-ligne);
}
.mb-encart-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 400ms ease;
    display: block;
}
.mb-encart-image:hover img { transform: scale(1.04); }

/* ── Héros pages internes ───────────────────────────────────────────────────── */
.mb-page-hero {
    position: relative;
    background: var(--mb-fond-sombre);
    padding: 64px 0 48px;
    text-align: center;
}
.mb-page-hero-eyebrow {
    display: block;
    font-family: var(--mb-body);
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(184,92,40,0.8);
    margin-bottom: 12px;
}
.mb-page-hero h1 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: #E8E4DC;
    line-height: 1.15;
}
.mb-fil {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
    font-family: var(--mb-body);
    font-size: 0.72rem;
    color: rgba(232,228,220,0.4);
    flex-wrap: wrap;
}
.mb-fil a { color: rgba(184,92,40,0.8); transition: color 150ms; }
.mb-fil a:hover { color: var(--mb-cuivre); }
.mb-fil-sep { opacity: 0.4; }

/* ── Hero archive ─────────────────────────────────────────────────────────────── */
.mb-archive-hero {
    position: relative;
    background: var(--mb-fond-sombre);
    overflow: hidden;
    text-align: center;
    padding: 80px 0 56px;
}
.mb-archive-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%; height: 100%;
    opacity: 0.22;
}
.mb-archive-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30,36,40,0.65);
}
.mb-archive-hero-inner { position: relative; z-index: 2; }
.mb-archive-hero h1 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: #E8E4DC;
}
.mb-archive-hero-desc {
    color: rgba(232,228,220,0.65) !important;
    max-width: 560px;
    margin: 12px auto 0;
    font-family: var(--mb-body);
    font-size: 0.95rem;
    line-height: 1.65;
}
.mb-archive-hero-desc p { color: rgba(232,228,220,0.65) !important; }

/* Archive grille */
.mb-archive-grille {
    padding: 56px 0;
}
.mb-archive-grille .mb-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* Titres articles archive en H2 */
.mb-arc-fiche .mb-fiche-titre { font-size: 1.1rem; }

/* ── Single ──────────────────────────────────────────────────────────────────── */
.mb-post-hero {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: flex-end;
    background: var(--mb-fond-sombre);
    overflow: hidden;
}
.mb-post-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%; height: 100%;
    opacity: 0.45;
}
.mb-post-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24,28,32,0.95) 0%, rgba(24,28,32,0.2) 60%);
}
.mb-post-hero-corps {
    position: relative;
    z-index: 2;
    padding: 56px 0 44px;
    width: 100%;
    max-width: 800px;
}
.mb-post-hero-cat {
    display: inline-block;
    font-family: var(--mb-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mb-cuivre);
    margin-bottom: 16px;
}
.mb-post-hero h1 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    color: #EDE9E0;
    line-height: 1.15;
    margin-bottom: 20px;
}
.mb-post-hero-meta {
    font-family: var(--mb-body);
    font-size: 0.72rem;
    color: rgba(237,233,224,0.45);
    display: flex;
    gap: 16px;
    align-items: center;
}
.mb-post-hero-stars { margin-top: 12px; }

/* Layout article */
.mb-lecture {
    padding: 56px 0 80px;
}
.mb-lecture-inner {
    max-width: 720px;
    margin: 0 auto;
}
.mb-lecture-vignette {
    position: relative;
    overflow: hidden;
    border-radius: var(--mb-r);
    border-top: 3px solid var(--mb-cuivre);
    margin-bottom: 36px;
    aspect-ratio: 16 / 9;
}
.mb-lecture-vignette img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Contenu */
.entry-content {
    font-family: var(--mb-body);
    font-size: 1rem;
    line-height: 1.8;
    color: var(--mb-encre);
}
.entry-content h2 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--mb-encre);
    margin: 2em 0 0.7em;
    padding-top: 0.5em;
    border-top: 1px solid var(--mb-ligne);
}
.entry-content h3 {
    font-family: var(--mb-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mb-encre);
    margin: 1.6em 0 0.5em;
}
.entry-content p { margin-bottom: 1.2em; }
.entry-content a { color: var(--mb-cuivre); border-bottom: 1px solid rgba(184,92,40,0.3); transition: border-color 150ms; }
.entry-content a:hover { border-color: var(--mb-cuivre); }
.entry-content strong { font-weight: 600; color: var(--mb-encre); }
.entry-content blockquote {
    border-left: 3px solid var(--mb-cuivre);
    padding-left: 24px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--mb-encre-soft);
}

/* Bullets décoratifs entry-content (règle universelle) */
.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.78em;
    width: 12px; height: 2px;       /* tiret court et fin cuivre — AO */
    background: var(--mb-cuivre);
    border-radius: 1px;
    flex-shrink: 0;
}
.entry-content ol li { margin-bottom: 0.5em; }

/* Tags */
.mb-tags {
    margin: 32px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mb-tag {
    font-family: var(--mb-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border: 1px solid var(--mb-ligne);
    border-radius: 3px;
    color: var(--mb-encre-soft);
    transition: border-color 150ms, color 150ms;
}
.mb-tag:hover {
    border-color: var(--mb-cuivre);
    color: var(--mb-cuivre);
}

/* Auteur */
.mb-auteur {
    background: var(--mb-surface);
    border-top: 3px solid var(--mb-cuivre);
    border-radius: 0 0 var(--mb-r) var(--mb-r);
    padding: 32px 36px;
    display: flex;
    gap: 28px;
    align-items: flex-start;
    margin: 40px 0;
}
.mb-auteur-photo {
    width: 88px; height: 88px;
    border-radius: 3px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--mb-cuivre);
}
.mb-auteur-photo img { width: 100%; height: 100%; object-fit: cover; }
.mb-auteur-corps { flex: 1; }
.mb-auteur-nom {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--mb-encre);
}
.mb-auteur-role {
    font-family: var(--mb-body);
    font-size: 0.75rem;
    color: var(--mb-cuivre);
    margin-bottom: 10px;
}
.mb-auteur-bio {
    font-family: var(--mb-body);
    font-size: 0.88rem;
    color: var(--mb-encre-soft);
    line-height: 1.65;
}
.mb-auteur-bio p { margin-bottom: 0.5em; }

/* Articles similaires */
.mb-voisins { padding: 40px 0 64px; }
.mb-voisins-titre {
    font-family: var(--mb-display);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--mb-encre-soft);
    border-bottom: 1px solid var(--mb-ligne);
    padding-bottom: 16px;
    margin-bottom: 28px;
}
.mb-voisins-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Résumé AI */
.mb-ai-summary {
    background: linear-gradient(135deg, var(--mb-cuivre-tint), var(--mb-surface));
    border: 1px solid rgba(184,92,40,0.2);
    border-radius: var(--mb-r);
    padding: 20px 24px;
    margin-bottom: 28px;
    font-family: var(--mb-body);
    font-size: 0.9rem;
    color: var(--mb-encre-soft);
}

/* ── Page Contact ─────────────────────────────────────────────────────────────── */
.mb-contact-section { padding: 64px 0; }
.mb-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}
.mb-contact-intro h2 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--mb-encre);
    margin-bottom: 16px;
}
.mb-contact-intro p {
    font-family: var(--mb-body);
    font-size: 0.9rem;
    color: var(--mb-encre-soft);
    line-height: 1.7;
    margin-bottom: 10px;
}
.mb-contact-panneau {
    background: var(--mb-surface);
    border-top: 3px solid var(--mb-cuivre);
    border-radius: 0 0 var(--mb-r) var(--mb-r);
    padding: 36px 36px 40px;
}
/* CF7 styles */
.wpcf7-form p { display: flex; flex-direction: column; gap: 6px; margin: 0 0 18px; }
.wpcf7-form br { display: none; }
.wpcf7-form label {
    font-family: var(--mb-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mb-encre-soft);
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea,
.wpcf7-form select {
    font-family: var(--mb-body);
    font-size: 0.9rem;
    padding: 12px 14px;
    border: 1px solid var(--mb-ligne);
    border-radius: 3px;
    background: var(--mb-calque);
    color: var(--mb-encre);
    transition: border-color 150ms;
    width: 100%;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--mb-cuivre);
}
.wpcf7-form textarea { min-height: 130px; resize: vertical; }
.wpcf7-form .wpcf7-submit {
    width: 100%;
    padding: 14px 28px;
    background: var(--mb-cuivre);
    color: #F5EDE5;
    font-family: var(--mb-body);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: background 200ms;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--mb-cuivre-deep); }

/* ── Mentions légales / Plan du site ─────────────────────────────────────────── */
.mb-mentions { padding: 64px 0; }
.mb-mentions-inner { max-width: 820px; }
.mb-mentions h2 {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mb-encre);
    margin: 2em 0 0.7em;
    border-top: 1px solid var(--mb-ligne);
    padding-top: 1em;
}
.mb-mentions p {
    font-size: 0.92rem;
    color: var(--mb-encre-soft);
    line-height: 1.75;
    margin-bottom: 0.8em;
}
.mb-mentions a { color: var(--mb-cuivre); }
.mb-plan { padding: 64px 0; }
.mb-plan-cat { margin-bottom: 36px; }
.mb-plan-cat-titre {
    font-family: var(--mb-display);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--mb-encre);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.mb-plan-cat-titre::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--mb-ligne);
}
.mb-plan-cat-liste { display: flex; flex-direction: column; gap: 6px; }
.mb-plan-cat-liste a {
    font-family: var(--mb-body);
    font-size: 0.88rem;
    color: var(--mb-encre-soft);
    padding: 4px 0 4px 16px;
    border-left: 2px solid transparent;
    transition: border-color 150ms, color 150ms;
}
.mb-plan-cat-liste a:hover {
    color: var(--mb-cuivre);
    border-color: var(--mb-cuivre);
}

/* ── Footer "Soubassement" ───────────────────────────────────────────────────── */
.mb-soubassement {
    background: var(--mb-fond-sombre-2);
    border-top: 2px solid rgba(184,92,40,0.2);
    padding: 64px 0 0;
}
.mb-soubassement-grille {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mb-soubassement-titre {
    display: block;
    font-family: var(--mb-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(184,92,40,0.7);
    margin-bottom: 16px;
}
.mb-soubassement-desc {
    font-family: var(--mb-body);
    font-size: 0.82rem;
    color: rgba(220,213,200,0.5);
    line-height: 1.65;
    margin-top: 14px;
    margin-bottom: 0;
}
.mb-soubassement-liste { display: flex; flex-direction: column; gap: 8px; }
.mb-soubassement-liste a {
    font-family: var(--mb-body);
    font-size: 0.82rem;
    color: rgba(220,213,200,0.55);
    transition: color 150ms;
    text-decoration: none;
}
.mb-soubassement-liste a:hover { color: #DDD9CE; }
/* 3 derniers articles footer */
.mb-soubassement-articles { display: flex; flex-direction: column; gap: 14px; }
.mb-soubassement-art {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-decoration: none;
}
.mb-soubassement-art-img {
    width: 52px; height: 40px;
    border-radius: 2px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.06);
}
.mb-soubassement-art-img img { width: 100%; height: 100%; object-fit: cover; }
.mb-soubassement-art-titre {
    font-family: var(--mb-body);
    font-size: 0.78rem;
    color: rgba(220,213,200,0.6);
    line-height: 1.35;
    transition: color 150ms;
}
.mb-soubassement-art:hover .mb-soubassement-art-titre { color: #DDD9CE; }
/* Pied */
.mb-soubassement-pied {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 16px;
    align-items: center;
}
.mb-soubassement-copyright {
    font-family: var(--mb-body);
    font-size: 0.72rem;
    color: rgba(220,213,200,0.3);
    letter-spacing: 0.06em;
}
/* Marque stonemason décorative */
.mb-stonemason {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.25;
}
.mb-stonemason-line { width: 40px; height: 1px; background: var(--mb-cuivre); }
.mb-stonemason-mark {
    font-family: var(--mb-display);
    font-size: 0.8rem;
    color: var(--mb-cuivre);
    font-style: italic;
}

/* ── Animations / reveal ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    [data-mb-reveal] {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity 500ms ease, transform 500ms ease;
    }
    [data-mb-reveal].mb-visible {
        opacity: 1;
        transform: none;
    }
}

/* ── Responsive mobile ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .mb-soubassement-grille { grid-template-columns: 1fr 1fr; gap: 32px; }
    .mb-encart-inner { grid-template-columns: 1fr; }
    .mb-encart-image { display: none; }
}

@media (max-width: 768px) {
    :root { --mb-hh: 62px; }

    .mb-nav { display: none; }
    .mb-burger { display: flex; }

    /* Mobile menu */
    .mb-nav.mb-nav--open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: var(--mb-fond-sombre);
        z-index: 200;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 40px 32px;
    }
    .mb-nav--open ul {
        flex-direction: column;
        align-items: center;
        gap: 4px;
        width: 100%;
    }
    .mb-nav--open ul li a {
        font-size: 1.2rem;
        padding: 12px 20px;
        text-align: center;
    }
    .mb-nav-close {
        display: flex;
        position: absolute;
        top: 20px; right: 20px;
        width: 44px; height: 44px;
        align-items: center;
        justify-content: center;
        color: rgba(232,228,220,0.6);
        font-size: 1.4rem;
        cursor: pointer;
    }
    .mb-nav-close:hover { color: #E8E4DC; }
    .mb-nav-logo-mobile {
        display: block;
        position: absolute;
        top: 20px; left: 24px;
    }

    .mb-facade-inner {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 32px;
        padding-bottom: 48px;
    }
    .mb-facade-sep { display: none; }
    .mb-facade-titre h1 { font-size: 2rem; }
    .mb-facade-desc { max-width: 100%; }

    .mb-colonnades { flex-wrap: wrap; }
    .mb-colonnade { flex: 1 1 33%; border-bottom: 1px solid rgba(184,92,40,0.15); }

    .mb-grille { grid-template-columns: 1fr; }
    .mb-voisins-grille { grid-template-columns: 1fr; gap: 16px; }

    .mb-vedette-image-wrap { aspect-ratio: 16 / 10; }
    .mb-vedette-body { max-width: 90%; padding: 20px 20px; }
    .mb-vedette-titre { font-size: 1.2rem; }

    .mb-gardien-inner { grid-template-columns: 1fr; gap: 32px; }
    .mb-gardien-portrait { width: 200px; height: 200px; }
    .mb-gardien-bio { column-count: 1; }

    .mb-panneaux { grid-template-columns: 1fr 1fr; }

    .mb-soubassement-grille { grid-template-columns: 1fr; }
    .mb-contact-inner { grid-template-columns: 1fr; }

    .mb-encart { padding: 32px 24px; }
    .mb-encart-inner { grid-template-columns: 1fr; }

    .mb-auteur { flex-direction: column; }
    .mb-auteur-photo { width: 72px; height: 72px; }
}

/* ============================================================
   PAGE À PROPOS
   ============================================================ */
.mb-ap-intro { background: var(--mb-calque); padding: clamp(56px, 9vw, 104px) 0; }
.mb-ap-intro-inner {
    max-width: 1220px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px);
    display: grid; grid-template-columns: 340px 1fr; gap: clamp(40px, 6vw, 80px); align-items: center;
}
.mb-ap-portrait { aspect-ratio: 3/4; overflow: hidden; background: var(--mb-ligne); border-radius: 6px; }
.mb-ap-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mb-ap-eyebrow { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mb-cuivre-deep); margin: 0 0 16px; }
.mb-ap-name { font-family: var(--mb-display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 500; font-style: normal; line-height: 1.1; color: var(--mb-encre); margin: 0 0 6px; }
.mb-ap-role { font-size: 0.85rem; color: var(--mb-encre-soft); letter-spacing: 0.04em; margin: 0 0 28px; }
.mb-ap-lede { max-width: 60ch; line-height: 1.75; color: var(--mb-encre); }
.mb-ap-lede p { margin: 0; }
.mb-ap-lede p + p { margin-top: 1em; }
.mb-ap-body { background: var(--mb-surface); padding: clamp(56px, 9vw, 104px) 0; }
.mb-ap-col { max-width: 780px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); color: var(--mb-encre); }
.mb-ap-bloc { padding-bottom: clamp(40px, 6vw, 64px); margin-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--mb-ligne); }
.mb-ap-bloc-head { display: flex; align-items: baseline; gap: 18px; margin-bottom: 22px; }
.mb-ap-folio { font-family: var(--mb-display); font-style: normal; font-size: 1rem; color: var(--mb-cuivre-deep); }
.mb-ap-bloc h2 { font-family: var(--mb-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; font-style: normal; line-height: 1.15; color: var(--mb-encre); margin: 0; }
.mb-ap-bloc > p { line-height: 1.8; margin: 0; }
.mb-ap-bloc > p + p, .mb-ap-bloc > ul + p, .mb-ap-bloc > dl + p { margin-top: 1em; }
.mb-ap-liste { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 14px; }
.mb-ap-liste li { position: relative; padding-left: 22px; line-height: 1.7; }
.mb-ap-liste li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 10px; height: 2px; background: var(--mb-cuivre-deep); }
.mb-ap-liste a { color: var(--mb-cuivre-deep); text-decoration: none; border-bottom: 1px solid currentColor; font-weight: 600; }
.mb-ap-liste a:hover { color: var(--mb-fond-sombre); }
.mb-ap-reperes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--mb-ligne); border: 1px solid var(--mb-ligne); margin: 0 0 24px; }
.mb-ap-reperes div { background: var(--mb-surface); padding: 24px 20px; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.mb-ap-reperes dd { margin: 0; font-family: var(--mb-display); font-style: normal; font-weight: 500; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; color: var(--mb-encre); }
.mb-ap-reperes dd.mb-ap-reperes-mot { font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.15; }
.mb-ap-reperes dt { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mb-encre-soft); }
.mb-ap-fin { text-align: center; }
.mb-ap-fin p { max-width: 54ch; margin: 0 auto 28px; line-height: 1.75; }
.mb-ap-bouton { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; background: var(--mb-cuivre-deep); padding: 15px 34px; border-radius: 6px; text-decoration: none; transition: background .2s; }
.mb-ap-bouton:hover { background: var(--mb-fond-sombre); color: #fff; }
@media (max-width: 860px) {
    .mb-ap-intro-inner { grid-template-columns: 1fr; }
    .mb-ap-portrait { max-width: 340px; }
}
@media (max-width: 560px) { .mb-ap-reperes { grid-template-columns: 1fr; } }

/* Bloc rédaction sans portrait */
.mb-gardien-inner--seule { grid-template-columns: minmax(0, 1fr); max-width: 860px; margin: 0 auto; }
.mb-ap-intro-inner--seule { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.mb-auteur--seule { display: block; }
