/* =============================================================================
   Domaine de Valmont — Feuille de style du site public
   Palette : Bordeaux profond · Crème · Blanc cassé · Charbon · Doré discret
   Typographie : Cormorant Garamond (serif) + Jost (sans-serif)
   ========================================================================== */

:root {
    /* Couleurs */
    --bordeaux:      #5c1a2b;
    --bordeaux-deep: #43121f;
    --wine:          #6b2436;
    --cream:         #f5efe6;
    --cream-2:       #eae0d0;
    --offwhite:      #faf7f2;
    --charcoal:      #1a1614;
    --ink:           #2a2320;
    --muted:         #7a6f66;
    --gold:          #c9a24b;
    --gold-soft:     #d9be82;
    --line:          rgba(26, 22, 20, 0.12);

    /* Typographie */
    --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --sans:  "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Espacements & rythme */
    --container: 1200px;
    --radius: 4px;
    --shadow-sm: 0 2px 10px rgba(26, 22, 20, 0.06);
    --shadow-md: 0 14px 40px rgba(26, 22, 20, 0.12);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset léger ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    caret-color: var(--bordeaux);
    /* Barre de défilement aux couleurs de la maison (Firefox) */
    scrollbar-color: var(--wine) var(--cream);
}

/* Sélection de texte & barre de défilement (WebKit) : détails aux couleurs du domaine */
::selection { background: var(--bordeaux); color: var(--cream); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--wine); border-radius: 10px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--bordeaux); }

/* Les ancres ne passent pas sous l'en-tête fixe */
:target { scroll-margin-top: 96px; }
section[id] { scroll-margin-top: 96px; }
body {
    font-family: var(--sans);
    font-weight: 300;
    color: var(--ink);
    background: var(--offwhite);
    line-height: 1.65;
    font-size: 16px;
    /* Texture papier très légère */
    background-image:
        radial-gradient(rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 4px 4px;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--charcoal); }
ul { list-style: none; padding: 0; }

/* Accessibilité : focus visible */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }

/* ---------------------------- Typographie clé --------------------------- */
.eyebrow {
    font-family: var(--sans);
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--bordeaux);
    margin-bottom: 1rem;
}
.section-title { font-size: clamp(2rem, 4.5vw, 3.4rem); letter-spacing: 0.01em; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 46ch; margin: 0.75rem auto 0; }
.lead { font-size: 1.2rem; color: var(--ink); margin-bottom: 1.2rem; }

/* Filet doré décoratif sous les titres de section */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head .section-title::after {
    content: ""; display: block; width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 1.25rem auto 0;
}

/* ------------------------------- Boutons -------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.6em;
    font-family: var(--sans); font-weight: 500; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 0.18em;
    padding: 1em 2em; border: 1px solid transparent; border-radius: var(--radius);
    cursor: pointer; transition: all 0.4s var(--ease);
}
.btn .icon { transition: transform 0.4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bordeaux); color: var(--cream); }
.btn-primary:hover { background: var(--bordeaux-deep); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--bordeaux); border-color: var(--bordeaux); }
.btn-outline:hover { background: var(--bordeaux); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--bordeaux); }
.btn-light:hover { background: #fff; box-shadow: var(--shadow-md); }
.btn-hero {
    background: rgba(245, 239, 230, 0.08); color: #fff; border-color: rgba(245,239,230,0.5);
    backdrop-filter: blur(4px);
}
.btn-hero:hover { background: var(--cream); color: var(--bordeaux); border-color: var(--cream); }

.link-underline {
    display: inline-flex; align-items: center; gap: 0.4em;
    font-weight: 500; color: var(--bordeaux); position: relative;
    text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
}
.link-underline::after {
    content: ""; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); }
.link-underline .icon { transition: transform 0.4s var(--ease); }
.link-underline:hover .icon { transform: translateX(4px); }

/* ------------------------------- Header --------------------------------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 1.5rem 0; transition: all 0.4s var(--ease);
}
.header-inner {
    max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px);
    display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; flex-direction: column; line-height: 1; color: #fff; transition: color 0.4s var(--ease); }
.brand-name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.02em; }
.brand-tagline { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.3em; margin-top: 4px; opacity: 0.8; }

.main-nav ul { display: flex; gap: 2.5rem; }
.main-nav a {
    color: #fff; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.16em;
    font-weight: 400; position: relative; padding: 4px 0; transition: color 0.3s var(--ease);
}
.main-nav a::after {
    content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
    background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform 0.35s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

/* Header "scrolled" (fond crème) — appliqué en JS */
.site-header.scrolled {
    background: rgba(250, 247, 242, 0.96); backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm); padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
}
.site-header.scrolled .brand,
.site-header.scrolled .main-nav a { color: var(--charcoal); }
.site-header.scrolled .brand-tagline { color: var(--bordeaux); }
.site-header.scrolled .nav-toggle { color: var(--charcoal); }

/* Sur les pages internes (pas la home), header sombre par défaut */
body:not(.is-home) .site-header { background: var(--bordeaux-deep); }
body:not(.is-home) .site-header.scrolled { background: rgba(250, 247, 242, 0.96); }

.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 4px; }

/* --------------------------- Navigation mobile -------------------------- */
.mobile-nav {
    position: fixed; inset: 0; z-index: 200; background: var(--bordeaux-deep);
    transform: translateY(-100%); transition: transform 0.5s var(--ease);
    display: flex; align-items: center; justify-content: center;
}
.mobile-nav.open { transform: translateY(0); }
.mobile-nav ul { text-align: center; }
.mobile-nav li { margin: 1.4rem 0; opacity: 0; transform: translateY(20px); transition: all 0.4s var(--ease); }
.mobile-nav.open li { opacity: 1; transform: translateY(0); }
.mobile-nav.open li:nth-child(1) { transition-delay: 0.15s; }
.mobile-nav.open li:nth-child(2) { transition-delay: 0.22s; }
.mobile-nav.open li:nth-child(3) { transition-delay: 0.29s; }
.mobile-nav.open li:nth-child(4) { transition-delay: 0.36s; }
.mobile-nav a { color: var(--cream); font-family: var(--serif); font-size: 2rem; }
.mobile-nav a.active { color: var(--gold); }
.mobile-nav-close { position: absolute; top: 1.8rem; right: 1.8rem; background: none; border: none; color: var(--cream); cursor: pointer; }

/* -------------------------------- Hero ---------------------------------- */
.hero { position: relative; height: 100vh; height: 100dvh; min-height: 620px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -8% 0; z-index: 1; will-change: transform; }
.hero-bg img { width: 100%; height: 116%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0; z-index: 2;
    background:
        linear-gradient(180deg, rgba(26,18,15,0.5) 0%, rgba(67,18,31,0.35) 45%, rgba(26,18,15,0.65) 100%);
}
.hero-content { position: relative; z-index: 3; text-align: center; color: #fff; padding: 0 1.5rem; max-width: 900px; }
.hero-eyebrow { color: var(--gold-soft); letter-spacing: 0.32em; text-transform: uppercase; font-size: 0.8rem; margin-bottom: 1.5rem; }
.hero-title { font-size: clamp(2.8rem, 8vw, 6rem); font-weight: 500; letter-spacing: 0.02em; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.hero-slogan { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 3vw, 1.8rem); margin: 1rem 0 2.5rem; opacity: 0.95; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 1px; height: 50px; background: rgba(255,255,255,0.4); overflow: hidden; }
.hero-scroll span { position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--gold); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { top: -50%; } 100% { top: 100%; } }

/* ------------------------------ Sections -------------------------------- */
.section { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.section-alt { background: var(--cream); }
.section-cta { text-align: center; margin-top: 3.5rem; }
.empty-note { text-align: center; color: var(--muted); font-style: italic; font-family: var(--serif); font-size: 1.3rem; padding: 3rem 0; }

/* Bloc split (image + texte) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.media-frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; }

/* ----------------------------- Grille de vins --------------------------- */
.wine-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem; }
.wine-card {
    background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
    border: 1px solid var(--line); display: flex; flex-direction: column;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.wine-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.wine-card-media { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%); overflow: hidden; }
.wine-card-media img { width: 100%; height: 100%; object-fit: contain; padding: 2rem 1rem; transition: transform 0.6s var(--ease); }
.wine-card:hover .wine-card-media img { transform: scale(1.06); }
.wine-type-badge {
    position: absolute; top: 1rem; left: 1rem; font-size: 0.66rem; text-transform: uppercase;
    letter-spacing: 0.14em; padding: 0.4em 0.9em; border-radius: 100px; color: #fff; font-weight: 500;
}
.wine-type-badge.is-red { background: var(--bordeaux); }
.wine-type-badge.is-white { background: #b89a4e; }
.wine-type-badge.is-rose { background: #c77e83; }
.wine-type-badge.is-sparkling { background: #a68a3c; }
.wine-type-badge.is-other { background: var(--muted); }
.wine-unavailable { position: absolute; top: 1rem; right: 1rem; background: rgba(26,22,20,0.85); color: #fff; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.12em; padding: 0.4em 0.9em; border-radius: 100px; }

.wine-card-body { padding: 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.wine-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.wine-name { font-size: 1.5rem; }
.wine-vintage { font-family: var(--serif); font-size: 1.25rem; color: var(--gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.wine-origin { display: flex; align-items: center; gap: 0.4em; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wine-origin .icon { color: var(--bordeaux); flex-shrink: 0; }
.wine-desc { font-size: 0.94rem; color: var(--ink); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.wine-specs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; padding-top: 0.3rem; }
.wine-specs li { display: flex; align-items: center; gap: 0.4em; font-size: 0.78rem; color: var(--muted); }
.wine-specs .icon { color: var(--bordeaux); }
.wine-card-foot { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.wine-price { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--bordeaux); font-variant-numeric: tabular-nums; }
.wine-price-na { font-size: 1.1rem; font-style: italic; color: var(--muted); }
.wine-avail { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; padding: 0.35em 0.8em; border-radius: 100px; }
.wine-avail.ok { color: #2f6b3d; background: rgba(47,107,61,0.1); }
.wine-avail.no { color: #9a3b3b; background: rgba(154,59,59,0.1); }

/* ----------------------------- Notre histoire --------------------------- */
.histoire { background: var(--bordeaux-deep); color: var(--cream); position: relative; }
.histoire .eyebrow { color: var(--gold-soft); }
.histoire .section-title { color: #fff; }
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; margin-bottom: 4.5rem; }
.timeline-item { border-top: 1px solid rgba(217,190,130,0.3); padding-top: 1.5rem; }
.timeline-year { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); display: block; margin-bottom: 0.5rem; font-variant-numeric: tabular-nums; }
.timeline-item h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.6rem; }
.timeline-item p { color: rgba(245,239,230,0.75); font-size: 0.95rem; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2.5rem; padding-top: 3.5rem; border-top: 1px solid rgba(217,190,130,0.2); text-align: center; }
.value .icon { color: var(--gold); margin-bottom: 1rem; }
.value h4 { color: #fff; font-size: 1.5rem; margin-bottom: 0.5rem; }
.value p { color: rgba(245,239,230,0.7); font-size: 0.95rem; }

/* Image d'ambiance de la section Notre Histoire */
.histoire-media { margin: 0 0 4.5rem; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.histoire-media img { width: 100%; height: clamp(220px, 34vw, 420px); object-fit: cover; display: block; }
.histoire-media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217,190,130,0.45); border-radius: var(--radius); pointer-events: none; }

/* ------------------------------ Bande CTA ------------------------------- */
.cta-band { background: var(--bordeaux); color: var(--cream); text-align: center; }
.cta-inner { max-width: 640px; }
.cta-band .section-title { color: #fff; margin-bottom: 1rem; }
.cta-band p { margin-bottom: 2rem; opacity: 0.9; font-size: 1.1rem; }

/* ---------------------- En-tête des pages internes ---------------------- */
.page-hero { background: var(--bordeaux-deep); color: var(--cream); padding: clamp(8rem, 16vw, 11rem) 0 clamp(3rem, 6vw, 4.5rem); text-align: center; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-title { font-size: clamp(2.5rem, 6vw, 4.5rem); color: #fff; }
.page-sub { color: rgba(245,239,230,0.8); max-width: 55ch; margin: 1rem auto 0; font-size: 1.1rem; }

/* ------------------------------- Filtres -------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.7rem; justify-content: center; margin-bottom: 3.5rem; }
.filter-chip { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; padding: 0.6em 1.3em; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); transition: all 0.3s var(--ease); }
.filter-chip:hover { border-color: var(--bordeaux); color: var(--bordeaux); }
.filter-chip.active { background: var(--bordeaux); color: var(--cream); border-color: var(--bordeaux); }

/* ------------------------------- Contact -------------------------------- */
.contact-layout { align-items: start; }
.contact-media { margin: 0 0 2rem; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.contact-media img { width: 100%; height: clamp(200px, 26vw, 300px); object-fit: cover; display: block; }
.contact-media::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--gold); border-radius: var(--radius); pointer-events: none; opacity: 0.5; }
.contact-list { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .icon { color: var(--bordeaux); flex-shrink: 0; margin-top: 2px; }
.contact-list strong { font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--muted); }
.contact-list a:hover { color: var(--bordeaux); }
.contact-form-wrap { box-shadow: none; }

/* ------------------------------ Formulaires ----------------------------- */
.form { background: #fff; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.4rem; }
.field label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; font-weight: 500; }
.field .req { color: var(--bordeaux); }
.field input, .field textarea, .field select {
    width: 100%; padding: 0.85em 1em; font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
    background: var(--offwhite); border: 1px solid var(--line); border-radius: var(--radius); transition: all 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--bordeaux); background: #fff; outline: none; box-shadow: 0 0 0 3px rgba(92,26,43,0.08); }
.field textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Alertes */
.alert { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: 0.95rem; }
.alert .icon { flex-shrink: 0; margin-top: 2px; }
.alert ul { margin: 0.3rem 0 0; padding-left: 1.1rem; list-style: disc; }
.alert-success { background: rgba(47,107,61,0.1); color: #2f6b3d; border: 1px solid rgba(47,107,61,0.25); }
.alert-error { background: rgba(154,59,59,0.08); color: #9a3b3b; border: 1px solid rgba(154,59,59,0.22); }

/* -------------------------------- Footer -------------------------------- */
.site-footer { background: var(--charcoal); color: rgba(245,239,230,0.7); padding-top: 4.5rem; }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px) 3.5rem; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand h3 { color: var(--cream); font-size: 1.8rem; margin-bottom: 0.5rem; }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-soft); }
.footer-legal-inline { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; margin-top: 0.8rem; opacity: 0.6; }
.footer-col h4 { color: var(--cream); font-size: 1.15rem; margin-bottom: 1rem; font-weight: 500; }
.footer-col address { font-style: normal; line-height: 1.9; font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-links li { margin-bottom: 0.6rem; font-size: 0.92rem; }
.footer-abus { margin-top: 1rem; font-size: 0.78rem; opacity: 0.6; }
.footer-bottom { border-top: 1px solid rgba(245,239,230,0.12); padding: 1.5rem clamp(20px, 5vw, 48px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; max-width: var(--container); margin: 0 auto; font-size: 0.8rem; }
.footer-mentions a:hover { color: var(--gold-soft); }
.footer-mentions span { margin: 0 0.5rem; opacity: 0.4; }

/* ------------------------- Pages légales / RGPD ------------------------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal-updated { font-size: 0.85rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2.5rem; }
.legal-block { margin-bottom: 2.8rem; }
.legal-block h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--bordeaux); margin-bottom: 1rem; }
.legal-block h2::after { content: ""; display: block; width: 40px; height: 2px; background: var(--gold); margin-top: 0.8rem; }
.legal-block p { margin-bottom: 1rem; color: var(--ink); }
.legal-block a { color: var(--bordeaux); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--gold); }
.legal-block a:hover { color: var(--bordeaux-deep); }
.legal-list { display: flex; flex-direction: column; gap: 0.7rem; margin: 1rem 0; padding-left: 1.3rem; list-style: disc; }
.legal-list li { color: var(--ink); }
.legal-list strong { color: var(--charcoal); }

.legal-table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
.legal-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.legal-table th { text-align: left; font-family: var(--sans); font-weight: 500; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--cream); background: var(--bordeaux); padding: 0.9rem 1rem; }
.legal-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.legal-table tr:last-child td { border-bottom: none; }
.legal-table tr:nth-child(even) td { background: var(--offwhite); }

.legal-cta { text-align: center; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.legal-cta p { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--charcoal); margin-bottom: 1.5rem; }

@media (max-width: 620px) {
    /* Tableau RGPD en cartes empilées sur mobile */
    .legal-table-wrap { border: none; overflow: visible; }
    .legal-table { min-width: 0; }
    .legal-table thead { display: none; }
    .legal-table, .legal-table tbody, .legal-table tr, .legal-table td { display: block; width: 100%; }
    .legal-table tr { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 1rem; padding: 0.4rem; background: #fff; }
    .legal-table td { border: none; display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0.8rem; }
    .legal-table tr:nth-child(even) td { background: transparent; }
    .legal-table td::before { content: attr(data-label); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bordeaux); font-weight: 600; }
}

/* --------------------- Animations d'apparition (reveal) ----------------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ----------------------------- Responsive ------------------------------- */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .nav-toggle { display: block; }
    .split { grid-template-columns: 1fr; }
    .media-frame { display: none; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .footer-inner { grid-template-columns: 1fr; }
    .wine-grid { grid-template-columns: 1fr; }
    .hero { min-height: 560px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ------------------- Respect des préférences de mouvement ---------------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
