/* ============================================================================
   ETH STUDIOS — BOUTIQUE
   Identité : rouge (#ff1744) qui fond dans un violet profond (#7a2ad0) sur
   fond noir. Toutes les couleurs principales sont des variables réglables
   depuis l'administration (onglet Apparence).
   ========================================================================== */

:root {
    --red: #ff1744;
    --red-rgb: 255, 23, 68;
    --violet: #7a2ad0;
    --violet-rgb: 122, 42, 208;
    --bg: #07060a;
    --surface: #121019;
    --surface-2: color-mix(in srgb, var(--surface) 82%, #ffffff 4%);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --text: #f1eef6;
    --muted: #a39db0;
    --faint: #716c7e;
    --ok: #4fe08a;
    --grad: linear-gradient(120deg, var(--red) 0%, color-mix(in srgb, var(--red) 50%, var(--violet)) 50%, var(--violet) 100%);
    --radius: 12px;
    --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(900px 520px at 85% -10%, rgba(var(--violet-rgb), 0.16), transparent 70%),
        radial-gradient(700px 420px at 5% 0%, rgba(var(--red-rgb), 0.1), transparent 70%),
        var(--bg);
    background-repeat: no-repeat;
    color: var(--text);
    font: 400 16px/1.6 var(--font);
    -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
main { flex: 1; outline: none; }

a { color: inherit; }
img { max-width: 100%; display: block; }
code { font-family: var(--mono); font-size: 0.88em; background: rgba(255, 255, 255, 0.06); padding: 1px 6px; border-radius: 5px; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
button { font-family: inherit; }

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(800px, 100% - 32px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--surface); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }

.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { margin: 0 0 10px; font: 600 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.lead { color: var(--muted); font-size: 1.08rem; margin: 16px 0 0; }
.muted { color: var(--muted); }
.link { color: var(--muted); text-decoration: none; font-weight: 500; }
.link:hover { color: var(--text); }

/* ── Boutons ─────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px;
    border-radius: calc(var(--radius) - 2px);
    border: 1px solid transparent;
    font: 600 15px/1 var(--font);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: transform 0.15s ease, filter 0.15s ease, border-color 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px -12px rgba(var(--red-rgb), 0.7); }
.btn--primary:hover:not(:disabled) { filter: brightness(1.1); }
.btn--ghost { background: rgba(255, 255, 255, 0.04); border-color: var(--line-strong); color: var(--text); }
.btn--ghost:hover:not(:disabled) { border-color: rgba(255, 255, 255, 0.3); }
.btn--soft.btn--primary { background: rgba(var(--red-rgb), 0.12); color: #fff; border-color: rgba(var(--red-rgb), 0.4); box-shadow: none; }
.btn--danger { background: rgba(255, 60, 90, 0.1); border-color: rgba(255, 60, 90, 0.35); color: #ff8a9c; }
.btn--danger:hover { background: rgba(255, 60, 90, 0.2); }
.btn--small { min-height: 34px; padding: 0 13px; font-size: 13.5px; }
.btn--lg { min-height: 52px; padding: 0 26px; font-size: 16px; }
.btn--block { width: 100%; }

.icon-btn {
    width: 34px; height: 34px; flex: none;
    display: grid; place-items: center;
    border: 1px solid var(--line); border-radius: 8px;
    background: transparent; color: var(--muted); cursor: pointer; font-size: 14px;
}
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }

/* ── Barre du haut ───────────────────────────────────────────────────────── */

.announce { background: var(--grad); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; font-weight: 600; }

.topbar {
    position: sticky; top: 0; z-index: 40;
    background: color-mix(in srgb, var(--bg) 84%, transparent);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 34px; height: 34px; object-fit: contain; }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a:hover, .nav a.is-on { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.admin-pill {
    padding: 7px 12px; border-radius: 999px; font: 600 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase;
    text-decoration: none; color: #fff; background: rgba(var(--violet-rgb), 0.25); border: 1px solid rgba(var(--violet-rgb), 0.55);
}
.cart-btn {
    position: relative; width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 10px; border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, 0.03); color: var(--text); cursor: pointer;
}
.cart-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-btn.is-bump { animation: bump 0.45s ease; }
@keyframes bump { 30% { transform: scale(1.14); } 60% { transform: scale(0.96); } }
.cart-btn__count {
    position: absolute; top: -6px; right: -6px;
    min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
    background: var(--red); font: 700 11px/20px var(--font); text-align: center;
    transform: scale(0); transition: transform 0.2s ease;
}
.cart-btn__count.is-on { transform: scale(1); }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.demo-banner {
    background: linear-gradient(90deg, rgba(var(--red-rgb), 0.12), rgba(var(--violet-rgb), 0.12));
    border-bottom: 1px solid var(--line);
    padding: 9px 16px; text-align: center; font-size: 13.5px; color: var(--muted);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero { position: relative; padding: 96px 0 80px; overflow: hidden; }
.hero__bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.4;
    mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
    -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 10%, transparent 70%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 800; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__stats { list-style: none; display: flex; gap: 34px; padding: 0; margin: 38px 0 0; }
.hero__stats b { display: block; font-size: 24px; font-weight: 800; }
.hero__stats span { color: var(--faint); font-size: 13px; }

.showcase { position: relative; height: 430px; }
.showcase__img {
    position: absolute; width: 78%; aspect-ratio: 16 / 9; object-fit: cover;
    border-radius: calc(var(--radius) + 2px);
    border: 1px solid var(--line-strong);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--red-rgb), 0.06);
}
.showcase__img--0 { right: 0; top: 0; z-index: 1; transform: rotate(2deg); }
.showcase__img--1 { left: 0; top: 120px; z-index: 2; transform: rotate(-3deg); }
.showcase__img--2 { right: 4%; bottom: 0; z-index: 3; width: 62%; transform: rotate(1deg); }

/* ── Atouts ──────────────────────────────────────────────────────────────── */

.perks { border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.perks__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.perk { padding: 30px 24px; border-left: 1px solid var(--line); }
.perk:first-child { border-left: 0; padding-left: 0; }
.perk__n { font: 600 12px var(--mono); color: var(--red); }
.perk h3 { font-size: 16px; font-weight: 700; margin-top: 8px; }
.perk p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

/* ── Sections ────────────────────────────────────────────────────────────── */

.section { padding: 80px 0 0; }
.section--top { padding-top: 44px; }
main > div > .section:last-child { padding-bottom: 96px; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__head--sub { margin-top: 72px; }
.section__head h2, .h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }

/* Apparition au défilement : une seule transition, puis plus rien ne tourne. */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ── Catégories ──────────────────────────────────────────────────────────── */

.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.cat {
    position: relative; display: block; aspect-ratio: 16 / 8; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); text-decoration: none;
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.85), transparent 70%); }
.cat span { position: absolute; left: 16px; bottom: 14px; z-index: 1; display: flex; flex-direction: column; }
.cat b { font-size: 18px; }
.cat small { color: var(--muted); }
.cat:hover img { transform: scale(1.05); }
.cat:hover { border-color: rgba(var(--red-rgb), 0.45); }

/* ── Cartes ──────────────────────────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.card {
    display: flex; flex-direction: column;
    border-radius: var(--radius);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line);
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.25s ease, opacity 0.5s ease;
}
.card:hover { border-color: rgba(var(--red-rgb), 0.4); transform: translateY(-3px); }
.card__cover { display: block; aspect-ratio: 16 / 9; }
.card__cover img { transition: transform 0.4s ease; }
.card:hover .card__cover img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card h3 { font-size: 18px; margin-top: 10px; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: color-mix(in srgb, var(--red) 60%, #fff); }
.card p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }

.tag {
    align-self: flex-start; display: inline-block;
    font: 600 11px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
    color: color-mix(in srgb, var(--violet) 45%, #fff);
    background: rgba(var(--violet-rgb), 0.16); border: 1px solid rgba(var(--violet-rgb), 0.35);
    padding: 5px 8px; border-radius: 6px;
}

.badge {
    position: absolute; top: 12px; left: 12px; z-index: 2;
    padding: 5px 9px; border-radius: 6px;
    font: 700 11.5px/1 var(--font); letter-spacing: 0.02em; color: #fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}
.badge--promo { background: var(--red); }
.badge--new { background: #1f9d5b; }
.badge--hot { background: var(--violet); }

.price { font-size: 19px; font-weight: 800; display: inline-flex; align-items: baseline; gap: 8px; }
.price__old { font-size: 0.72em; font-weight: 500; color: var(--faint); }
.price--big { font-size: 34px; }

.cover { position: relative; overflow: hidden; background: #0b0910; }
.cover__img { width: 100%; height: 100%; object-fit: cover; }
.cover__art {
    position: absolute; inset: 0; display: grid; place-items: center;
    background: radial-gradient(60% 80% at 30% 30%, rgba(var(--red-rgb), 0.5), transparent 60%), radial-gradient(70% 90% at 75% 75%, rgba(var(--violet-rgb), 0.55), transparent 65%), #0b0910;
}
.cover__glyph { font: 800 clamp(1.4rem, 5vw, 3rem)/1 var(--mono); color: rgba(255, 255, 255, 0.92); }

/* ── Boutique ────────────────────────────────────────────────────────────── */

.filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.filters__right { display: flex; gap: 10px; flex-wrap: wrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    min-height: 38px; padding: 0 14px; border-radius: 999px;
    border: 1px solid var(--line-strong); background: transparent; color: var(--muted);
    font: 500 14px var(--font); cursor: pointer;
}
.chip small { opacity: 0.6; margin-left: 3px; }
.chip:hover { color: var(--text); }
.chip.is-on { color: #fff; border-color: transparent; background: var(--grad); }
.search input, .select select {
    min-height: 40px; padding: 0 14px; border-radius: 10px;
    border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 15px var(--font);
}
.search input { width: 260px; }
.select select { cursor: pointer; }
.search input:focus, .select select:focus { outline: none; border-color: var(--red); }
.results { color: var(--faint); font-size: 14px; margin: 18px 0 16px; }

/* ── Fiche produit ───────────────────────────────────────────────────────── */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--faint); margin-bottom: 22px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.crumbs b { color: var(--text); font-weight: 500; }

.product { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: 40px; align-items: start; }
.product__main {
    display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; cursor: zoom-in;
    border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line);
}
.zoom {
    position: absolute; right: 12px; bottom: 12px; width: 36px; height: 36px; display: grid; place-items: center;
    border-radius: 8px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 18px; opacity: 0; transition: opacity 0.2s ease;
}
.product__main:hover .zoom { opacity: 1; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 12px; }
.thumb { padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 16 / 9; opacity: 0.6; transition: opacity 0.2s ease, border-color 0.2s ease; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; }
.thumb.is-on { border-color: var(--red); opacity: 1; }
.video { margin-top: 14px; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.video iframe { width: 100%; height: 100%; border: 0; }

.buybox {
    position: sticky; top: 90px;
    padding: 26px; border-radius: calc(var(--radius) + 4px);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
    border: 1px solid var(--line-strong);
}
.buybox h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; margin-top: 12px; }
.buybox .lead { font-size: 1rem; }
.buybox__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin: 22px 0 18px; }
.save { font-size: 13px; font-weight: 600; color: var(--ok); background: rgba(79, 224, 138, 0.1); padding: 4px 8px; border-radius: 6px; }
.buybox__actions { display: grid; gap: 10px; }
.included { list-style: none; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.included li { padding-left: 26px; position: relative; color: var(--muted); font-size: 14.5px; }
.included li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.specs { margin: 18px 0 0; display: grid; gap: 8px; }
.specs div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.specs dt { color: var(--faint); }
.specs dd { margin: 0; text-align: right; }

.tabs { display: flex; gap: 4px; margin-top: 56px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { padding: 12px 16px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab.is-on { color: var(--text); border-color: var(--red); }
.tabpanel { padding: 28px 0 0; }

.prose { color: #d3cedd; max-width: 760px; }
.prose p { margin: 0 0 14px; }
.prose a { color: color-mix(in srgb, var(--red) 60%, #fff); }
.prose img { border-radius: 10px; margin: 14px 0; }
.prose h2 { font-size: 20px; margin: 28px 0 12px; }
.legal h1 { margin-bottom: 18px; }

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.feature { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature__dot { flex: none; width: 10px; height: 10px; margin-top: 6px; border-radius: 3px; background: var(--grad); }
.feature h3 { font-size: 16px; }
.feature p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }

.code { margin: 12px 0 0; padding: 20px 22px; border-radius: var(--radius); background: #0a0910; border: 1px solid var(--line); overflow-x: auto; font: 14px/1.7 var(--mono); color: #d9d4e4; }
.code code { background: none; padding: 0; font-size: inherit; }

.changelog { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.changelog > li { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.changelog__head { display: flex; align-items: center; gap: 12px; }
.changelog__head code { background: rgba(var(--red-rgb), 0.14); color: #fff; font-weight: 600; }
.changelog__head time { color: var(--faint); font-size: 14px; }
.changelog ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }

.reqs { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.reqs > div { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.reqs h3 { font-size: 16px; margin-bottom: 10px; }
.reqs ul { margin: 0; padding-left: 20px; color: var(--muted); }

.bundle { display: grid; gap: 10px; }
.bundle__item { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.bundle__item:hover { border-color: rgba(var(--red-rgb), 0.4); }
.bundle__item img { width: 120px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.bundle__item span { display: flex; flex-direction: column; min-width: 0; }
.bundle__item small { color: var(--muted); font-size: 13px; }
.bundle__item em { font-style: normal; font-weight: 700; color: var(--muted); padding-right: 8px; }
.bundle__total { margin: 10px 0 0; color: var(--muted); }
.bundle__total b { color: var(--text); }

/* ── Étapes / FAQ / CTA ──────────────────────────────────────────────────── */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.steps b { font: 700 13px var(--mono); color: var(--red); }
.steps h3 { font-size: 17px; margin-top: 12px; }
.steps p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 400 22px var(--mono); color: var(--faint); }
.faq[open] summary::after { content: "−"; color: var(--red); }
.faq p { margin: 0 0 20px; color: var(--muted); }

.cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
    padding: 40px; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-strong);
    background: radial-gradient(500px 200px at 0% 0%, rgba(var(--red-rgb), 0.2), transparent 70%), radial-gradient(500px 240px at 100% 100%, rgba(var(--violet-rgb), 0.28), transparent 70%), var(--surface);
}
.cta h2 { font-size: 26px; }
.cta p { margin: 6px 0 0; color: var(--muted); }

.message { text-align: center; padding: 56px 0 96px; }
.message .btn { margin-top: 28px; }
.message a:not(.btn) { color: color-mix(in srgb, var(--red) 60%, #fff); }
.empty { text-align: center; color: var(--muted); padding: 36px 12px; }
.empty .btn { margin-top: 8px; }
.empty--wide { grid-column: 1 / -1; }
.loading { padding: 140px 0; text-align: center; color: var(--muted); font-family: var(--mono); }

/* ── Panier ──────────────────────────────────────────────────────────────── */

.drawer { position: fixed; inset: 0; z-index: 60; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); opacity: 0; transition: opacity 0.25s ease; }
.drawer__panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(430px, 100%);
    display: flex; flex-direction: column;
    background: color-mix(in srgb, var(--bg) 70%, var(--surface));
    border-left: 1px solid var(--line-strong);
    transform: translateX(100%); transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 18px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 16px 20px 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.drawer__total { display: flex; justify-content: space-between; align-items: baseline; }
.drawer__total strong { font-size: 22px; }
.drawer__hint { margin: 0; font-size: 12.5px; color: var(--faint); text-align: center; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; min-height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font: 14px var(--font); text-transform: uppercase; }
.coupon input:focus { outline: none; border-color: var(--red); }
.upsell { display: grid; grid-template-columns: 72px 1fr; gap: 10px 12px; align-items: center; padding: 12px; border-radius: 10px; border: 1px solid rgba(var(--red-rgb), 0.4); background: rgba(var(--red-rgb), 0.07); }
.upsell img { width: 72px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.upsell div { display: flex; flex-direction: column; font-size: 14px; }
.upsell span { color: var(--muted); font-size: 13px; }
.upsell .btn { grid-column: 1 / -1; }

.line { display: grid; grid-template-columns: 72px 1fr auto auto; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line__cover { width: 72px; aspect-ratio: 16 / 10; border-radius: 8px; }
.line__cover .cover__glyph { font-size: 14px; }
.line__info { min-width: 0; }
.line__info a { display: block; font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.line__info span { font-size: 13px; color: var(--faint); }
.line__price { font-weight: 600; }

/* ── Visionneuse ─────────────────────────────────────────────────────────── */

.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(3, 2, 6, 0.94); padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8); }
.lightbox__close { position: absolute; top: 18px; right: 18px; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 28px; cursor: pointer; }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--muted); font: 13px var(--mono); }

/* ── Pied de page ────────────────────────────────────────────────────────── */

.footer { border-top: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 70%, #000); margin-top: 40px; }
.footer__in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 28px 48px; padding: 44px 0 30px; }
.footer__brand { display: flex; gap: 12px; align-items: flex-start; }
.footer__brand img { width: 30px; height: 30px; object-fit: contain; }
.footer__brand p { margin: 4px 0 0; color: var(--faint); font-size: 14px; max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer__cols h4 { margin: 0 0 12px; font: 600 12px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.footer__cols a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 4px 0; }
.footer__cols a:hover { color: var(--text); }
.footer__note { grid-column: 1 / -1; margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12px; }

.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 95; max-width: calc(100% - 32px);
    padding: 12px 18px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line-strong);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); font-size: 14px;
    transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity 0.2s ease, transform 0.2s ease;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ── Nouveautés : Discord, bannière base, galerie, confiance ────────────── */

.ico { width: 18px; height: 18px; flex: none; }
.small { font-size: 13px; }
.btn--discord { background: #5865f2; color: #fff; box-shadow: 0 10px 28px -12px rgba(88, 101, 242, 0.8); }
.btn--discord:hover { filter: brightness(1.1); }
.price--quote { font-size: 15px; font-weight: 700; color: #aab2ff; }
.price--quote.price--big { font-size: 26px; }

/* Deuxième image au survol : un simple fondu, rien ne tourne en continu. */
.cover__img--alt { position: absolute; inset: 0; opacity: 0; transition: opacity 0.35s ease; }
.card:hover .cover__img--alt { opacity: 1; }
.card--offsite { border-color: rgba(88, 101, 242, 0.35); }
.card--offsite:hover { border-color: rgba(88, 101, 242, 0.7); }

.trust { border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.trust__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 16px 0; color: var(--faint); font-size: 13.5px; }
.trust b { color: var(--text); font-weight: 600; }

.basebanner {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; overflow: hidden;
    border-radius: calc(var(--radius) + 6px); border: 1px solid rgba(88, 101, 242, 0.35);
    background: radial-gradient(600px 300px at 100% 0%, rgba(88, 101, 242, 0.18), transparent 70%), radial-gradient(500px 300px at 100% 100%, rgba(var(--violet-rgb), 0.2), transparent 70%), var(--surface);
}
.basebanner__media { display: block; min-height: 100%; }
.basebanner__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.basebanner:hover .basebanner__media img { transform: scale(1.03); }
.basebanner__text { padding: 36px 38px; }
.basebanner__text h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; }
.basebanner__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 12px; }
.basebanner__cta .btn--block { width: auto; }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.checks li { position: relative; padding-left: 24px; font-size: 14.5px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 14px; }
.shot { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.shot--big { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.shot span { position: absolute; left: 12px; bottom: 10px; padding: 5px 9px; border-radius: 6px; background: rgba(0, 0, 0, 0.65); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease; }
.shot:hover img { transform: scale(1.04); }
.shot:hover span { opacity: 1; transform: none; }
.shot:hover { border-color: rgba(var(--red-rgb), 0.45); }

.chip--toggle { border-style: dashed; }
.chip--toggle.is-on { border-style: solid; }
.linkbtn { margin-top: 14px; padding: 0; border: 0; background: none; color: var(--muted); font: 500 13.5px var(--font); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.linkbtn:hover { color: var(--text); }
.buybox__note { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.footer__social a { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); text-decoration: none; font-size: 12.5px; }
.footer__social a:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.3); }

.mbar { display: none; }

/* ============================================================================
   ADMINISTRATION
   ========================================================================== */

.is-admin-view .footer, .is-admin-view .demo-banner, .is-admin-view .announce { display: none; }
.adm { padding-bottom: 80px; }
.adm-bar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.adm-bar__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding: 12px 0; }
.adm-bar__title { display: flex; align-items: center; gap: 10px; }
.adm-bar__title small { color: var(--faint); font-size: 12.5px; }
.adm-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.adm-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.adm-tab { padding: 8px 16px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); font: 600 14px var(--font); cursor: pointer; }
.adm-tab:hover { color: var(--text); }
.adm-tab.is-on { background: var(--grad); color: #fff; }
.adm-bar__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.adm-state { font-size: 13px; color: var(--ok); }
.adm-state.is-dirty { color: #ffc04d; }
.adm-body { display: grid; gap: 18px; padding-top: 26px; }

.adm-card { padding: 22px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.adm-card > header { margin-bottom: 18px; }
.adm-card h3 { font-size: 17px; }
.adm-card header p { margin: 4px 0 0; color: var(--faint); font-size: 13.5px; }
.adm-card__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.adm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.adm-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.adm-field--wide { grid-column: 1 / -1; }
.adm-field--end { justify-content: flex-end; }
.adm-field > span { font-size: 13px; font-weight: 600; color: var(--muted); }
.adm-field input[type="text"], .adm-field input[type="number"], .adm-field input[type="password"], .adm-field input[type="date"], .adm-field select, .adm-field textarea {
    width: 100%; min-height: 40px; padding: 9px 12px; border-radius: 8px;
    border: 1px solid var(--line-strong); background: color-mix(in srgb, var(--bg) 80%, #000); color: var(--text); font: 14.5px var(--font);
}
.adm-field textarea { resize: vertical; line-height: 1.55; }
.adm-field .mono, .adm-field textarea.mono { font-family: var(--mono); font-size: 13px; }
.adm-field input:focus, .adm-field select:focus, .adm-field textarea:focus { outline: none; border-color: var(--red); }
.adm-field input[type="range"] { accent-color: var(--red); }
.adm-hint { color: var(--faint); font-size: 12.5px; }
.adm-color > div { display: flex; gap: 8px; }
.adm-color input[type="color"] { width: 48px; height: 40px; padding: 2px; border-radius: 8px; border: 1px solid var(--line-strong); background: none; cursor: pointer; }
.adm-color input[type="text"] { flex: 1; }
.adm-presets { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-preset { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 13px var(--font); cursor: pointer; }
.adm-preset i { width: 18px; height: 18px; border-radius: 50%; }
.adm-preset:hover { border-color: rgba(255, 255, 255, 0.35); }
.adm-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.adm-check { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; cursor: pointer; }
.adm-check input { width: 17px; height: 17px; accent-color: var(--red); }
.adm-row { display: flex; flex-wrap: wrap; gap: 8px; }

.adm-image__row { display: flex; gap: 14px; align-items: flex-start; }
.adm-image__preview { flex: none; width: 140px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #0a0910; display: grid; place-items: center; }
.adm-image__preview img { width: 100%; height: 100%; object-fit: contain; }
.adm-image__preview em { color: var(--faint); font-size: 12px; font-style: normal; }
.adm-image__ctrl { flex: 1; display: grid; gap: 8px; min-width: 0; }

.adm-gallery { display: flex; flex-wrap: wrap; gap: 12px; }
.adm-gallery__item { position: relative; width: 180px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-strong); }
.adm-gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.adm-gallery__item b { position: absolute; top: 6px; left: 6px; padding: 3px 7px; border-radius: 5px; background: var(--red); font-size: 11px; }
.adm-gallery__ctrl { position: absolute; right: 6px; bottom: 6px; display: flex; gap: 4px; }
.adm-gallery__ctrl button { width: 26px; height: 26px; border-radius: 6px; border: 0; background: rgba(0, 0, 0, 0.75); color: #fff; cursor: pointer; }
.adm-gallery__ctrl button:hover { background: var(--red); }
.adm-gallery__add { display: flex; flex-direction: column; justify-content: center; gap: 8px; width: 180px; aspect-ratio: 16 / 9; padding: 12px; border-radius: 8px; border: 1px dashed var(--line-strong); }

.adm-offers { display: grid; gap: 10px; }
.adm-offer { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, var(--surface)); }
.adm-offer.is-hidden { opacity: 0.55; }
.adm-offer__img { width: 110px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #0a0910; }
.adm-offer__img img { width: 100%; height: 100%; object-fit: cover; }
.adm-offer__info { display: flex; flex-direction: column; min-width: 0; }
.adm-offer__info b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-offer__info span { color: var(--faint); font-size: 13px; }
.adm-offer__price { font-weight: 700; display: flex; flex-direction: column; align-items: flex-end; }
.adm-offer__price s { color: var(--faint); font-weight: 400; font-size: 12.5px; }
.adm-offer__actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.adm-switch { position: relative; width: 42px; height: 24px; cursor: pointer; }
.adm-switch input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.adm-switch i { position: absolute; inset: 0; border-radius: 12px; background: #2a2733; transition: background 0.2s ease; }
.adm-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform 0.2s ease; }
.adm-switch input:checked + i { background: var(--grad); }
.adm-switch input:checked + i::after { transform: translateX(18px); }
.adm-switch input:focus-visible + i { outline: 2px solid var(--red); outline-offset: 2px; }
.adm-empty { color: var(--muted); }
.adm-tag { font-style: normal; font-weight: 600; padding: 1px 6px; border-radius: 5px; font-size: 12px; }
.adm-tag--ok { color: #5fe89a; background: rgba(79, 224, 138, 0.1); }
.adm-tag--warn { color: #ffc04d; background: rgba(255, 176, 32, 0.1); }
.adm-tag--discord { color: #aab2ff; background: rgba(88, 101, 242, 0.15); }
.adm-tebex { display: grid; gap: 8px; padding: 18px 20px 22px; }
.adm-tebex button { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-align: left; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--line); background: #0a0910; color: var(--text); cursor: pointer; font: 14px var(--font); }
.adm-tebex button:hover { border-color: var(--red); }
.adm-tebex button span { grid-column: 1; color: var(--faint); font-size: 12.5px; }
.adm-tebex button em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-weight: 700; }
.adm-tebex .adm-tebex__none { border-style: dashed; }
.adm-back { display: flex; flex-wrap: wrap; gap: 10px; }

.adm-login { max-width: 400px; margin: 40px auto 80px; padding: 34px; display: grid; gap: 16px; border-radius: calc(var(--radius) + 4px); border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.adm-login img { width: 48px; height: 48px; object-fit: contain; }
.adm-login p { margin: 0; }
.adm-error { color: #ff8a9c; font-size: 14px; }

.adm-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, 0.7); }
.adm-modal__panel { width: min(900px, 100%); max-height: 86vh; overflow: auto; border-radius: var(--radius); border: 1px solid var(--line-strong); background: var(--surface); }
.adm-modal__panel header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.adm-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: 18px 20px 22px; }
.adm-library button { padding: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #0a0910; color: var(--muted); cursor: pointer; text-align: left; }
.adm-library button:hover { border-color: var(--red); }
.adm-library img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.adm-library span { display: block; padding: 6px 9px; font: 12px var(--mono); }

/* ── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 1000px) {
    .hero { padding-top: 60px; }
    .hero__in, .product { grid-template-columns: 1fr; gap: 36px; }
    .showcase { height: 340px; }
    .buybox { position: static; }
    .perks__in { grid-template-columns: 1fr 1fr; }
    .perk { border-left: 0; padding-left: 0; }
    .steps { grid-template-columns: 1fr 1fr; }
    .footer__in { grid-template-columns: 1fr; }
    .adm-offer { grid-template-columns: 90px minmax(0, 1fr) auto auto; }
    .adm-offer__img { width: 90px; }
    .adm-offer__actions { grid-column: 1 / -1; justify-content: flex-start; }
    .basebanner { grid-template-columns: 1fr; }
    .basebanner__media { aspect-ratio: 16 / 9; }
    .shots { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .mbar {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 35;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--line-strong);
    }
    .mbar__info { display: flex; flex-direction: column; min-width: 0; }
    .mbar__info b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .mbar .price { font-size: 16px; }
    .checks { grid-template-columns: 1fr; }
    .basebanner__text { padding: 24px; }
    .shots { grid-template-columns: 1fr; }
    .shot--big { grid-column: auto; grid-row: auto; }
    .trust__in { justify-content: flex-start; }
}

@media (max-width: 760px) {
    .burger { display: flex; }
    .nav {
        position: fixed; top: 66px; left: 0; right: 0; z-index: 39;
        flex-direction: column; gap: 0; padding: 10px 16px 18px;
        background: color-mix(in srgb, var(--bg) 96%, transparent); border-bottom: 1px solid var(--line);
        transform: translateY(-120%); transition: transform 0.25s ease; visibility: hidden;
    }
    .nav a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .menu-open .nav { transform: none; visibility: visible; }
    .brand span { display: none; }
    .topbar__in { gap: 12px; }
    .topbar__actions { margin-left: auto; }
    .admin-pill { display: none; }
    .perks__in, .steps { grid-template-columns: 1fr; }
    .perk { padding: 18px 0; border-top: 1px solid var(--line); }
    .perk:first-child { border-top: 0; }
    .section { padding-top: 56px; }
    .cta { padding: 26px; }
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .hero__stats { gap: 22px; }
    .showcase { height: 240px; }
    .search, .search input, .select, .select select { width: 100%; }
    .filters__right { width: 100%; }
    .bundle__item { grid-template-columns: 90px 1fr; }
    .bundle__item img { width: 90px; }
    .bundle__item em { display: none; }
    .grid { grid-template-columns: 1fr; }
    .adm-grid { grid-template-columns: 1fr; }
    .adm-bar { position: static; }
    .adm-image__row { flex-direction: column; }
    .lightbox { padding: 60px 12px; }
}

/* ============================================================================
   DIRECTION ARTISTIQUE V2 — « studio premium »
   Tout ce qui suit habille les mêmes composants : aucune règle d'origine
   n'est supprimée, elles sont affinées ici.
   ========================================================================== */

:root {
    --font-display: "Space Grotesk", var(--font);
    --glass: rgba(255, 255, 255, 0.035);
    --glass-strong: rgba(255, 255, 255, 0.06);
    --ring: linear-gradient(135deg, rgba(var(--red-rgb), 0.55), rgba(255, 255, 255, 0.08) 40%, rgba(var(--violet-rgb), 0.55));
}

body { background: var(--bg); }
main, .footer, .topbar { position: relative; z-index: 1; }

/* Fond : trois halos flous qui dérivent très lentement, + grain. */
/* Posés en haut de la page, ils défilent avec elle au lieu de la suivre. */
.aurora { position: absolute; top: 0; left: 0; right: 0; height: 1600px; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 55vmax; height: 55vmax; border-radius: 50%; filter: blur(100px); opacity: 0.1; will-change: transform; }
.aurora i:nth-child(1) { background: var(--red); top: -32vmax; left: -18vmax; opacity: 0.12; animation: drift1 38s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: var(--violet); top: -26vmax; right: -28vmax; opacity: 0.14; animation: drift2 44s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: color-mix(in srgb, var(--violet) 60%, #000); bottom: -45vmax; left: 20vw; opacity: 0.08; animation: drift1 52s ease-in-out infinite alternate-reverse; }
@keyframes drift1 { to { transform: translate(12vmax, 8vmax) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-10vmax, 12vmax) scale(0.95); } }
.grain {
    position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Titres en Space Grotesk, plus serrés. */
h1, h2, .h2, .display, .brand { font-family: var(--font-display); }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem) !important; line-height: 1.02; letter-spacing: -0.035em; }
.section__head h2, .h2 { letter-spacing: -0.03em; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--grad); }
.grad--anim { background-size: 200% 100%; animation: gradShift 8s ease-in-out infinite alternate; }
@keyframes gradShift { to { background-position: 100% 0; } }

/* Boutons */
.btn i { font-style: normal; transition: transform 0.2s ease; }
.btn:hover i { transform: translateX(3px); }
.btn .ico { width: 18px; height: 18px; }
.btn--glass { background: var(--glass); border: 1px solid var(--line-strong); color: var(--text); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--glass:hover { background: var(--glass-strong); border-color: rgba(255, 255, 255, 0.28); }
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after {
    content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg); transition: left 0.6s ease;
}
.btn--shine:hover::after { left: 120%; }

/* Barre du haut : pilule flottante en verre. */
/* Reste à sa place en haut de la page (ne suit pas le défilement). */
.topbar { position: relative; top: 0; z-index: 40; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; margin-top: 12px; }
.topbar__in {
    height: 60px; padding: 0 10px 0 16px; border-radius: 16px;
    background: color-mix(in srgb, var(--bg) 72%, transparent); border: 1px solid var(--line-strong);
    backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
}
.nav a { font-size: 14.5px; }
.nav a.is-on { background: rgba(var(--red-rgb), 0.12); color: #fff; }
.demo-banner, .announce { position: relative; z-index: 1; margin-top: 10px; }

/* ── Accueil ─────────────────────────────────────────────────────────────── */

.hero { padding: 76px 0 96px; }
.hero__bg { opacity: 0.22; filter: saturate(1.2); }
.hero__grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%);
}
.hero__in { grid-template-columns: 1fr 1.05fr; gap: 56px; }
.announce-pill {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 6px 14px 6px 6px;
    border-radius: 999px; border: 1px solid rgba(88, 101, 242, 0.45); background: rgba(88, 101, 242, 0.12);
    color: #d6dafe; font-size: 13.5px; font-weight: 500; text-decoration: none; transition: background 0.2s ease;
}
.announce-pill span { padding: 3px 9px; border-radius: 999px; background: #5865f2; color: #fff; font-weight: 700; font-size: 12px; }
.announce-pill i { font-style: normal; transition: transform 0.2s ease; }
.announce-pill:hover { background: rgba(88, 101, 242, 0.2); }
.announce-pill:hover i { transform: translateX(3px); }
.hero .lead { font-size: 1.12rem; max-width: 34em; }
.hero__stats { gap: 0; margin-top: 40px; border: 1px solid var(--line); border-radius: 14px; background: var(--glass); width: fit-content; }
.hero__stats li { padding: 14px 24px; border-left: 1px solid var(--line); }
.hero__stats li:first-child { border-left: 0; }
.hero__stats b { font-family: var(--font-display); font-size: 26px; }

/* Écran en perspective + vignettes flottantes. */
.stage3d { position: relative; perspective: 1400px; height: 470px; }
.stage3d__glow { position: absolute; inset: 10% 5% 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--red-rgb), 0.45), rgba(var(--violet-rgb), 0.35), transparent); filter: blur(40px); }
.stage3d__screen {
    position: absolute; top: 40px; left: 4%; width: 92%; aspect-ratio: 16 / 9;
    border-radius: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.16);
    transform: rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(var(--red-rgb), 0.1);
    animation: floatY 9s ease-in-out infinite;
}
.stage3d__screen img { width: 100%; height: 100%; object-fit: cover; }
.stage3d__glare { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.14), transparent 35%); pointer-events: none; }
.stage3d__float { position: absolute; width: 44%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9); }
.stage3d__float--a { left: -4%; bottom: 10px; transform: rotate(-4deg); animation: floatY 11s ease-in-out infinite reverse; }
.stage3d__float--b { right: -2%; top: -8px; width: 38%; transform: rotate(3deg); animation: floatY 13s ease-in-out infinite; }
.stage3d__chip {
    position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px;
    background: color-mix(in srgb, var(--bg) 70%, transparent); border: 1px solid var(--line-strong);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; box-shadow: 0 16px 40px -16px #000;
}
.stage3d__chip b { font-family: var(--mono); color: var(--ok); }
.stage3d__chip span { color: var(--muted); }
.stage3d__chip--a { right: 6%; bottom: 36px; flex-direction: column; align-items: flex-start; gap: 0; }
.stage3d__chip--b { left: 8%; top: 8px; }
.stage3d__chip--b i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
@keyframes floatY { 50% { translate: 0 -10px; } }

/* Bandeau défilant */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); padding: 16px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--red); font-size: 12px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Grille d'atouts (bento) */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bento__tile {
    position: relative; padding: 24px; border-radius: 18px; overflow: hidden;
    background: linear-gradient(180deg, var(--glass-strong), var(--glass)); border: 1px solid var(--line);
    transition: transform 0.25s ease, border-color 0.25s ease; transition-delay: var(--d, 0ms);
    transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
}
.bento__tile::before {
    content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(var(--red-rgb), 0.14), transparent 60%);
}
.bento__tile:hover { border-color: rgba(var(--red-rgb), 0.35); }
.bento__tile:hover::before { opacity: 1; }
.bento__tile h3 { font-size: 17px; margin-top: 14px; }
.bento__tile p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.bento__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--red-rgb), 0.12); border: 1px solid rgba(var(--red-rgb), 0.3); }
.bento__icon svg { width: 22px; height: 22px; fill: color-mix(in srgb, var(--red) 70%, #fff); }
.bento__tile--media { grid-column: span 2; grid-row: span 2; padding: 0; display: flex; flex-direction: column; }
.bento__tile--media img { flex: 1; width: 100%; min-height: 0; object-fit: cover; mask-image: linear-gradient(180deg, #000 55%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); }
.bento__tile--media div { padding: 0 26px 26px; margin-top: -40px; position: relative; }
.bento__tile--media h3 { font-size: 22px; }

/* Cartes produit : bord dégradé, inclinaison, reflet. */
.card {
    position: relative; border-radius: 18px; background: linear-gradient(180deg, var(--glass-strong), rgba(255, 255, 255, 0.015));
    transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0));
    transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease, opacity 0.5s ease;
}
.card.is-tilt { transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.card::after {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.3s ease;
    background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.08), transparent 45%);
}
.card:hover { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-4px); box-shadow: 0 30px 60px -30px rgba(var(--red-rgb), 0.5); }
.card:hover::after { opacity: 1; }
.card__cover { border-radius: 18px 18px 0 0; }
.card h3 { font-family: var(--font-display); font-size: 19px; }
.price { font-family: var(--font-display); }

/* Catégories et galerie */
.cat { border-radius: 16px; }
.cat b { font-family: var(--font-display); }
.shot { border-radius: 16px; }

/* Bannière de la base */
.basebanner { border-radius: 22px; box-shadow: 0 40px 90px -50px rgba(88, 101, 242, 0.7); }
.basebanner__text h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); letter-spacing: -0.03em; }

/* Frise d'achat */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 27px; height: 2px; background: linear-gradient(90deg, var(--red), var(--violet)); opacity: 0.5; }
.timeline li { position: relative; padding-top: 72px; transition-delay: var(--d, 0ms); }
.timeline b {
    position: absolute; top: 0; left: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px;
    font: 700 20px var(--font-display); color: #fff; background: var(--bg); border: 1px solid rgba(var(--red-rgb), 0.5);
    box-shadow: 0 0 0 6px var(--bg), 0 10px 30px -10px rgba(var(--red-rgb), 0.8);
}
.timeline h3 { font-size: 18px; }
.timeline p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

/* FAQ en deux colonnes */
.faqwrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
.faqwrap__side { position: sticky; top: 100px; }
.faqwrap__side .btn { margin-top: 20px; }
.faq { border: 1px solid var(--line); border-radius: 14px; background: var(--glass); margin-bottom: 10px; padding: 0 20px; transition: border-color 0.2s ease; }
.faq[open] { border-color: rgba(var(--red-rgb), 0.35); background: var(--glass-strong); }
.faq summary { padding: 18px 36px 18px 0; }

/* Appel final */
.cta { position: relative; overflow: hidden; flex-direction: column; align-items: flex-start; padding: 56px; border-radius: 26px; }
.cta h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); max-width: 18em; letter-spacing: -0.03em; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta__mark { position: absolute; right: -60px; top: 50%; width: 360px; transform: translateY(-50%) rotate(-12deg); opacity: 0.08; pointer-events: none; }

/* Fiche produit */
.buybox { border-radius: 20px; background: linear-gradient(180deg, var(--glass-strong), var(--glass)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.product__main { border-radius: 18px; }
.tabs { border-bottom-color: var(--line-strong); }
.feature, .changelog > li, .reqs > div, .bundle__item { border-radius: 14px; background: var(--glass); }

/* Pied de page : grand logotype en contour. */
.footer { background: transparent; border-top-color: var(--line); }
.footer__word {
    grid-column: 1 / -1; font: 800 clamp(3.5rem, 13vw, 11rem)/0.9 var(--font-display); letter-spacing: -0.05em; text-transform: uppercase;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.1); user-select: none; white-space: nowrap; overflow: hidden;
    background: linear-gradient(180deg, rgba(var(--red-rgb), 0.18), transparent 80%); -webkit-background-clip: text; background-clip: text;
}

/* Apparition : légèrement plus ample. */
.reveal { transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
/* Une fois apparues, cartes et tuiles gardent leur inclinaison au survol. */
.card.reveal.is-in, .bento__tile.reveal.is-in { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)); }
.card.reveal.is-in:hover { transform: perspective(900px) rotateX(var(--rx, 0)) rotateY(var(--ry, 0)) translateY(-4px); }
.bento__tile.is-in:hover { transition-delay: 0ms; }

@media (max-width: 1000px) {
    .hero__in { grid-template-columns: 1fr; gap: 40px; }
    .stage3d { height: 380px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .timeline::before { display: none; }
    .faqwrap { grid-template-columns: 1fr; gap: 24px; }
    .faqwrap__side { position: static; }
}

@media (max-width: 760px) {
    .topbar { top: 8px; margin-top: 8px; }
    .topbar__in { width: calc(100% - 16px); }
    .nav { position: absolute; top: 70px; left: 8px; right: 8px; border-radius: 14px; border: 1px solid var(--line-strong); }
    .hero { padding-top: 40px; }
    .stage3d { height: 260px; }
    .stage3d__chip { display: none; }
    .hero__stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); }
    .hero__stats li { padding: 10px 12px; }
    .hero__stats b { font-size: 20px; }
    .hero__stats span { font-size: 12px; }
    .announce-pill { font-size: 12.5px; }
    .hero__cta .btn { width: 100%; }
    .bento { grid-template-columns: 1fr; }
    .bento__tile--media { grid-column: auto; grid-row: auto; }
    .bento__tile--media img { aspect-ratio: 16 / 9; }
    .timeline { grid-template-columns: 1fr; }
    .cta { padding: 30px 24px; }
    .cta__mark { width: 220px; right: -60px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}
