/* ============================================
   WORLDWEED — Design System Premium
   Inspiration : Le Lab, Gardenz, GoldenCBD
   ============================================ */

:root {
    /* Palette principale — éditorial sombre */
    --bg: #0a0908;
    --bg-elev: #131210;
    --bg-elev-2: #1c1a16;
    --surface: #f5f1e8;
    --surface-dim: #ebe5d4;
    --ink: #f8f5ee;
    --ink-dim: #a8a39a;
    --ink-faint: #5e5b54;

    /* Accents */
    --accent: #c8f560;          /* vert chartreuse vif */
    --accent-warm: #d4af37;     /* or */
    --accent-fire: #ff6b35;     /* orange brûlure */
    --accent-smoke: #a89e8a;

    /* Semantic */
    --success: #7dd97d;
    --warning: #f0b440;
    --danger: #e85a4f;

    /* Layout */
    --container: 1320px;
    --radius-sm: 6px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* Type */
    --font-display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', 'Outfit', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Transitions */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--accent); color: var(--bg); }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'ss01', 'cv01';
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; transition: opacity 0.2s var(--ease); }
input, select, textarea { font-family: inherit; font-size: inherit; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 32px;
}

/* ============ LOADER PAGE ============ */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-preroll {
    position: relative;
    width: 280px;
    height: 60px;
    margin-bottom: 32px;
}
.loader-preroll svg { width: 100%; height: 100%; overflow: visible; }
.loader-preroll .preroll-body {
    fill: #f5f1e8;
    stroke: rgba(212, 175, 106, 0.6);
    stroke-width: 0.5;
}
.loader-preroll .preroll-filter {
    fill: #c4a76a;
    stroke: #8a6f3d;
    stroke-width: 0.5;
}
.loader-preroll .preroll-burn {
    fill: #ff6b35;
    filter: drop-shadow(0 0 8px rgba(255, 107, 53, 0.7));
    animation: emberPulse 0.6s ease-in-out infinite alternate;
}
.loader-preroll .preroll-ash {
    fill: #2a2a2a;
}
.loader-preroll .preroll-smoke {
    stroke: var(--accent-smoke);
    stroke-width: 1;
    fill: none;
    opacity: 0;
    animation: smokeRise 2.5s ease-out infinite;
}
.loader-preroll .preroll-smoke:nth-child(2) { animation-delay: 0.7s; }
.loader-preroll .preroll-smoke:nth-child(3) { animation-delay: 1.4s; }

@keyframes emberPulse {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(1.15); opacity: 0.85; }
}
@keyframes smokeRise {
    0% { opacity: 0; transform: translateY(0) translateX(0) scale(0.5); }
    30% { opacity: 0.6; }
    100% { opacity: 0; transform: translateY(-60px) translateX(-15px) scale(2); }
}

.loader-progress-track {
    width: 220px;
    height: 2px;
    background: rgba(245, 241, 232, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 16px;
}
.loader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-fire), var(--accent));
    width: 0%;
    animation: loaderProgress 2.5s var(--ease) forwards;
}
@keyframes loaderProgress {
    0%   { width: 0%; }
    100% { width: 100%; }
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--ink-dim);
    text-transform: uppercase;
}

/* ============ AGE GATE ============ */
#age-gate {
    position: fixed;
    inset: 0;
    background: rgba(10, 9, 8, 0.97);
    backdrop-filter: blur(20px);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.age-gate-box {
    max-width: 480px;
    background: var(--bg-elev);
    border: 1px solid rgba(200, 245, 96, 0.15);
    border-radius: var(--radius-lg);
    padding: 56px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.age-gate-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(200, 245, 96, 0.08) 0%, transparent 50%);
    animation: ageRotate 20s linear infinite;
}
@keyframes ageRotate { to { transform: rotate(360deg); } }
.age-gate-box > * { position: relative; z-index: 1; }
.age-gate-icon { color: var(--accent); margin-bottom: 24px; }
.age-gate-box h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.1;
    margin-bottom: 16px;
}
.age-gate-box p { color: var(--ink-dim); margin-bottom: 32px; font-size: 14px; }
.age-gate-actions { display: flex; gap: 12px; }
.age-gate-actions .btn { flex: 1; }

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.1; letter-spacing: -0.02em; }
.h-display {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.04em;
}
.eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.eyebrow::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--accent);
}

/* ============ BOUTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: var(--bg);
}
.btn-primary:hover {
    background: #d8ff7a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(200, 245, 96, 0.3);
}
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(245, 241, 232, 0.2);
}
.btn-ghost:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.btn-dark {
    background: var(--bg);
    color: var(--ink);
}
.btn-dark:hover { background: var(--bg-elev); }
.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 20px 40px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-icon {
    width: 44px; height: 44px; padding: 0;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ============ HEADER ============ */
.topbar {
    background: var(--bg);
    color: var(--ink-dim);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: var(--font-mono);
    overflow: hidden;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}
.topbar-marquee {
    display: flex;
    gap: 60px;
    padding: 10px 0;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
    width: max-content;
}
.topbar-marquee span { display: inline-flex; align-items: center; gap: 12px; }
.topbar-marquee span::after {
    content: '✦';
    color: var(--accent);
    margin-left: 60px;
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 9, 8, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(245, 241, 232, 0.06);
    transition: all 0.3s var(--ease);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 32px;
}
.header-nav {
    display: flex;
    gap: 40px;
    align-items: center;
    flex: 1;
    justify-content: center;
}
.header-nav a {
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--ink-dim);
    transition: color 0.2s;
    position: relative;
    padding: 8px 0;
}
.header-nav a:hover, .header-nav a.active {
    color: var(--ink);
}
.header-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 4px;
    background: var(--accent);
    border-radius: 50%;
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.header-icon-btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-dim);
    position: relative;
    transition: all 0.2s var(--ease);
}
.header-icon-btn:hover {
    color: var(--accent);
    background: rgba(200, 245, 96, 0.1);
}
.cart-badge {
    position: absolute;
    top: 4px; right: 4px;
    background: var(--accent);
    color: var(--bg);
    font-size: 10px;
    font-weight: 700;
    min-width: 18px; height: 18px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    font-family: var(--font-mono);
}
.mobile-menu-btn { display: none; }

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0 120px;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 60%; height: 100%;
    background: radial-gradient(ellipse at right, rgba(200, 245, 96, 0.08), transparent 60%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-eyebrow {
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.2s forwards;
}
.hero h1 {
    font-size: clamp(64px, 10vw, 140px);
    line-height: 0.95;
    margin-bottom: 32px;
    letter-spacing: -0.05em;
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.4s forwards;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
    font-weight: 400;
}
.hero h1 .stroke {
    -webkit-text-stroke: 1.5px var(--ink);
    color: transparent;
    font-weight: 400;
}
.hero-desc {
    font-size: 17px;
    color: var(--ink-dim);
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.6s forwards;
}
.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 60px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 0.8s forwards;
}
.hero-stats {
    display: flex;
    gap: 48px;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease) 1s forwards;
}
.hero-stat .num {
    font-family: var(--font-display);
    font-size: 48px;
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    display: block;
}
.hero-stat .lbl {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-dim);
    margin-top: 8px;
    display: block;
}

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

/* Hero visual - cercle qui tourne + feuille flottante */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 540px;
    margin-left: auto;
    opacity: 0;
    animation: fadeUp 1.2s var(--ease) 0.6s forwards;
}
.hero-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(200, 245, 96, 0.4), transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(212, 175, 55, 0.2), transparent 50%);
    filter: blur(40px);
    animation: heroPulse 8s ease-in-out infinite;
}
@keyframes heroPulse {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(180deg); }
}
.hero-visual-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(245, 241, 232, 0.1);
    animation: ringRotate 30s linear infinite;
}
.hero-visual-ring::before, .hero-visual-ring::after {
    content: '';
    position: absolute;
    top: -3px; left: 50%;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent);
    transform: translateX(-50%);
}
.hero-visual-ring::after { top: auto; bottom: -3px; }
@keyframes ringRotate { to { transform: rotate(360deg); } }

.hero-visual-leaf {
    position: absolute;
    inset: 20%;
    color: var(--accent);
    animation: leafFloat 6s ease-in-out infinite;
}
.hero-visual-leaf svg { width: 100%; height: 100%; }
@keyframes leafFloat {
    0%, 100% { transform: translateY(0) rotate(-3deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.hero-meta {
    position: absolute;
    bottom: 32px;
    left: 0; right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--ink-faint);
    padding: 0 32px;
}
.hero-meta-line {
    flex: 1;
    height: 1px;
    background: rgba(245, 241, 232, 0.1);
    margin: 0 24px;
}

/* ============ SECTIONS ============ */
section { padding: 120px 0; position: relative; }
.section-header {
    margin-bottom: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}
.section-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.03em;
    max-width: 60%;
}
.section-title em {
    font-style: italic;
    color: var(--accent);
}

/* ============ CATÉGORIES (carrousel horizontal) ============ */
.categories-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 8px 0 32px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-card {
    flex: 0 0 320px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: var(--bg-elev);
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.5s var(--ease);
    border: 1px solid rgba(245, 241, 232, 0.05);
}
.category-card:hover {
    transform: translateY(-8px);
    border-color: rgba(200, 245, 96, 0.3);
}
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center 30%, rgba(200, 245, 96, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s;
}
.category-card:hover::before { opacity: 1; }
.category-icon {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--accent);
    opacity: 0.5;
    transition: all 0.5s var(--ease);
}
.category-card:hover .category-icon {
    transform: translate(-50%, -60%) scale(1.1);
    opacity: 0.9;
}
.category-info {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px;
    z-index: 2;
}
.category-info h3 {
    font-size: 32px;
    font-style: italic;
    margin-bottom: 8px;
}
.category-info .count {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--ink-dim);
    text-transform: uppercase;
}
.category-info .arrow {
    position: absolute;
    top: 32px;
    right: 32px;
    color: var(--accent);
    transition: transform 0.3s var(--ease);
}
.category-card:hover .arrow {
    transform: translate(4px, -4px);
}

/* ============ PRODUITS ============ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: var(--bg-elev);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: all 0.4s var(--ease);
    border: 1px solid rgba(245, 241, 232, 0.05);
    isolation: isolate;
}
.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200, 245, 96, 0.2);
}
.product-image {
    aspect-ratio: 1;
    position: relative;
    overflow: hidden;
    background: var(--bg);
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}
.product-card:hover .product-image img {
    transform: scale(1.08);
}
.product-badges {
    position: absolute;
    top: 16px; left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}
.badge {
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
}
.badge-promo {
    background: var(--accent-fire);
    color: var(--ink);
}
.badge-new {
    background: var(--accent);
    color: var(--bg);
}
.badge-featured {
    background: var(--accent-warm);
    color: var(--bg);
}
.product-quick {
    position: absolute;
    top: 16px; right: 16px;
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(10, 9, 8, 0.7);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    color: var(--ink);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
    z-index: 2;
}
.product-card:hover .product-quick {
    opacity: 1;
    transform: translateY(0);
}
.product-info {
    padding: 20px 24px 24px;
}
.product-cat {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
}
.product-name {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}
.product-meta {
    display: flex;
    gap: 16px;
    font-size: 11px;
    color: var(--ink-dim);
    margin-bottom: 16px;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.product-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.product-meta strong { color: var(--accent); font-weight: 500; }
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(245, 241, 232, 0.06);
    padding-top: 16px;
}
.product-price {
    font-family: var(--font-display);
    font-size: 26px;
    font-style: italic;
    color: var(--ink);
}
.product-price .old {
    font-size: 14px;
    color: var(--ink-faint);
    text-decoration: line-through;
    margin-right: 8px;
    font-style: normal;
}
.product-card .btn-add {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--bg);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
}
.product-card .btn-add:hover {
    transform: rotate(90deg) scale(1.1);
}

/* ============ BANNIÈRE FEATURES / TRUSTS ============ */
.features {
    background: var(--bg-elev);
    padding: 60px 0;
    border-top: 1px solid rgba(245, 241, 232, 0.05);
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.feature-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(200, 245, 96, 0.1);
    color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature h4 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}
.feature p {
    font-size: 12px;
    color: var(--ink-dim);
}

/* ============ MANIFESTE / ABOUT ============ */
.manifesto {
    padding: 160px 0;
}
.manifesto-text {
    font-family: var(--font-display);
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 300;
    line-height: 1.2;
    max-width: 1100px;
    letter-spacing: -0.02em;
}
.manifesto-text em { color: var(--accent); font-style: italic; }

/* ============ NEWSLETTER ============ */
.newsletter {
    background: var(--accent);
    color: var(--bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}
.newsletter::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(10, 9, 8, 0.1), transparent 60%);
}
.newsletter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.newsletter h2 {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1;
    letter-spacing: -0.03em;
}
.newsletter h2 em { font-style: italic; }
.newsletter-form {
    display: flex;
    gap: 12px;
}
.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--bg);
    padding: 16px 4px;
    font-size: 16px;
    color: var(--bg);
}
.newsletter-form input::placeholder { color: rgba(10, 9, 8, 0.5); }
.newsletter-form input:focus { outline: none; }

/* ============ FOOTER ============ */
.footer {
    background: var(--bg);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(245, 241, 232, 0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-brand h3 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 28px;
    margin-bottom: 16px;
}
.footer-brand p {
    color: var(--ink-dim);
    max-width: 360px;
    font-size: 14px;
}
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: var(--ink-dim);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--ink); }
.footer-bottom {
    border-top: 1px solid rgba(245, 241, 232, 0.05);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ink-faint);
    font-family: var(--font-mono);
    letter-spacing: 1px;
}

/* ============ DRAWER PANIER (sidebar slide) ============ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0;
    width: 480px;
    max-width: 100vw;
    height: 100dvh;
    background: var(--bg-elev);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(245, 241, 232, 0.06);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
    flex-shrink: 0;
}
.cart-drawer-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
}

/* ============ PRÉROLL — paliers de récompenses ============ */
.preroll-rewards {
    padding: 24px 28px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}
.preroll-rewards-title {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-dim);
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
}
.preroll-rewards-title strong { color: var(--accent); font-weight: 500; }

/* Le préroll horizontal qui se remplit */
.preroll-bar {
    position: relative;
    height: 32px;
    margin: 16px 0 12px;
}
.preroll-bar svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.preroll-bar .preroll-tube {
    fill: rgba(245, 241, 232, 0.06);
    stroke: rgba(245, 241, 232, 0.15);
    stroke-width: 0.5;
}
.preroll-bar .preroll-filter-cap {
    fill: rgba(196, 167, 106, 0.4);
    stroke: rgba(196, 167, 106, 0.6);
}
.preroll-bar .preroll-fill {
    fill: url(#prerollGrad);
    transition: width 0.6s var(--ease);
}
.preroll-bar .preroll-ember {
    fill: var(--accent-fire);
    filter: drop-shadow(0 0 4px var(--accent-fire));
    animation: emberPulse 0.6s infinite alternate;
}

.preroll-tiers {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    position: relative;
}
.preroll-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    text-align: center;
    transition: all 0.3s var(--ease);
}
.preroll-tier-dot {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bg-elev-2);
    border: 1px solid rgba(245, 241, 232, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-faint);
    transition: all 0.4s var(--ease-bounce);
}
.preroll-tier.unlocked .preroll-tier-dot {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--bg);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(200, 245, 96, 0.4);
}
.preroll-tier.next .preroll-tier-dot {
    border-color: var(--accent);
    color: var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200, 245, 96, 0.5); }
    50% { box-shadow: 0 0 0 8px rgba(200, 245, 96, 0); }
}
.preroll-tier-label {
    font-family: var(--font-mono);
    font-size: 9px;
    color: var(--ink-faint);
    letter-spacing: 1px;
    text-transform: uppercase;
    max-width: 80px;
    line-height: 1.3;
}
.preroll-tier.unlocked .preroll-tier-label { color: var(--accent); }
.preroll-tier-amount {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-dim);
    font-weight: 600;
}

.preroll-next-message {
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(200, 245, 96, 0.08);
    border: 1px solid rgba(200, 245, 96, 0.2);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Cart items */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 28px;
}
.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
    align-items: center;
}
.cart-item-img {
    width: 70px; height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info h4 {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 4px;
}
.cart-item-info .cat {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.qty-control {
    display: flex;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius-pill);
    padding: 4px;
    gap: 4px;
}
.qty-control button {
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    color: var(--ink-dim);
    transition: color 0.2s;
}
.qty-control button:hover { color: var(--accent); }
.qty-control .qty {
    min-width: 24px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
}
.cart-item-price {
    font-family: var(--font-display);
    font-size: 18px;
    font-style: italic;
    color: var(--accent);
    text-align: right;
}
.cart-item-remove {
    color: var(--ink-faint);
    width: 24px; height: 24px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}
.cart-item-remove:hover { color: var(--danger); }

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 28px;
    text-align: center;
    color: var(--ink-dim);
}
.cart-empty svg { color: var(--ink-faint); margin-bottom: 16px; }
.cart-empty h4 { font-family: var(--font-display); font-size: 24px; margin-bottom: 8px; color: var(--ink); }

.cart-drawer-footer {
    padding: 24px 28px;
    border-top: 1px solid rgba(245, 241, 232, 0.05);
    flex-shrink: 0;
    background: var(--bg-elev);
}
.cart-totals { margin-bottom: 16px; }
.cart-total-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--ink-dim);
    font-family: var(--font-mono);
}
.cart-total-line.discount { color: var(--accent); }
.cart-total-line.grand {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(245, 241, 232, 0.1);
    font-family: var(--font-display);
    font-size: 22px;
    font-style: italic;
    color: var(--ink);
}
.cart-total-line.grand strong { color: var(--accent); font-weight: 400; }

/* ============ BOTTOM NAV MOBILE ============ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(10, 9, 8, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(245, 241, 232, 0.08);
    z-index: 90;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.bottom-nav-inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
.bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    color: var(--ink-faint);
    font-size: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
}
.bottom-nav a.active, .bottom-nav a:active { color: var(--accent); }
.bottom-nav a .badge-mini {
    position: absolute;
    top: 4px; right: calc(50% - 18px);
    min-width: 16px; height: 16px;
    background: var(--accent);
    color: var(--bg);
    border-radius: 8px;
    font-size: 9px;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    padding: 0 4px;
    font-family: var(--font-mono);
}

/* ============ PAGES UTILITAIRES ============ */
.page-header {
    padding: 80px 0 40px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}
.page-header h1 {
    font-size: clamp(48px, 8vw, 96px);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 16px;
}
.page-header h1 em { color: var(--accent); font-style: italic; }
.breadcrumb {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-dim);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb span { margin: 0 8px; color: var(--ink-faint); }

/* ============ CATALOGUE FILTRES ============ */
.catalog-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    padding: 60px 0 120px;
}
.filters {
    position: sticky;
    top: 100px;
    align-self: flex-start;
}
.filter-group {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}
.filter-group:last-child { border-bottom: none; }
.filter-group h4 {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 16px;
}
.filter-group ul { list-style: none; }
.filter-group li { margin-bottom: 8px; }
.filter-group a {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    color: var(--ink-dim);
    font-size: 14px;
    transition: color 0.2s;
}
.filter-group a:hover { color: var(--ink); }
.filter-group a.active {
    color: var(--accent);
    font-weight: 500;
}
.filter-group a span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-faint);
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}
.catalog-count {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--ink-dim);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.catalog-sort select {
    background: transparent;
    color: var(--ink);
    border: 1px solid rgba(245, 241, 232, 0.15);
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    cursor: pointer;
}
.catalog-sort select option { background: var(--bg-elev); }

/* ============ FICHE PRODUIT ============ */
.product-detail {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    padding: 60px 0 120px;
}
.product-detail-image {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-elev);
}
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-detail-info > * { margin-bottom: 24px; }
.product-detail-info h1 {
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.03em;
}
.product-detail-price {
    display: flex;
    align-items: baseline;
    gap: 16px;
}
.product-detail-price .price {
    font-family: var(--font-display);
    font-size: 48px;
    font-style: italic;
    color: var(--accent);
}
.product-detail-price .old {
    font-size: 24px;
    color: var(--ink-faint);
    text-decoration: line-through;
}
.product-detail-desc {
    color: var(--ink-dim);
    line-height: 1.7;
    font-size: 15px;
}
.product-attributes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(245, 241, 232, 0.05);
    border: 1px solid rgba(245, 241, 232, 0.05);
    border-radius: var(--radius);
    overflow: hidden;
}
.product-attr {
    background: var(--bg-elev);
    padding: 20px;
}
.product-attr-label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-faint);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}
.product-attr-value {
    font-family: var(--font-display);
    font-size: 22px;
    color: var(--accent);
    font-style: italic;
}

.product-purchase {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.product-purchase .qty-control {
    background: var(--bg-elev);
    padding: 8px 12px;
}
.product-purchase .qty-control button { width: 36px; height: 36px; }
.product-purchase .qty-control .qty { font-size: 16px; min-width: 30px; }
.product-purchase .btn { flex: 1; }

.stock-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.stock-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}
.stock-low .stock-dot { background: var(--warning); box-shadow: 0 0 8px var(--warning); }
.stock-out .stock-dot { background: var(--danger); box-shadow: 0 0 8px var(--danger); }

/* ============ FORMULAIRES ============ */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-dim);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: var(--bg-elev);
    border: 1px solid rgba(245, 241, 232, 0.1);
    color: var(--ink);
    padding: 14px 18px;
    border-radius: var(--radius);
    font-size: 15px;
    transition: border-color 0.2s, background 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-elev-2);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Auth boxes */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
}
.auth-box {
    width: 100%;
    max-width: 460px;
    background: var(--bg-elev);
    padding: 56px 48px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 241, 232, 0.05);
}
.auth-box h1 {
    font-size: 36px;
    margin-bottom: 8px;
    font-style: italic;
}
.auth-box .auth-sub {
    color: var(--ink-dim);
    font-size: 14px;
    margin-bottom: 32px;
}

/* ============ FLASH MESSAGES ============ */
.flash {
    background: var(--bg-elev);
    border: 1px solid rgba(245, 241, 232, 0.1);
    border-radius: var(--radius);
    padding: 14px 20px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    animation: fadeUp 0.4s var(--ease);
}
.flash-success { border-color: var(--success); color: var(--success); }
.flash-error { border-color: var(--danger); color: var(--danger); }
.flash-info { border-color: var(--accent); color: var(--accent); }

/* ============ TOAST (notification flottante) ============ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--bg-elev);
    border: 1px solid var(--accent);
    border-radius: var(--radius-pill);
    padding: 14px 24px;
    font-size: 13px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 300;
    transition: transform 0.4s var(--ease-bounce);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast svg { color: var(--accent); }

/* ============ ADMIN LAYOUT ============ */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: var(--bg);
    border-right: 1px solid rgba(245, 241, 232, 0.05);
    padding: 32px 24px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.admin-sidebar .logo {
    display: block;
    margin-bottom: 40px;
}
.admin-nav { list-style: none; }
.admin-nav li { margin-bottom: 4px; }
.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--ink-dim);
    font-size: 14px;
    border-radius: var(--radius);
    transition: all 0.2s;
}
.admin-nav a:hover { background: var(--bg-elev); color: var(--ink); }
.admin-nav a.active {
    background: rgba(200, 245, 96, 0.1);
    color: var(--accent);
}
.admin-nav .divider {
    margin: 24px 0;
    padding-top: 24px;
    border-top: 1px solid rgba(245, 241, 232, 0.05);
}
.admin-main {
    padding: 40px;
    background: var(--bg-elev);
    min-height: 100vh;
}

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    gap: 24px;
    flex-wrap: wrap;
}
.admin-page-header h1 {
    font-family: var(--font-display);
    font-size: 48px;
    font-style: italic;
    line-height: 1;
}
.admin-page-header .muted {
    color: var(--ink-dim);
    font-size: 13px;
    margin-top: 8px;
    font-family: var(--font-mono);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}
.stat-card {
    background: var(--bg);
    border: 1px solid rgba(245, 241, 232, 0.05);
    border-radius: var(--radius);
    padding: 24px;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease);
}
.stat-card:hover::before { transform: scaleY(1); }
.stat-label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-faint);
    margin-bottom: 12px;
}
.stat-value {
    font-family: var(--font-display);
    font-size: 36px;
    font-style: italic;
    color: var(--ink);
    line-height: 1;
}
.stat-value .small { font-size: 14px; color: var(--ink-dim); font-style: normal; font-family: var(--font-mono); }
.stat-trend {
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--success);
}
.stat-trend.down { color: var(--danger); }

.admin-grid-2 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
.admin-card {
    background: var(--bg);
    border: 1px solid rgba(245, 241, 232, 0.05);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 24px;
}
.admin-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-style: italic;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ink-faint);
    border-bottom: 1px solid rgba(245, 241, 232, 0.1);
}
.admin-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(245, 241, 232, 0.04);
    font-size: 14px;
}
.admin-table tr:hover td { background: var(--bg-elev); }

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}
.status-en_attente { background: rgba(240, 180, 64, 0.15); color: var(--warning); }
.status-payee { background: rgba(125, 217, 125, 0.15); color: var(--success); }
.status-expediee { background: rgba(77, 216, 232, 0.15); color: #4dd8e8; }
.status-livree { background: rgba(200, 245, 96, 0.15); color: var(--accent); }
.status-annulee { background: rgba(232, 90, 79, 0.15); color: var(--danger); }

.info-table { width: 100%; border-collapse: collapse; }
.info-table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(245, 241, 232, 0.05);
    font-size: 14px;
}
.info-table td:first-child {
    color: var(--ink-faint);
    width: 40%;
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.info-table tr:last-child td { border-bottom: none; }

.admin-table tfoot td {
    background: var(--bg-elev);
    border-top: 2px solid rgba(245, 241, 232, 0.1);
    padding: 14px 16px;
}

/* ============ EMPTY STATES ============ */
.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--ink-dim);
}
.empty-state svg { color: var(--ink-faint); margin-bottom: 16px; }
.empty-state h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 8px; color: var(--ink); font-style: italic; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .header-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 400px; margin: 0 auto; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .newsletter-grid { grid-template-columns: 1fr; gap: 32px; }
    .product-detail { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-image { position: static; max-width: 600px; margin: 0 auto; }
    .catalog-layout { grid-template-columns: 1fr; gap: 40px; }
    .filters { position: static; }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; padding: 24px; }
    .admin-nav { display: flex; gap: 4px; overflow-x: auto; }
    .admin-nav li { flex-shrink: 0; }
    .admin-grid-2 { grid-template-columns: 1fr; }
    .admin-main { padding: 24px; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .bottom-nav { display: block; }
    body { padding-bottom: 70px; }
    section { padding: 80px 0; }
    .topbar { display: none; }

    .section-header { flex-direction: column; align-items: flex-start; margin-bottom: 48px; gap: 24px; }
    .section-title { max-width: 100%; }

    .hero { padding: 40px 0 80px; min-height: auto; }
    .hero-stats { gap: 24px; }
    .hero-stat .num { font-size: 36px; }

    .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-info { padding: 14px; }
    .product-name { font-size: 16px; }
    .product-price { font-size: 20px; }
    .product-meta { font-size: 10px; gap: 8px; }
    .product-card .btn-add { width: 36px; height: 36px; }

    .category-card { flex-basis: 240px; }
    .category-info h3 { font-size: 24px; }

    .cart-drawer { width: 100%; }
    .preroll-tier-label { font-size: 8px; max-width: 50px; }

    .manifesto { padding: 80px 0; }

    .form-row { grid-template-columns: 1fr; }
    .auth-box { padding: 40px 28px; }

    .admin-page-header h1 { font-size: 32px; }
    .admin-stats { grid-template-columns: 1fr 1fr; }
    .stat-value { font-size: 28px; }
    .admin-table { font-size: 12px; }
    .admin-table td { padding: 10px 8px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 56px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-stat { flex: 1; min-width: 80px; }
    .btn { padding: 14px 24px; }
    .product-detail-info h1 { font-size: 32px; }
    .product-attributes { grid-template-columns: 1fr; }
    .preroll-tier-label { display: none; }
}

/* ============ UTILITAIRES ============ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.muted { color: var(--ink-dim); }
.accent { color: var(--accent); }
.text-mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }

/* ============================================
   ===== V3 : CURSEUR CUSTOM + LOADER + EXPÉRIENCE UNIQUE =====
   ============================================ */

/* Curseur custom retiré — on garde le curseur natif du système */
#cursor-dot, #cursor-ring { display: none !important; }

/* ============================================
   LOADER v3 — cinématique avec préroll qui se consume
   ============================================ */
#page-loader {
    position: fixed; inset: 0;
    background: #050403;
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    overflow: hidden;
}
#page-loader.loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-bg-grain {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse at 20% 30%, rgba(200, 245, 96, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 107, 53, 0.04) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.loader-content {
    position: relative;
    z-index: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 36px;
    max-width: 720px;
    padding: 40px;
    text-align: center;
}

.loader-eyebrow {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 480px;
}
.loader-eyebrow > span:first-child,
.loader-eyebrow > span:last-child {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.4;
}
.loader-eyebrow > span:nth-child(2) {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--accent);
    text-transform: uppercase;
}

.loader-preroll-wrap {
    width: 100%;
    max-width: 640px;
    padding: 0 32px;
    position: relative;
    transition: filter 0.22s ease-out, transform 0.22s ease-out, opacity 0.4s ease-out;
}

/* Effet "tire" : la braise s'intensifie, halo plus fort, léger zoom */
.loader-preroll-wrap.inhaling {
    filter:
        drop-shadow(0 0 32px rgba(255, 107, 53, 0.7))
        drop-shadow(0 0 60px rgba(255, 107, 53, 0.3))
        brightness(1.08);
    transform: scale(1.015);
}
/* Fade-out final */
.loader-preroll-wrap.fade-out {
    opacity: 0;
    transform: scale(0.96);
}

#loader-preroll {
    position: relative;
    width: 100%;
    aspect-ratio: 400 / 140;
}
.preroll-frame {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    transition: opacity 0.18s ease-out;
    display: block;
}
.preroll-frame[data-frame="0"] { opacity: 1; }
.preroll-frame svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
    overflow: visible;
    filter: drop-shadow(0 12px 40px rgba(255, 107, 53, 0.25));
}

/* La braise pulse plus vite pendant un tire */
.loader-preroll-wrap.inhaling .preroll-burn {
    animation-duration: 0.6s !important;
}

.loader-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 300;
    letter-spacing: -0.03em;
    color: var(--ink);
    margin: 0;
    line-height: 1;
}
.loader-title em {
    font-style: italic;
    color: var(--accent);
}

.loader-progress-track {
    width: 180px; height: 2px;
    background: rgba(245, 241, 232, 0.1);
    overflow: hidden;
    border-radius: 1px;
}
.loader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-warm));
    width: 0%;
    animation: loaderProgress 2.5s ease-out forwards;
}
@keyframes loaderProgress { to { width: 100%; } }

.loader-text {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--ink-faint);
    text-transform: uppercase;
}

/* Animation de combustion du préroll (la braise pulse) */
@keyframes prerollGlow {
    0%, 100% { filter: drop-shadow(0 0 6px #ff6b35) drop-shadow(0 0 12px #ff6b35); }
    50% { filter: drop-shadow(0 0 10px #ffaa33) drop-shadow(0 0 20px #ff6b35); }
}
.preroll-burn {
    transform-origin: center;
    animation: prerollGlow 1.8s ease-in-out infinite, prerollPulse 1.8s ease-in-out infinite;
}
@keyframes prerollPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.95; }
}

/* Animation des volutes de fumée */
@keyframes smokeRise {
    0% { opacity: 0; transform: translateY(0); }
    20% { opacity: 0.8; }
    100% { opacity: 0; transform: translateY(-30px); }
}
.preroll-smoke-1, .preroll-smoke-2, .preroll-smoke-3 {
    transform-origin: bottom;
    animation: smokeRise 3.5s ease-in-out infinite;
}
.preroll-smoke-2 { animation-delay: 1.2s; }
.preroll-smoke-3 { animation-delay: 2.4s; }

/* ============================================
   PRÉROLL RÉALISTE DANS LES PALIERS (cart.php)
   ============================================ */
.preroll-bar-real {
    width: 100%;
    padding: 20px 0 24px;
    display: flex; justify-content: center;
    filter: drop-shadow(0 8px 24px rgba(255, 107, 53, 0.15));
}
.preroll-bar-real svg {
    max-width: 100%;
    height: auto;
    overflow: visible;
}

/* ============================================
   BONUS UX UNIQUES
   ============================================ */

/* Background gradient animé pour hero */
.hero-bg-animated {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.hero-bg-animated::before,
.hero-bg-animated::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatGlow 18s ease-in-out infinite;
}
.hero-bg-animated::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(200, 245, 96, 0.3), transparent 70%);
    top: -200px; left: -200px;
}
.hero-bg-animated::after {
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    bottom: -300px; right: -300px;
    animation-delay: 9s;
}
@keyframes floatGlow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(80px, -50px) scale(1.1); }
    66% { transform: translate(-60px, 80px) scale(0.95); }
}

/* Sticker édition limitée rotatif */
.limited-sticker {
    position: absolute;
    top: 12px; right: 12px;
    width: 84px; height: 84px;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
    animation: stickerRotate 22s linear infinite;
}
.limited-sticker svg { width: 100%; height: 100%; }
@keyframes stickerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Section process / de la graine au flacon */
.process-section {
    padding: 100px 0;
    border-top: 1px solid rgba(245, 241, 232, 0.05);
    background:
        linear-gradient(180deg, transparent, rgba(200, 245, 96, 0.015), transparent);
}
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 60px;
    position: relative;
}
.process-grid::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 12.5%;
    width: 75%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), var(--accent), var(--accent), transparent);
    opacity: 0.3;
    z-index: 0;
}
.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}
.process-step-num {
    width: 64px; height: 64px;
    margin: 0 auto 24px;
    background: var(--bg);
    border: 2px solid var(--accent);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-family: var(--font-display);
    font-style: italic;
    font-size: 28px;
    box-shadow: 0 0 24px rgba(200, 245, 96, 0.2);
    transition: all 0.4s ease;
}
.process-step:hover .process-step-num {
    background: var(--accent);
    color: var(--bg);
    transform: scale(1.1);
}
.process-step h4 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 22px;
    margin: 16px 0 12px;
}
.process-step p {
    font-size: 13px;
    color: var(--ink-dim);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .process-grid::before { display: none; }
}

/* Section avis clients */
.reviews-section {
    padding: 100px 0;
    background: var(--bg-elev);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}
.review-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(245, 241, 232, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.review-card::before {
    content: '"';
    position: absolute;
    top: -20px; right: 12px;
    font-family: var(--font-display);
    font-size: 120px;
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
}
.review-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}
.review-stars {
    display: flex; gap: 2px;
    color: var(--accent-warm);
    margin-bottom: 16px;
}
.review-text {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--ink);
}
.review-author {
    display: flex; align-items: center; gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgba(245, 241, 232, 0.05);
}
.review-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-warm));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--bg);
    font-weight: 700;
    font-family: var(--font-display);
    font-style: italic;
}
.review-author-info {
    display: flex; flex-direction: column;
}
.review-author-name {
    font-weight: 500;
    font-size: 14px;
}
.review-author-meta {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--ink-faint);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}
@media (max-width: 1024px) { .reviews-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .reviews-grid { grid-template-columns: 1fr; } }
