/* =========================================================================
   CASCAPÉDIA FINEST — Feuille de style unique
   Palette : Bleu Nuit · Or Mat · Ivoire · Anthracite · Gris Minéral
   Typographie : EB Garamond (titres) · Noto Sans (corps)
   Aucune dépendance, aucune compilation.
   ========================================================================= */

:root {
    --bleu-nuit: #01276C;
    --bleu-profond: #011B4B;
    --or-mat: #B79A5B;
    --or-clair: #D4BC85;
    --anthracite: #222222;
    --gris-mineral: #5E6268;
    --ivoire: #F7F4ED;
    --ivoire-ombre: #EFEAE0;
    --blanc: #FFFFFF;
    --noir-pied: #0D0D0D;
    --ligne: rgba(1, 39, 108, 0.10);
    --serif: 'EB Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Noto Sans', -apple-system, 'Helvetica Neue', Arial, sans-serif;
    --nav-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 100px; }

body {
    font-family: var(--sans);
    color: var(--anthracite);
    background: var(--blanc);
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
::selection { background: var(--or-mat); color: var(--blanc); }

/* -------------------------------------------------------------------------
   BILINGUE — le contenu de la langue inactive est retiré du flux
   ------------------------------------------------------------------------- */
html[data-lang="fr"] .lang-en,
html[data-lang="en"] .lang-fr { display: none !important; }

/* -------------------------------------------------------------------------
   TYPOGRAPHIE
   ------------------------------------------------------------------------- */
.titre-majeur {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    line-height: 1.05;
    color: var(--bleu-nuit);
    letter-spacing: -0.01em;
}

.titre-section {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.15;
    color: var(--bleu-nuit);
}

.titre-mineur {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    line-height: 1.25;
    color: var(--bleu-nuit);
}

.titre-section em, .titre-majeur em, .titre-mineur em {
    font-style: italic;
    font-weight: 500;
}

.kicker {
    font-family: var(--sans);
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--or-mat);
    margin-bottom: 1.2rem;
    display: block;
}

.corps {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gris-mineral);
    max-width: 65ch;
}

.corps + .corps { margin-top: 1.1rem; }

.container { max-width: 1400px; margin: 0 auto; }
.container--etroit { max-width: 820px; margin: 0 auto; }
.center { text-align: center; }

/* -------------------------------------------------------------------------
   NAVIGATION
   ------------------------------------------------------------------------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 0 5vw;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    transition: background 0.5s cubic-bezier(0.4,0,0.2,1), height 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(1,39,108,0.06);
    height: 64px;
}

.nav-logo {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--blanc);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.4s;
}

.navbar.scrolled .nav-logo { color: var(--bleu-nuit); }

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: color 0.3s;
    position: relative;
    padding-bottom: 4px;
    white-space: nowrap;
}

.navbar.scrolled .nav-links a { color: var(--anthracite); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 1px;
    background: var(--or-mat);
    transition: width 0.35s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { width: 100%; }
.nav-links a:hover { color: var(--or-mat); }
.nav-links a[aria-current="page"] { color: var(--or-mat); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.lang-switch button {
    background: none;
    border: none;
    padding: 2px 1px;
    font: inherit;
    letter-spacing: inherit;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    transition: color 0.3s;
    border-bottom: 1px solid transparent;
}

.lang-switch button:hover { color: var(--blanc); }
.lang-switch button.active { color: var(--or-mat); border-bottom-color: var(--or-mat); }
.lang-switch .sep { color: rgba(255,255,255,0.3); }

.navbar.scrolled .lang-switch button { color: var(--gris-mineral); }
.navbar.scrolled .lang-switch button:hover { color: var(--bleu-nuit); }
.navbar.scrolled .lang-switch button.active { color: var(--or-mat); }
.navbar.scrolled .lang-switch .sep { color: rgba(0,0,0,0.2); }

.nav-contact {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--blanc);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 9px 18px;
    transition: all 0.3s;
    white-space: nowrap;
}

.nav-contact:hover { background: var(--or-mat); border-color: var(--or-mat); color: var(--blanc); }
.navbar.scrolled .nav-contact { color: var(--bleu-nuit); border-color: var(--ligne); }
.navbar.scrolled .nav-contact:hover { color: var(--blanc); background: var(--or-mat); border-color: var(--or-mat); }

/* Menu mobile */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px; height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1101;
}

.mobile-toggle span {
    width: 22px; height: 1.5px;
    background: var(--blanc);
    transition: all 0.3s;
}

.navbar.scrolled .mobile-toggle span { background: var(--bleu-nuit); }
body.nav-open .mobile-toggle span { background: var(--blanc); }
body.nav-open .mobile-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .mobile-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .mobile-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--bleu-nuit);
    z-index: 1090;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 8vw 4rem;
    transform: translateY(-100%);
    transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
    overflow-y: auto;
}

body.nav-open { overflow: hidden; }
body.nav-open .mobile-menu { transform: translateY(0); }

.mobile-menu a {
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--blanc);
    text-decoration: none;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.3s;
}

.mobile-menu a:hover, .mobile-menu a[aria-current="page"] { color: var(--or-mat); }
.mobile-menu .mobile-contact { margin-top: 2rem; border: none; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--or-mat); }

/* -------------------------------------------------------------------------
   HÉROS
   ------------------------------------------------------------------------- */
.hero {
    min-height: 100vh;
    background: var(--bleu-nuit);
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 4vh) 5vw 10vh;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(183,154,91,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255,255,255,0.03) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero-territory-visual {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 800'%3E%3Cpath d='M0,600 Q200,500 400,550 T800,480 T1200,520 L1200,800 L0,800 Z' fill='%23ffffff' opacity='0.3'/%3E%3Cpath d='M0,650 Q300,580 600,620 T1200,580 L1200,800 L0,800 Z' fill='%23ffffff' opacity='0.15'/%3E%3Cpath d='M0,700 Q400,640 800,680 T1200,650 L1200,800 L0,800 Z' fill='%23ffffff' opacity='0.08'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: bottom;
}

/* Photo de fond optionnelle (apparaît dès que le fichier existe) */
.hero-photo, .page-hero-photo {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}
.hero-photo.loaded { opacity: 0.34; }
.page-hero-photo.loaded { opacity: 0.28; }

.hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-content .kicker { color: var(--or-mat); margin-bottom: 1.5rem; }

.hero-content h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    color: var(--blanc);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-content h1 em { font-style: italic; font-weight: 500; color: var(--or-mat); }

.hero-content p {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--blanc);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 1px solid var(--or-mat);
    padding-bottom: 8px;
    transition: all 0.3s;
}

.hero-cta:hover { color: var(--or-mat); gap: 18px; }

.hero-scroll {
    position: absolute;
    bottom: 5vh; right: 5vw;
    color: rgba(255,255,255,0.3);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    animation: float 3s ease-in-out infinite;
    z-index: 2;
}

@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Héros des pages intérieures */
.page-hero {
    background: var(--bleu-nuit);
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 12vh) 5vw 12vh;
    text-align: center;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 120%, rgba(183,154,91,0.10) 0%, transparent 60%);
    pointer-events: none;
}

.page-hero .container--etroit { position: relative; z-index: 2; }
.page-hero .kicker { color: var(--or-mat); }

.page-hero h1 {
    font-family: var(--serif);
    font-weight: 700;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.08;
    color: var(--blanc);
    letter-spacing: -0.015em;
}

.page-hero h1 em { font-style: italic; font-weight: 500; color: var(--or-mat); }

.page-hero .lead {
    color: rgba(255,255,255,0.65);
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.75;
    max-width: 56ch;
    margin: 1.6rem auto 0;
}

/* Fil d'Ariane */
.fil {
    padding: 1.4rem 5vw;
    background: var(--ivoire);
    border-bottom: 1px solid var(--ligne);
    font-size: 0.72rem;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: var(--gris-mineral);
}

.fil a { color: var(--gris-mineral); text-decoration: none; transition: color 0.3s; }
.fil a:hover { color: var(--or-mat); }
.fil span[aria-current] { color: var(--bleu-nuit); font-weight: 600; }

/* -------------------------------------------------------------------------
   SECTIONS GÉNÉRIQUES
   ------------------------------------------------------------------------- */
.section { padding: 10vh 5vw; }
.section--serre { padding: 7vh 5vw; }
.section--ivoire { background: var(--ivoire); }
.section--bleu { background: var(--bleu-nuit); color: var(--blanc); }
.section--bleu .titre-section { color: var(--blanc); }
.section--bleu .corps { color: rgba(255,255,255,0.62); }
.section--bleu .kicker { color: var(--or-mat); }

.section-header { margin-bottom: 6vh; }
.section-header.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-header .corps { margin-top: 1.2rem; }
.section-header.center .corps { text-align: center; }

/* Boutons & liens */
.btn {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    font-weight: 600;
    padding: 15px 34px;
    text-decoration: none;
    border: 1px solid var(--bleu-nuit);
    color: var(--bleu-nuit);
    background: transparent;
    transition: all 0.35s;
    cursor: pointer;
    font-family: var(--sans);
}

.btn:hover { background: var(--bleu-nuit); color: var(--blanc); }

.btn--or { background: var(--or-mat); border-color: var(--or-mat); color: var(--blanc); }
.btn--or:hover { background: #a0854a; border-color: #a0854a; color: var(--blanc); }

.btn--clair { border-color: rgba(255,255,255,0.4); color: var(--blanc); }
.btn--clair:hover { background: var(--blanc); color: var(--bleu-nuit); border-color: var(--blanc); }

.lien-souligne {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bleu-nuit);
    text-decoration: none;
    border-bottom: 1px solid var(--or-mat);
    padding-bottom: 4px;
    font-weight: 600;
    transition: color 0.3s;
    display: inline-block;
}

.lien-souligne:hover { color: var(--or-mat); }
.section--bleu .lien-souligne { color: var(--blanc); }
.section--bleu .lien-souligne:hover { color: var(--or-mat); }

/* -------------------------------------------------------------------------
   GRILLE PRODUITS + FLACONS DESSINÉS
   ------------------------------------------------------------------------- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3vw;
    max-width: 1400px;
    margin: 0 auto;
}

.products-grid--5 { grid-template-columns: repeat(3, 1fr); }

.product-card {
    background: var(--blanc);
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s ease;
}

.product-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(1,39,108,0.10); }

.product-visual {
    aspect-ratio: 3/4;
    background: linear-gradient(160deg, #e8e4db 0%, #d5d0c5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(1,39,108,0.03) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Photo produit : recouvre le flacon dessiné dès qu'elle existe */
.product-visual img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 2;
}
.product-visual img.loaded { opacity: 1; }

.bottle-abstract { width: 120px; height: 240px; position: relative; z-index: 1; }

.bottle-body {
    width: 100%; height: 200px;
    border-radius: 60px 60px 16px 16px;
    position: relative;
    box-shadow: inset -12px 0 24px rgba(0,0,0,0.1), 0 8px 24px rgba(0,0,0,0.12);
}

.bottle-neck { width: 36px; height: 40px; margin: 0 auto; border-radius: 6px 6px 2px 2px; }

.bottle-label {
    position: absolute;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    width: 90%; height: 56px;
    background: var(--blanc);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.bottle-label .label-brand {
    font-family: var(--serif);
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bleu-nuit);
    font-weight: 600;
}

.bottle-label .label-line { width: 20px; height: 1px; background: var(--or-mat); margin: 3px 0; }

.bottle-label .label-variant {
    font-size: 0.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gris-mineral);
}

.bottle-delicat .bottle-body { background: linear-gradient(180deg, #E8C97A 0%, #D4A84A 40%, #B88A2A 100%); }
.bottle-delicat .bottle-neck { background: linear-gradient(180deg, #f0f0f0 0%, #d0d0d0 100%); }
.bottle-equilibre .bottle-body { background: linear-gradient(180deg, #C47A2A 0%, #A06018 40%, #7A4A10 100%); }
.bottle-equilibre .bottle-neck { background: linear-gradient(180deg, #C41E1E 0%, #9A1515 100%); }
.bottle-robuste .bottle-body { background: linear-gradient(180deg, #5C1800 0%, #3A0F00 50%, #1a0800 100%); }
.bottle-robuste .bottle-neck { background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%); }
.bottle-beurre .bottle-body { height: 150px; border-radius: 12px; background: linear-gradient(180deg, #E4C79B 0%, #C9A472 50%, #A8834F 100%); margin-top: 50px; }
.bottle-beurre .bottle-neck { width: 96px; height: 26px; border-radius: 4px; background: linear-gradient(180deg, #f2f2f2 0%, #cfcfcf 100%); }
.bottle-sucre .bottle-body { height: 150px; border-radius: 10px; background: linear-gradient(180deg, #D9B487 0%, #BF9560 50%, #96703F 100%); margin-top: 50px; }
.bottle-sucre .bottle-neck { width: 110px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, #01276C 0%, #011B4B 100%); }

.product-info { padding: 2rem 1.8rem 2.2rem; text-align: center; flex: 1; display: flex; flex-direction: column; }

.product-meta {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gris-mineral);
    margin-bottom: 0.6rem;
}

.product-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--bleu-nuit);
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--gris-mineral);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    flex: 1;
}

.product-trace {
    font-size: 0.7rem;
    color: var(--or-mat);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.product-action {
    font-size: 0.72rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bleu-nuit);
    border-bottom: 1px solid var(--or-mat);
    padding-bottom: 4px;
    font-weight: 600;
    transition: color 0.3s;
    align-self: center;
}

.product-card:hover .product-action { color: var(--or-mat); }

/* -------------------------------------------------------------------------
   FICHE PRODUIT
   ------------------------------------------------------------------------- */
.fiche {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5vw;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

.fiche-visual { position: sticky; top: 110px; }
.fiche-visual .product-visual { aspect-ratio: 4/5; }

.fiche-texte .titre-section { margin-bottom: 1.2rem; }
.fiche-texte > p { color: var(--gris-mineral); line-height: 1.8; margin-bottom: 1.2rem; }

.table-tech { width: 100%; border-collapse: collapse; margin: 2.5rem 0; }

.table-tech th, .table-tech td {
    text-align: left;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--ligne);
    font-size: 0.88rem;
    vertical-align: top;
}

.table-tech th {
    width: 40%;
    font-weight: 500;
    color: var(--gris-mineral);
    font-size: 0.68rem;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding-right: 1.5rem;
}

.table-tech td { color: var(--anthracite); font-weight: 500; }

.puces { list-style: none; margin: 1.5rem 0; }

.puces li {
    position: relative;
    padding-left: 1.6rem;
    margin-bottom: 0.7rem;
    color: var(--gris-mineral);
    font-size: 0.92rem;
    line-height: 1.6;
}

.puces li::before {
    content: '';
    position: absolute;
    left: 0; top: 0.62em;
    width: 7px; height: 1px;
    background: var(--or-mat);
}

.encart {
    background: var(--ivoire);
    border-left: 2px solid var(--or-mat);
    padding: 1.6rem 1.8rem;
    margin: 2rem 0;
}

.encart p { font-size: 0.9rem; color: var(--gris-mineral); line-height: 1.7; }
.encart .kicker { margin-bottom: 0.6rem; }

/* -------------------------------------------------------------------------
   TERRITOIRE (bloc scindé)
   ------------------------------------------------------------------------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 85vh;
}

.split--inverse .split-visual { order: 2; }

.split-visual {
    background: linear-gradient(135deg, #0a1a3a 0%, #01276C 50%, #021a4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
}

.split-visual::before, .split-visual::after {
    content: '';
    position: absolute;
    border: 1px solid rgba(183,154,91,0.15);
    border-radius: 50%;
    animation: pulse 8s ease-in-out infinite;
}

.split-visual::before { width: 400px; height: 400px; }
.split-visual::after { width: 280px; height: 280px; border-color: rgba(183,154,91,0.1); animation-delay: 1s; }

@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.6; } }

.split-visual-photo {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1s ease;
}
.split-visual-photo.loaded { opacity: 0.5; }

.split-visual-inner { text-align: center; color: var(--blanc); z-index: 2; padding: 4rem; }

.split-year {
    font-family: var(--serif);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--or-mat);
    line-height: 1;
    opacity: 0.3;
}

.split-est {
    font-size: 0.75rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-top: 0.5rem;
    font-weight: 300;
}

.split-texte {
    padding: 10vh 5vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    margin: 0 auto;
}

.split-texte p { color: var(--gris-mineral); font-size: 1rem; line-height: 1.8; margin-bottom: 1.2rem; }

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ligne);
}

.stat-item h4 { font-family: var(--serif); font-size: 2.6rem; color: var(--bleu-nuit); font-weight: 700; line-height: 1; }
.stat-item p { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gris-mineral); margin: 0.5rem 0 0; font-weight: 500; }

/* -------------------------------------------------------------------------
   STANDARD (grille numérotée)
   ------------------------------------------------------------------------- */
.standard-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5vw;
    max-width: 1200px;
    margin: 0 auto;
}

.standard-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: border-color 0.4s, background 0.4s;
    display: flex;
    flex-direction: column;
}

.standard-item:hover { border-color: rgba(183,154,91,0.3); background: rgba(255,255,255,0.02); }

.standard-number {
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--or-mat);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 1.2rem;
}

.standard-item h4 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--blanc); margin-bottom: 0.6rem; }
.standard-item p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; flex: 1; }
.standard-item .lien-souligne { margin-top: 1.4rem; font-size: 0.66rem; }

/* Étapes numérotées sur fond clair */
.etapes { max-width: 900px; margin: 0 auto; }

.etape {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 2rem;
    padding: 2.6rem 0;
    border-bottom: 1px solid var(--ligne);
}

.etape:last-child { border-bottom: none; }

.etape-num {
    font-family: var(--serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--or-mat);
    opacity: 0.5;
    line-height: 1;
}

.etape h3 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--bleu-nuit); margin-bottom: 0.6rem; }
.etape p { color: var(--gris-mineral); font-size: 0.95rem; line-height: 1.75; }

/* -------------------------------------------------------------------------
   RÉCOLTES / FICHE DE LOT
   ------------------------------------------------------------------------- */
.recoltes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4vw;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.recoltes-visual {
    aspect-ratio: 4/5;
    background: linear-gradient(160deg, #e0dbd0 0%, #c8c2b5 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.recoltes-visual::before { content: ''; position: absolute; inset: 3rem; border: 1px solid rgba(1,39,108,0.1); }

.lot-card {
    background: var(--blanc);
    padding: 2.5rem;
    width: 78%;
    max-width: 340px;
    box-shadow: 0 20px 50px rgba(1,39,108,0.08);
    position: relative;
    z-index: 2;
}

.lot-card--plein { width: 100%; max-width: none; box-shadow: none; border: 1px solid var(--ligne); }

.lot-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ligne);
}

.lot-id { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--or-mat); font-weight: 700; }
.lot-year { font-family: var(--serif); font-size: 1.8rem; color: var(--bleu-nuit); font-weight: 700; }

.lot-detail { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; font-size: 0.8rem; }
.lot-detail .label { color: var(--gris-mineral); text-transform: uppercase; letter-spacing: 1px; font-size: 0.65rem; white-space: nowrap; }
.lot-detail .value { color: var(--anthracite); font-weight: 500; text-align: right; }

.lots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5vw; max-width: 1300px; margin: 0 auto; }

/* -------------------------------------------------------------------------
   CARTES GÉNÉRIQUES (chefs, journal, contact)
   ------------------------------------------------------------------------- */
.cartes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; max-width: 1200px; margin: 0 auto; }
.cartes-grid--2 { grid-template-columns: repeat(2, 1fr); max-width: 1000px; }

.carte {
    padding: 3rem 2rem;
    border: 1px solid var(--ligne);
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    text-align: center;
    background: var(--blanc);
    text-decoration: none;
    color: inherit;
}

.carte:hover { border-color: rgba(183,154,91,0.35); box-shadow: 0 20px 40px rgba(1,39,108,0.05); transform: translateY(-4px); }

.carte-initiale { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: var(--or-mat); opacity: 0.4; line-height: 1; margin-bottom: 1rem; }
.carte h4 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--bleu-nuit); margin-bottom: 0.5rem; }
.carte .carte-role { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--or-mat); margin-bottom: 1rem; font-weight: 500; }
.carte p { font-size: 0.87rem; color: var(--gris-mineral); line-height: 1.65; flex: 1; }
.carte .lien-souligne { margin-top: 1.5rem; align-self: center; font-size: 0.66rem; }

/* Journal */
.journal-liste { max-width: 900px; margin: 0 auto; }

.journal-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2.5rem;
    padding: 3rem 0;
    border-bottom: 1px solid var(--ligne);
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

.journal-item:hover { opacity: 0.72; }
.journal-item:first-of-type { padding-top: 0; }

.journal-date { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: var(--or-mat); font-weight: 600; padding-top: 0.35rem; }
.journal-item h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--bleu-nuit); margin-bottom: 0.7rem; line-height: 1.25; }
.journal-item p { color: var(--gris-mineral); font-size: 0.94rem; line-height: 1.7; }
.journal-item .lire { display: inline-block; margin-top: 1rem; font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--bleu-nuit); font-weight: 600; border-bottom: 1px solid var(--or-mat); padding-bottom: 3px; }

/* Prose (article, mentions légales) */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--bleu-nuit); margin: 3rem 0 1rem; }
.prose h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--bleu-nuit); margin: 2.2rem 0 0.8rem; }
.prose p { color: var(--gris-mineral); line-height: 1.85; margin-bottom: 1.2rem; font-size: 1rem; }
.prose ul, .prose ol { margin: 0 0 1.4rem 1.3rem; color: var(--gris-mineral); line-height: 1.8; }
.prose li { margin-bottom: 0.5rem; }
.prose a { color: var(--bleu-nuit); text-decoration: underline; text-decoration-color: var(--or-mat); text-underline-offset: 3px; }
.prose a:hover { color: var(--or-mat); }
.prose > p:first-child { font-size: 1.1rem; color: var(--anthracite); }

/* Citation */
.citation-block { max-width: 800px; margin: 0 auto; position: relative; padding: 4rem 2rem 0; text-align: center; }

.citation-block::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 1px; height: 60px;
    background: var(--or-mat);
    opacity: 0.5;
}

.citation {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    line-height: 1.5;
    color: var(--bleu-nuit);
    margin-bottom: 2rem;
}

.citation-author { font-size: 0.75rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gris-mineral); font-weight: 500; }

/* -------------------------------------------------------------------------
   CONTACT
   ------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 5vw; max-width: 1200px; margin: 0 auto; align-items: start; }

.contact-detail { margin-bottom: 2.4rem; }
.contact-detail .kicker { margin-bottom: 0.5rem; }
.contact-detail p { color: var(--gris-mineral); font-size: 0.95rem; line-height: 1.75; }
.contact-detail a { color: var(--bleu-nuit); text-decoration: none; border-bottom: 1px solid var(--or-mat); padding-bottom: 2px; transition: color 0.3s; }
.contact-detail a:hover { color: var(--or-mat); }

.form-field { margin-bottom: 1.5rem; }

.form-field label {
    display: block;
    font-size: 0.68rem;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--gris-mineral);
    margin-bottom: 0.55rem;
    font-weight: 600;
}

.form-field input, .form-field textarea, .form-field select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--ligne);
    background: var(--blanc);
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--anthracite);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}

.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--or-mat); }

.form-note { font-size: 0.82rem; color: var(--gris-mineral); margin-top: 1.4rem; line-height: 1.7; }

.bloc-service { padding: 2.4rem 0; border-bottom: 1px solid var(--ligne); }
.bloc-service:last-child { border-bottom: none; }
.bloc-service h3 { font-family: var(--serif); font-size: 1.3rem; color: var(--bleu-nuit); font-weight: 600; margin-bottom: 0.6rem; }
.bloc-service p { color: var(--gris-mineral); font-size: 0.94rem; line-height: 1.75; margin-bottom: 0.9rem; }

/* -------------------------------------------------------------------------
   INFOLETTRE
   ------------------------------------------------------------------------- */
.newsletter-section { background: var(--anthracite); padding: 8vh 5vw; text-align: center; }
.newsletter-section h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--blanc); margin-bottom: 0.8rem; font-weight: 600; }
.newsletter-section > p { color: rgba(255,255,255,0.45); margin-bottom: 2.5rem; font-size: 0.95rem; font-weight: 300; }

.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.15);
    background: transparent;
    color: var(--blanc);
    font-size: 0.9rem;
    font-family: var(--sans);
    outline: none;
    transition: border-color 0.3s;
    border-radius: 0;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-form input:focus { border-color: var(--or-mat); }

.newsletter-form button {
    padding: 16px 32px;
    background: var(--or-mat);
    color: var(--blanc);
    border: none;
    font-size: 0.72rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
    font-family: var(--sans);
    white-space: nowrap;
}

.newsletter-form button:hover { background: #a0854a; }
.newsletter-note { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 1.2rem; }

/* -------------------------------------------------------------------------
   PIED DE PAGE
   ------------------------------------------------------------------------- */
.footer { background: var(--noir-pied); color: rgba(255,255,255,0.4); padding: 8vh 5vw 4vh; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 4vw; max-width: 1400px; margin: 0 auto 6vh; }

.footer-logo {
    font-family: var(--serif);
    font-size: 1.3rem;
    color: var(--blanc);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    display: block;
    font-weight: 600;
    text-decoration: none;
}

.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.4); font-weight: 300; }
.footer-territory { font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-top: 2rem; }

.footer-col h5 { color: var(--blanc); font-size: 0.7rem; letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 1.8rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; font-weight: 300; }
.footer-col a:hover { color: var(--or-mat); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 3vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; }
.footer-bottom a:hover { color: var(--or-mat); }
.footer-social { display: flex; gap: 1.5rem; }
.footer-social a { color: rgba(255,255,255,0.35); transition: color 0.3s; }
.footer-social a:hover { color: var(--or-mat); }

/* -------------------------------------------------------------------------
   ANIMATIONS
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.9s cubic-bezier(0.4,0,0.2,1), transform 0.9s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .split-visual::before, .split-visual::after, .hero-scroll { animation: none; }
}

/* -------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------- */
/* Barre de navigation : sept entrees ne tiennent qu'au-dela de 1400 px.
   Entre 1100 et 1400 px on retire le bouton Nous ecrire (present dans le menu),
   et sous 1100 px on bascule sur le menu plein ecran. */
@media (max-width: 1399px) {
    .nav-links { gap: 1.35rem; }
    .nav-links a { font-size: 0.67rem; letter-spacing: 0.9px; }
    .nav-contact { display: none; }
}

@media (max-width: 1099px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    .nav-contact { display: inline-block; }
}

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

/* Le nom complet de la Maison doit tenir sur un telephone */
@media (max-width: 480px) {
    .nav-logo { font-size: 1.02rem; letter-spacing: 1.4px; }
    .navbar { padding: 0 1.1rem; gap: 1rem; }
    .nav-actions { gap: 1rem; }
}

@media (max-width: 370px) {
    .nav-logo { font-size: 0.92rem; letter-spacing: 0.8px; }
}

@media (max-width: 1024px) {
    .products-grid, .products-grid--5 { grid-template-columns: repeat(2, 1fr); }
    .split { grid-template-columns: 1fr; }
    .split--inverse .split-visual { order: 0; }
    .split-visual { min-height: 42vh; }
    .standard-grid { grid-template-columns: repeat(2, 1fr); }
    .recoltes-grid { grid-template-columns: 1fr; }
    .recoltes-visual { aspect-ratio: 16/10; }
    .cartes-grid, .lots-grid { grid-template-columns: 1fr; }
    .cartes-grid--2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .fiche { grid-template-columns: 1fr; gap: 4vh; }
    .fiche-visual { position: static; max-width: 460px; }
    .contact-grid { grid-template-columns: 1fr; gap: 6vh; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    .navbar { padding: 0 1.5rem; }
    .section, .section--serre { padding: 8vh 1.5rem; }
    .page-hero { padding: calc(var(--nav-h) + 8vh) 1.5rem 8vh; }
    .hero { padding: calc(var(--nav-h) + 4vh) 1.5rem 12vh; }
    .fil { padding: 1.2rem 1.5rem; }
    .products-grid, .products-grid--5 { grid-template-columns: 1fr; }
    .standard-grid { grid-template-columns: 1fr; }
    .footer { padding: 8vh 1.5rem 4vh; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input, .newsletter-form button { width: 100%; }
    .stats { flex-direction: column; gap: 2rem; }
    .split-texte { padding: 8vh 1.5rem; }
    .citation-block { padding: 3rem 0 0; }
    .journal-item { grid-template-columns: 1fr; gap: 0.8rem; }
    .etape { grid-template-columns: 1fr; gap: 0.6rem; }
    .hero-scroll { display: none; }
    .lot-card { width: 88%; padding: 1.8rem; }
}
