/* ═══════════════════════════════════════════════════════════
   TIMINI — Site catalogue
   Les couleurs --primary / --secondary / --dark viennent du BO
═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #C2410C; --primary-dark: #91310A; --primary-rgb: 194, 65, 12;
    --secondary: #E9A23B; --secondary-rgb: 233, 162, 59;
    --dark: #1F140D; --dark-rgb: 31, 20, 13;

    --cream: #FBF6EE;
    --sand: #F4E9DA;
    --sand-2: #EEDFCB;
    --white: #fff;
    --text: var(--dark);
    --muted: #75645A;
    --line: rgba(var(--dark-rgb), .1);

    --font-title: 'Fraunces', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
    --shadow-sm: 0 2px 10px rgba(var(--dark-rgb), .06);
    --shadow-md: 0 12px 34px rgba(var(--dark-rgb), .10);
    --shadow-lg: 0 30px 70px rgba(var(--dark-rgb), .18);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --header-h: 78px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
::selection { background: var(--secondary); color: var(--dark); }

.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

/* ── Typo ───────────────────────────────────── */
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head.center .eyebrow::after { content: ''; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--secondary); }
.section-title {
    font-family: var(--font-title);
    font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.section-title.light { color: #fff; }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--muted); max-width: 620px; }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.center .lead { margin-inline: auto; }

/* ── Boutons ────────────────────────────────── */
.btn {
    --bg: var(--dark); --fg: #fff;
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 24px; border-radius: 999px;
    background: var(--bg); color: var(--fg);
    font-weight: 700; font-size: .95rem; white-space: nowrap;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn:disabled { opacity: .45; pointer-events: none; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--primary); box-shadow: 0 10px 26px rgba(var(--primary-rgb), .35); }
.btn-primary:hover { box-shadow: 0 16px 34px rgba(var(--primary-rgb), .45); }
.btn-secondary { --bg: var(--secondary); --fg: var(--dark); box-shadow: 0 10px 26px rgba(var(--secondary-rgb), .3); }
.btn-dark { --bg: var(--dark); }
.btn-glass { --bg: rgba(255,255,255,.12); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.3); }
.btn-glass:hover { --bg: rgba(255,255,255,.22); }
.btn-outline { --bg: transparent; --fg: var(--dark); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--dark); }
.btn-whatsapp { --bg: #1FAF55; box-shadow: 0 10px 26px rgba(31,175,85,.35); }
.icon-btn {
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    transition: background .2s;
}
.icon-btn:hover { background: var(--sand); }

/* ── Reveal au scroll ───────────────────────── */
[data-reveal] {
    opacity: 0; transform: translateY(34px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
}
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ═══ HEADER ═══════════════════════════════════ */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 50;
    height: var(--header-h);
    transition: background .4s, box-shadow .4s, height .4s var(--ease), transform .45s var(--ease);
}
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { position: relative; height: 46px; display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; transition: opacity .35s; }
.brand-logo--dark { position: absolute; left: 0; top: 0; opacity: 0; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
    position: relative; padding: 10px 16px; border-radius: 999px;
    font-weight: 600; font-size: .93rem; color: rgba(255,255,255,.9);
    transition: color .3s, background .3s;
}
.main-nav a::after {
    content: ''; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px;
    background: var(--secondary); border-radius: 2px; transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--ease);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-btn {
    position: relative; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; color: #fff;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: transform .3s var(--ease), background .3s, color .3s;
}
.cart-btn:hover { transform: scale(1.06); }
.cart-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95) rotate(4deg); } }
.cart-count {
    position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px;
    border-radius: 999px; background: var(--secondary); color: var(--dark);
    font-size: .72rem; font-weight: 800; display: grid; place-items: center;
    transform: scale(0); transition: transform .4s var(--ease);
    border: 2px solid var(--cream);
}
.cart-count.has { transform: scale(1); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; }
.burger span {
    position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px;
    transition: transform .4s var(--ease), opacity .3s, background .3s;
}
.burger span:nth-child(1) { top: 17px; } .burger span:nth-child(2) { top: 23px; } .burger span:nth-child(3) { top: 29px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-header.is-solid {
    background: rgba(251, 246, 238, .86);
    backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(var(--dark-rgb), .06);
    height: 68px;
}
.site-header.is-solid .brand-logo--light { opacity: 0; }
.site-header.is-solid .brand-logo--dark { opacity: 1; }
.site-header.is-solid .main-nav a { color: var(--dark); }
.site-header.is-solid .cart-btn { background: var(--dark); border-color: var(--dark); }
.site-header.is-solid .burger span { background: var(--dark); }

/* ═══ HERO (vidéo) ═════════════════════════════ */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; color: #fff; overflow: hidden;
    background: var(--dark);
}
.hero-media { position: absolute; inset: 0; }
.hero-video {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(var(--dark-rgb), .88) 0%, rgba(var(--dark-rgb), .55) 45%, rgba(var(--dark-rgb), .15) 100%),
        linear-gradient(0deg, rgba(var(--dark-rgb), .7) 0%, transparent 35%);
}
.hero-grain {
    position: absolute; inset: 0; opacity: .12; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-spices span {
    position: absolute; bottom: -20px; border-radius: 50%;
    background: var(--secondary); opacity: 0;
    animation: rise linear infinite;
}
.hero-spices span:nth-child(3n)   { background: var(--primary); }
.hero-spices span:nth-child(4n)   { background: #fff; }
@keyframes rise {
    0%   { transform: translate(0, 0) scale(.6); opacity: 0; }
    15%  { opacity: .7; }
    100% { transform: translate(var(--x, 40px), -105vh) scale(1.1); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; padding: calc(var(--header-h) + 40px) 0 120px; max-width: 1240px; }
.hero-content > * { max-width: 760px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px 8px 12px; border-radius: 999px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    font-size: .85rem; font-weight: 600; margin-bottom: 28px;
}
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--secondary); box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(var(--secondary-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--secondary-rgb), 0); } }
.hero-title {
    font-family: var(--font-title); font-weight: 600;
    font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.03em;
    margin-bottom: 26px; text-wrap: balance;
}
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .w > span {
    display: inline-block; transform: translateY(110%);
    animation: wordUp 1.1s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * 80ms);
}
.hero-title .w:nth-last-child(-n+2) > span { color: var(--secondary); font-style: italic; }
@keyframes wordUp { to { transform: translateY(0); } }
.hero-subtitle { font-size: clamp(1.02rem, 1.5vw, 1.22rem); color: rgba(255,255,255,.82); max-width: 580px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
[data-hero-in] { opacity: 0; transform: translateY(24px); animation: heroIn 1s var(--ease) forwards; animation-delay: calc(.3s + var(--d, 0) * 120ms); }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero-controls { position: absolute; right: 28px; bottom: 34px; z-index: 3; display: flex; gap: 10px; }
.hero-ctrl {
    width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background .3s, transform .3s var(--ease);
}
.hero-ctrl:hover { background: rgba(255,255,255,.25); transform: scale(1.06); }
.hero-ctrl .i-on, .hero-ctrl .i-play { display: none; }
.hero-ctrl.on .i-on, .hero-ctrl.paused .i-play { display: block; }
.hero-ctrl.on .i-off, .hero-ctrl.paused .i-pause { display: none; }
.hero-scroll {
    position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.hero-scroll i { width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.5); border-radius: 20px; position: relative; }
.hero-scroll i::after {
    content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
    border-radius: 4px; background: var(--secondary); animation: wheel 1.8s infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ── Bandeau défilant ───────────────────────── */
.marquee { background: var(--primary); color: #fff; overflow: hidden; padding: 18px 0; position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--font-title); font-size: 1.35rem; font-weight: 500; font-style: italic; white-space: nowrap; }
.marquee b { color: var(--secondary); font-size: 1rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══ AVANTAGES ════════════════════════════════ */
.advantages { background: var(--cream); overflow: hidden; }
.advantages-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.adv-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0 40px; }
.adv-item {
    display: flex; gap: 14px; padding: 18px; border-radius: var(--r-md);
    background: #fff; border: 1px solid var(--line);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.adv-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(var(--primary-rgb), .25); }
.adv-icon {
    flex: 0 0 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: rgba(var(--primary-rgb), .1); color: var(--primary);
    transition: background .3s, color .3s, transform .5s var(--ease);
}
.adv-item:hover .adv-icon { background: var(--primary); color: #fff; transform: rotate(-8deg) scale(1.05); }
.adv-item h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; line-height: 1.3; }
.adv-item p { font-size: .87rem; color: var(--muted); line-height: 1.5; }

.advantages-visual { position: relative; padding: 30px; }
.adv-blob {
    position: absolute; inset: 6% 2% 2% 10%; border-radius: 42% 58% 60% 40% / 45% 40% 60% 55%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    opacity: .9; animation: morph 14s ease-in-out infinite;
}
@keyframes morph {
    50% { border-radius: 58% 42% 38% 62% / 55% 60% 40% 45%; transform: rotate(6deg); }
}
.adv-frame {
    position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6;
    box-shadow: var(--shadow-lg); transform: rotate(-2deg);
}
.adv-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.advantages-visual:hover .adv-frame img { transform: scale(1.05); }
.adv-ring {
    position: absolute; top: -10px; right: -6px; width: 150px; height: 150px;
    display: grid; place-items: center;
    background: var(--dark); color: var(--secondary); border-radius: 50%; box-shadow: var(--shadow-md);
}
.adv-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.adv-ring span { position: relative; display: grid; }
.adv-ring text { font-size: 15.5px; font-weight: 700; letter-spacing: 3.2px; fill: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.adv-badge {
    position: absolute; left: -10px; bottom: 50px;
    background: #fff; border-radius: var(--r-md); padding: 18px 22px; box-shadow: var(--shadow-lg);
    display: flex; flex-direction: column; min-width: 190px;
}
.adv-badge strong { font-family: var(--font-title); font-size: 2.2rem; line-height: 1; color: var(--primary); }
.adv-badge span { font-size: .85rem; color: var(--muted); margin-top: 4px; }

/* ═══ PRODUITS ═════════════════════════════════ */
.products { background: linear-gradient(180deg, var(--sand) 0%, var(--cream) 100%); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -16px 0 44px; }
.chip {
    padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem;
    background: #fff; border: 1px solid var(--line); transition: all .3s var(--ease);
    display: inline-flex; align-items: center; gap: 8px;
}
.chip small { font-size: .72rem; padding: 2px 7px; border-radius: 999px; background: var(--sand); color: var(--muted); transition: inherit; }
.chip:hover { border-color: var(--dark); }
.chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.chip.active small { background: var(--secondary); color: var(--dark); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.product-card {
    position: relative; display: flex; flex-direction: column;
    background: #fff; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s var(--ease);
}
.product-card.is-in:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card.is-hidden { display: none; }
.product-media { position: relative; aspect-ratio: 1 / .92; overflow: hidden; display: grid; place-items: center; }
.product-media::before {
    content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%;
    background: rgba(255,255,255,.55); transition: transform .8s var(--ease);
}
.product-card:hover .product-media::before { transform: scale(1.25); }
.tint-1 { background: #F6E1CF; } .tint-2 { background: #F8E9C4; } .tint-3 { background: #EAD9C8; } .tint-4 { background: #F3D6C6; }
.product-media img { position: relative; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-media img[src$=".svg"] { object-fit: contain; padding: 14%; }
.product-card:hover .product-media img { transform: scale(1.07) rotate(-2deg); }
.product-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; }
.tag { font-size: .72rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; letter-spacing: .02em; }
.tag-primary { background: var(--primary); color: #fff; }
.tag-light { background: rgba(255,255,255,.9); color: var(--dark); backdrop-filter: blur(6px); }
.out-label { position: absolute; inset: auto 0 0; padding: 10px; text-align: center; font-weight: 700; font-size: .85rem; background: rgba(var(--dark-rgb), .82); color: #fff; }
.is-out .product-media img { filter: grayscale(.7); opacity: .7; }

.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-meta { display: flex; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 6px; }
.product-meta span + span::before { content: '·'; margin-right: 8px; color: var(--muted); }
.product-name { font-family: var(--font-title); font-weight: 600; font-size: 1.32rem; line-height: 1.2; margin-bottom: 6px; }
.product-desc { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }

.pack-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; margin-bottom: 14px; }
.pack-switch.single { grid-template-columns: 1fr; }
.pack-opt { position: relative; cursor: pointer; }
.pack-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pack-opt span {
    display: flex; flex-direction: column; padding: 10px 12px; border-radius: 12px;
    border: 1.5px solid var(--line); background: var(--cream); transition: all .3s var(--ease); height: 100%;
}
.pack-opt small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.pack-opt strong { font-size: .98rem; font-weight: 800; white-space: nowrap; }
.pack-opt:hover span { border-color: rgba(var(--primary-rgb), .4); }
.pack-opt input:checked + span { border-color: var(--primary); background: rgba(var(--primary-rgb), .07); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .1); }
.pack-opt input:checked + span strong { color: var(--primary); }
.pack-opt input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 2px; }

.product-actions { display: flex; gap: 10px; align-items: center; }
.qty {
    display: flex; align-items: center; border-radius: 999px; background: var(--sand);
    padding: 4px; flex: 0 0 auto;
}
.qty button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.qty button:hover { background: #fff; }
.qty input {
    width: 38px; text-align: center; border: 0; background: transparent; font-weight: 800; font-size: .95rem;
    -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.add-btn { flex: 1; min-width: 0; height: 46px; padding: 0 14px; font-size: .88rem; }
.add-btn .add-done { display: none; }
.add-btn.done { --bg: #1FAF55; box-shadow: 0 10px 26px rgba(31,175,85,.3); }
.add-btn.done .add-label { display: none; }
.add-btn.done .add-done { display: inline-flex; align-items: center; gap: 8px; animation: pop .4s var(--ease); }
.add-label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.empty-state { text-align: center; color: var(--muted); padding: 40px; }

/* Image qui vole vers le panier */
.fly-img {
    position: fixed; z-index: 200; border-radius: 50%; object-fit: cover; pointer-events: none;
    box-shadow: var(--shadow-lg); background: #fff;
    transition: transform .85s cubic-bezier(.6, -0.2, .4, 1.2), opacity .85s ease;
}

/* ═══ VENTE EN GROS ═══════════════════════════ */
.wholesale { padding: 0 0 clamp(80px, 11vw, 140px); background: var(--cream); }
.wholesale-card {
    position: relative; overflow: hidden; border-radius: var(--r-xl);
    background: var(--dark); color: #fff;
    display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; gap: 40px;
    padding: clamp(40px, 6vw, 80px);
    min-height: 460px;
}
.wholesale-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; opacity: .55; }
.wholesale-card::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(100deg, rgba(var(--dark-rgb), .95) 0%, rgba(var(--dark-rgb), .7) 55%, rgba(var(--dark-rgb), .25) 100%);
}
.wholesale-card::after {
    content: ''; position: absolute; z-index: 1; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--secondary-rgb), .45), transparent 70%);
    animation: float 8s ease-in-out infinite;
}
@keyframes float { 50% { transform: translate(-30px, 30px); } }
.wholesale-content, .wholesale-stats { position: relative; z-index: 2; }
.wholesale-content p { color: rgba(255,255,255,.8); font-size: 1.1rem; max-width: 540px; margin-bottom: 32px; }
.wholesale-stats { display: grid; gap: 12px; }
.wholesale-stats div {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-md);
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    transition: transform .4s var(--ease), background .3s;
}
.wholesale-stats div:hover { transform: translateX(-6px); background: rgba(255,255,255,.14); }
.wholesale-stats strong { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--secondary); color: var(--dark); flex: 0 0 auto; }
.wholesale-stats span { font-weight: 600; }

/* ═══ TÉMOIGNAGES ═════════════════════════════ */
.testimonials { background: var(--sand); overflow: hidden; }
.rating-summary { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .95rem; flex-wrap: wrap; justify-content: center; }
.rating-summary strong { color: var(--dark); }
.stars { color: var(--secondary); letter-spacing: 2px; font-size: 1.1rem; }
.stars .off { color: rgba(var(--dark-rgb), .15); }
.slider { position: relative; }
.slider-track {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 10px 4px 30px; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.t-card {
    flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start;
    position: relative; background: #fff; border-radius: var(--r-lg); padding: 34px 30px 28px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 16px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.t-quote { position: absolute; top: 26px; right: 26px; color: rgba(var(--primary-rgb), .15); }
.t-card blockquote { font-family: var(--font-title); font-size: 1.12rem; line-height: 1.55; flex: 1; }
.t-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px dashed var(--line); }
.t-card figcaption img, .t-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.t-avatar { display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--primary), var(--secondary)); }
.t-card figcaption strong { display: block; font-size: .98rem; }
.t-card figcaption small { color: var(--muted); font-size: .84rem; }
/* Carte image / vidéo : même format que la carte texte (4:3) */
.t-card.t-media { padding: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--dark); border: 0; }
.t-media > img, .t-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.t-media:hover > img, .t-media:hover > video { transform: scale(1.04); }
.t-card.t-media figcaption {
    position: absolute; inset: auto 0 0; display: block; padding: 40px 20px 16px; border: 0; color: #fff;
    background: linear-gradient(0deg, rgba(var(--dark-rgb), .8), transparent);
}
.t-card.t-media figcaption small { color: rgba(255,255,255,.8); }
.t-sound {
    position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
    display: grid; place-items: center; color: #fff; background: rgba(var(--dark-rgb), .55);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .3s, transform .3s var(--ease);
}
.t-sound:hover { background: var(--primary); transform: scale(1.08); }
.t-sound .i-on { display: none; }
.t-sound.on { background: var(--primary); }
.t-sound.on .i-on { display: block; }
.t-sound.on .i-off { display: none; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.slider-btn { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); transition: all .3s var(--ease); }
.slider-btn:hover { background: var(--dark); color: #fff; transform: scale(1.06); }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 999px; background: rgba(var(--dark-rgb), .2); transition: all .4s var(--ease); }
.slider-dots button.active { width: 28px; background: var(--primary); }

/* ═══ FOOTER ══════════════════════════════════ */
.site-footer { position: relative; background: var(--dark); color: rgba(255,255,255,.72); padding: 0 0 30px; overflow: hidden; }
.footer-glow { position: absolute; left: 50%; top: -200px; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(var(--primary-rgb), .35), transparent 70%); pointer-events: none; }
.footer-cta {
    position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
    padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-cta h3 { font-family: var(--font-title); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.4rem); color: #fff; line-height: 1.15; }
.footer-cta p { margin-top: 6px; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding: 60px 0 50px; }
.footer-logo { height: 48px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: .93rem; max-width: 320px; margin-bottom: 22px; }
.site-footer h4 { color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; display: grid; gap: 11px; font-size: .93rem; }
.site-footer ul a { transition: color .25s, padding .3s var(--ease); }
.site-footer ul a:hover { color: var(--secondary); padding-left: 4px; }
.contact-list li { display: flex; align-items: flex-start; gap: 10px; }
.contact-list svg { flex: 0 0 auto; margin-top: 3px; color: var(--secondary); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* ── WhatsApp flottant ─────────────────────── */
.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 40;
    width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
    background: #25D366; color: #fff; box-shadow: 0 12px 30px rgba(37,211,102,.45);
    transition: transform .35s var(--ease);
    animation: waIn .8s var(--ease) 1.5s both;
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ring 2.4s infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }
@keyframes waIn { from { transform: scale(0); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
body.cart-open .wa-float { opacity: 0; pointer-events: none; }

/* ═══ PANIER (drawer) ═════════════════════════ */
.drawer-backdrop {
    position: fixed; inset: 0; z-index: 90; background: rgba(var(--dark-rgb), .5);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    opacity: 0; pointer-events: none; transition: opacity .4s;
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
    width: min(480px, 100%); background: var(--cream);
    display: flex; flex-direction: column;
    transform: translateX(105%); transition: transform .55s var(--ease);
    box-shadow: -20px 0 60px rgba(var(--dark-rgb), .25);
}
body.cart-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer-head > div { flex: 1; }
.drawer-title { font-family: var(--font-title); font-weight: 600; font-size: 1.4rem; line-height: 1.2; }
.drawer-title span { display: none; }
.steps { display: flex; gap: 6px; margin-top: 8px; }
.steps .s { height: 4px; flex: 1; border-radius: 4px; background: var(--sand-2); position: relative; overflow: hidden; }
.steps .s::after { content: ''; position: absolute; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.drawer-back { display: none; }
.drawer-panel { display: none; flex: 1; overflow-y: auto; padding: 22px; animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 12px; }
.drawer-foot > .f-cart, .drawer-foot > .f-form, .drawer-foot > .f-done { display: none; }

.drawer[data-step="cart"] .t-cart, .drawer[data-step="form"] .t-form, .drawer[data-step="done"] .t-done { display: inline; }
.drawer[data-step="cart"] .panel-cart, .drawer[data-step="form"] .panel-form, .drawer[data-step="done"] .panel-done { display: block; }
.drawer[data-step="cart"] .f-cart, .drawer[data-step="form"] .f-form, .drawer[data-step="done"] .f-done { display: flex; }
.drawer[data-step="form"] .drawer-back { display: grid; }
.drawer[data-step="cart"] .s1::after, .drawer[data-step="form"] .s1::after, .drawer[data-step="form"] .s2::after,
.drawer[data-step="done"] .s::after { transform: scaleX(1); }
.drawer[data-step="done"] .total-row { display: none; }
.drawer-foot p.f-form { display: none; }
.drawer[data-step="form"] .drawer-foot p.f-form { display: block; }

.cart-empty { text-align: center; padding: 60px 20px; display: none; }
.cart-empty.show { display: block; }
.cart-empty-icon { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--sand); color: var(--primary); animation: floaty 3s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-8px); } }
.cart-empty h4 { font-family: var(--font-title); font-size: 1.3rem; margin-bottom: 6px; }
.cart-empty p { color: var(--muted); margin-bottom: 22px; }

.cart-items { list-style: none; display: grid; gap: 12px; }
.cart-item {
    display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center;
    background: #fff; border-radius: var(--r-md); padding: 12px; border: 1px solid var(--line);
    animation: itemIn .45s var(--ease);
}
.cart-item.removing { animation: itemOut .35s var(--ease) forwards; }
@keyframes itemIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes itemOut { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; margin: -6px 0; } }
.cart-item img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--sand); }
.cart-item img[src$=".svg"] { object-fit: contain; padding: 8px; }
.ci-name { font-weight: 700; font-size: .95rem; line-height: 1.3; }
.ci-pack { display: inline-flex; margin: 4px 0 8px; border-radius: 999px; background: var(--sand); padding: 2px; }
.ci-pack button { font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--muted); transition: all .25s; }
.ci-pack button.on { background: var(--dark); color: #fff; }
.ci-pack button:disabled { display: none; }
.ci-price { font-size: .8rem; color: var(--muted); }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-total { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.cart-item .qty { padding: 2px; }
.cart-item .qty button { width: 28px; height: 28px; }
.cart-item .qty input { width: 32px; font-size: .88rem; }
.ci-remove { color: var(--muted); padding: 4px; border-radius: 8px; transition: color .2s, background .2s; }
.ci-remove:hover { color: #C62828; background: #FDECEC; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; }
.total-row span { color: var(--muted); font-weight: 600; }
.total-row small { font-weight: 500; font-size: .82rem; }
.total-row strong { font-size: 1.5rem; font-weight: 800; font-family: var(--font-title); }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 700; }
.field label em { color: var(--primary); font-style: normal; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 14px; border-radius: 12px; border: 1.5px solid var(--line);
    background: #fff; font-size: .95rem; transition: border-color .25s, box-shadow .25s;
    appearance: none; -webkit-appearance: none;
}
.field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2375645A' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12); }
.field.invalid input, .field.invalid select { border-color: #D32F2F; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.err { color: #D32F2F; font-size: .78rem; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.input-icon { position: relative; }
.input-icon span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #1FAF55; display: flex; }
.input-icon input { padding-left: 42px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.recap { margin-top: 22px; background: #fff; border-radius: var(--r-md); padding: 16px; border: 1px dashed var(--sand-2); }
.recap h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.recap ul { list-style: none; display: grid; gap: 6px; font-size: .88rem; }
.recap li { display: flex; justify-content: space-between; gap: 10px; }
.recap li b { white-space: nowrap; }
.form-error { color: #D32F2F; font-weight: 600; font-size: .88rem; margin-top: 12px; }
.form-error:empty { display: none; }
.secure-note { font-size: .76rem; color: var(--muted); text-align: center; }
[data-submit] .spinner { display: none; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
[data-submit].loading .lbl { display: none; }
[data-submit].loading .spinner { display: block; }
[data-submit] .lbl { display: inline-flex; align-items: center; gap: 10px; }

/* Succès */
.done { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.done h4 { font-family: var(--font-title); font-size: 1.6rem; }
.done p { color: var(--muted); max-width: 340px; }
.done small { color: var(--muted); font-size: .78rem; max-width: 300px; }
.done-ref { padding: 10px 18px; border-radius: 999px; background: var(--sand); font-size: .9rem; }
.done-ref strong { font-family: ui-monospace, monospace; letter-spacing: .04em; }
.done-check { width: 96px; height: 96px; }
.done-check svg { width: 100%; height: 100%; }
.done-check circle { fill: none; stroke: #1FAF55; stroke-width: 3; stroke-dasharray: 152; stroke-dashoffset: 152; animation: draw .7s var(--ease) forwards; }
.done-check path { fill: none; stroke: #1FAF55; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease) .55s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Toasts */
.toast-stack { position: fixed; left: 16px; right: 16px; bottom: 24px; z-index: 300; display: grid; justify-items: center; gap: 10px; pointer-events: none; }
.toast {
    display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px;
    background: var(--dark); color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem; font-weight: 600;
    animation: toastIn .5s var(--ease); pointer-events: auto; white-space: nowrap;
}
.toast img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: #fff; }
.toast button { color: var(--secondary); font-weight: 800; margin-left: 6px; }
.toast.out { animation: toastOut .4s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px); } }

/* ═══ RESPONSIVE ══════════════════════════════ */
@media (max-width: 1080px) {
    .t-card { flex-basis: calc((100% - 24px) / 2); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    :root { --header-h: 68px; }
    .burger { display: block; }
    .main-nav {
        position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
        background: var(--dark); clip-path: circle(0 at calc(100% - 44px) 34px);
        transition: clip-path .7s var(--ease);
    }
    .main-nav a { color: #fff !important; font-family: var(--font-title); font-size: 2rem; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease); }
    body.nav-open .main-nav { clip-path: circle(150% at calc(100% - 44px) 34px); }
    body.nav-open .main-nav a { opacity: 1; transform: none; }
    body.nav-open .main-nav a:nth-child(2) { transition-delay: .08s; } body.nav-open .main-nav a:nth-child(3) { transition-delay: .14s; }
    body.nav-open .main-nav a:nth-child(4) { transition-delay: .2s; } body.nav-open .main-nav a:nth-child(5) { transition-delay: .26s; }
    body.nav-open .burger span { background: #fff !important; }
    body.nav-open .brand-logo--light { opacity: 1 !important; } body.nav-open .brand-logo--dark { opacity: 0 !important; }
    body.nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; }
    .advantages-grid { grid-template-columns: 1fr; }
    .advantages-visual { order: -1; max-width: 520px; margin: 0 auto; width: 100%; }
    .wholesale-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .hero-content { padding-bottom: 140px; }
    .hero-actions .btn { flex: 1 1 100%; }
    .hero-controls { right: 16px; bottom: 24px; }
    .hero-scroll { display: none; }
    .adv-list { grid-template-columns: 1fr; }
    .adv-ring { width: 110px; height: 110px; } .adv-ring text { font-size: 18px; }
    .adv-badge { left: 0; bottom: 20px; min-width: 0; padding: 14px 16px; }
    .adv-badge strong { font-size: 1.7rem; }
    .product-grid { grid-template-columns: 1fr; }
    .t-card { flex-basis: 88%; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
    .form-grid { grid-template-columns: 1fr; }
    .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
    .toast { white-space: normal; max-width: 100%; }
    .toast-stack { bottom: 86px; }
}
@media (max-width: 400px) {
    .add-label svg { display: none; }
    .add-btn { font-size: .84rem; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
