/* =============================================================
   LA BÊLLE POMME — feuille de style globale
   Palette + composants extraits de DESIGN-stitch/contact_la_b_lle_pomme_2
   ============================================================= */

:root {
    /* Palette (Material You — extraite du Stitch) */
    --primary: #172c1d;            /* forêt profond — header/footer/cartes sombres */
    --on-primary: #ffffff;
    --secondary: #964828;          /* terracotta — CTA, accents, liens */
    --on-secondary: #ffffff;
    --secondary-fixed: #ffdbce;
    --tertiary-fixed: #eee1cb;     /* beige doux — cartes claires, chips */
    --on-tertiary-fixed-variant: #4e4636;
    --surface: #fbf9f4;            /* papier crème — fond global */
    --surface-container-high: #eae8e3;
    --surface-container-low: #f5f3ee;
    --surface-variant: #e4e2dd;
    --on-surface: #1b1c19;
    --on-surface-variant: #434843;
    --outline: #737972;
    --outline-variant: #c3c8c1;

    /* Typo + espace */
    --font-display: 'Domine', Georgia, serif;
    --font-body: 'Libre Franklin', system-ui, -apple-system, sans-serif;
    --container-max: 1120px;
    --gutter: 24px;
    --stack-md: 32px;
    --stack-lg: 64px;

    /* Texture papier — la même image que body, dosée par opacité par bloc */
    --texture-url: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    --texture-opacity-header: 0.18;   /* discret pour ne pas gêner la lecture */
    --texture-opacity-card: 0.32;     /* plus marqué, comme dans le Stitch */
    --texture-opacity-footer: 0.22;
}

/* Mixin local : applique la texture sur un fond foncé via ::before + overlay */
.has-paper-texture { position: relative; isolation: isolate; }
.has-paper-texture > * { position: relative; z-index: 1; }
.has-paper-texture::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--texture-url);
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: var(--texture-opacity, 0.3);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}

/* --- Reset minimal ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--on-surface);
    background-color: var(--surface);
    /* Texture papier (fidèle au Stitch) */
    background-image: url("https://www.transparenttextures.com/patterns/natural-paper.png");
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--primary);
    margin: 0;
    line-height: 1.15;
    font-weight: 700;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* --- HEADER fixe vert foncé ------------------------------- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: var(--primary);
    color: var(--on-primary);
    height: 80px;
    isolation: isolate;
    --texture-opacity: var(--texture-opacity-header);
}
.site-header::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--texture-url);
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: var(--texture-opacity);
    pointer-events: none;
    z-index: 0;
}
.site-header > * { position: relative; z-index: 1; }
.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.site-header__brand {
    display: flex; align-items: center; gap: 12px;
    color: var(--on-primary);
}
.site-header__brand img { height: 40px; width: auto; }
.site-header__brand-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.01em;
}
.site-nav {
    display: flex; gap: 32px; align-items: center;
}
/* Liste générée par wp_nav_menu() (menu natif WordPress). */
.site-nav__list {
    display: flex; gap: 32px; align-items: center;
    list-style: none; margin: 0; padding: 0;
}
.site-nav__list li { margin: 0; }
.site-nav a {
    color: var(--on-primary);
    opacity: 0.85;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity .2s;
}
.site-nav a:hover { opacity: 1; text-decoration: none; }
.site-nav .is-active,
.site-nav .current-menu-item > a,
.site-nav .current-menu-ancestor > a { opacity: 1; border-bottom: 2px solid var(--secondary-fixed); padding-bottom: 4px; }

.btn-cta {
    background: var(--secondary);
    color: var(--on-secondary);
    border: 0;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: transform .2s, background .2s;
}
.btn-cta:hover { transform: translateY(-2px); text-decoration: none; }

@media (max-width: 768px) {
    .site-nav { display: none; }
}

/* --- Hero CONTACT ----------------------------------------- */
.contact-hero {
    padding-top: 140px;
    padding-bottom: 56px;
    text-align: center;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 24px;
}
.eyebrow::before, .eyebrow::after {
    content: '';
    width: 32px; height: 1px;
    background: var(--secondary);
    opacity: 0.6;
}
.contact-hero h1 {
    font-size: clamp(34px, 4.6vw, 52px);
    margin-bottom: 14px;
    line-height: 1.12;
}
.contact-hero__sub {
    font-size: 0.7em;
    color: var(--secondary);
    font-weight: 600;
    font-style: italic;
}
.contact-hero__tagline {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 24px;
}
.contact-hero p {
    max-width: 660px;
    margin: 0 auto;
    color: var(--on-surface-variant);
    font-size: 17px;
}

/* --- Grille principale : form + info ---------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    padding-bottom: var(--stack-lg);
    align-items: start;
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

.card {
    border-radius: 20px;
    padding: 40px;
}
.card--form {
    background: var(--tertiary-fixed);
    border: 1px solid rgba(45,39,25,0.08);
}
.card--info {
    background: var(--primary);
    color: var(--on-primary);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --texture-opacity: var(--texture-opacity-card);
}
.card--info::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--texture-url);
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: var(--texture-opacity);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}
.card--info > * { position: relative; z-index: 1; }

/* Formulaire — inputs rounded-full du Stitch */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) {
    .contact-form .row { grid-template-columns: 1fr; }
}
.field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--on-tertiary-fixed-variant);
    padding-left: 18px;
    margin-bottom: 6px;
}
.field input,
.field textarea {
    width: 100%;
    background: var(--surface);
    border: 1px solid rgba(45,39,25,0.15);
    padding: 14px 22px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--on-surface);
    transition: border-color .2s, box-shadow .2s;
}
.field input { border-radius: 999px; }
.field textarea { border-radius: 24px; resize: vertical; min-height: 140px; }
.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(23,44,29,0.12);
}
.btn-submit {
    align-self: flex-start;
    background: var(--secondary);
    color: var(--on-secondary);
    border: 0;
    padding: 14px 36px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(150,72,40,0.25);
    transition: transform .2s, background .2s;
}
.btn-submit:hover { transform: translateY(-2px); background: #7a3a1f; }

/* Carte info vert foncé */
.info-block + .info-block { margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.12); }
.info-block h3 {
    color: var(--on-primary);
    font-size: 18px;
    margin-bottom: 12px;
    font-family: var(--font-display);
}
.info-block p,
.info-block address {
    margin: 0;
    color: rgba(255,255,255,0.85);
    font-style: normal;
    font-size: 15px;
    line-height: 1.7;
}
.info-block a { color: var(--secondary-fixed); }
.info-block a:hover { color: var(--on-primary); }

/* --- Galerie 3 photos ------------------------------------- */
.gallery-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: var(--stack-lg);
}
@media (max-width: 768px) {
    .gallery-row { grid-template-columns: 1fr; }
}
.gallery-row figure {
    margin: 0;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--surface-variant);
}
.gallery-row img { width: 100%; height: 100%; object-fit: cover; }

/* --- Section Marchés (placeholder) ------------------------ */
.markets {
    background: var(--surface-container-high);
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: var(--stack-lg);
    border: 1px solid var(--outline-variant);
}
.markets__head { text-align: center; margin-bottom: 24px; }
.markets__head h2 { font-size: 28px; margin-top: 12px; }
.markets__body p {
    max-width: 680px;
    margin: 0 auto 24px;
    text-align: center;
    color: var(--on-surface-variant);
}
.chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
    background: var(--tertiary-fixed);
    color: var(--on-tertiary-fixed-variant);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
}

/* --- Marchés : 2 colonnes ---------------------------------- */
.markets__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}
@media (max-width: 720px) {
    .markets__cols { grid-template-columns: 1fr; gap: 24px; }
}
.markets__col h3 {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--secondary);
    display: inline-block;
}
.markets-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.markets-list li {
    background: var(--surface);
    border: 1px solid var(--outline-variant);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.markets-list strong {
    color: var(--primary);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
}
.markets-list span {
    color: var(--on-surface-variant);
    font-size: 14px;
}

/* --- Carte Google ----------------------------------------- */
.contact-map {
    padding-bottom: var(--stack-lg);
}
.contact-map iframe {
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(23,44,29,0.12);
}

/* =============================================================
   COMPOSANTS DE PAGE (accueil, ferme, brebis, pépinière, catalogues…)
   Réutilisent la palette + texture définies plus haut.
   ============================================================= */

/* --- Hero générique (centré, sur fond crème) -------------- */
.page-hero {
    padding-top: 132px;
    padding-bottom: 48px;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(32px, 4.4vw, 50px);
    margin-bottom: 16px;
    line-height: 1.12;
}
.page-hero .lead {
    max-width: 680px;
    margin: 0 auto;
    color: var(--on-surface-variant);
    font-size: 18px;
}

/* --- Hero image plein cadre (accueil) --------------------- */
.hero-cover {
    position: relative;
    isolation: isolate;
    margin-top: 80px;            /* sous le header fixe */
    min-height: 78vh;
    display: flex;
    align-items: center;
    color: var(--on-primary);
    overflow: hidden;
}
.hero-cover__bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.hero-cover::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(23,44,29,0.45) 0%, rgba(23,44,29,0.72) 100%);
    z-index: -1;
}
.hero-cover .container { width: 100%; }
.hero-cover .eyebrow { color: var(--secondary-fixed); }
.hero-cover .eyebrow::before, .hero-cover .eyebrow::after { background: var(--secondary-fixed); }
.hero-cover h1 {
    color: var(--on-primary);
    font-size: clamp(36px, 5.4vw, 64px);
    max-width: 14ch;
    margin-bottom: 20px;
}
.hero-cover p {
    color: rgba(255,255,255,0.9);
    font-size: 19px;
    max-width: 50ch;
    margin: 0 0 32px;
}
.btn-cta--lg {
    display: inline-block;
    background: var(--secondary);
    color: var(--on-secondary);
    padding: 16px 36px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 28px rgba(0,0,0,0.25);
    transition: transform .2s, background .2s;
}
.btn-cta--lg:hover { transform: translateY(-2px); background: #7a3a1f; text-decoration: none; color: var(--on-secondary); }

/* --- Section générique + intro ---------------------------- */
.section { padding: var(--stack-lg) 0; }
.section--tight { padding: var(--stack-md) 0; }
.section-intro { text-align: center; max-width: 720px; margin: 0 auto var(--stack-md); }
.section-intro h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.section-intro p { color: var(--on-surface-variant); font-size: 17px; margin: 0; }
.section h2 + p, .split__body h2 + p { margin-top: 14px; }

/* --- Split texte + image (7/5) ---------------------------- */
.split {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 56px;
    align-items: center;
}
.split + .split { margin-top: var(--stack-lg); }
.split--reverse .split__media { order: -1; }
.split__body h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 18px; }
.split__body h3 { font-size: 19px; color: var(--secondary); margin: 24px 0 8px; }
.split__body p { color: var(--on-surface-variant); margin: 0 0 14px; }
.split__eyebrow { margin-bottom: 12px; }
.split__media img {
    width: 100%;
    border-radius: 24px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(23,44,29,0.16);
}
.split--wide .split__media img { aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; gap: 28px; }
    .split--reverse .split__media { order: 0; }
    .split__media img { aspect-ratio: 16 / 10; }
}

/* --- Bande VALEURS (vert foncé, grille d'icônes) ---------- */
.values {
    background: var(--primary);
    color: var(--on-primary);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --texture-opacity: var(--texture-opacity-card);
}
.values::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--texture-url);
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: var(--texture-opacity);
    pointer-events: none;
    z-index: 0;
}
.values > * { position: relative; z-index: 1; }
.values .section-intro h2 { color: var(--on-primary); }
.values .section-intro p { color: rgba(255,255,255,0.75); }
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 860px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }
.value {
    text-align: center;
}
.value__icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--secondary-fixed);
}
.value__icon svg { width: 26px; height: 26px; }
.value h3 { color: var(--on-primary); font-size: 17px; margin-bottom: 8px; }
.value p { color: rgba(255,255,255,0.72); font-size: 14px; margin: 0; }

/* --- Cartes "spécialités" (image + label) ----------------- */
.spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
@media (max-width: 760px) { .spec-grid { grid-template-columns: 1fr; } }
.spec-card {
    border-radius: 20px;
    overflow: hidden;
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
}
.spec-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-variant); }
.spec-card__media img { width: 100%; height: 100%; object-fit: cover; }
.spec-card__body { padding: 22px 24px; }
.spec-card h3 { font-size: 20px; margin-bottom: 6px; }
.spec-card p { color: var(--on-surface-variant); font-size: 14px; margin: 0; }

/* --- Bande de chiffres (réels) ---------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    padding: 44px 40px;
    border-radius: 24px;
    background: var(--surface-container-high);
    border: 1px solid var(--outline-variant);
}
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; } }
.stat__num {
    font-family: var(--font-display);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 700;
    color: var(--secondary);
    line-height: 1;
}
.stat__label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
}

/* --- Encadré "Commander" ---------------------------------- */
.order-callout {
    background: var(--tertiary-fixed);
    border: 1px solid rgba(45,39,25,0.08);
    border-radius: 24px;
    padding: 40px;
}
.order-callout h2 { font-size: 26px; margin-bottom: 14px; }
.order-callout p { color: var(--on-tertiary-fixed-variant); margin: 0 0 12px; }
.order-callout ul { margin: 0; padding-left: 20px; color: var(--on-tertiary-fixed-variant); }
.order-callout li { margin-bottom: 8px; }
.order-callout a { color: var(--secondary); font-weight: 600; }

/* --- Carte CTA "Prêt à planter…" -------------------------- */
.cta-card {
    background: var(--primary);
    color: var(--on-primary);
    border-radius: 28px;
    padding: 56px 40px;
    text-align: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --texture-opacity: var(--texture-opacity-card);
}
.cta-card::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--texture-url);
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: var(--texture-opacity);
    pointer-events: none;
    z-index: 0;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: var(--on-primary); font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cta-card p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 0 auto 28px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-ghost {
    display: inline-block;
    background: transparent;
    color: var(--on-primary);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 15px 32px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--on-primary); text-decoration: none; color: var(--on-primary); }

/* --- Catalogue : variétés en cartes ----------------------- */
.cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: var(--stack-md);
}
.cat-nav a {
    background: var(--tertiary-fixed);
    color: var(--on-tertiary-fixed-variant);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
}
.cat-nav a:hover { background: var(--secondary); color: var(--on-secondary); text-decoration: none; }
.cat-group { margin-bottom: var(--stack-lg); scroll-margin-top: 100px; }
.cat-group__title {
    font-size: clamp(24px, 2.8vw, 32px);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--secondary);
}
.variety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
@media (max-width: 760px) { .variety-grid { grid-template-columns: 1fr; } }
.variety {
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: 18px;
    padding: 24px 26px;
}
.variety h3 { font-size: 19px; margin-bottom: 8px; }
.variety p { color: var(--on-surface-variant); font-size: 15px; margin: 0 0 14px; }
.variety .rootstocks {
    display: flex; flex-wrap: wrap; gap: 8px;
    padding-top: 12px;
    border-top: 1px dashed var(--outline-variant);
}
.variety .rootstocks .label {
    width: 100%;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--on-surface-variant);
    margin-bottom: 2px;
}
.variety .chip {
    background: var(--tertiary-fixed);
    color: var(--on-tertiary-fixed-variant);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

/* --- Notice (page sans contenu archivé) ------------------- */
.notice {
    background: var(--secondary-fixed);
    border-left: 4px solid var(--secondary);
    border-radius: 12px;
    padding: 18px 22px;
    color: #5a2c17;
    font-size: 14px;
}

/* =============================================================
   PATTERNS GUTENBERG — habillage du balisage de blocs natifs
   (scopé .wp-block-* / .lbp-* pour ne pas toucher les templates PHP).
   ============================================================= */

/* Texte + image */
.lbp-split { gap: 48px; align-items: center; }
.lbp-split .wp-block-image { margin: 0; }
.lbp-split .wp-block-image img,
.lbp-figure img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(23,44,29,0.16);
}

/* Bande de valeurs : la grille s'applique au bloc colonnes */
.values.wp-block-group { padding-top: var(--stack-lg); padding-bottom: var(--stack-lg); }
.values-grid.wp-block-columns { gap: 32px; }
.values .value.wp-block-group { text-align: center; }

/* 3 cartes : chaque colonne devient une carte */
.spec-grid.wp-block-columns { gap: 28px; }
.spec-grid > .wp-block-column {
    background: var(--surface-container-low);
    border: 1px solid var(--outline-variant);
    border-radius: 20px;
    overflow: hidden;
}
.spec-grid > .wp-block-column > .wp-block-image { margin: 0; }
.spec-grid > .wp-block-column > .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; box-shadow: none; }
.spec-grid > .wp-block-column > :is(h3, p) { padding-left: 24px; padding-right: 24px; }
.spec-grid > .wp-block-column > h3 { padding-top: 20px; }
.spec-grid > .wp-block-column > p:last-child { padding-bottom: 22px; }

/* Bande de chiffres */
.lbp-stats.wp-block-columns { gap: 24px; }
.lbp-stats .wp-block-column { text-align: center; }
.lbp-stats .stat__num { color: var(--secondary); }

/* Boutons dans les cartes CTA */
.cta-card .wp-block-buttons { justify-content: center; }
.cta-card .wp-block-button__link {
    background: var(--secondary);
    color: var(--on-secondary);
    border-radius: 999px;
    padding: 15px 32px;
    font-family: var(--font-display);
    font-weight: 600;
}
.cta-card .is-style-outline .wp-block-button__link {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--on-primary);
}
.order-callout .wp-block-button__link {
    background: var(--secondary);
    color: var(--on-secondary);
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
}

/* Page éditeur (page.php) : largeur de contenu + gestion alignfull/wide.
   Le contenu normal est centré à 1120px ; les blocs pleine largeur
   (ex. bande de valeurs) débordent en bord à bord. */
.lbp-page-content { padding-top: 96px; padding-bottom: var(--stack-lg); }
.lbp-page-content > * {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.lbp-page-content > .alignwide { max-width: 1280px; }
.lbp-page-content > .alignfull { max-width: none; padding-left: 0; padding-right: 0; }
/* Le hero placé en tête d'une page éditeur : l'enrobage gère déjà l'espace
   sous le header fixe, on réduit donc le grand padding du hero. */
.lbp-page-content .page-hero { padding-top: 24px; }

/* --- Footer vert foncé ------------------------------------ */
.site-footer {
    background: var(--primary);
    color: var(--on-primary);
    padding: 56px 0 32px;
    border-radius: 32px 32px 0 0;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --texture-opacity: var(--texture-opacity-footer);
}
.site-footer::before {
    content: '';
    position: absolute; inset: 0;
    background-image: var(--texture-url);
    background-repeat: repeat;
    mix-blend-mode: overlay;
    opacity: var(--texture-opacity);
    pointer-events: none;
    border-radius: inherit;
    z-index: 0;
}
.site-footer > * { position: relative; z-index: 1; }
.site-footer__brand {
    text-align: center;
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 8px;
}
.site-footer__tagline {
    text-align: center;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 32px;
}
.site-footer__nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.site-footer__nav a {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.site-footer__nav a:hover { color: var(--secondary-fixed); text-decoration: none; }
.site-footer__copy {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
