/* ============================================================
   FERME DE CHARANCE — Feuille de style
   Direction : éditorial, photo-first, terroir + altitude
   Polices  : Montserrat (display) · Roboto (corps) · Cormorant Garamond (accent italique)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Roboto:wght@300;400;500;700&family=Cormorant+Garamond:ital,wght@1,400;1,500;1,600&display=swap');

/* ---------- Tokens ---------- */
:root {
    /* Couleurs */
    --sapin:        #1f3a2b;
    --sapin-deep:   #15291e;
    --prairie:      #5d7a44;
    --olive:        #87923a;
    --olive-pale:   #d9dfb9;
    --ocre:         #c97b3a;
    --ocre-pale:    #efd9bf;
    --terre:        #8b5e3c;
    --creme:        #f5efe4;
    --miel:         #e8b53d;
    --miel-deep:    #b07d12;
    --creme-warm:   #ebe2cf;
    --paper:        #faf8f4;
    --ink:          #1a1a1a;
    --ink-soft:     #4a4a4a;
    --ink-mute:     #6e6e6e;
    --line:         #e5dfd2;

    /* Élévations */
    --shadow-sm: 0 2px 12px rgba(31, 58, 43, 0.06);
    --shadow-md: 0 8px 28px rgba(31, 58, 43, 0.10);
    --shadow-lg: 0 24px 60px rgba(31, 58, 43, 0.18);

    /* Typo */
    --display: 'Montserrat', sans-serif;
    --body:    'Roboto', system-ui, sans-serif;
    --serif:   'Cormorant Garamond', 'Times New Roman', serif;

    /* Mesures */
    --radius-sm: 4px;
    --radius:    8px;
    --radius-lg: 18px;
    --max:       1280px;
    --gutter:    clamp(20px, 4vw, 56px);
    --section-y: clamp(70px, 9vw, 130px);
    --ease:      cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 16px;
    font-weight: 400;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--sapin); color: var(--paper); }

h1, h2, h3, h4, h5 {
    font-family: var(--display);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--sapin);
    font-weight: 800;
}

h1 { font-size: clamp(2.4rem, 6vw, 5.2rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.05rem; }

p  { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--sapin); }

/* ---------- Layout helpers ---------- */
.wrap {
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section.tight { padding: clamp(50px, 6vw, 90px) 0; }
.bg-cream  { background: var(--creme); }
.bg-paper  { background: var(--paper); }
.bg-sapin  { background: var(--sapin); color: var(--paper); }
.bg-sapin h1, .bg-sapin h2, .bg-sapin h3 { color: var(--creme); }
.bg-sapin p  { color: rgba(245,239,228,0.78); }

/* Eyebrow / numéro de section */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 0.75rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--prairie);
    margin-bottom: 22px;
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: currentColor;
}
.bg-sapin .eyebrow { color: var(--olive-pale); }

.section-num {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    color: var(--ocre);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.lead {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    line-height: 1.45;
    color: var(--sapin);
    max-width: 720px;
    font-weight: 500;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1.5px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    white-space: nowrap;
}
.btn .arrow {
    display: inline-block;
    transition: transform 0.35s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
    background: var(--ocre);
    color: var(--paper);
    border-color: var(--ocre);
}
.btn-primary:hover { background: #b46a2d; border-color: #b46a2d; }

.btn-dark {
    background: var(--sapin);
    color: var(--paper);
    border-color: var(--sapin);
}
.btn-dark:hover { background: var(--sapin-deep); }

.btn-ghost {
    background: transparent;
    color: var(--sapin);
    border-color: var(--sapin);
}
.btn-ghost:hover { background: var(--sapin); color: var(--paper); }

.btn-ghost-light {
    background: transparent;
    color: var(--paper);
    border-color: rgba(245,239,228,0.5);
}
.btn-ghost-light:hover { background: var(--paper); color: var(--sapin); border-color: var(--paper); }

.btn-sm { padding: 10px 18px; font-size: 0.74rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--sapin);
    border-bottom: 1px solid var(--sapin);
    padding-bottom: 4px;
    transition: gap 0.3s var(--ease);
}
.link-arrow:hover { gap: 14px; }

/* ---------- Navigation ---------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 18px var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.nav.solid {
    background: rgba(250, 248, 244, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 12px var(--gutter);
    box-shadow: 0 1px 0 var(--line);
}
.nav.solid .logo,
.nav.solid .nav-link { color: var(--sapin); }
.nav.solid .nav-link:hover { color: var(--ocre); }

.logo {
    font-family: var(--display);
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--paper);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
}
.logo .mark {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--ocre);
    color: var(--paper);
    display: grid; place-items: center;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.2rem;
    font-weight: 600;
}
.logo .small {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 0;
    color: inherit;
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.nav-link {
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--paper);
    padding: 10px 14px;
    border-radius: 4px;
    transition: color 0.3s, background 0.3s;
}
.nav-link:hover { color: var(--ocre-pale); }
.nav-link.active { color: var(--ocre); }
.nav.solid .nav-link.active { color: var(--ocre); }

.nav-cta {
    margin-left: 8px;
    background: var(--ocre);
    color: var(--paper) !important;
    border-radius: 999px;
    padding: 10px 22px !important;
}
.nav-cta:hover { background: #b46a2d; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--paper);
    transition: transform 0.3s var(--ease), opacity 0.3s, background 0.3s;
}
.nav.solid .nav-toggle span { background: var(--sapin); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--sapin-deep);
    color: var(--paper);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 0 var(--section-y);
}
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.62) saturate(1.05);
    transform: scale(1.04);
    animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
    to { transform: scale(1); }
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,30,22,0.55) 0%, rgba(15,30,22,0.1) 35%, rgba(15,30,22,0.85) 100%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--max);
    margin: 0 auto;
    padding: 140px var(--gutter) 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    color: var(--ocre-pale);
    margin-bottom: 28px;
}
.hero-tag .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--ocre); box-shadow: 0 0 0 4px rgba(201,123,58,0.25);
}
.hero h1 {
    color: var(--paper);
    font-weight: 800;
    max-width: 1000px;
    line-height: 1.02;
}
.hero h1 .serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ocre-pale);
}
.hero-sub {
    margin-top: 28px;
    max-width: 540px;
    font-size: 1.05rem;
    color: rgba(245,239,228,0.82);
    line-height: 1.7;
}
.hero-cta {
    margin-top: 40px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Hero meta strip — coordonnées + dates de récolte */
.hero-meta {
    position: relative;
    z-index: 3;
    margin-top: clamp(60px, 8vw, 100px);
    padding: 22px var(--gutter);
    border-top: 1px solid rgba(245,239,228,0.18);
    border-bottom: 1px solid rgba(245,239,228,0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    font-family: var(--display);
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(245,239,228,0.7);
}
.hero-meta strong { color: var(--paper); font-weight: 600; }

.scroll-hint {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    z-index: 3;
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(245,239,228,0.6);
    display: flex;
    align-items: center;
    gap: 12px;
}
.scroll-hint::after {
    content: '';
    width: 1px; height: 32px;
    background: rgba(245,239,228,0.4);
    animation: scrollPulse 2.4s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollPulse {
    0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
    50%      { transform: scaleY(1);   opacity: 1; }
}

/* ---------- Hero page intérieure ---------- */
.hero-page {
    position: relative;
    min-height: 60vh;
    padding: 180px var(--gutter) 80px;
    color: var(--paper);
    overflow: hidden;
    background: var(--sapin-deep);
    display: flex;
    align-items: center;
}
.hero-page-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
}
.hero-page::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,30,22,0.5), rgba(15,30,22,0.85));
}
.hero-page-inner {
    position: relative; z-index: 2;
    max-width: var(--max);
    margin: 0 auto;
    width: 100%;
}
.hero-page h1 { color: var(--paper); margin-bottom: 18px; }
.hero-page h1 .serif {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ocre-pale);
}
.hero-page .crumb {
    font-family: var(--display);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ocre-pale);
    margin-bottom: 22px;
}
.hero-page .crumb a { color: rgba(245,239,228,0.6); border-bottom: 1px solid transparent; }
.hero-page .crumb a:hover { color: var(--paper); }
.hero-page .desc {
    max-width: 580px;
    color: rgba(245,239,228,0.85);
    font-size: 1.05rem;
    line-height: 1.65;
}

/* ---------- Stats marquee ---------- */
.stats {
    background: var(--sapin);
    color: var(--paper);
    padding: 38px var(--gutter);
}
.stats-grid {
    max-width: var(--max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-left: 18px;
    border-left: 2px solid var(--ocre);
}
.stat .num {
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--paper);
    letter-spacing: -0.01em;
    line-height: 1;
}
.stat .label {
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(245,239,228,0.65);
    font-weight: 500;
}

/* ---------- Section title block ---------- */
.section-head {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: end;
    margin-bottom: clamp(50px, 6vw, 80px);
}
.section-head h2 { line-height: 1.05; }
.section-head .head-right { padding-bottom: 6px; }
.section-head p { font-size: 1.02rem; max-width: 540px; }
.section-head .accent-italic {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ocre);
    font-weight: 500;
}

/* ---------- Productions grid (home) ---------- */
.productions {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 28px;
}
.prod-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--sapin);
    color: var(--paper);
    min-height: 460px;
    isolation: isolate;
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.prod-card .photo {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s var(--ease);
    z-index: -1;
}
.prod-card:hover .photo { transform: scale(1.06); }
.prod-card::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,30,22,0) 30%, rgba(15,30,22,0.85) 100%);
    z-index: -1;
}

.prod-card .body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    min-height: 460px;
}
.prod-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.prod-card .label {
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ocre-pale);
    font-weight: 600;
}
.prod-card h3 {
    color: var(--paper);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    line-height: 1.1;
    margin-bottom: 10px;
}
.prod-card h3 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; }
.prod-card .blurb {
    color: rgba(245,239,228,0.85);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 18px;
}
.prod-card .more {
    font-family: var(--display);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--paper);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(245,239,228,0.4);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: gap 0.3s var(--ease), border-color 0.3s;
}
.prod-card .more:hover { gap: 14px; border-color: var(--ocre); }

/* Carte tags (statut) */
.tag {
    display: inline-block;
    font-family: var(--display);
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 3px;
    background: rgba(245,239,228,0.15);
    color: var(--paper);
    backdrop-filter: blur(6px);
}
.tag.bio   { background: var(--olive); color: var(--paper); }
.tag.conv  { background: var(--ocre); color: var(--paper); }
.tag.aop   { background: var(--paper); color: var(--sapin); }

/* Spans (12-col grid) */
.col-7  { grid-column: span 7; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }
.col-12 { grid-column: span 12; }
.col-8  { grid-column: span 8; }

/* ---------- Story split ---------- */
.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split .photo-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--creme-warm);
}
.split .photo-block img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease);
}
.split .photo-block:hover img { transform: scale(1.04); }
.split .photo-block .caption {
    position: absolute;
    left: 20px; bottom: 20px;
    background: var(--paper);
    color: var(--sapin);
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 4px;
    font-weight: 600;
}
.split .text-block h2 { margin-bottom: 22px; }
.split .text-block h2 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ocre); }
.split .text-block p { margin-bottom: 14px; font-size: 1.02rem; }
.split .text-block .quote {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--sapin);
    padding: 20px 0 20px 24px;
    border-left: 2px solid var(--ocre);
    margin: 28px 0;
}

/* Liste à coches */
.checks { list-style: none; margin: 26px 0 32px; }
.checks li {
    padding: 12px 0 12px 38px;
    position: relative;
    color: var(--ink);
    font-size: 0.97rem;
    border-bottom: 1px solid var(--line);
}
.checks li:last-child { border-bottom: 0; }
.checks li::before {
    content: '';
    position: absolute; left: 0; top: 18px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--olive-pale) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f3a2b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 7'/></svg>") center/13px no-repeat;
}

/* ---------- Image showcase ---------- */
.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    gap: 20px;
}
.showcase-grid .s {
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: transform 1s var(--ease);
}
.showcase-grid .s:hover { transform: scale(1.02); }
.showcase-grid .s1 { grid-row: span 2; }

/* ---------- Process / mill steps ---------- */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process .step {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.process .step .img {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--creme-warm);
}
.process .step .n {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ocre);
    font-size: 1.4rem;
    line-height: 1;
}
.process .step h4 {
    color: var(--sapin);
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.process .step p {
    font-size: 0.92rem;
    color: var(--ink-mute);
    line-height: 1.55;
}

/* ---------- Cards génériques ---------- */
.cards { display: grid; gap: 28px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two   { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 36px 32px;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.card:hover {
    transform: translateY(-4px);
    border-color: var(--olive);
    box-shadow: var(--shadow-md);
}
.card .n {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ocre);
    font-weight: 500;
    font-size: 1.7rem;
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}
.card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.card p { font-size: 0.95rem; }

.card.dark {
    background: var(--sapin);
    border-color: var(--sapin);
    color: var(--paper);
}
.card.dark h3 { color: var(--paper); }
.card.dark p  { color: rgba(245,239,228,0.78); }

/* ---------- Catalogue (produits) ---------- */
.filtres {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
}
.filtre-btn {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    font-family: var(--display);
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 11px 22px;
    border-radius: 999px;
    transition: all 0.3s var(--ease);
}
.filtre-btn:hover { border-color: var(--sapin); color: var(--sapin); }
.filtre-btn.active { background: var(--sapin); border-color: var(--sapin); color: var(--paper); }
.filtre-count {
    margin-left: auto;
    font-family: var(--display);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
    align-self: center;
}

.catalogue {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}
.cat-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    transition: transform 0.4s var(--ease);
}
.cat-card.hidden { display: none; }
.cat-card:hover { transform: translateY(-6px); }

.cat-img {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--creme-warm);
    margin-bottom: 18px;
}
.cat-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease);
}
.cat-card:hover .cat-img img { transform: scale(1.06); }
.cat-img .tag-stack {
    position: absolute;
    top: 14px; left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.cat-img .add-quote {
    position: absolute;
    bottom: 14px; right: 14px;
    background: var(--paper);
    color: var(--sapin);
    border: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.6rem;
    font-weight: 300;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s var(--ease), background 0.3s, color 0.3s;
    line-height: 1;
}
.cat-img .add-quote:hover { background: var(--ocre); color: var(--paper); transform: scale(1.08); }
.cat-img .add-quote.added { background: var(--olive); color: var(--paper); }

.cat-card .kicker {
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ocre);
    font-weight: 600;
    margin-bottom: 6px;
}
.cat-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--sapin);
}
.cat-card .desc {
    font-size: 0.93rem;
    color: var(--ink-soft);
    line-height: 1.6;
    margin-bottom: 16px;
}
.cat-card .specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.cat-card .spec {
    background: var(--creme);
    color: var(--ink);
    border-radius: 3px;
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    font-weight: 500;
}
.cat-card .foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
}
.cat-card .price-label {
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.cat-card .price-label strong { color: var(--sapin); display: block; font-size: 0.86rem; margin-top: 2px; letter-spacing: 0.03em; }

/* ---------- Quote / Devis tray ---------- */
.quote-fab {
    position: fixed;
    bottom: 24px; right: 24px;
    z-index: 80;
    background: var(--sapin);
    color: var(--paper);
    border: 0;
    border-radius: 999px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    font-family: var(--display);
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform: translateY(120%);
    transition: transform 0.4s var(--ease);
}
.quote-fab.visible { transform: translateY(0); }
.quote-fab .count {
    background: var(--ocre);
    border-radius: 50%;
    width: 24px; height: 24px;
    display: grid; place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.quote-panel {
    position: fixed;
    right: 0; top: 0; bottom: 0;
    width: min(420px, 100%);
    background: var(--paper);
    z-index: 200;
    box-shadow: -20px 0 60px rgba(31,58,43,0.18);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    display: flex;
    flex-direction: column;
}
.quote-panel.open { transform: translateX(0); }
.quote-overlay {
    position: fixed; inset: 0;
    background: rgba(15,30,22,0.4);
    z-index: 150;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
.quote-overlay.open { opacity: 1; pointer-events: auto; }

.quote-head {
    padding: 28px 28px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--line);
}
.quote-head h3 { font-size: 1.15rem; margin: 0; }
.quote-close {
    background: transparent;
    border: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 1.4rem;
    color: var(--ink);
    cursor: pointer;
    transition: background 0.3s;
}
.quote-close:hover { background: var(--creme); }

.quote-items { flex: 1; overflow-y: auto; padding: 18px 28px; }
.quote-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--ink-mute);
}
.quote-empty .ico {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ocre);
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 14px;
}
.quote-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    align-items: center;
}
.quote-item:last-child { border-bottom: 0; }
.qi-img {
    width: 64px; height: 64px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}
.qi-info { flex: 1; min-width: 0; }
.qi-info h4 { font-size: 0.95rem; color: var(--sapin); margin-bottom: 2px; }
.qi-info p  { font-size: 0.78rem; color: var(--ink-mute); }
.qi-remove {
    background: transparent;
    border: 0;
    color: var(--ink-mute);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}
.qi-remove:hover { color: var(--ocre); }

.quote-foot {
    padding: 22px 28px;
    border-top: 1px solid var(--line);
    background: var(--creme);
}
.quote-foot p {
    font-size: 0.86rem;
    color: var(--ink-soft);
    margin-bottom: 14px;
}

/* ---------- Timeline ---------- */
.timeline {
    position: relative;
    padding: 30px 0;
    max-width: 920px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 0; bottom: 0;
    width: 1px;
    background: var(--line);
}
.tl-item {
    position: relative;
    padding: 0 0 44px 70px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.tl-item.visible { opacity: 1; transform: translateY(0); }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
    position: absolute;
    left: 14px; top: 6px;
    width: 18px; height: 18px;
    background: var(--paper);
    border: 2px solid var(--ocre);
    border-radius: 50%;
    z-index: 2;
}
.tl-item.done .tl-dot { background: var(--olive); border-color: var(--olive); }
.tl-year {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ocre);
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}
.tl-item h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--sapin); }
.tl-item p  { font-size: 0.97rem; color: var(--ink-soft); line-height: 1.65; max-width: 640px; }
.tl-item .check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--olive);
    font-weight: 700;
    margin-top: 12px;
}

/* ---------- Partenaire / Alpes Contrôles ---------- */
.partner-banner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 32px 40px;
    background: var(--creme);
    border-left: 4px solid var(--ocre);
    border-radius: var(--radius);
}
.partner-banner .pico {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ocre);
    font-size: 2.6rem;
    line-height: 1;
}
.partner-banner p {
    font-size: 0.97rem;
    margin: 0;
    color: var(--ink);
}
.partner-banner strong { color: var(--sapin); }

/* ---------- Contact ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(40px, 5vw, 70px);
    align-items: start;
}
.contact-info .item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(245,239,228,0.18);
}
.contact-info .item:last-child { border-bottom: 0; }
.contact-info .item .ico {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(245,239,228,0.1);
    display: grid; place-items: center;
    flex-shrink: 0;
    font-family: var(--serif);
    font-style: italic;
    font-weight: 500;
    color: var(--ocre-pale);
}
.contact-info .item h4 {
    color: var(--paper);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 6px;
}
.contact-info .item p, .contact-info .item a {
    color: rgba(245,239,228,0.82);
    font-size: 0.97rem;
    line-height: 1.55;
}
.contact-info .item a:hover { color: var(--ocre); }

.contact-form {
    background: var(--paper);
    color: var(--ink);
    padding: 42px 40px;
    border-radius: var(--radius);
}
.contact-form h3 { margin-bottom: 8px; }
.contact-form .form-intro { font-size: 0.93rem; color: var(--ink-mute); margin-bottom: 24px; }
.fg { margin-bottom: 18px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg label {
    display: block;
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--sapin);
    font-weight: 600;
    margin-bottom: 8px;
}
.fg input, .fg textarea, .fg select {
    width: 100%;
    padding: 13px 14px;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    font-family: var(--body);
    font-size: 0.97rem;
    color: var(--ink);
    transition: border-color 0.3s;
}
.fg input:focus, .fg textarea:focus, .fg select:focus {
    outline: 0;
    border-bottom-color: var(--ocre);
}
.fg textarea { resize: vertical; min-height: 110px; }
.fg select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231f3a2b' stroke-width='1.5' stroke-linecap='round'><polyline points='1 1 6 6 11 1'/></svg>"); background-repeat: no-repeat; background-position: right 8px center; background-size: 12px; padding-right: 28px; }
.fg.consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: var(--body);
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
    line-height: 1.5;
    cursor: pointer;
}
.fg.consent input { width: auto; margin-top: 3px; }
.form-success {
    text-align: center;
    padding: 50px 20px;
    display: none;
}
.form-success.show { display: block; }
.form-success .check-big {
    width: 70px; height: 70px;
    background: var(--olive);
    border-radius: 50%;
    color: var(--paper);
    margin: 0 auto 18px;
    display: grid; place-items: center;
    font-size: 2.4rem;
    line-height: 1;
}

/* ---------- Huile : fruités ---------- */
.fruites { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.fruite {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.fruite:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fruite .img {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    background-color: var(--creme-warm);
}
.fruite .body { padding: 28px 26px; }
.fruite .body .name {
    font-family: var(--serif);
    font-style: italic;
    color: var(--ocre);
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 10px;
}
.fruite .body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.fruite .body p  { font-size: 0.93rem; }
.fruite .notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.fruite .notes span {
    background: var(--creme);
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 3px;
    color: var(--ink);
}

/* Conditionnements */
.condit { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.condit .item {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 14px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.condit .item:hover { border-color: var(--ocre); transform: translateY(-3px); }
.condit .vol {
    font-family: var(--display);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--sapin);
    line-height: 1;
}
.condit .use {
    font-family: var(--display);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-top: 8px;
}

/* ---------- Footer ---------- */
footer {
    background: var(--sapin-deep);
    color: rgba(245,239,228,0.7);
    padding: 80px var(--gutter) 30px;
}
.foot-grid {
    max-width: var(--max);
    margin: 0 auto 48px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
}
.foot-brand .logo { color: var(--paper); margin-bottom: 18px; }
.foot-brand p { font-size: 0.92rem; line-height: 1.65; max-width: 290px; }
.foot-col h5 {
    font-family: var(--display);
    color: var(--ocre);
    font-size: 0.74rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul li a { font-size: 0.92rem; transition: color 0.3s; }
.foot-col ul li a:hover { color: var(--paper); }
.foot-cert {
    background: rgba(245,239,228,0.05);
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid rgba(245,239,228,0.1);
}
.foot-cert h5 { color: var(--olive-pale); margin-bottom: 12px; }
.foot-cert p  { font-size: 0.84rem; line-height: 1.55; color: rgba(245,239,228,0.75); margin-bottom: 6px; }
.foot-cert .org {
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--paper);
    font-weight: 500;
}
.foot-bottom {
    max-width: var(--max);
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(245,239,228,0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

/* ---------- Partenaire miel ---------- */
.miel-feature {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
    background: linear-gradient(150deg, #fdf7e6 0%, #f8eccb 100%);
    border: 1px solid #efddb0;
    border-radius: var(--radius-lg);
    padding: clamp(32px, 5vw, 56px);
}
.miel-logo {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.miel-logo::after {
    content: 'Apiculteur partenaire';
    position: absolute;
    bottom: 16px;
    font-family: var(--display);
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--miel-deep);
    font-weight: 600;
}
.miel-logo img { width: min(220px, 70%); height: auto; }
.miel-body h3 {
    font-size: clamp(1.3rem, 2.4vw, 1.9rem);
    color: var(--miel-deep);
    margin-bottom: 16px;
    line-height: 1.15;
}
.miel-body p { font-size: 1.02rem; margin-bottom: 26px; color: var(--ink-soft); }
.miel-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.btn-miel {
    background: var(--miel);
    color: #3a2c05;
    border-color: var(--miel);
}
.btn-miel:hover { background: var(--miel-deep); color: var(--paper); border-color: var(--miel-deep); }
.miel-note {
    font-family: var(--display);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
    color: var(--miel-deep);
    max-width: 220px;
    line-height: 1.45;
}
@media (max-width: 720px) {
    .miel-feature { grid-template-columns: 1fr; }
}

/* ---------- Bientôt disponible ---------- */
.coming {
    margin-top: clamp(50px, 6vw, 80px);
    padding-top: clamp(40px, 5vw, 56px);
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: clamp(30px, 5vw, 60px);
    align-items: center;
}
.coming-head h3 {
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    color: var(--sapin);
    margin: 14px 0 14px;
    line-height: 1.1;
}
.coming-head h3 .serif { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--ocre); }
.coming-head p { font-size: 0.98rem; max-width: 340px; }
.coming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.coming-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.coming-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.coming-img {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: var(--creme-warm);
}
.coming-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--ocre);
    color: var(--paper);
    font-family: var(--display);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 3px;
}
.coming-card h4 { font-size: 1.15rem; color: var(--sapin); margin: 18px 22px 8px; }
.coming-card p  { font-size: 0.9rem; color: var(--ink-soft); margin: 0 22px 22px; line-height: 1.55; }
@media (max-width: 860px) {
    .coming { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .coming-grid { grid-template-columns: 1fr; }
}

/* ---------- Reveal anim ---------- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .col-7, .col-5, .col-6, .col-4, .col-8 { grid-column: span 12; }
    .productions { grid-template-columns: repeat(2, 1fr); display: grid; }
    .productions > * { grid-column: auto; }
    .section-head { grid-template-columns: 1fr; gap: 24px; }
    .cards.three { grid-template-columns: repeat(2, 1fr); }
    .catalogue   { grid-template-columns: repeat(2, 1fr); }
    .stats-grid  { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .process     { grid-template-columns: repeat(2, 1fr); }
    .foot-grid   { grid-template-columns: 1fr 1fr; }
    .fruites     { grid-template-columns: 1fr 1fr; }
    .condit      { grid-template-columns: repeat(3, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .split, .split.reverse { grid-template-columns: 1fr; }
    .split .photo-block { aspect-ratio: 16 / 10; }
    .showcase-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
    .showcase-grid .s { aspect-ratio: 4 / 3; }
    .showcase-grid .s1 { grid-row: auto; grid-column: span 2; }
}

@media (max-width: 720px) {
    .nav-menu {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(320px, 80vw);
        background: var(--sapin);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 30px 30px;
        gap: 4px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        box-shadow: -10px 0 40px rgba(0,0,0,0.2);
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu li { width: 100%; }
    .nav-link {
        display: block;
        padding: 16px 14px;
        font-size: 0.85rem;
        color: var(--paper);
        border-bottom: 1px solid rgba(245,239,228,0.1);
    }
    .nav-cta { margin: 16px 0 0; text-align: center; }
    .nav-toggle { display: flex; z-index: 110; }
    .hero { min-height: 88vh; }
    .hero-inner { padding-top: 110px; }
    .productions { grid-template-columns: 1fr; }
    .prod-card { min-height: 380px; }
    .prod-card .body { min-height: 380px; }
    .catalogue   { grid-template-columns: 1fr; }
    .cards.three, .cards.two { grid-template-columns: 1fr; }
    .stats-grid  { grid-template-columns: 1fr 1fr; }
    .process     { grid-template-columns: 1fr; }
    .fruites     { grid-template-columns: 1fr; }
    .condit      { grid-template-columns: repeat(2, 1fr); }
    .foot-grid   { grid-template-columns: 1fr; }
    .showcase-grid { grid-template-columns: 1fr; }
    .showcase-grid .s1 { grid-column: span 1; }
    .fg-row { grid-template-columns: 1fr; }
    .partner-banner { grid-template-columns: 1fr; text-align: left; padding: 26px; }
    .contact-form { padding: 28px 22px; }
    .quote-fab { bottom: 16px; right: 16px; padding: 12px 18px; }
}
