:root {
  --bg: #000;
  --bg-2: #070707;
  --card: #0c0c0c;
  --card-2: #121212;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f5f5f5;
  --muted: #9a9a9a;
  --dim: #5f5f5f;
  --ok: #4ade80;
  --bad: #f87171;
  --radius: 18px;
  --font-h: "Poppins", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { width: 18px; height: 18px; flex-shrink: 0; }
[hidden] { display: none !important; }
kbd {
  display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 6px; border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
  font: 600 11px var(--font-b); color: var(--muted);
}
.muted { color: var(--muted); }
.tiny { font-size: 12px; text-align: center; margin-top: 10px; }
.center { text-align: center; margin-top: 32px; }

/* Fond */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: calc(min(1180px, 100vw) / 5) 100%;
  background-position: center;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 70%);
}
.bg-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: min(1100px, 100vw); height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.10), transparent 65%);
}

/* NAV */
.nav-wrap { position: sticky; top: 0; z-index: 50; padding: 8px 16px 0; }
.nav {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 10px 8px 18px;
  background: rgba(8, 8, 8, .72);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 600; font-size: 17px; white-space: nowrap; }
.logo {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(145deg, #2a2a2a, #050505);
  border: 1px solid var(--line-2); font-weight: 700; font-size: 15px;
  box-shadow: 0 0 18px rgba(255,255,255,.12), inset 0 1px 0 rgba(255,255,255,.2);
}
.nav-links { display: flex; list-style: none; gap: 4px; }
.nav-links a { display: block; padding: 7px 14px; border-radius: 999px; color: var(--muted); font-size: 14px; font-weight: 500; transition: .2s; border: 1px solid transparent; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); background: rgba(255,255,255,.07); border-color: var(--line); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.sep { width: 1px; height: 22px; background: var(--line-2); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  color: var(--muted); transition: .2s; position: relative;
}
.icon-btn:hover { color: var(--text); background: rgba(255,255,255,.06); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: 99px; background: #fff; color: #000; font-size: 10px; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform .2s;
}
.cart-count.show { transform: scale(1); }
.burger { display: none; }
.mobile-menu { display: none; }

/* Boutons */
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 48px; padding: 0 24px; border-radius: 12px;
  font-family: var(--font-h); font-weight: 600; font-size: 15px; transition: .2s; white-space: nowrap;
}
.btn-primary {
  background: #fff; color: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 8px 30px rgba(255,255,255,.18);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px #fff, 0 10px 40px rgba(255,255,255,.28); }
.btn-ghost { background: rgba(255,255,255,.03); border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-primary.sm, .btn-ghost.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn-primary.full { width: 100%; }
.btn-primary:disabled { opacity: .35; cursor: not-allowed; transform: none; box-shadow: none; }

/* HERO */
.hero { max-width: 1180px; margin: 0 auto; padding: 96px 16px 40px; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 500; color: #ddd;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #fff; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.hero h1 {
  font-family: var(--font-h); font-weight: 600; letter-spacing: -.035em;
  font-size: clamp(38px, 6.6vw, 68px); line-height: 1.06; margin: 26px 0 22px;
}
.shine {
  background: linear-gradient(100deg, #6b6b6b 0%, #fff 35%, #bdbdbd 55%, #fff 75%, #6b6b6b 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 6s linear infinite;
}
@keyframes shine { to { background-position: -200% 0; } }
.lead { max-width: 620px; margin: 0 auto; color: #b5b5b5; font-size: 17px; }
.hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.ticks { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; list-style: none; margin-top: 22px; font-size: 13px; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 6px; }
.ticks svg { width: 13px; height: 13px; color: #fff; }

/* Bandeau défilant */
.marquee {
  margin: 90px auto 0; overflow: hidden; max-width: 1180px;
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 56px; width: max-content; animation: scroll 30s linear infinite; }
.marquee-track.slow { animation-duration: 55s; gap: 16px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.mq-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 600; font-size: 22px; color: #4d4d4d; white-space: nowrap; }
.mq-item svg { width: 26px; height: 26px; }

.trust {
  display: inline-flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
  margin-top: 70px; font-size: 13px;
}
.trust-label { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.trust-label svg { color: var(--ok); }
.trust-icons { display: flex; gap: 8px; }
.trust-icons span { width: 46px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line); }
.trust-text { color: var(--muted); }
.vsep { width: 1px; height: 22px; background: var(--line-2); }

/* Sections */
.section { max-width: 1180px; margin: 0 auto; padding: 90px 16px 0; }
.section.narrow { max-width: 820px; }
.section-head { text-align: center; margin-bottom: 44px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.section-head h2, .cta-discord h2 {
  font-family: var(--font-h); font-weight: 600; font-size: clamp(28px, 4vw, 42px); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 10px;
}
.section-head p { color: var(--muted); }

/* ================= Page Produits ================= */
.page { max-width: 1180px; margin: 0 auto; padding: 26px 16px 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 14px; height: 14px; color: var(--dim); }
.crumb-on { padding: 2px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.07); border: 1px solid var(--line-2); }
.page-head { text-align: center; padding: 58px 0 44px; }
.page-head h1 { font-family: var(--font-h); font-weight: 600; font-size: clamp(36px, 5.4vw, 56px); letter-spacing: -.035em; line-height: 1.1; }
.page-head p { color: var(--muted); margin-top: 10px; font-size: 16px; }

.toolbar {
  display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 16px;
  background: rgba(12,12,12,.8); border: 1px solid var(--line-2);
}
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 11px;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02); font-weight: 600; font-size: 14px; white-space: nowrap; transition: .2s;
}
.tool-btn svg { width: 16px; height: 16px; color: var(--muted); }
.tool-btn .chev { width: 14px; height: 14px; }
.tool-btn:hover { background: rgba(255,255,255,.06); }
.tool-btn.on { background: #fff; color: #000; border-color: #fff; }
.tool-btn.on svg { color: #000; }
.tool-search {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 14px;
  border-radius: 11px; border: 1px solid var(--line); color: var(--muted); cursor: text;
}
.tool-search:focus-within { border-color: var(--line-2); background: rgba(255,255,255,.02); }
.tool-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; }
.tool-search input::-webkit-search-cancel-button { filter: invert(1) brightness(.6); }
.tool-search .go { width: 16px; height: 16px; }

.dd { position: relative; }
.dd-menu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 210px; padding: 6px;
  border-radius: 14px; background: #0b0b0b; border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0,0,0,.7); display: flex; flex-direction: column; animation: pop .15s;
}
.dd-title { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 8px 10px 4px; }
.dd-menu button { text-align: left; padding: 8px 10px; border-radius: 8px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.dd-menu button:hover { background: rgba(255,255,255,.06); color: var(--text); }
.dd-menu button.on { color: var(--text); }
.dd-menu button.on::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; }

.list-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 16px; }
.count { font-size: 14px; color: var(--muted); margin-left: auto; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--muted); border: 1px solid var(--line); background: var(--card); transition: .2s; }
.chip:hover { color: var(--text); }
.chip.on { background: #fff; color: #000; border-color: #fff; }

.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 60px 0; text-align: center; }
.es-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--card); border: 1px solid var(--line-2); margin-bottom: 6px; }
.empty-state .btn-ghost { margin-top: 10px; }

/* ================= Cartes produits ================= */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  background: linear-gradient(180deg, #0e0e0e, #080808); border: 1px solid var(--line); padding: 10px; transition: .25s;
}
.product:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: 0 18px 50px rgba(0,0,0,.6); }

.p-art {
  --c: #fff;
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 60% 55% at 50% 105%, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%),
    radial-gradient(ellipse at 50% 40%, #1c1c1c, #070707 75%);
}
.p-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.beam {
  position: absolute; top: -30%; width: 46%; height: 140%; z-index: -1; filter: blur(14px); opacity: .85;
  background: linear-gradient(180deg, color-mix(in srgb, var(--c) 95%, #fff 5%), color-mix(in srgb, var(--c) 30%, transparent) 55%, transparent 85%);
  clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%);
}
.b1 { left: -8%; transform: rotate(-28deg); }
.b2 { right: -8%; transform: rotate(28deg); }
.silk {
  position: absolute; inset: 45% -10% -10%; z-index: -1; opacity: .55;
  background:
    repeating-radial-gradient(ellipse 120% 60% at 30% 120%, rgba(255,255,255,.08) 0 2px, transparent 3px 16px),
    linear-gradient(180deg, transparent, rgba(0,0,0,.6));
  filter: blur(1.2px);
}
.p-card {
  /* image 16:9 → 78 % de haut × 33 % de large ≈ carte 3:4 */
  position: absolute; left: 50%; top: 54%; height: 78%; width: 33%; overflow: hidden;
  container-type: size;
  transform: translate(-50%, -50%) rotate(-13deg);
  /* pas d'unités cq sur la carte elle-même (elles viseraient l'écran) : seulement sur ses enfants */
  display: flex; flex-direction: column; align-items: center; padding: 0 3%;
  border-radius: 9px; border: 1.5px solid color-mix(in srgb, var(--c) 80%, #fff 20%);
  background: linear-gradient(160deg, #262626 0%, #0b0b0b 55%, #151515 100%);
  box-shadow: 0 0 22px color-mix(in srgb, var(--c) 55%, transparent), 0 18px 24px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.25);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
  font-family: var(--font-h); text-transform: uppercase; text-align: center; line-height: 1.05;
}
.product:hover .p-card { transform: translate(-50%, -54%) rotate(-7deg) scale(1.05); }
.p-card > * + * { margin-top: 3cqh; }
.pc-logo { margin-top: 10cqh; width: 18cqh; height: 18cqh; flex-shrink: 0; border-radius: 28%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.5); font-size: 9cqh; font-weight: 700; line-height: 1; }
.pc-brand { font-size: 8cqh; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.pc-name {
  font-size: 6.5cqh; font-weight: 600; color: color-mix(in srgb, var(--c) 70%, #fff 30%);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc-icon {
  margin-top: auto; margin-bottom: 9cqh; width: 30cqh; height: 30cqh; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--c); color: #fff; box-shadow: 0 0 14px var(--c);
}
.pc-icon svg { width: 58%; height: 58%; }

.badge { position: absolute; top: 18px; left: 18px; z-index: 2; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 600; background: #fff; color: #000; }
.p-body { padding: 14px 8px 6px; display: flex; flex-direction: column; flex: 1; }
.p-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.p-name { font-family: var(--font-h); font-weight: 600; font-size: 16px; line-height: 1.3; }
.p-price { text-align: right; flex-shrink: 0; }
.p-price small { display: block; font-size: 11px; color: var(--muted); }
.p-price b { font-family: var(--font-h); font-weight: 600; font-size: 17px; }
.p-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 12px;
  padding: 3px 9px; border-radius: 7px; font-size: 11.5px; font-weight: 600; color: #e5e5e5;
  border: 1px solid var(--line-2); background: rgba(255,255,255,.04);
}
.p-tag svg { width: 11px; height: 11px; }
.p-info { font-size: 14px; margin: 12px 0 14px; }
.p-btn { height: 42px; font-size: 14.5px; margin-top: auto; width: 100%; }
.p-btn svg { width: 16px; height: 16px; }
.product.is-out .p-art { filter: grayscale(.85) brightness(.7); }
.stock-ok { color: var(--ok); }
.stock-out { color: var(--bad); }

/* Bento */
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; overflow: hidden; }
.card h3 { font-family: var(--font-h); font-weight: 600; font-size: 19px; margin: 4px 0 6px; }
.card p { color: var(--muted); font-size: 14px; }
.kicker { font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--dim); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bento .card { min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; }
.bento .card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.07), transparent 55%); pointer-events: none; }
.b-wide { grid-column: span 2; }
.b-tall { grid-row: span 2; }
.bento .card:last-child { grid-column: 1 / -1; }
.status {
  position: absolute; top: 22px; left: 24px; display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600; letter-spacing: .1em; color: #cfcfcf;
  padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.04); border: 1px solid var(--line);
}
.live { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: pulse 2s infinite; }
.delivery { display: flex; flex-direction: column; gap: 10px; margin-bottom: auto; padding-bottom: 28px; }
.d-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--card-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.d-row svg { width: 15px; height: 15px; color: var(--ok); }
.d-row.on { color: var(--text); border-color: var(--line-2); box-shadow: 0 0 24px rgba(255,255,255,.06); }
.d-row.on svg { color: #fff; }

/* Chiffres */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden; }
.stat { padding: 34px 20px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: var(--font-h); font-weight: 600; font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--muted); }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--card), transparent); }
.num { font-family: var(--font-h); font-weight: 600; font-size: 44px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35); }
.step h3 { font-family: var(--font-h); font-weight: 600; font-size: 18px; margin: 18px 0 6px; }
.step p { color: var(--muted); font-size: 14px; }

/* Avis */
.reviews { margin-top: 0; max-width: none; }
.review { width: 300px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); flex-shrink: 0; }
.stars { display: flex; gap: 2px; color: #fff; }
.stars svg { width: 14px; height: 14px; }
.review .r-prod { font-size: 12.5px; color: var(--muted); margin: 10px 0 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.review .r-text { font-size: 15px; font-weight: 500; }
.review .r-foot { display: flex; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--dim); }
.verified { display: flex; align-items: center; gap: 4px; color: var(--ok); }
.verified svg { width: 12px; height: 12px; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .2s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--muted); }

/* Support */
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support .card { min-height: 220px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.support .card .btn-primary, .support .card .btn-ghost { margin-top: auto; }
.big-num { position: absolute; right: 18px; bottom: -30px; font-family: var(--font-h); font-weight: 700; font-size: 150px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); pointer-events: none; }
.cta-discord {
  margin-top: 14px; padding: 40px; border-radius: var(--radius); border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(circle at 100% 50%, rgba(255,255,255,.12), transparent 50%), var(--card);
}
.cta-discord p { color: var(--muted); }

/* Footer */
.footer { margin-top: 110px; border-top: 1px solid var(--line); background: var(--bg-2); }
.foot-inner { max-width: 1180px; margin: 0 auto; padding: 48px 16px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot-inner .muted { max-width: 320px; margin-top: 12px; font-size: 14px; }
.foot-cols { display: flex; gap: 70px; }
.foot-cols h4 { font-family: var(--font-h); font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.foot-cols a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.foot-cols a:hover { color: var(--text); }
.foot-bottom { border-top: 1px solid var(--line); text-align: center; padding: 20px 16px; font-size: 13px; color: var(--dim); }

/* ================= Modale produit ================= */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.modal { position: relative; width: 100%; max-width: 460px; max-height: calc(100vh - 32px); overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; padding: 18px 22px 22px; animation: pop .25s; }
@keyframes pop { from { transform: translateY(10px) scale(.98); opacity: 0; } }
.modal .close { position: absolute; top: 26px; right: 30px; z-index: 3; background: rgba(0,0,0,.5); color: #fff; }
.m-art { margin-bottom: 16px; }
.m-art .p-art { border: 1px solid var(--line); }
.modal h3 { font-family: var(--font-h); font-weight: 600; font-size: 22px; margin: 2px 0 6px; }
.variants { display: flex; flex-direction: column; gap: 8px; margin: 18px 0; }
.variant { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); text-align: left; transition: .15s; }
.variant:hover:not(:disabled) { border-color: var(--line-2); }
.variant.on { border-color: #fff; box-shadow: 0 0 0 1px #fff inset; }
.variant:disabled { opacity: .4; cursor: not-allowed; }
.variant small { display: block; font-size: 12px; }
.variant strong { font-family: var(--font-h); }
.m-foot { display: flex; gap: 10px; }
.m-foot .btn-primary { flex: 1; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 12px; height: 48px; }
.qty button { width: 38px; height: 100%; font-size: 18px; color: var(--muted); }
.qty button:hover { color: var(--text); }
.qty span { min-width: 22px; text-align: center; font-weight: 600; }

/* ================= Recherche rapide ================= */
.pal-ov { place-items: start center; padding-top: 86px; background: rgba(0,0,0,.6); }
.palette {
  width: 100%; max-width: 580px; border-radius: 16px; overflow: hidden; animation: pop .2s;
  background: linear-gradient(180deg, #121212, #0a0a0a); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.03), 0 0 60px rgba(255,255,255,.05);
}
.pal-head { display: flex; align-items: center; gap: 12px; padding: 0 16px; height: 56px; border-bottom: 1px solid var(--line); color: var(--muted); }
.pal-head input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: 400 17px var(--font-b); }
.pal-head input::placeholder { color: #777; }
.pal-head kbd { cursor: pointer; }
.pal-body { max-height: min(460px, calc(100vh - 230px)); overflow-y: auto; padding: 8px; }
.pal-body::-webkit-scrollbar { width: 8px; }
.pal-body::-webkit-scrollbar-thumb { background: #333; border-radius: 8px; }
.pal-sec { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 12px 12px 6px; }
.pal-item { width: 100%; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; text-align: left; }
.pal-item.on { background: rgba(255,255,255,.07); }
.pal-ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); color: #ddd; }
.pal-ic svg { width: 16px; height: 16px; }
.pal-thumb, .l-thumb {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; flex-shrink: 0;
  background: radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--c) 70%, transparent), transparent 75%), #141414;
  border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); color: #fff;
}
.pal-thumb svg, .l-thumb svg { width: 18px; height: 18px; filter: drop-shadow(0 0 6px var(--c)); }
.pal-thumb img, .l-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pal-label { flex: 1; min-width: 0; font-weight: 600; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-label small { font-weight: 500; font-size: 12px; margin-left: 6px; }
.pal-price { font-size: 14px; color: #cfcfcf; font-variant-numeric: tabular-nums; }
.pal-empty { padding: 36px 12px; text-align: center; color: var(--muted); }
.pal-foot { display: flex; align-items: center; gap: 6px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.pal-foot span { margin-right: 10px; }

/* ================= Panier ================= */
.drawer-ov { position: fixed; inset: 0; z-index: 85; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer-ov.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(450px, 100%);
  background: linear-gradient(180deg, #0d0d0d, #070707); border-left: 1px solid var(--line-2);
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-h); font-weight: 600; font-size: 20px; }
.drawer-body { flex: 1; overflow: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.drawer-foot { padding: 18px 20px; border-top: 1px solid var(--line); }
.total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.total strong { font-family: var(--font-h); font-size: 22px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-top: 52px; }
.ce-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line-2); box-shadow: 0 0 24px rgba(255,255,255,.08);
}
.ce-icon svg { width: 18px; height: 18px; }
.cart-empty b { font-family: var(--font-h); font-weight: 600; font-size: 16px; }
.cart-empty > span { font-size: 14px; color: #bdbdbd; }
.cart-empty .btn-ghost { margin-top: 18px; }
.cart-empty .btn-ghost svg { width: 15px; height: 15px; }
.line { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.line .l-thumb { width: 52px; height: 52px; border-radius: 12px; }
.line .l-thumb svg { width: 22px; height: 22px; }
.l-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.l-info b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-info small { color: var(--muted); font-size: 12px; }
.l-info strong { font-family: var(--font-h); font-weight: 600; font-size: 14px; margin-top: 2px; }
.l-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.l-del { color: var(--dim); }
.l-del:hover { color: var(--bad); }
.l-del svg { width: 15px; height: 15px; }
.l-qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 9px; height: 28px; font-size: 13px; font-weight: 600; }
.l-qty button { width: 26px; height: 100%; color: var(--muted); }
.l-qty button:hover { color: var(--text); }
.l-qty span { min-width: 16px; text-align: center; }

/* Carte entièrement cliquable */
.p-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.product .p-btn, .product .badge { position: relative; z-index: 2; }
.product .badge { position: absolute; }
.p-btn.is-disabled { background: #2a2a2a; color: #aaa; box-shadow: none; }
s { color: var(--dim); font-weight: 500; font-size: .85em; }

/* ================= Page produit ================= */
.pp { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); gap: 32px; align-items: start; margin-top: 36px; }
.pp-art .p-art.big { aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--line-2); }
.pp-art .p-art.big .p-card { height: 82%; width: 34.5%; }
.pp-buy {
  position: sticky; top: 92px; padding: 22px; border-radius: 20px;
  background: linear-gradient(180deg, #101010, #090909); border: 1px solid var(--line-2);
}
.pp-buy h1 { font-family: var(--font-h); font-weight: 600; font-size: 26px; line-height: 1.2; letter-spacing: -.02em; }
.pp-price-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; font-size: 14px; }
.pp-price { font-family: var(--font-h); font-weight: 600; font-size: 26px; }
.pp-sep { height: 1px; background: var(--line); margin: 18px 0; }
.pp-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.pp-variants { display: flex; flex-direction: column; gap: 8px; }
.pp-variants:not(:empty) { margin-bottom: 14px; }
.pp-box { border: 1px solid var(--line-2); border-radius: 14px; background: rgba(255,255,255,.02); padding: 12px 14px; }
.pp-qty { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14.5px; }
.qty.sm { height: 38px; border-radius: 10px; }
.qty.sm button { width: 36px; }
.qty input { width: 46px; height: 100%; text-align: center; background: none; border: 0; border-left: 1px solid var(--line-2); border-right: 1px solid var(--line-2); color: var(--text); font: 600 14px var(--font-b); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pp-deal { margin-top: 12px; }
.deal-line { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.deal-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: #fff; color: #000; flex-shrink: 0; }
.deal-ic svg { width: 14px; height: 14px; }
.deal-bar { height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); margin-top: 12px; overflow: hidden; }
.deal-bar span { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; transition: width .3s; box-shadow: 0 0 10px rgba(255,255,255,.6); }
.pp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pp-actions button { height: 48px; padding: 0 12px; font-size: 14.5px; }
.pp-actions button:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.pp-actions svg { width: 16px; height: 16px; }
.pp-pay { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pay-chip { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 7px; border: 1px solid var(--line-2); color: #cfcfcf; background: rgba(255,255,255,.03); }
.pp-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.pp-secure svg { width: 13px; height: 13px; color: var(--ok); }

.tabs { display: flex; gap: 4px; padding: 5px; margin-top: 22px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(12,12,12,.8); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: 1; white-space: nowrap; padding: 9px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--muted); transition: .2s; }
.tabs button:hover { color: var(--text); }
.tabs button.on { color: var(--text); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line-2); }
.tab-panel { margin-top: 16px; padding: 22px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.tp-title { font-family: var(--font-h); font-weight: 600; font-size: 18px; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tp-lead { margin-bottom: 14px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; margin-top: 2px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tier { padding: 14px; border-radius: 12px; border: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 2px; }
.tier b { font-family: var(--font-h); }
.tier span { font-family: var(--font-h); font-weight: 600; font-size: 22px; }
.review.flat { width: auto; margin-bottom: 10px; }
.tab-panel .btn-ghost, .tab-panel .btn-primary { margin-top: 14px; }

/* ================= Formulaire de commande ================= */
.co h3 { font-family: var(--font-h); font-weight: 600; font-size: 22px; margin: 2px 0 14px; }
.co .close { top: 14px; right: 14px; background: none; }
.co-lines { display: flex; flex-direction: column; gap: 8px; max-height: 200px; overflow: auto; }
.co-line { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; }
.co-name { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.co-name b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-name small { font-size: 12px; }
.co-total { margin: 14px 0 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.field { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-size: 13.5px; font-weight: 600; }
.field em { color: var(--bad); font-style: normal; }
.field small { color: var(--dim); font-weight: 500; }
.field input, .field textarea {
  width: 100%; padding: 11px 13px; border-radius: 11px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03);
  color: var(--text); font: 400 14.5px var(--font-b); outline: none; resize: vertical; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: rgba(255,255,255,.4); }
.co-err { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fca5a5; font-size: 13.5px; }
.co .btn-primary.full { margin-top: 16px; }
.l-thumb.sm { width: 34px; height: 34px; border-radius: 9px; }
.l-thumb.sm svg { width: 16px; height: 16px; }
.l-deal { color: var(--ok); font-weight: 600; }

/* ================= Chat support ================= */
.chat-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 18px;
  display: grid; place-items: center; background: #fff; color: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 30px rgba(255,255,255,.18); transition: transform .2s;
}
.chat-bubble:hover { transform: translateY(-2px); }
.chat-bubble svg { width: 24px; height: 24px; }
.chat-bubble.on { background: #1a1a1a; color: #fff; box-shadow: 0 0 0 1px var(--line-2), 0 10px 30px rgba(0,0,0,.6); }
.chat-dot { position: absolute; top: 8px; right: 8px; width: 11px; height: 11px; border-radius: 50%; background: var(--bad); border: 2px solid #fff; }
.chat {
  position: fixed; right: 20px; bottom: 88px; z-index: 75; width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100vh - 120px));
  display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, #111, #080808); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px rgba(0,0,0,.8), 0 0 50px rgba(255,255,255,.05); animation: pop .2s;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 12px 12px 14px; border-bottom: 1px solid var(--line); }
.chat-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.chat-title b { font-family: var(--font-h); font-weight: 600; font-size: 15px; }
.chat-status { font-size: 12px; color: var(--muted); }
#chat-pick { max-width: 130px; height: 32px; border-radius: 9px; border: 1px solid var(--line-2); background: #141414; color: var(--text); font: 500 12.5px var(--font-b); padding: 0 6px; }
.chat-body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.chat-body::-webkit-scrollbar { width: 8px; }
.chat-body::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 8px; }
.msg { display: flex; flex-direction: column; max-width: 86%; font-size: 14px; }
.msg time { font-size: 11px; color: var(--dim); margin-top: 3px; }
.msg .bub { padding: 9px 12px; border-radius: 14px; line-height: 1.45; word-wrap: break-word; overflow-wrap: anywhere; }
.msg .bub a { text-decoration: underline; }
.msg.me { align-self: flex-end; align-items: flex-end; }
.msg.me .bub { background: #fff; color: #000; border-bottom-right-radius: 5px; }
.msg.staff { align-self: flex-start; flex-direction: row; gap: 8px; }
.msg.staff > div { display: flex; flex-direction: column; min-width: 0; }
.msg.staff .bub { background: #1b1b1b; border: 1px solid var(--line); border-bottom-left-radius: 5px; }
.msg .who { font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.msg .who em { font-style: normal; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 5px; background: #fff; color: #000; margin-left: 4px; }
.msg .av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; object-fit: cover; background: #222; display: grid; place-items: center; font-size: 12px; font-weight: 700; margin-top: 18px; }
.msg .att { display: block; max-width: 100%; max-height: 220px; border-radius: 10px; margin-top: 6px; }
.msg .file { display: block; margin-top: 6px; }
.msg.sys { align-self: center; max-width: 92%; text-align: center; font-size: 12.5px; color: var(--muted); padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--line-2); }
.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chat-input textarea {
  flex: 1; resize: none; max-height: 120px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line-2);
  background: rgba(255,255,255,.03); color: var(--text); font: 400 14px var(--font-b); outline: none; line-height: 1.4;
}
.chat-input textarea:focus { border-color: rgba(255,255,255,.35); }
.chat-send { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: #000; flex-shrink: 0; }
.chat-send:disabled { opacity: .35; cursor: not-allowed; }
.chat-send svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .pp { grid-template-columns: 1fr; gap: 20px; margin-top: 24px; }
  .pp-buy { position: static; order: -1; }
  .pp-left { display: contents; }
  .pp-art { order: -2; }
}
@media (max-width: 600px) {
  .chat { inset: 0; width: 100%; height: 100%; border-radius: 0; bottom: 0; right: 0; }
  .chat-bubble { right: 16px; bottom: 16px; }
  .chat:not([hidden]) ~ .toast { bottom: 90px; }
  .pp-actions { grid-template-columns: 1fr; }
  .tab-panel { padding: 16px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 100; transform: translate(-50%, calc(100% + 40px));
  padding: 12px 18px; border-radius: 12px; background: #fff; color: #000; font-weight: 600; font-size: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.5); transition: transform .3s; max-width: calc(100% - 32px); text-align: center;
}
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1020px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; }
  .burger { display: grid; }
  .mobile-menu.open { display: flex; flex-direction: column; max-width: 1200px; margin: 8px auto 0; padding: 8px; border-radius: 18px; background: rgba(8,8,8,.95); border: 1px solid var(--line); }
  .mobile-menu a { padding: 12px 14px; border-radius: 10px; color: var(--muted); }
  .mobile-menu a:hover { color: var(--text); background: rgba(255,255,255,.05); }
}
@media (max-width: 780px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .bento, .steps, .support { grid-template-columns: 1fr; }
  .b-wide, .b-tall { grid-column: auto; grid-row: auto; }
  .b-tall { min-height: 300px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hero { padding-top: 64px; }
  .vsep { display: none; }
  .discord-link span { display: none; }
  .nav-actions .discord-link { width: 38px; padding: 0; }
  .cta-discord { padding: 28px; }
  .toolbar { flex-wrap: wrap; }
  .tool-search { flex-basis: 100%; order: -1; }
  .pal-ov { padding-top: 16px; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .hero-cta a { width: 100%; }
  .foot-cols { gap: 40px; }
  .page-head { padding: 40px 0 30px; }
  .pal-foot { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
