/* ═══════════════════════════════════════════════════════════════
   L'ÉPICERIE DU BOULINGRIN — DESIGN SYSTEM
   Trattoria · Épicerie fine · Bar à champagne · Traiteur
   ═══════════════════════════════════════════════════════════════ */

/* ─────────── 1. TOKENS ─────────── */
:root {
    /* Palette brand */
    --vert-sauge: #8AA47B;
    --vert-sauge-fonce: #6A8459;
    --vert-olive: #7A9466;
    --vert-foret: #3F5A2E;
    --creme: #F0EFE7;
    --creme-claire: #F8F7EF;
    --papier: #E6E5D7;
    --texte: #2C322A;
    --or-vegetal: #B8C49A;

    /* Sémantique */
    --bg: var(--creme-claire);
    --bg-alt: var(--papier);
    --bg-dark: var(--vert-foret);
    --surface: #FFFFFF;
    --text: var(--texte);
    --text-muted: #5C6356;
    --text-on-dark: var(--creme-claire);
    --primary: var(--vert-foret);
    --primary-hover: #2D4220;
    --accent: var(--vert-sauge);
    --accent-soft: var(--or-vegetal);
    --border: rgba(44, 50, 42, 0.14);
    --border-strong: rgba(44, 50, 42, 0.28);

    /* Typo */
    --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-hand: 'Caveat', cursive;

    /* Layout */
    --container: 1280px;
    --container-tight: 1040px;
    --container-text: 720px;
    --gutter: clamp(20px, 4vw, 48px);

    /* Radius */
    --r-xs: 4px;
    --r-sm: 8px;
    --r: 14px;
    --r-lg: 24px;
    --r-xl: 36px;

    /* Shadows (warm, low elevation) */
    --shadow-xs: 0 1px 2px rgba(63, 90, 46, 0.05);
    --shadow-sm: 0 4px 14px rgba(44, 50, 42, 0.06);
    --shadow: 0 14px 40px rgba(44, 50, 42, 0.10);
    --shadow-lg: 0 32px 80px rgba(44, 50, 42, 0.18);

    /* Motion */
    --t-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
    --t: 280ms cubic-bezier(0.4, 0, 0.2, 1);
    --t-slow: 600ms cubic-bezier(0.22, 1, 0.36, 1);

    /* Z layers */
    --z-nav: 50;
    --z-overlay: 80;
    --z-modal: 100;
}

/* ─────────── 2. RESET ─────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--vert-foret); color: var(--creme-claire); }

/* ─────────── 3. TYPOGRAPHY ─────────── */
.font-display { font-family: var(--font-display); }
.font-hand { font-family: var(--font-hand); }

.h-display {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: normal;
    line-height: 0.95;
    letter-spacing: -0.022em;
    font-size: clamp(3rem, 8vw, 7rem);
    color: var(--primary);
}

.h-xxl {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.02em;
    font-size: clamp(2.5rem, 6vw, 5rem);
    color: var(--primary);
}

.h-xl {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.018em;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    color: var(--primary);
}

.h-lg {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.012em;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--primary);
}

.h-md {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.25;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--primary);
}

.italic { font-style: italic; }
em.italic, .h-display em, .h-xxl em, .h-xl em, .h-lg em { font-style: italic; font-weight: 400; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--vert-sauge-fonce);
}
.eyebrow::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 1px;
    background: var(--vert-sauge-fonce);
}

.lead {
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    line-height: 1.55;
    color: var(--text-muted);
    max-width: 56ch;
}

.script {
    font-family: var(--font-hand);
    font-size: 1.5em;
    line-height: 1;
    color: var(--vert-sauge-fonce);
}

/* ─────────── 4. LAYOUT ─────────── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--tight { max-width: var(--container-tight); }
.container--text  { max-width: var(--container-text); }

.section { padding-block: clamp(64px, 10vw, 140px); }
.section--sm { padding-block: clamp(48px, 6vw, 80px); }
.section--lg { padding-block: clamp(96px, 14vw, 180px); }

.section--cream { background: var(--bg); }
.section--paper { background: var(--bg-alt); }
.section--forest { background: var(--bg-dark); color: var(--text-on-dark); }
.section--forest .eyebrow { color: var(--or-vegetal); }
.section--forest .eyebrow::before { background: var(--or-vegetal); }
.section--forest .h-display, .section--forest .h-xxl, .section--forest .h-xl, .section--forest .h-lg, .section--forest .h-md { color: var(--creme-claire); }
.section--forest .lead { color: rgba(240, 239, 231, 0.78); }

/* ─────────── 5. BUTTONS ─────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1;
    cursor: pointer;
    transition: background var(--t), color var(--t), border-color var(--t), transform var(--t-fast), box-shadow var(--t);
    white-space: nowrap;
    border: 1px solid transparent;
}
.btn svg { width: 16px; height: 16px; }

.btn--primary { background: var(--primary); color: var(--creme-claire); }
.btn--primary:hover { background: var(--primary-hover); box-shadow: var(--shadow); }

.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--creme-claire); }

.btn--light { background: var(--creme-claire); color: var(--primary); border-color: var(--border); }
.btn--light:hover { background: var(--surface); box-shadow: var(--shadow-sm); }

/* Bouton fantôme (numéro de téléphone du header) — calé sur les .nav-link */
.btn--ghost { background: transparent; color: var(--text); padding-inline: 8px; }
.btn--ghost:hover { color: var(--primary); }

.btn--on-dark { background: var(--creme-claire); color: var(--primary); }
.btn--on-dark:hover { background: var(--or-vegetal); }

.btn--lg { padding: 20px 34px; font-size: 1rem; }
.btn--sm { padding: 12px 20px; font-size: 0.85rem; }

.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ─────────── 6. SITE HEADER ─────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: var(--z-nav);
    padding: 18px 0;
    transition: background var(--t), backdrop-filter var(--t), padding var(--t), border-color var(--t);
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
    background: rgba(248, 247, 239, 0.92);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom-color: var(--border);
    padding: 12px 0;
}
.site-header.is-dark:not(.is-scrolled) .nav-link,
.site-header.is-dark:not(.is-scrolled) .brand-name,
.site-header.is-dark:not(.is-scrolled) .brand-mark,
.site-header.is-dark:not(.is-scrolled) .btn--ghost,
.site-header.is-dark:not(.is-scrolled) .nav-toggle { color: var(--creme-claire); }
.site-header.is-dark:not(.is-scrolled) .brand-mark { border-color: rgba(240, 239, 231, 0.6); }

.header-inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--primary); }
.brand-mark {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    overflow: hidden;
    transition: border-color var(--t);
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: color var(--t);
}
.brand-name em { font-style: italic; font-weight: 400; color: var(--vert-sauge-fonce); }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.nav-list { display: flex; align-items: center; gap: 4px; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text);
    border-radius: 999px;
    transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--primary); background: rgba(138, 164, 123, 0.14); }
.nav-link.is-active { color: var(--primary); background: rgba(138, 164, 123, 0.18); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--primary);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ─────────── 7. MOBILE NAV DRAWER ─────────── */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: var(--vert-foret);
    color: var(--creme-claire);
    transform: translateY(-100%);
    transition: transform var(--t-slow);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateY(0); }
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px var(--gutter);
}
.mobile-drawer-header .brand { color: var(--creme-claire); }
.mobile-drawer-header .brand-mark { border-color: rgba(240, 239, 231, 0.6); }
.mobile-drawer-header .brand-name em { color: var(--or-vegetal); }
.mobile-drawer-header .nav-toggle { color: var(--creme-claire); }

.mobile-nav {
    flex: 1;
    padding: 40px var(--gutter) 60px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(240, 239, 231, 0.15);
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--creme-claire);
}
.mobile-nav a:hover { color: var(--or-vegetal); }
.mobile-nav-footer {
    padding: 30px var(--gutter);
    border-top: 1px solid rgba(240, 239, 231, 0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.95rem;
}
.mobile-nav-footer a { color: var(--or-vegetal); }

/* ─────────── 8. HERO ─────────── */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    padding: 140px 0 80px;
    color: var(--creme-claire);
    overflow: hidden;
    isolation: isolate;
}
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(44, 50, 42, 0.55) 0%, rgba(44, 50, 42, 0.28) 30%, rgba(44, 50, 42, 0.75) 100%);
}

.hero__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    min-height: calc(100vh - 220px);
    min-height: calc(100svh - 220px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 32px;
}
.hero__eyebrow { color: var(--or-vegetal); }
.hero__eyebrow::before { background: var(--or-vegetal); }

.hero__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3.25rem, 9vw, 7.5rem);
    line-height: 0.92;
    letter-spacing: -0.025em;
    color: var(--creme-claire);
    max-width: 18ch;
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--or-vegetal); }
.hero__subtitle {
    font-size: clamp(1.1rem, 1.5vw, 1.3rem);
    line-height: 1.55;
    color: rgba(240, 239, 231, 0.85);
    max-width: 52ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(240, 239, 231, 0.25);
    font-size: 0.88rem;
    color: rgba(240, 239, 231, 0.78);
}
.hero__meta strong { display: block; color: var(--creme-claire); font-weight: 500; margin-top: 4px; font-size: 0.98rem; }

/* Hero interior (page secondaire) */
.hero-page {
    position: relative;
    padding: 180px 0 100px;
    color: var(--creme-claire);
    background: var(--vert-foret);
    overflow: hidden;
    isolation: isolate;
}
.hero-page__bg {
    position: absolute; inset: 0; z-index: -2;
    background-size: cover; background-position: center;
    opacity: 0.42;
}
.hero-page__overlay {
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(63,90,46,0.55) 0%, rgba(44,50,42,0.85) 100%);
}
.hero-page__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}
.hero-page__title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    line-height: 0.98;
    letter-spacing: -0.022em;
    color: var(--creme-claire);
    max-width: 16ch;
}
.hero-page__title em { font-style: italic; color: var(--or-vegetal); }
.hero-page__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: rgba(240, 239, 231, 0.82);
    max-width: 56ch;
}
.hero-page__eyebrow { color: var(--or-vegetal); }
.hero-page__eyebrow::before { background: var(--or-vegetal); }

/* ─────────── 9. MARQUEE ─────────── */
.marquee {
    position: relative;
    overflow: hidden;
    padding: 28px 0;
    background: var(--vert-foret);
    color: var(--creme-claire);
    border-block: 1px solid rgba(240, 239, 231, 0.1);
}
.marquee__track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 38s linear infinite;
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.marquee__track > span { display: inline-flex; align-items: center; gap: 60px; }
.marquee__track > span::after {
    content: "✺";
    color: var(--or-vegetal);
    font-style: normal;
    font-size: 0.7em;
    margin-left: 60px;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .marquee__track { animation: none; }
}

/* ─────────── 9b. SOUS-NAV / ONGLETS (Carte & menus) ─────────── */
.subnav {
    position: sticky;
    top: var(--header-h, 70px);
    z-index: 40;
    background: rgba(248, 247, 239, 0.94);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}
.subnav__inner {
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    gap: 4px;
    justify-content: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.subnav__inner::-webkit-scrollbar { display: none; }
.subnav__link {
    position: relative;
    flex-shrink: 0;
    padding: 16px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: color var(--t-fast);
}
.subnav__link::after {
    content: "";
    position: absolute;
    left: 18px; right: 18px; bottom: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--t-fast);
}
.subnav__link:hover { color: var(--primary); }
.subnav__link.is-active { color: var(--primary); }
.subnav__link.is-active::after { transform: scaleX(1); }
.subnav__link:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: var(--r-xs); }

/* Décalage d'ancre : laisse la place au header + sous-nav fixes */
.section[id] { scroll-margin-top: calc(var(--header-h, 70px) + 60px); }

@media (max-width: 640px) {
    .subnav__inner { justify-content: flex-start; }
    .subnav__link { padding: 14px 14px; font-size: 0.85rem; }
}

/* ─────────── 10. SECTION HEADERS ─────────── */
.section-head {
    display: grid;
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head--center { text-align: center; justify-items: center; }
.section-head--center .lead, .section-head--center .eyebrow { margin-inline: auto; }
.section-head__title { max-width: 22ch; }
.section-head--center .section-head__title { margin-inline: auto; }

/* ─────────── 11. PILLARS ─────────── */
.pillars {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}
.pillar {
    position: relative;
    grid-column: span 6;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px;
    overflow: hidden;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
    isolation: isolate;
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.pillar__media {
    aspect-ratio: 4 / 3;
    margin: -32px -32px 24px;
    background-size: cover;
    background-position: center;
}
.pillar__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--vert-sauge-fonce);
    margin-bottom: 8px;
}
.pillar__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.65rem;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.15;
}
.pillar__title em { font-style: italic; }
.pillar__body { color: var(--text-muted); font-size: 0.98rem; line-height: 1.6; margin-bottom: 18px; }
.pillar__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.01em;
}
.pillar__link::after { content: "→"; transition: transform var(--t-fast); }
.pillar:hover .pillar__link::after { transform: translateX(4px); }

.pillar--lg { grid-column: span 8; }
.pillar--sm { grid-column: span 4; }

@media (max-width: 900px) {
    .pillar, .pillar--lg, .pillar--sm { grid-column: span 12; }
}

/* ─────────── 11b. CONCEPT + VIDÉO (accueil) ─────────── */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr minmax(280px, 360px) 1fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}
.concept-col { display: grid; gap: clamp(32px, 4vw, 52px); align-content: center; }
.concept-col--left { text-align: right; }
.concept-col--left .concept-item { justify-items: end; }

.concept-item { display: grid; gap: 9px; }
.concept-item__num {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 0.85rem;
    color: var(--vert-sauge-fonce);
}
.concept-item__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    line-height: 1.15;
    color: var(--primary);
}
.concept-item__title em { font-style: italic; }
.concept-item__body { color: var(--text-muted); font-size: 0.96rem; line-height: 1.6; max-width: 36ch; }
.concept-item__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary);
    letter-spacing: 0.01em;
}
.concept-item__link::after { content: "→"; transition: transform var(--t-fast); }
.concept-item__link:hover { color: var(--primary-hover); }
.concept-item__link:hover::after { transform: translateX(4px); }

.concept-video-frame {
    position: relative;
    aspect-ratio: 9 / 16;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--vert-foret);
    box-shadow: var(--shadow);
}
.concept-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 980px) {
    .concept-grid { grid-template-columns: 1fr; gap: clamp(32px, 6vw, 48px); }
    .concept-video-frame { order: -1; width: 100%; max-width: 320px; margin-inline: auto; }
    .concept-col, .concept-col--left { text-align: left; grid-template-columns: 1fr 1fr; gap: 32px; }
    .concept-col--left .concept-item { justify-items: start; }
}
@media (max-width: 540px) {
    .concept-col, .concept-col--left { grid-template-columns: 1fr; }
}

/* ─────────── 12. EDITORIAL SPLIT ─────────── */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: center;
}
.split--narrow { grid-template-columns: 5fr 7fr; }
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__media {
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.split__media--landscape { aspect-ratio: 5 / 4; }
.split__body { display: grid; gap: 20px; }
.split__body p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

@media (max-width: 820px) {
    .split, .split--narrow { grid-template-columns: 1fr; }
}

/* ─────────── 13. SIGNATURES ─────────── */
.signatures {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.signature { display: flex; flex-direction: column; gap: 18px; }
.signature__media {
    aspect-ratio: 4 / 5;
    border-radius: var(--r-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform var(--t-slow);
}
.signature:hover .signature__media { transform: scale(1.02); }
.signature__title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--primary);
    font-weight: 400;
}
.signature__title em { font-style: italic; }
.signature__desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.signature__price {
    margin-top: 6px;
    font-family: var(--font-display);
    font-style: italic;
    color: var(--vert-sauge-fonce);
    font-size: 0.98rem;
}

@media (max-width: 820px) { .signatures { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .signatures { grid-template-columns: 1fr; } }

/* Image de contenu remplissant son conteneur (remplace les background-image) */
.media-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─────────── 14. GALLERY ─────────── */
.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}
.gallery__item {
    border-radius: var(--r);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform var(--t);
}
.gallery__item:hover { transform: scale(1.015); }
.gallery__item--a { grid-column: span 5; aspect-ratio: 4/5; }
.gallery__item--b { grid-column: span 4; aspect-ratio: 1/1; }
.gallery__item--c { grid-column: span 3; aspect-ratio: 4/5; }
.gallery__item--d { grid-column: span 3; aspect-ratio: 1/1; }
.gallery__item--e { grid-column: span 5; aspect-ratio: 5/4; }
.gallery__item--f { grid-column: span 4; aspect-ratio: 4/5; }

@media (max-width: 820px) {
    .gallery__item { grid-column: span 6 !important; aspect-ratio: 1/1 !important; }
}

/* ─────────── 15. MENU LIST ─────────── */
.menu-block { display: grid; gap: 28px; }
.menu-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.menu-block__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary);
    font-weight: 400;
}
.menu-block__title em { font-style: italic; }
.menu-block__hint {
    font-family: var(--font-hand);
    color: var(--vert-sauge-fonce);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.menu-list { display: grid; gap: 24px; }
.menu-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px 28px;
}
.menu-item__head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.menu-item__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 500;
    line-height: 1.2;
}
.menu-item__tag {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--vert-sauge-fonce);
    padding: 3px 8px;
    border: 1px solid var(--vert-sauge-fonce);
    border-radius: 999px;
}
.menu-item__desc {
    grid-column: 1 / -1;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 60ch;
}
.menu-item__price {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.15rem;
    color: var(--vert-foret);
    white-space: nowrap;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 820px) { .menu-grid { grid-template-columns: 1fr; } }

/* ─────────── 16. PRODUCT CARDS ─────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .product-grid { grid-template-columns: 1fr; } }

.product {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.product:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.product__icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    margin-bottom: 4px;
}
.product__icon svg { width: 26px; height: 26px; }
.product__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1.2;
    color: var(--primary);
    font-weight: 500;
}
.product__title em { font-style: italic; }
.product__desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.product__list {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed var(--border);
    font-size: 0.85rem;
    color: var(--vert-sauge-fonce);
}

/* ─────────── 17. FACTS / STAT BAND ─────────── */
.facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
@media (max-width: 820px) { .facts { grid-template-columns: 1fr 1fr; } }

.fact { display: grid; gap: 8px; }
.fact__num {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1;
    color: var(--primary);
    letter-spacing: -0.02em;
}
.section--forest .fact__num { color: var(--or-vegetal); }
.fact__num em { font-style: italic; }
.fact__label {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.section--forest .fact__label { color: rgba(240, 239, 231, 0.7); }

/* ─────────── 18. QUOTE ─────────── */
.quote { max-width: 50ch; margin-inline: auto; text-align: center; }
.quote__mark {
    display: block;
    font-family: var(--font-display);
    font-style: italic;
    font-size: 4rem;
    line-height: 0.5;
    color: var(--or-vegetal);
    margin-bottom: 24px;
}
.quote__text {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
    line-height: 1.3;
    color: var(--primary);
    font-weight: 400;
}
.quote__text em { font-style: italic; }
.quote__author {
    margin-top: 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}
.section--forest .quote__text { color: var(--creme-claire); }
.section--forest .quote__author { color: var(--or-vegetal); }

/* ─────────── 19. FORM ─────────── */
.form {
    display: grid;
    gap: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; gap: 22px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 640px) {
    .form-row--2, .form-row--3 { grid-template-columns: 1fr; }
}

.field { display: grid; gap: 8px; }
.field label {
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--vert-sauge-fonce);
}
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 1rem;
    color: var(--text);
    transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 140px; resize: vertical; font-family: inherit; }
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--surface);
    box-shadow: 0 0 0 4px rgba(63, 90, 46, 0.08);
}
.field--full { grid-column: 1 / -1; }
.field__hint { font-size: 0.82rem; color: var(--text-muted); margin-top: -2px; }

.form__submit {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.form__note { font-size: 0.82rem; color: var(--text-muted); }

.form-success, .form-error {
    display: none;
    padding: 18px 22px;
    border-radius: var(--r-sm);
    font-size: 0.95rem;
}
.form-success.is-visible, .form-error.is-visible { display: block; }
.form-success { background: rgba(138, 164, 123, 0.18); color: var(--vert-foret); border: 1px solid var(--vert-sauge); }
.form-error   { background: #FAE7E2; color: #843A2A; border: 1px solid #D7917F; }

/* ─────────── 20. INFO CARDS ─────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 820px) { .info-grid { grid-template-columns: 1fr; } }

.info-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 28px;
    display: grid;
    gap: 10px;
}
.info-card__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--primary);
    margin-bottom: 8px;
}
.info-card__icon svg { width: 22px; height: 22px; }
.info-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--primary);
    font-weight: 500;
}
.info-card__body { color: var(--text-muted); font-size: 0.95rem; line-height: 1.55; }
.info-card__body strong { color: var(--text); font-weight: 500; }
.info-card__body a { color: var(--primary); border-bottom: 1px solid var(--accent-soft); }
.info-card__body a:hover { color: var(--primary-hover); }

/* ─────────── 21. MAP ─────────── */
.map-wrap {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16 / 9;
    background: var(--bg-alt);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ─────────── 22. CTA BAND ─────────── */
.cta-band {
    background: var(--vert-foret);
    color: var(--creme-claire);
    border-radius: var(--r-xl);
    padding: clamp(40px, 6vw, 72px);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}
.cta-band__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.1;
    font-weight: 400;
    color: var(--creme-claire);
}
.cta-band__title em { font-style: italic; color: var(--or-vegetal); }
.cta-band__desc { color: rgba(240, 239, 231, 0.78); margin-top: 10px; font-size: 1rem; max-width: 50ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) {
    .cta-band { grid-template-columns: 1fr; text-align: left; }
}

/* ─────────── 23. FOOTER ─────────── */
.site-footer {
    background: #1F2A19;
    color: rgba(240, 239, 231, 0.78);
    padding: 80px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .brand-name { color: var(--creme-claire); font-size: 1.3rem; }
.footer-brand .brand-name em { color: var(--or-vegetal); }
.footer-brand .brand-mark { color: var(--creme-claire); border-color: rgba(240, 239, 231, 0.5); }
.footer-brand p { margin-top: 18px; font-size: 0.95rem; line-height: 1.6; max-width: 32ch; }

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--creme-claire);
    margin-bottom: 18px;
    font-style: italic;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
    font-size: 0.92rem;
    color: rgba(240, 239, 231, 0.7);
    transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--or-vegetal); }
.footer-col p { font-size: 0.92rem; color: rgba(240, 239, 231, 0.7); line-height: 1.55; }

.social-row { display: flex; gap: 10px; margin-top: 14px; }
.social-link {
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(240, 239, 231, 0.2);
    color: var(--creme-claire);
    transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.social-link:hover { background: var(--or-vegetal); color: var(--vert-foret); border-color: var(--or-vegetal); }
.social-link svg { width: 18px; height: 18px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 28px;
    border-top: 1px solid rgba(240, 239, 231, 0.12);
    font-size: 0.8rem;
    color: rgba(240, 239, 231, 0.55);
    letter-spacing: 0.03em;
}
.footer-bottom a { color: rgba(240, 239, 231, 0.7); }
.footer-bottom a:hover { color: var(--or-vegetal); }

/* ─────────── 24. UTILITIES ─────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.text-accent { color: var(--vert-sauge-fonce); }
.divider { height: 1px; background: var(--border); margin-block: clamp(48px, 6vw, 80px); }
.divider--strong { background: var(--border-strong); }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--primary);
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    border: 1px solid var(--border);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--t-slow), transform var(--t-slow);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─────────── 25. RESPONSIVE NAV ─────────── */
@media (max-width: 980px) {
    .primary-nav, .header-cta .btn:not(.btn--primary) { display: none; }
    .nav-toggle { display: inline-flex; }
    .header-cta { gap: 6px; }
}

/* ─────────── 26. PRINT ─────────── */
@media print {
    .site-header, .site-footer, .marquee, .subnav, .cta-band, .mobile-drawer { display: none; }
    body { background: white; color: black; }
    .hero, .hero-page { padding: 20px 0; min-height: 0; background: white; color: black; }
    .hero__bg, .hero__overlay, .hero-page__bg, .hero-page__overlay { display: none; }
    .hero__title, .hero-page__title { color: black; font-size: 2.5rem; }
}
