/* ========================================================
   Domaine Saint Thomas - Design System
   Modern, Immersive, Wine-forward
   ======================================================== */

/* ── CSS Variables ── */
:root {
    /* Brand Colors — Terre & Or */
    --gold: #B8976A;
    --gold-light: #D0B48E;
    --gold-dark: #9A7C52;
    --teal: #6B5B4A;
    --teal-light: #7D6D5C;
    --teal-dark: #554839;
    --charcoal: #2C2825;
    --charcoal-light: #3E3935;
    --cream: #F7F3ED;
    --cream-dark: #EDE7DD;
    --white: #ffffff;
    --soft-blue: #D5CEC5;
    --wine-red: #722f37;
    --rose: #c4857e;
    --error: #c0392b;
    --success: #27ae60;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;

    /* Échelle typographique unique — calée sur les tailles réellement
       rendues avant refonte. Toute taille du site vient d'ici. */
    --text-3xs:  0.70rem;   /* 11.2px  mentions, libellés minuscules */
    --text-2xs:  0.80rem;   /* 12.8px  méta, pastilles de statut */
    --text-xs:   0.875rem;  /* 14.0px  libellés */
    --text-sm:   0.95rem;   /* 15.2px  texte secondaire, boutons */
    --text-base: 1rem;      /* 16.0px  corps de texte */
    --text-md:   1.10rem;   /* 17.6px  chapô */
    --text-lg:   1.30rem;   /* 20.8px  sous-titres */
    --text-xl:   1.60rem;   /* 25.6px  h3 */
    --text-2xl:  2rem;      /* 32.0px  h2 secondaires */
    --text-3xl:  2.60rem;   /* 41.6px  h2 */
    --text-4xl:  3.40rem;   /* 54.4px  titres de page */
    --text-5xl:  4.40rem;   /* 70.4px  grands titres */
    --text-6xl:  5.50rem;   /* 88.0px  titres de page pleine hauteur */
    --text-7xl:  7rem;      /* 112px   titre du hero d'accueil */

    /* Spacing */
    --section-padding: clamp(3rem, 5vw, 5rem);
    --container-max: 1280px;
    --container-wide: 1440px;
    --gap: clamp(1rem, 2vw, 2rem);

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --duration: 0.4s;
    --duration-slow: 0.8s;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
    --shadow-gold: 0 4px 20px rgba(184,151,106,0.3);

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Header */
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.page-ready {
    opacity: 1;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 3vw, var(--text-2xl)); }
h4 { font-size: clamp(var(--text-md), 2vw, var(--text-xl)); }

p { max-width: 70ch; }

.text-gold { color: var(--gold); }
.text-teal { color: var(--teal); }
.text-cream { color: var(--cream); }

/* ── Layout ── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.container--wide {
    max-width: var(--container-wide);
}

.section {
    padding: var(--section-padding) 0;
}

.section--dark {
    background: var(--charcoal);
    color: var(--cream);
}

.section--cream {
    background: var(--cream);
}

.section--teal {
    background: var(--teal);
    color: var(--white);
}

.section--gold-gradient {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: var(--charcoal);
}

/* ── Section Headers ── */
.section-header {
    text-align: center;
    margin-bottom: clamp(2rem, 3vw, 3rem);
}

.section-header__label {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-2xs);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section--dark .section-header__label,
.section--teal .section-header__label {
    color: var(--gold-light);
}

.section-header__title {
    margin-bottom: 1.5rem;
}

.section-header__line {
    width: 60px;
    height: 2px;
    background: var(--gold);
    margin: 0 auto 1.5rem;
}

.section-header__desc {
    font-size: var(--text-md);
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 2.2rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: var(--text-xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    transform: translateX(-100%);
    transition: transform var(--duration) var(--ease-out);
}

.btn:hover::after {
    transform: translateX(0);
}

.btn--gold {
    background: var(--gold);
    color: var(--charcoal);
}

.btn--gold:hover {
    background: var(--gold-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1.5px solid var(--gold);
    color: var(--gold);
    background: transparent;
}

.btn--outline:hover {
    background: var(--gold);
    color: var(--charcoal);
}

.btn--teal {
    background: var(--teal);
    color: var(--white);
}

.btn--teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--charcoal);
}

.btn--white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.1rem 3rem;
    font-size: var(--text-xs);
}

.btn--small {
    padding: 0.6rem 1.5rem;
    font-size: var(--text-3xs);
}

/* ── Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal--left {
    transform: translateX(-50px);
}
.reveal--left.visible {
    transform: translateX(0);
}

.reveal--right {
    transform: translateX(50px);
}
.reveal--right.visible {
    transform: translateX(0);
}

.reveal--scale {
    transform: scale(0.92);
}
.reveal--scale.visible {
    transform: scale(1);
}

/* Stagger delays for grid items (up to 12 for 18-wine catalog) */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 0.56s; }
.reveal-stagger > .reveal:nth-child(9) { transition-delay: 0.64s; }
.reveal-stagger > .reveal:nth-child(10) { transition-delay: 0.72s; }
.reveal-stagger > .reveal:nth-child(11) { transition-delay: 0.8s; }
.reveal-stagger > .reveal:nth-child(12) { transition-delay: 0.88s; }
.reveal-stagger > .reveal:nth-child(n+13) { transition-delay: 0.96s; }

/* Parallax effect */
.parallax-bg {
    position: relative;
    overflow: hidden;
}

.parallax-bg::before {
    content: '';
    position: absolute;
    inset: -20% 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    z-index: 0;
}

/* ── Announcement Banner ── */
#codyAnnouncement {
    display: none;
    background: var(--teal);
    color: var(--white);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1001;
}

/* ── Promo Banner ── */
#promoBanner {
    background: var(--gold);
    color: var(--charcoal);
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: var(--text-xs);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.promo-code {
    display: inline-block;
    background: var(--charcoal);
    color: var(--gold);
    padding: 0.15rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-left: 0.3rem;
}

/* ── Header / Navigation ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    transition: all var(--duration) var(--ease-out);
    background: transparent;
}

.header.scrolled {
    background: rgba(44, 40, 37, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    height: 70px;
}

/* Ensure header text is always readable */
.header:not(.scrolled) {
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--container-wide);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 1001;
}

.header__logo img {
    height: 50px;
    width: auto;
    transition: height var(--duration) var(--ease-out);
}

.header.scrolled .header__logo img {
    height: 40px;
}

.header__logo-text {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.header.scrolled .header__logo-text {
    text-shadow: none;
}

.header__logo-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 400;
}

.nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav__link {
    color: var(--white);
    font-size: var(--text-2xs);
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    position: relative;
    transition: color var(--duration) var(--ease-out);
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.header.scrolled .nav__link {
    text-shadow: none;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all var(--duration) var(--ease-out);
    transform: translateX(-50%);
}

.nav__link:hover,
.nav__link.active {
    color: var(--gold);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: 60%;
}

/* Cart icon */
.nav__cart {
    position: relative;
    color: var(--white);
    padding: 0.5rem;
    margin-left: 0.5rem;
    transition: color var(--duration) var(--ease-out);
}

.nav__cart:hover { color: var(--gold); }

.nav__cart svg { width: 22px; height: 22px; }

.nav__cart-count {
    position: absolute;
    top: 0;
    right: -4px;
    background: var(--gold);
    color: var(--charcoal);
    font-size: var(--text-3xs);
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--ease-out);
}

.nav__cart-count.has-items {
    opacity: 1;
    transform: scale(1);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
    background: var(--charcoal);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.35) 40%,
        rgba(0,0,0,0.6) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 2rem;
    max-width: 900px;
}

.hero__logo {
    width: 180px;
    margin: 0 auto 2rem;
    opacity: 0;
    animation: heroFadeDown 1s var(--ease-out) 0.3s forwards;
}

.hero__title {
    font-size: clamp(var(--text-3xl), 7vw, var(--text-6xl));
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out) 0.6s forwards;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero__subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: clamp(var(--text-md), 2.5vw, var(--text-xl));
    font-weight: 300;
    opacity: 0;
    margin-bottom: 2.5rem;
    animation: heroFadeUp 1s var(--ease-out) 0.9s forwards;
    color: var(--gold-light);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out) 1.2s forwards;
}

.hero__actions .btn--outline {
    border-color: var(--white);
    color: var(--white);
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.1);
}

.hero__actions .btn--outline:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--white);
    opacity: 0;
    animation: heroFadeUp 1s var(--ease-out) 1.5s forwards;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gold);
    margin: 0.5rem auto 0;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroFadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ── Philosophy / Intro Split ── */
.intro-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    overflow: hidden;
}

.intro-split__image {
    position: relative;
    overflow: hidden;
}

.intro-split__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.intro-split__image:hover img {
    transform: scale(1.05);
}

.intro-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
}

.intro-split__label {
    font-size: var(--text-3xs);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.intro-split__title {
    margin-bottom: 1.5rem;
}

.intro-split__text {
    font-size: var(--text-base);
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 2rem;
}

.intro-split__quote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--text-md);
    color: var(--gold-dark);
    border-left: 3px solid var(--gold);
    padding-left: 1.5rem;
    margin: 2rem 0;
}

/* ── Wine Showcase (Homepage) ── */
.wine-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
}

.wine-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
    position: relative;
}

.wine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(184,151,106,0.1);
}

.wine-card__image {
    position: relative;
    height: 320px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.wine-card__image img {
    height: 85%;
    width: auto;
    object-fit: contain;
    transition: transform var(--duration-slow) var(--ease-out);
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.15));
}

.wine-card:hover .wine-card__image img {
    transform: scale(1.05) translateY(-5px);
}

.wine-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--wine-red);
    color: var(--white);
    font-size: var(--text-3xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
}

.wine-card__body {
    padding: 1.5rem;
}

.wine-card__type {
    font-size: var(--text-3xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal);
    margin-bottom: 0.3rem;
}

.wine-card__name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    margin-bottom: 0.3rem;
}

.wine-card__appellation {
    font-size: var(--text-xs);
    color: #888;
    margin-bottom: 1rem;
}

.wine-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wine-card__price {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    color: var(--charcoal);
}

.wine-card__price--promo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.wine-card__price--old {
    font-size: var(--text-base);
    text-decoration: line-through;
    color: #999;
}

.wine-card__price--new {
    color: var(--wine-red);
}

/* Wine card add-to-cart */
.wine-card__cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-control {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-control button {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    color: var(--charcoal);
    transition: background var(--duration);
}

.qty-control button:hover {
    background: var(--cream);
}

.qty-control .qty-input {
    width: 36px;
    height: 32px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: var(--text-xs);
    -moz-appearance: textfield;
}

.qty-control .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

.btn-add-cart {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-3xs);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all var(--duration) var(--ease-out);
}

.btn-add-cart:hover:not(:disabled) {
    background: var(--gold-dark);
    box-shadow: var(--shadow-gold);
}

.btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Wine Catalog Page ── */
.catalog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.2rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: var(--text-2xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.5s var(--ease-out), color 0.3s var(--ease-out), border-color 0.5s var(--ease-out), box-shadow 0.3s var(--ease-out);
    color: var(--charcoal);
    background: var(--white);
}

.filter-btn:hover {
    background: var(--cream);
    border-color: var(--gold-light);
    box-shadow: 0 2px 10px rgba(184,151,106,0.12);
}

.filter-btn.active {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
    box-shadow: 0 4px 15px rgba(107,91,74,0.25);
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gap);
}

/* ── Gites Section ── */
.gites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.gite-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.gite-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.12), 0 8px 20px rgba(184,151,106,0.08);
    transform: translateY(-6px);
}

.gite-card__image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.gite-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gite-card:hover .gite-card__image img {
    transform: scale(1.05);
}

.gite-card__capacity {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(40,40,40,0.85);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-2xs);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.gite-card__price-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: var(--text-xs);
}

.gite-card__body {
    padding: 1.5rem;
}

.gite-card__name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    margin-bottom: 0.5rem;
}

.gite-card__desc {
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.gite-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.gite-card__amenity {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: var(--text-2xs);
    color: var(--teal);
    background: var(--soft-blue);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

.gite-card__amenity svg {
    width: 14px;
    height: 14px;
}

/* ── Oenotourism Section ── */
.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.experience-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
    cursor: pointer;
}

.experience-card__bg {
    position: absolute;
    inset: 0;
}

.experience-card__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.experience-card:hover .experience-card__bg img {
    transform: scale(1.1);
}

.experience-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 60%);
    transition: background 0.6s var(--ease-out);
}

.experience-card:hover .experience-card__overlay {
    background: linear-gradient(to top, rgba(107,91,74,0.9) 0%, rgba(107,91,74,0.3) 60%);
}

.experience-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: var(--white);
    transform: translateY(20px);
    transition: transform var(--duration) var(--ease-out);
}

.experience-card:hover .experience-card__content {
    transform: translateY(0);
}

.experience-card__icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.experience-card__icon svg {
    width: 24px;
    height: 24px;
    color: var(--charcoal);
}

.experience-card__title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 0.5rem;
}

.experience-card__text {
    font-size: var(--text-xs);
    opacity: 0;
    max-height: 0;
    transition: opacity 0.6s var(--ease-out), max-height 0.6s var(--ease-out);
    line-height: 1.6;
}

.experience-card:hover .experience-card__text {
    opacity: 0.9;
    max-height: 200px;
}

/* ── Le Bokeh Bar Section ── */
.bokeh-section {
    position: relative;
    overflow: hidden;
}

.bokeh-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    min-height: 480px;
}

.bokeh-split__visual {
    position: relative;
    overflow: hidden;
}

.bokeh-split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bokeh-split__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 4rem);
    background: var(--charcoal);
    color: var(--cream);
}

.bokeh-hours {
    margin-top: 2rem;
}

.bokeh-hours__item {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: var(--text-xs);
}

/* ── Terroir/Stats Strip ── */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 1.5rem 0;
}

.stat-item {
    padding: 1rem;
}

.stat-item__number {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    font-size: var(--text-2xs);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* ── Newsletter ── */
.newsletter {
    text-align: center;
}

.newsletter__form {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter__input {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--gold);
    border-right: none;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
    background: transparent;
    color: inherit;
    font-size: var(--text-xs);
}

.newsletter__input::placeholder {
    color: inherit;
    opacity: 0.5;
}

.newsletter__btn {
    padding: 0.9rem 1.5rem;
    background: var(--gold);
    color: var(--charcoal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-weight: 600;
    font-size: var(--text-2xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: background var(--duration);
    white-space: nowrap;
}

.newsletter__btn:hover {
    background: var(--gold-dark);
}

/* ── Promotions Section ── */
#codyPromotions {
    display: none;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.promo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--duration) var(--ease-out);
}

.promo-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.promo-card-image {
    height: 180px;
    overflow: hidden;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card-body {
    padding: 1.5rem;
}

.promo-card-badge {
    display: inline-block;
    background: var(--wine-red);
    color: var(--white);
    padding: 0.2rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-2xs);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.promo-card-title {
    font-family: var(--font-display);
    font-size: var(--text-md);
    margin-bottom: 0.5rem;
}

.promo-card-desc {
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-bottom: 0.8rem;
}

.promo-card-code {
    background: var(--cream);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    display: inline-block;
    font-size: var(--text-xs);
    margin-bottom: 0.5rem;
}

.promo-card-expiry {
    font-size: var(--text-2xs);
    color: #999;
}

/* ── Events ── */
#codyEvents {
    display: none;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--gold);
}

.event-date-badge {
    font-size: var(--text-xs);
    color: var(--teal);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-title {
    font-family: var(--font-display);
    font-size: var(--text-md);
    margin-bottom: 0.3rem;
}

.event-desc {
    font-size: var(--text-xs);
    opacity: 0.7;
}

.event-location {
    font-size: var(--text-xs);
    color: var(--teal);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

/* ── Contact / Map ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-size: var(--text-2xs);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.8rem 1rem;
    border: 1.5px solid #ddd;
    border-radius: var(--radius-sm);
    transition: border-color var(--duration);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,151,106,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info__icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info__icon svg {
    width: 20px;
    height: 20px;
    color: var(--charcoal);
}

.contact-info__text h4 {
    font-family: var(--font-display);
    font-size: var(--text-md);
    margin-bottom: 0.3rem;
}

.contact-info__text p {
    font-size: var(--text-xs);
    opacity: 0.7;
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    margin-top: 2rem;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Footer ── */
.footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 3rem 0 1.5rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__brand img {
    height: 60px;
    margin-bottom: 1rem;
}

.footer__brand p {
    font-size: var(--text-xs);
    opacity: 0.7;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer__social {
    display: flex;
    gap: 0.8rem;
}

.footer__social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease-out);
}

.footer__social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

.footer__social a svg {
    width: 18px;
    height: 18px;
}

.footer__column h4 {
    font-family: var(--font-display);
    font-size: var(--text-md);
    margin-bottom: 1.2rem;
    color: var(--gold);
}

.footer__column ul {
    list-style: none;
}

.footer__column li {
    margin-bottom: 0.6rem;
}

.footer__column a {
    font-size: var(--text-xs);
    opacity: 0.7;
    transition: opacity 0.4s var(--ease-out), color 0.4s var(--ease-out);
    position: relative;
    display: inline;
}

.footer__column a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease-out);
}

.footer__column a:hover {
    opacity: 1;
    color: var(--gold);
}

.footer__column a:hover::after {
    width: 100%;
}

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-2xs);
    opacity: 0.5;
}

.footer__certif {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__certif img {
    height: 40px;
    opacity: 0.7;
}

/* ── Cart Modal ── */
.cart-overlay,
.checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.cart-overlay.open,
.checkout-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(450px, 90vw);
    background: var(--white);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    display: flex;
    flex-direction: column;
}

.cart-modal.open {
    transform: translateX(0);
}

.cart-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.cart-modal__header h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
}

.cart-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--duration);
}

.cart-modal__close:hover {
    background: var(--cream);
}

.cart-modal__close svg {
    width: 20px;
    height: 20px;
}

.cart-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    gap: 1rem;
    opacity: 0.5;
}

.cart-empty svg {
    width: 60px;
    height: 60px;
}

.cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 60px;
    height: 80px;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.cart-item-name {
    font-family: var(--font-display);
    font-size: var(--text-base);
}

.cart-item-type {
    font-size: var(--text-2xs);
    color: #888;
}

.cart-item-price {
    font-size: var(--text-xs);
    color: var(--teal);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-base);
    transition: all var(--duration);
}

.qty-btn:hover {
    border-color: var(--gold);
    background: var(--cream);
}

.cart-item-total {
    font-weight: 500;
    white-space: nowrap;
}

.cart-item-remove {
    opacity: 0.3;
    transition: opacity var(--duration);
}

.cart-item-remove:hover {
    opacity: 1;
    color: var(--error);
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

.cart-modal__footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: var(--cream);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: var(--text-xs);
}

.cart-summary-row.total {
    font-size: var(--text-md);
    font-weight: 600;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #ddd;
}

.shipping-free {
    color: var(--success);
    font-weight: 500;
}

/* ── Checkout Modal ── */
.checkout-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: min(800px, 95vw);
    max-height: 90vh;
    background: var(--white);
    border-radius: var(--radius-lg);
    z-index: 2001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    overflow-y: auto;
}

.checkout-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.checkout-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background: var(--white);
    z-index: 1;
}

.checkout-modal__body {
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checkout-summary {
    background: var(--cream);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.checkout-summary h4 {
    margin-bottom: 1rem;
    font-family: var(--font-display);
}

.checkout-item {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    font-size: var(--text-xs);
}

.checkout-totals {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

/* Promo code */
.promo-code-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.promo-code-form input {
    flex: 1;
    padding: 0.6rem 0.8rem;
    border: 1.5px solid #ddd;
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    text-transform: uppercase;
}

.promo-code-form input:focus {
    outline: none;
    border-color: var(--gold);
}

.promo-code-message {
    font-size: var(--text-2xs);
    margin-top: 0.3rem;
}

.promo-code-message.success { color: var(--success); }
.promo-code-message.error { color: var(--error); }

.checkout-promo-row {
    color: var(--success);
}

/* Stripe */
#payment-element {
    margin: 1rem 0;
}

/* ── Cart Notification ── */
.cart-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--charcoal);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 3000;
    transform: translateY(120%);
    opacity: 0;
    transition: all 0.4s var(--ease-out);
}

.cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-notification__text {
    font-size: var(--text-xs);
}

.cart-notification__btn {
    background: var(--gold);
    color: var(--charcoal);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-sm);
    font-size: var(--text-2xs);
    font-weight: 500;
    white-space: nowrap;
}

/* ── Page Header (inner pages) ── */
.page-header {
    position: relative;
    height: 40vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--charcoal);
}

.page-header__bg {
    position: absolute;
    inset: 0;
}

.page-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.page-header__content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.page-header__title {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-5xl));
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-family: var(--font-display);
    font-style: italic;
    font-size: var(--text-md);
    color: var(--gold-light);
}

.page-header__breadcrumb {
    margin-top: 1rem;
    font-size: var(--text-xs);
    opacity: 0.7;
}

.page-header__breadcrumb a {
    transition: color var(--duration);
}

.page-header__breadcrumb a:hover {
    color: var(--gold);
}

/* ── FAQ ── */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-group-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    margin-bottom: 1rem;
    color: var(--teal);
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 0;
    font-size: var(--text-base);
    font-weight: 400;
    text-align: left;
    transition: color var(--duration);
}

.faq-question:hover { color: var(--teal); }

.faq-question svg {
    flex-shrink: 0;
    transition: transform var(--duration);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.2rem;
    font-size: var(--text-sm);
    opacity: 0.7;
    line-height: 1.7;
}

/* ── Horizontal Scroll Showcase ── */
.h-scroll-wrap {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 0;
}

.h-scroll-wrap::-webkit-scrollbar { display: none; }

.h-scroll-track {
    display: flex;
    gap: 1.5rem;
    padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.h-scroll-track > * {
    scroll-snap-align: start;
    flex-shrink: 0;
}

/* ── Image Gallery ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    auto-rows: 280px;
}

.gallery-grid__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.gallery-grid__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-grid__item:hover img {
    transform: scale(1.08);
}

.gallery-grid__item--wide {
    grid-column: span 2;
}

/* ── Menu Restaurant ── */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.menu-category {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.menu-category__icon {
    width: 48px;
    height: 48px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.menu-category__icon svg {
    width: 24px;
    height: 24px;
    color: var(--charcoal);
}

.menu-category__title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    margin-bottom: 0.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.menu-category__subtitle {
    font-style: italic;
    font-size: var(--text-xs);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.menu-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px dotted rgba(0,0,0,0.15);
    gap: 1rem;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item__info {
    flex: 1;
    min-width: 0;
}

.menu-item__name {
    font-weight: 600;
    font-size: var(--text-base);
}

.menu-item__desc {
    font-size: var(--text-xs);
    font-style: italic;
    opacity: 0.6;
    margin-top: 0.15rem;
}

.menu-item__price {
    font-family: var(--font-display);
    color: var(--gold-dark);
    white-space: nowrap;
    font-size: var(--text-base);
}

.menu-note {
    text-align: center;
    font-style: italic;
    opacity: 0.6;
    margin-top: 2.5rem;
    font-size: var(--text-sm);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Legal Pages ── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content h2 {
    font-size: var(--text-xl);
    margin: 2rem 0 1rem;
    color: var(--teal);
}

.legal-content h3 {
    font-size: var(--text-md);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    margin-bottom: 1rem;
    font-size: var(--text-sm);
    line-height: 1.7;
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.5rem;
}

.legal-content li {
    margin-bottom: 0.3rem;
    font-size: var(--text-sm);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .intro-split {
        grid-template-columns: 1fr;
    }

    .intro-split__image {
        height: 400px;
    }

    .wine-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .bokeh-split {
        grid-template-columns: 1fr;
    }

    .bokeh-split__visual {
        height: 400px;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .checkout-modal__body {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid__item--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(44,40,37,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.5s var(--ease-out);
        z-index: 1000;
    }

    .nav.open {
        transform: translateX(0);
    }

    .nav__link {
        font-size: var(--text-md);
        padding: 0.8rem 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .wine-showcase {
        grid-template-columns: 1fr;
    }

    .gites-grid {
        grid-template-columns: 1fr;
    }

    .experiences-grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: clamp(var(--text-2xl), 8vw, var(--text-4xl));
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cart-item {
        grid-template-columns: 50px 1fr auto;
        gap: 0.5rem;
    }

    .cart-item-total,
    .cart-item-remove {
        grid-column: 2 / -1;
    }

    .newsletter__form {
        flex-direction: column;
    }

    .newsletter__input {
        border-right: 2px solid var(--gold);
        border-radius: var(--radius-sm);
    }

    .newsletter__btn {
        border-radius: var(--radius-sm);
    }

    .catalog-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .page-header {
        height: 35vh;
        min-height: 260px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid__item--wide {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn--large {
        width: 100%;
    }

    .wine-card__image {
        height: 280px;
    }

    .gite-card__image {
        height: 200px;
    }
}

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-item__question {
    padding: 1.5rem 2.5rem 1.5rem 0;
    font-family: var(--font-display);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.3s ease;
}

.faq-item__question::-webkit-details-marker { display: none; }

.faq-item__question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--text-xl);
    font-weight: 300;
    color: var(--teal);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-item__question::after {
    content: '−';
}

.faq-item__question:hover { color: var(--teal); }

.faq-item__answer {
    padding: 0 0 1.5rem 0;
    color: var(--charcoal);
    line-height: 1.8;
    font-size: var(--text-sm);
}

.faq-item__answer p { margin-bottom: 0.75rem; }
.faq-item__answer p:last-child { margin-bottom: 0; }

.faq-item__answer ul {
    margin: 0.5rem 0 0.75rem 1.5rem;
    list-style: disc;
}

.faq-item__answer li {
    margin-bottom: 0.4rem;
    line-height: 1.7;
}

.faq-item__answer a {
    color: var(--teal);
    text-decoration: underline;
}

.faq-item__answer a:hover {
    color: var(--teal-dark);
}

/* ── Wine Type Colors ── */
.wine-card__type--rose { color: var(--rose); }
.wine-card__type--blanc { color: var(--gold-dark); }
.wine-card__type--vdn { color: var(--wine-red); }
.wine-card__type--petillant { color: var(--teal-light); }

.wine-card__cepages {
    font-size: var(--text-2xs);
    color: #999;
    font-style: italic;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

/* Compact section variant */
.section--compact {
    padding: clamp(2rem, 3vw, 3rem) 0;
}

/* Wine card image - use white bg for product photos */
.wine-card__image {
    background: #fff;
}

/* Diagonal accent on wine cards */
.wine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--duration) var(--ease-out);
    z-index: 1;
}

.wine-card:hover::before {
    transform: scaleX(1);
}

/* ── Print ── */
@media print {
    .header, .footer, .cart-modal, .checkout-modal,
    .cart-overlay, .checkout-overlay, .cart-notification,
    #promoBanner, #codyAnnouncement, .nav-toggle { display: none !important; }
    body { color: #000; }
}

/* Badge bio + prix a venir (gamme 2026) */
.wine-card__bio {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.1rem 0.55rem;
    font-size: var(--text-3xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: #4a7c43;
    border-radius: var(--radius-pill);
    vertical-align: middle;
}
.wine-card__price--soon {
    font-size: var(--text-xs);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-light, #777);
}
.wine-card__name a { color: inherit; text-decoration: none; }
.wine-card__name a:hover { text-decoration: underline; }
a.wine-card__image { display: block; }

/* Fond video des heros (reels compresses) */
.hero__bg { overflow: hidden; }
.page-header__bg { overflow: hidden; } /* garde son position:absolute d'origine */
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.page-header__bg .hero-video { opacity: 0.5; } /* meme assombrissement que l'image */
@media (prefers-reduced-motion: reduce) {
    .hero-video { display: none; }
}

/* ── Age gate (site alcool) ── */
.age-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-black, #1c1c1c);
    text-align: center;
    padding: 1.5rem;
}
.age-gate__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}
.age-gate__content {
    position: relative;
    max-width: 560px;
    color: #fff;
}
.age-gate__brand {
    font-family: var(--font-display, serif);
    font-size: var(--text-2xl);
    margin-bottom: 0.3rem;
}
.age-gate__title {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: var(--text-2xs);
    color: var(--gold, #c9a35c);
    margin-bottom: 1.4rem;
}
.age-gate__content p { line-height: 1.6; }
.age-gate__question {
    font-family: var(--font-display, serif);
    font-size: var(--text-lg);
    margin: 1.4rem 0 1rem;
}
.age-gate__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}
.age-gate__warning {
    font-size: var(--text-3xs);
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.65);
}
.age-gate--hidden { display: none; }

/* ── Bouton WhatsApp flottant ── */
.whatsapp-btn {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 999;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    transition: transform 0.2s ease;
}
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 28px; height: 28px; }

/* ── Banniere CodySite ── */
.cody-announcement {
    background: var(--gold, #c9a35c);
    color: #1c1c1c;
    text-align: center;
    padding: 0.55rem 2.4rem;
    position: relative;
    font-size: var(--text-xs);
}
.cody-announcement-close {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: var(--text-lg);
    cursor: pointer;
    color: inherit;
}


/* ═══════════ REDESIGN 2026-09 — fondations ═══════════ */

/* Hiérarchie typographique affirmée, sans le tiret décoratif systématique */
.section-header__line { display: none; }
.section-header__title {
    font-size: clamp(var(--text-2xl), 4.5vw, var(--text-4xl));
    letter-spacing: -0.01em;
    margin-bottom: 1.1rem;
}
.section-header__label {
    font-size: var(--text-3xs);
    letter-spacing: 0.32em;
    color: var(--gold-dark);
}
.section-header__desc { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Séparateur de sections : filet or centré, discret */
.gold-rule {
    width: 56px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto;
    border: none;
}

/* Liens éditoriaux : soulignement animé */
.section p a:not(.btn) {
    background-image: linear-gradient(var(--gold-dark), var(--gold-dark));
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.3s ease;
    text-decoration: none;
}
.section p a:not(.btn):hover { background-size: 0 1px; }

/* Boutons : transitions plus couture */
.btn { transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease; }
.btn:active { transform: translateY(1px); }

/* Bande de chiffres : matière photo, hauteur maîtrisée */
.stats-band {
    position: relative;
    overflow: hidden;
    background: var(--charcoal);
}
.stats-band__bg {
    position: absolute;
    inset: 0;
}
.stats-band__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.28;
    filter: saturate(0.85);
}
.stats-band__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    text-align: center;
    padding: 3.2rem 0;
}
.stats-band .stat-item {
    padding: 0.4rem 1rem;
}
.stats-band .stat-item + .stat-item {
    border-left: 1px solid rgba(184, 151, 106, 0.28);
}
.stats-band .stat-item__number {
    font-family: var(--font-display);
    font-size: clamp(var(--text-3xl), 4.5vw, var(--text-4xl));
    color: var(--gold);
    line-height: 1;
}
.stats-band .stat-item__label {
    margin-top: 0.5rem;
    font-size: var(--text-3xs);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(247, 243, 237, 0.75);
}
@media (max-width: 820px) {
    .stats-band__grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem 0; padding: 2.4rem 0; }
    .stats-band .stat-item:nth-child(odd) { border-left: none; }
    .stats-band .stat-item:first-child { grid-column: 1 / -1; }
}

/* ── La Cave : carrousel signature ── */
.cave {
    background: linear-gradient(180deg, #FFFFFF 0%, #F7F3ED 100%);
    padding: 5.5rem 0 4.5rem;
    overflow: hidden;
}
.section-header--dark .section-header__title { color: var(--cream); }
.section-header--dark .section-header__desc { color: rgba(247,243,237,0.72); }
.section-header--dark .section-header__label { color: var(--gold); }

.cave__viewport {
    position: relative;
    margin-top: 1.5rem;
}
.cave__track {
    display: flex;
    gap: 3.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 2.5rem max(calc((100vw - 1200px) / 2 + 2rem), 3rem) 3.5rem;
    scrollbar-width: none;
}
.cave__track::-webkit-scrollbar { display: none; }
.cave__item {
    flex: 0 0 auto;
    width: 210px;
    scroll-snap-align: center;
    text-align: center;
    text-decoration: none;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
    opacity: 0.85;
    transform: scale(0.92);
}
.cave__item.is-center { opacity: 1; transform: scale(1.04); }
.cave__item:hover { opacity: 1; }
.cave__item img {
    height: 300px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 16px 26px rgba(44,40,37,0.28));
    -webkit-box-reflect: below 6px linear-gradient(transparent 74%, rgba(0,0,0,0.10));
}
.cave__name {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--charcoal);
    margin: 1.4rem 0 0.3rem;
}
.cave__meta {
    font-size: var(--text-2xs);
    letter-spacing: 0.06em;
    color: #9A8C7A;
}
.cave__price {
    display: block;
    margin-top: 0.35rem;
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--gold-dark);
}
.cave__arrow {
    position: absolute;
    top: 42%;
    z-index: 3;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(184,151,106,0.65);
    background: rgba(255,255,255,0.85);
    color: var(--gold-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background 0.25s ease, border-color 0.25s ease;
}
.cave__arrow:hover { background: var(--gold); color: var(--charcoal); border-color: var(--gold); }
.cave__arrow svg { width: 22px; height: 22px; }
.cave__arrow--prev { left: 1.4rem; }
.cave__arrow--next { right: 1.4rem; }
.cave__footer { text-align: center; margin-top: 0.6rem; }
.btn--outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border: 1px solid var(--gold);
    padding: 0.85rem 2.2rem;
}
.btn--outline-gold:hover { background: var(--gold); color: var(--charcoal); }
@media (max-width: 700px) {
    .cave__track { gap: 2.2rem; padding-left: 2rem; padding-right: 2rem; }
    .cave__item { width: 165px; }
    .cave__item img { height: 235px; }
    .cave__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .cave__track { scroll-behavior: auto; }
    .cave__item { transition: none; }
}

/* ── Mosaïque gîtes : cartes-images pleines, grille asymétrique ── */
.gites-mosaic {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    grid-auto-rows: 250px;
    gap: 1.1rem;
}
.gite-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 4px;
    text-decoration: none;
}
.gite-tile--feature { grid-row: span 2; }
.gite-tile:nth-child(4) { grid-column: 1; }
.gite-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.gite-tile:hover img { transform: scale(1.05); }
.gite-tile__veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20,16,13,0) 45%, rgba(20,16,13,0.72) 100%);
    transition: background 0.4s ease;
}
.gite-tile:hover .gite-tile__veil {
    background: linear-gradient(180deg, rgba(20,16,13,0.06) 30%, rgba(20,16,13,0.8) 100%);
}
.gite-tile__body {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.3rem;
    color: var(--cream);
}
.gite-tile__name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 400;
    color: #fff;
}
.gite-tile--feature .gite-tile__name { font-size: var(--text-2xl); }
.gite-tile__meta {
    margin-top: 0.25rem;
    font-size: var(--text-2xs);
    letter-spacing: 0.05em;
    color: rgba(247,243,237,0.82);
}
.gite-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.7rem;
    font-size: var(--text-3xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-light);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.gite-tile__cta svg { width: 15px; height: 15px; }
.gite-tile:hover .gite-tile__cta { opacity: 1; transform: translateY(0); }
@media (max-width: 760px) {
    .gites-mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .gite-tile--feature { grid-row: span 1; }
    .gite-tile:nth-child(4) { grid-column: auto; }
    .gite-tile__cta { opacity: 1; transform: none; }
}

/* Footer : filet or + certifications */
.footer__bottom {
    border-top: 1px solid rgba(184,151,106,0.28);
}
.footer__certif {
    display: flex;
    align-items: center;
    gap: 1.1rem;
}
/* Intro-split : l'image remplit sans imposer sa hauteur (fin des grands vides) */
.intro-split__image img {
    position: absolute;
    inset: 0;
    height: 100%;
}
.intro-split__image { min-height: 420px; }
@media (max-width: 900px) {
    .intro-split__image { min-height: 300px; }
}

/* Cartes-images : langage unifié (rayon couture, voile, zoom lent) */
.experience-card {
    border-radius: 4px;
}
.experience-card__bg img {
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.experience-card:hover .experience-card__bg img {
    transform: scale(1.05);
}
.experience-card__overlay {
    background: linear-gradient(180deg, rgba(20,16,13,0.05) 35%, rgba(20,16,13,0.78) 100%);
    transition: background 0.4s ease;
}
.experience-card:hover .experience-card__overlay {
    background: linear-gradient(180deg, rgba(20,16,13,0.12) 25%, rgba(20,16,13,0.85) 100%);
}
.wine-card, .gite-card { border-radius: 4px; }
.wine-card { box-shadow: none; border: 1px solid var(--cream-dark); }
.wine-card:hover { box-shadow: var(--shadow-md); border-color: transparent; }

/* Grille de 4 prestations : jamais d'orpheline */
@media (min-width: 1050px) {
    .experiences-grid--four { grid-template-columns: repeat(4, 1fr); }
    .experiences-grid--four .experience-card { height: 320px; }
}
@media (min-width: 640px) and (max-width: 1049px) {
    .experiences-grid--four { grid-template-columns: repeat(2, 1fr); }
}

/* Atouts (événements) : 2 rangées de 3, lisible */
.atouts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem 2rem;
    text-align: center;
    margin-top: 1rem;
}
.atouts-grid .stat-item__number { color: var(--gold-light); }
.atouts-grid .stat-item__label { color: rgba(247,243,237,0.92); letter-spacing: 0.12em; }
.atouts-grid .stat-item__label small { letter-spacing: 0.04em; text-transform: none; }
@media (max-width: 700px) {
    .atouts-grid { grid-template-columns: repeat(2, 1fr); }
}
