/* ==========================================================================
   Champagne Jeandon-Privé — champagne.jeandon.fr
   Design system : noir chaud / crème / or champagne
   ========================================================================== */

:root {
    --ink: #16130F;
    --coal: #211D18;
    --gold: #C6A15B;
    --gold-deep: #A5813B;
    --gold-soft: #EBDDBE;
    --cream: #FAF6EF;
    --paper: #FFFDF9;
    --stone: #6E655A;
    --line: rgba(22, 19, 15, .09);
    --ok: #2E7D4F;
    --font-display: 'Cinzel', serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Lato', sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --shadow-lg: 0 24px 60px -20px rgba(22, 19, 15, .25);
    --shadow-md: 0 12px 30px -12px rgba(22, 19, 15, .18);
    --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); line-height: 1.25; }
img { max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
section[id] { scroll-margin-top: 76px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    font-family: var(--font-sans); font-size: .72rem; font-weight: 700;
    letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep);
}
.eyebrow::before, .eyebrow.center::after { content: ''; width: 34px; height: 1px; background: var(--gold); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin: 14px 0 12px; }
.section-head p { color: var(--stone); font-size: 1.02rem; }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 34px; border-radius: 999px; cursor: pointer; text-decoration: none;
    font-family: var(--font-sans); font-weight: 700; font-size: .82rem;
    letter-spacing: .14em; text-transform: uppercase; border: 1.5px solid transparent;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    user-select: none; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -10px rgba(198, 161, 91, .7); }
.btn-gold:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }

.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--gold-deep); color: #fff; transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(22, 19, 15, .25); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.btn-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--ink); }

.btn.sm { padding: 12px 22px; font-size: .72rem; }
.btn.full { width: 100%; }

/* --------------------------------------------------------------------------
   Age gate
   -------------------------------------------------------------------------- */
.age-gate {
    position: fixed; inset: 0; z-index: 6000; display: none;
    align-items: center; justify-content: center; padding: 24px;
    background: rgba(13, 11, 9, .55); backdrop-filter: blur(18px);
}
.age-gate.on { display: flex; }
.age-gate.closing { opacity: 0; transition: opacity .5s ease; }
.age-card {
    background: var(--paper); max-width: 430px; width: 100%; text-align: center;
    padding: 48px 38px 40px; border-radius: 14px; border-top: 3px solid var(--gold);
    box-shadow: var(--shadow-lg);
}
.age-card img { height: 64px; margin-bottom: 18px; }
.age-card h2 { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.age-card p { color: var(--stone); font-size: .9rem; margin-bottom: 26px; }
.age-card .btn { width: 100%; margin-bottom: 12px; }
.age-no { background: none; border: none; color: var(--stone); font-size: .8rem; text-decoration: underline; cursor: pointer; }
.age-legal { font-size: .68rem; color: #A79C8E; margin-top: 22px; margin-bottom: 0 !important; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000; padding: 20px 0;
    transition: padding .4s var(--ease), background .4s, box-shadow .4s;
    background: linear-gradient(to bottom, rgba(13, 11, 9, .55), transparent);
}
header.scrolled { padding: 12px 0; background: rgba(16, 13, 10, .96); backdrop-filter: blur(12px); box-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.logo img { height: 44px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.3; }
.logo-text small { display: block; font-family: var(--font-sans); font-size: .58rem; letter-spacing: .34em; color: var(--gold); }

.nav-links { display: flex; gap: 34px; }
.nav-links a {
    color: rgba(255, 255, 255, .85); text-transform: uppercase; font-size: .72rem; font-weight: 700;
    letter-spacing: .18em; text-decoration: none; position: relative; padding: 6px 0; transition: color .25s;
}
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 1.5px; background: var(--gold); transition: width .3s var(--ease); }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-tel {
    display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
    font-size: .82rem; font-weight: 700; letter-spacing: .04em;
    padding: 10px 18px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; transition: .25s;
}
.header-tel:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.header-tel svg { width: 15px; height: 15px; }

.cart-btn { position: relative; background: var(--gold); border: none; width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: .25s; box-shadow: 0 8px 20px -8px rgba(198, 161, 91, .8); }
.cart-btn:hover { transform: translateY(-2px); background: var(--gold-deep); color: #fff; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
    position: absolute; top: -5px; right: -5px; background: var(--ink); color: #fff;
    font-size: .62rem; font-weight: 700; min-width: 19px; height: 19px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center; border-radius: 999px;
    border: 2px solid var(--cream); transition: transform .2s var(--ease);
}
.cart-count.pop { animation: pop .4s var(--ease); }
@keyframes pop { 50% { transform: scale(1.5); } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { min-height: 100svh; position: relative; display: flex; align-items: center; justify-content: center; background: var(--ink); overflow: hidden; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg img { transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 9, .55) 0%, rgba(13, 11, 9, .25) 45%, rgba(13, 11, 9, .72) 100%); }

.hero-content { position: relative; z-index: 2; text-align: center; color: #fff; padding: 110px 24px 90px; max-width: 900px; }
.hero-content > * { opacity: 0; transform: translateY(26px); animation: rise 1s var(--ease) forwards; }
.hero-content > *:nth-child(2) { animation-delay: .15s; }
.hero-content > *:nth-child(3) { animation-delay: .3s; }
.hero-content > *:nth-child(4) { animation-delay: .45s; }
.hero-content > *:nth-child(5) { animation-delay: .6s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--font-display); color: #fff; font-size: clamp(2.5rem, 6.5vw, 4.8rem); line-height: 1.12; margin: 22px 0 18px; }
.hero-sub { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.02rem, 2vw, 1.3rem); color: rgba(255, 255, 255, .88); max-width: 620px; margin: 0 auto 14px; }
.hero-price { font-size: .92rem; color: var(--gold-soft); margin-bottom: 34px; letter-spacing: .04em; }
.hero-price strong { color: #fff; font-size: 1.05rem; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-badges { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; display: flex; justify-content: center; gap: clamp(20px, 5vw, 64px); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); background: rgba(13, 11, 9, .45); backdrop-filter: blur(10px); border-top: 1px solid rgba(255, 255, 255, .12); }
.hero-badge { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, .85); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-badge sup { font-size: .74em; text-transform: none; letter-spacing: 0; margin-left: -.12em; }
.hero-badge img { height: 34px; width: auto; }
.hero-badge svg { width: 18px; height: 18px; color: var(--gold); flex: none; }

/* --------------------------------------------------------------------------
   Barre de réassurance
   -------------------------------------------------------------------------- */
.trust { background: var(--ink); color: var(--cream); padding: 34px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-item svg { width: 26px; height: 26px; color: var(--gold); flex: none; margin-top: 3px; }
.trust-item strong { display: block; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 3px; color: #fff; }
.trust-item span { font-size: .82rem; color: rgba(250, 246, 239, .6); line-height: 1.5; }

/* --------------------------------------------------------------------------
   Cuvée à la une
   -------------------------------------------------------------------------- */
.featured {
    display: grid; grid-template-columns: 420px 1fr; gap: clamp(30px, 5vw, 70px); align-items: center;
    background: var(--paper); border: 1px solid var(--gold-soft); border-radius: var(--radius);
    padding: clamp(30px, 5vw, 64px); position: relative; margin-bottom: 72px; box-shadow: var(--shadow-md);
}
.featured-badge {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    background: var(--ink); color: var(--gold); padding: 8px 26px; border-radius: 999px;
    font-size: .7rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
}
.featured-visual { text-align: center; cursor: pointer; padding: 20px; background: radial-gradient(closest-side, rgba(198, 161, 91, .16), transparent); }
.featured-visual img { height: clamp(300px, 36vw, 460px); width: auto; filter: drop-shadow(0 26px 30px rgba(22, 19, 15, .28)); transition: transform .5s var(--ease); }
.featured-visual:hover img { transform: scale(1.04) rotate(.5deg); }
.featured-info .p-cat { margin-bottom: 6px; }
.featured-info h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 14px; }
.featured-info > p { color: var(--stone); margin-bottom: 22px; max-width: 480px; }
.featured-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.featured-price .now { font-family: var(--font-serif); font-size: 2rem; }
.featured-price .per { font-size: .8rem; color: var(--stone); }
.featured-degressif { font-size: .8rem; color: var(--gold-deep); font-weight: 700; margin-bottom: 24px; }
.featured-lots { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.lot-chip {
    border: 1.5px solid var(--line); background: var(--cream); border-radius: 10px; padding: 10px 16px;
    cursor: pointer; text-align: center; transition: .25s; line-height: 1.3;
}
.lot-chip:hover { border-color: var(--gold); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lot-chip b { display: block; font-size: .9rem; }
.lot-chip span { font-size: .68rem; color: var(--stone); }
.lot-chip .lot-save { color: var(--ok); font-weight: 700; }
.featured-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Grille produits
   -------------------------------------------------------------------------- */
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 28px; }
.p-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 34px 26px 26px; text-align: center; position: relative; display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.p-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.p-badge {
    position: absolute; top: 16px; left: 16px; background: var(--ink); color: var(--gold);
    font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    padding: 6px 13px; border-radius: 999px; z-index: 2;
}
.p-visual { background: none; border: none; cursor: pointer; padding: 14px 0 6px; }
.p-visual img { height: 250px; width: auto; filter: drop-shadow(0 16px 18px rgba(22, 19, 15, .2)); transition: transform .45s var(--ease); }
.p-card:hover .p-visual img { transform: scale(1.05); }
.p-cat { font-size: .64rem; text-transform: uppercase; letter-spacing: .22em; color: var(--gold-deep); font-weight: 700; display: block; margin-bottom: 6px; }
.p-name { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: 6px; }
.p-desc { font-size: .86rem; color: var(--stone); margin-bottom: 16px; min-height: 2.6em; }
.p-priceline { margin-top: auto; margin-bottom: 16px; }
.p-price { font-family: var(--font-serif); font-size: 1.5rem; }
.p-price small { font-family: var(--font-sans); font-size: .72rem; color: var(--stone); margin-left: 5px; }
.p-tier-hint { display: block; font-size: .72rem; color: var(--gold-deep); font-weight: 700; margin-top: 2px; }
.p-actions { display: flex; gap: 10px; }
.p-actions .btn { flex: 1; padding: 13px 10px; }

/* --------------------------------------------------------------------------
   Comment commander
   -------------------------------------------------------------------------- */
.steps { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { text-align: center; padding: 0 12px; position: relative; }
.step-num {
    width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--cream); border: 1.5px solid var(--gold); color: var(--gold-deep);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1.3rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: .9rem; color: var(--stone); }
.steps-note {
    margin: 52px auto 0; max-width: 640px; text-align: center; padding: 18px 26px;
    background: var(--cream); border: 1px dashed var(--gold); border-radius: var(--radius);
    font-size: .88rem; color: var(--ink);
}
.steps-note svg { width: 16px; height: 16px; vertical-align: -3px; color: var(--gold-deep); margin-right: 6px; }

/* --------------------------------------------------------------------------
   Histoire
   -------------------------------------------------------------------------- */
.history-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; margin-bottom: 90px; }
.history-block:last-child { margin-bottom: 0; }
.history-block.flip .history-media { order: 2; }
.history-media { position: relative; }
.history-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); filter: sepia(12%); box-shadow: var(--shadow-lg); }
.history-year {
    display: block; margin: 0 0 16px 2px; line-height: 1;
    font-family: var(--font-display); font-size: clamp(2.3rem, 5vw, 3.6rem);
    color: var(--gold); opacity: .95;
}
.history-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 18px; }
.history-text p { color: var(--stone); margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   Journal
   -------------------------------------------------------------------------- */
.journal { background: var(--paper); border-top: 1px solid var(--line); }
.social-links { display: flex; justify-content: center; gap: 14px; margin-top: 18px; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--gold); color: var(--gold-deep); border-radius: 50%; transition: .25s; text-decoration: none; }
.social-links a:hover { background: var(--gold); color: #fff; transform: translateY(-3px); }
.social-links svg { width: 17px; height: 17px; }
.journal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 30px; }
.news-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .35s var(--ease); display: block; color: inherit; text-decoration: none; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
a.news-card:hover .news-title { color: var(--gold-deep); }
.news-fb { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; color: var(--gold-deep); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.news-fb svg { width: 14px; height: 14px; }
.news-img { width: 100%; height: 230px; object-fit: cover; display: block; }
.news-content { padding: 26px; }
.news-date { color: var(--gold-deep); font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; display: block; margin-bottom: 8px; }
.news-title { font-size: 1.25rem; margin-bottom: 10px; }
.news-excerpt { font-size: .88rem; color: var(--stone); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-split { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.contact-info { background: var(--ink); color: rgba(250, 246, 239, .85); padding: clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.contact-info::after { content: ''; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border: 1px solid rgba(198, 161, 91, .25); border-radius: 50%; }
.contact-info h3 { color: var(--gold); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.contact-info > p { margin-bottom: 34px; font-size: .95rem; }
.contact-row { display: flex; gap: 16px; margin-bottom: 24px; align-items: flex-start; }
.contact-row svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 4px; }
.contact-row strong { display: block; color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 2px; }
.contact-row a { color: inherit; text-decoration: none; }
.contact-row a:hover { color: var(--gold); }
.contact-quote { margin-top: 40px; font-family: var(--font-serif); font-style: italic; opacity: .55; font-size: .92rem; }

.contact-form-wrap { background: var(--paper); padding: clamp(36px, 5vw, 64px); }
.contact-form-wrap h3 { margin-bottom: 8px; font-size: 1.5rem; }
.contact-form-wrap .form-sub { color: var(--stone); font-size: .88rem; margin-bottom: 30px; }
.field { position: relative; margin-bottom: 24px; }
.field label { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--stone); margin-bottom: 6px; }
input, textarea, select {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px;
    background: var(--cream); font-family: var(--font-sans); font-size: 1rem; color: var(--ink); transition: .25s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(198, 161, 91, .15); }

.checkout-summary { margin-bottom: 28px; }
.summary-box { background: var(--cream); border: 1px solid var(--gold-soft); border-left: 4px solid var(--gold); border-radius: 8px; padding: 20px 22px; font-size: .9rem; }
.summary-box h4 { font-size: 1.05rem; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.summary-box h4 svg { width: 18px; height: 18px; color: var(--gold-deep); }
.summary-line { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; color: var(--stone); }
.summary-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; color: var(--ink); font-weight: 700; }
.form-legal { font-size: .72rem; color: #A79C8E; margin-top: 14px; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Panier (drawer)
   -------------------------------------------------------------------------- */
.overlay { position: fixed; inset: 0; background: rgba(13, 11, 9, .5); backdrop-filter: blur(3px); z-index: 1900; opacity: 0; visibility: hidden; transition: .35s; }
.overlay.on { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed; top: 0; right: 0; width: min(460px, 100%); height: 100dvh; background: var(--paper);
    z-index: 2000; transform: translateX(105%); transition: transform .5s var(--ease);
    box-shadow: -18px 0 50px rgba(0, 0, 0, .18); display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; background: var(--cream); }
.cart-header h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.cart-close { background: none; border: none; cursor: pointer; padding: 8px; color: var(--stone); transition: .2s; border-radius: 50%; }
.cart-close:hover { color: var(--ink); background: rgba(0, 0, 0, .05); }
.cart-close svg { width: 20px; height: 20px; display: block; }

.cart-body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--stone); }
.cart-empty svg { width: 44px; height: 44px; color: var(--gold); margin-bottom: 14px; }
.cart-empty p { font-style: italic; margin-bottom: 22px; }

.cart-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 54px; height: 100px; object-fit: contain; flex: none; }
.ci-main { flex: 1; min-width: 0; }
.ci-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.ci-name { font-family: var(--font-display); font-size: .98rem; line-height: 1.3; }
.ci-remove { background: none; border: none; color: #B3554A; cursor: pointer; padding: 4px; opacity: .7; transition: .2s; }
.ci-remove:hover { opacity: 1; }
.ci-remove svg { width: 16px; height: 16px; }
.ci-price { font-size: .92rem; color: var(--gold-deep); font-weight: 700; margin: 2px 0 10px; }
.ci-price small { color: var(--stone); font-weight: 400; font-size: .72rem; }
.ci-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-subtotal { font-size: .88rem; font-weight: 700; }

.qty-control { display: inline-flex; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 999px; }
.qty-btn { width: 34px; height: 34px; border: none; background: transparent; cursor: pointer; font-size: 1.05rem; color: var(--stone); border-radius: 50%; transition: .2s; line-height: 1; }
.qty-btn:hover { color: var(--ink); background: #fff; }
.qty-text { min-width: 30px; text-align: center; font-weight: 700; font-size: .9rem; }

.ci-tier-nudge {
    margin-top: 10px; font-size: .74rem; background: #F3EDDF; border-radius: 8px;
    padding: 8px 12px; color: var(--gold-deep); font-weight: 700; cursor: pointer;
    display: flex; align-items: center; gap: 8px; border: none; width: 100%; text-align: left; transition: .2s;
}
.ci-tier-nudge:hover { background: var(--gold-soft); }
.ci-tier-nudge svg { width: 14px; height: 14px; flex: none; }
.ci-tier-best { margin-top: 10px; font-size: .74rem; color: var(--ok); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ci-tier-best svg { width: 14px; height: 14px; }

.cart-ship { padding: 16px 26px; border-top: 1px solid var(--line); background: var(--cream); }
.cart-ship label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--stone); display: block; margin-bottom: 8px; }
.cart-ship select { padding: 12px 14px; font-size: .9rem; background: #fff; cursor: pointer; }
.ship-hint { font-size: .72rem; color: var(--stone); margin-top: 8px; line-height: 1.5; }

.cart-footer { padding: 20px 26px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--paper); }
.cart-totals div { display: flex; justify-content: space-between; font-size: .9rem; color: var(--stone); padding: 2px 0; }
.cart-totals .savings { color: var(--ok); font-weight: 700; }
.cart-totals .grand { font-size: 1.15rem; color: var(--ink); font-weight: 700; padding: 8px 0 14px; }
.cart-note { text-align: center; font-size: .7rem; color: var(--stone); margin-top: 10px; }

/* --------------------------------------------------------------------------
   Modale produit
   -------------------------------------------------------------------------- */
.modal-overlay { position: fixed; inset: 0; background: rgba(13, 11, 9, .7); z-index: 3000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: .3s; backdrop-filter: blur(6px); padding: 20px; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal-content { background: var(--paper); width: 100%; max-width: 920px; max-height: 92dvh; overflow-y: auto; position: relative; display: grid; grid-template-columns: 1fr 1.15fr; border-radius: 14px; box-shadow: var(--shadow-lg); transform: translateY(20px); transition: transform .4s var(--ease); }
.modal-overlay.open .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; background: var(--cream); border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--stone); transition: .2s; }
.modal-close:hover { color: var(--ink); transform: rotate(90deg); }
.modal-close svg { width: 18px; height: 18px; }
.modal-img-wrap { background: radial-gradient(closest-side, rgba(198, 161, 91, .18), var(--cream) 90%); display: flex; align-items: center; justify-content: center; padding: 44px; }
.modal-img-wrap img { height: min(430px, 46vw); width: auto; filter: drop-shadow(0 24px 26px rgba(22, 19, 15, .25)); }
.modal-info { padding: 46px 44px; }
.modal-info .p-cat { margin-bottom: 4px; }
.modal-info h2 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 12px; }
.modal-desc { color: var(--stone); font-size: .95rem; margin-bottom: 22px; white-space: pre-line; }
.tier-table { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin-bottom: 24px; font-size: .84rem; }
.tier-table .tt-head { background: var(--ink); color: var(--gold); padding: 9px 16px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.tier-row { display: flex; justify-content: space-between; padding: 8px 16px; border-top: 1px solid var(--line); color: var(--stone); background: var(--paper); }
.tier-row strong { color: var(--ink); }
.tier-row.active { background: var(--gold-soft); color: var(--ink); font-weight: 700; }
.tier-row .tr-save { color: var(--ok); font-size: .74rem; font-weight: 700; }
.modal-lots { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.toast {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(120px);
    background: var(--ink); color: var(--cream); padding: 15px 26px; z-index: 4000;
    transition: .45s var(--ease); opacity: 0; border-radius: 999px; font-size: .88rem;
    display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-lg); max-width: 92%;
}
.toast svg { width: 17px; height: 17px; color: var(--gold); flex: none; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast .toast-link { color: var(--gold); font-weight: 700; cursor: pointer; text-decoration: underline; white-space: nowrap; background: none; border: none; font-size: .88rem; }

/* --------------------------------------------------------------------------
   Nav mobile flottante
   -------------------------------------------------------------------------- */
.mobile-bottom-nav {
    display: none; position: fixed; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%);
    width: 94%; max-width: 420px; padding: 10px 22px; justify-content: space-between; align-items: center; z-index: 1500;
    background: rgba(255, 253, 249, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-radius: 999px; border: 1px solid rgba(198, 161, 91, .3); box-shadow: 0 12px 30px -8px rgba(22, 19, 15, .28);
}
.mb-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: #9A9083; text-decoration: none; background: none; border: none; cursor: pointer; transition: .25s; position: relative; padding: 2px 4px; }
.mb-item svg { width: 21px; height: 21px; }
.mb-item span { font-size: .56rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.mb-item.active, .mb-item:hover { color: var(--ink); transform: translateY(-2px); }
.mb-item.active svg { color: var(--gold-deep); }
.mb-cart-count { position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--ink); font-size: .58rem; font-weight: 700; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 999px; display: flex; align-items: center; justify-content: center; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
footer { background: var(--ink); color: rgba(250, 246, 239, .7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; padding-bottom: 34px; }
.footer-col h3 { font-family: var(--font-display); font-size: .95rem; margin-bottom: 20px; color: #fff; text-transform: uppercase; letter-spacing: .16em; }
.footer-col a, .footer-col p { color: rgba(250, 246, 239, .55); text-decoration: none; font-size: .88rem; margin-bottom: 10px; display: block; transition: color .25s; }
.footer-col a:hover { color: var(--gold); }
.footer-logo-col { display: flex; flex-direction: column; align-items: flex-start; }
.footer-logo-col img { width: 96px; height: auto; margin: 0 0 16px; display: block; }
.footer-logo-col .brand { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .18em; color: #fff; }
.footer-warning { font-size: .72rem; margin-top: 14px; opacity: .55; line-height: 1.6; }
.social-row { display: flex; gap: 12px; margin-top: 12px; }
.social-row a { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid rgba(198, 161, 91, .4); border-radius: 50%; color: var(--gold); transition: .25s; margin-bottom: 0; }
.social-row a:hover { background: var(--gold); color: var(--ink); }
.social-row svg { width: 15px; height: 15px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 22px; font-size: .76rem; color: rgba(250, 246, 239, .35); }

/* --------------------------------------------------------------------------
   Admin
   -------------------------------------------------------------------------- */
.admin-section { padding: 150px 0 100px; background: var(--cream); min-height: 100vh; }
.admin-login-container { background: var(--paper); padding: 48px 40px; border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 440px; margin: 0 auto; text-align: center; border-top: 3px solid var(--gold); }
.admin-login-container svg { width: 34px; height: 34px; color: var(--gold-deep); margin-bottom: 14px; }
.admin-panel-container { background: var(--paper); padding: 36px; border-radius: 14px; box-shadow: var(--shadow-md); margin-bottom: 36px; overflow-x: auto; }
.admin-panel-container h2 { margin-bottom: 26px; border-bottom: 1px solid var(--line); padding-bottom: 12px; font-size: 1.4rem; }
.price-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.price-table th { text-align: left; padding: 10px; border-bottom: 2px solid var(--line); font-size: .74rem; color: var(--stone); text-transform: uppercase; letter-spacing: .06em; }
.price-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.price-input-wrap { display: inline-flex; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; width: 96px; }
.price-input-wrap input { border: none; background: transparent; margin: 0; padding: 0; width: 100%; text-align: right; font-family: monospace; box-shadow: none !important; }
.price-input-wrap span { margin-left: 5px; color: var(--stone); }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.admin-msg-error { background: #FBEAE8; color: #A6382C; margin-top: 15px; padding: 12px; font-size: .85rem; border-radius: 8px; display: none; text-align: left; }
.upload-btn-wrapper { position: relative; overflow: hidden; display: inline-block; cursor: pointer; }
.upload-btn { border: 1.5px solid var(--ink); color: var(--ink); background: var(--paper); padding: 10px 20px; border-radius: 8px; font-size: .8rem; font-weight: 700; cursor: pointer; }
.upload-btn-wrapper input[type=file] { font-size: 100px; position: absolute; left: 0; top: 0; opacity: 0; cursor: pointer; height: 100%; }
.btn-admin-edit { background: var(--gold); color: var(--ink); border: none; padding: 9px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; }
.btn-admin-del { background: #B3554A; color: #fff; border: none; padding: 9px 16px; border-radius: 8px; cursor: pointer; font-weight: 700; }

/* --------------------------------------------------------------------------
   Animations reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.hidden { display: none !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
    .nav-links { display: none; }
    .featured { grid-template-columns: 1fr; text-align: center; }
    .featured-info > p, .featured-price, .featured-lots, .featured-actions { justify-content: center; margin-left: auto; margin-right: auto; }
    .featured-visual img { height: 300px; }
}

@media (max-width: 900px) {
    .container { padding: 0 20px; }
    .section { padding: 64px 0; }
    body { padding-bottom: 92px; }
    .header-tel span { display: none; }
    .header-tel { padding: 10px 12px; }
    .mobile-bottom-nav { display: flex; }
    .trust-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .steps-grid { grid-template-columns: 1fr; gap: 36px; }
    .history-block { grid-template-columns: 1fr; }
    .history-block.flip .history-media { order: 0; }
    .contact-split { grid-template-columns: 1fr; }
    .modal-content { grid-template-columns: 1fr; }
    .modal-img-wrap { padding: 40px 20px 10px; background: radial-gradient(closest-side, rgba(198,161,91,.18), transparent) ; }
    .modal-img-wrap img { height: 240px; }
    .modal-info { padding: 26px 24px 40px; }
    .hero-badges { flex-wrap: wrap; gap: 14px 22px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 34px; }
    .footer-logo-col { display: flex; flex-direction: column; align-items: center; }
    .social-row { justify-content: center; }
    .toast { bottom: 108px; }
}

@media (max-width: 560px) {
    .hero-ctas .btn { width: 100%; }
    .collection-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-item { flex-direction: column; gap: 8px; text-align: center; align-items: center; }
    .p-desc { min-height: 0; }
}
