@font-face { font-family: "MvInter"; src: url("fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "MvGeist"; src: url("fonts/geist-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
/* MIVICE, boutique (Tebex Headless). Même identité que mivicerp.com : fond #111, accent rose #f4aabe (logo), Geist pour les titres, Inter pour le texte. */
:root {
  --bg: #111111; --bg2: #141414; --card: #181818; --card2: #1d1d1d; --muted: #242424;
  --fg: #f2f2f2; --t2: #b4b4b4; --t3: #8c8c8c;
  --border: rgba(255,255,255,.07); --border2: rgba(255,255,255,.11); --border3: rgba(255,255,255,.18);
  --accent: #f4aabe; --accent2: #fcc9d4; --accent-deep: #e89aae; --on-accent: #2a0f17; --accent-soft: rgba(244,170,190,.14); --ok: #53dca6; --ok-soft: rgba(83,220,166,.13);
  --danger: #f08fa9; --danger-soft: rgba(240,143,169,.12);
  --ease: cubic-bezier(.22,1,.36,1); --r: 16px; --r2: 22px;
  --display: "MvGeist", "MvInter", system-ui, sans-serif; --body: "MvInter", system-ui, sans-serif;
  --w: 1200px;
  /* Bandeau légal Tebex (obligatoire, on l'harmonise seulement) */
  --tebex-legal-footer-background-color: #111111;
  --tebex-legal-footer-text-color: #8c8c8c;
  --tebex-legal-footer-border-color: rgba(255,255,255,.07);
  --tebex-legal-footer-logo-color: #b4b4b4;
  --tebex-legal-footer-max-width: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .92em; }
.wrap { width: min(var(--w), 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 99; background: var(--fg); color: #000; padding: 8px 12px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.muted { color: var(--t3); }
.sm { font-size: 13.5px; }
.ok-t { color: var(--ok); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 20px; border-radius: 12px; font-weight: 550; font-size: 15px; letter-spacing: -.005em;
  background: rgba(255,255,255,.06); border: 1px solid var(--border2); color: var(--fg); transition: background .25s, border-color .25s, transform .25s var(--ease), box-shadow .25s; white-space: nowrap; cursor: pointer; }
.btn:hover { background: rgba(255,255,255,.1); border-color: var(--border3); transform: translateY(-1px); }
.btn.primary { background: var(--fg); color: #0d0d0d; border-color: transparent; }
.btn.primary:hover { background: #fff; box-shadow: 0 8px 30px rgba(255,255,255,.12); }
.btn.ghost { background: transparent; }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn.lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }
.btn.wide { width: 100%; }
.btn.icon-only { width: 38px; padding: 0; }
.btn.in-cart { background: var(--ok-soft); border-color: rgba(83,220,166,.3); color: var(--ok); }
.btn.disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.static { cursor: default; transform: none; }
.btn.static:hover { transform: none; background: rgba(255,255,255,.06); }

/* Marque */
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 38px; width: auto; }
.mark { position: relative; width: 38px; height: 38px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -.04em; padding-right: 2px; flex: none; }
.mark img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 2px 6px rgba(244,170,190,.25)); }
.mark i { position: absolute; right: 7px; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mark.xl { width: 72px; height: 72px; margin-bottom: 18px; }
.mark.xl i { width: 8px; height: 8px; right: 11px; bottom: 11px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt b { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: .04em; }
.brand-txt span { font-size: 12.5px; color: var(--t3); }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(17,17,17,.78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--border); }
.mv-page-index .nav { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.mv-page-index .nav.solid { background: rgba(17,17,17,.78); border-color: var(--border); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.nav-in { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.links a { padding: 8px 12px; border-radius: 9px; font-size: 14.5px; color: var(--t2); transition: color .2s, background .2s; white-space: nowrap; }
.links a:hover, .links a[aria-current] { color: var(--fg); background: rgba(255,255,255,.05); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.cur select { height: 38px; padding: 0 30px 0 12px; border-radius: 10px; background: rgba(255,255,255,.04) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b4b4b4' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center/14px no-repeat;
  border: 1px solid var(--border2); color: var(--fg); font: 500 14px var(--body); appearance: none; -webkit-appearance: none; cursor: pointer; }
.who { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 4px 0 5px; border-radius: 10px; border: 1px solid var(--border2); background: rgba(255,255,255,.04); font-size: 14px; }
.who-av { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent2); font: 700 13px var(--display); flex: none; }
.who-av.lg { width: 44px; height: 44px; border-radius: 12px; font-size: 18px; }
.who-n { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-out { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; color: var(--t3); transition: color .2s, background .2s; }
.who-out:hover { color: var(--fg); background: rgba(255,255,255,.06); }
.who-out .ic { width: 16px; height: 16px; }
.cart { position: relative; }
.cart-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.burger { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border2); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--fg); transition: transform .3s var(--ease); }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded=true] span:first-child { transform: translateY(4px) rotate(45deg); } .burger[aria-expanded=true] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { display: none; }

/* Notification */
.toast { position: fixed; z-index: 70; left: 50%; top: 86px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; max-width: min(560px, 100% - 32px); padding: 12px 12px 12px 16px; border-radius: 14px;
  background: rgba(24,24,24,.95); border: 1px solid var(--border2); box-shadow: 0 20px 60px rgba(0,0,0,.5); font-size: 14.5px; animation: rise .5s var(--ease); }
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.toast-success::before { background: var(--ok); } .toast-danger::before, .toast-error::before { background: var(--danger); }
.toast-x { width: 28px; height: 28px; border-radius: 8px; color: var(--t3); font-size: 20px; line-height: 1; }
.toast-x:hover { background: rgba(255,255,255,.06); color: var(--fg); }

/* Hero (accueil) */
.hero { position: relative; min-height: max(640px, 88svh); display: flex; flex-direction: column; justify-content: flex-end; padding: 120px 0 40px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.82) brightness(.8); transform: scale(1.06); animation: kb 26s linear forwards; }
@keyframes kb { to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.shade { position: absolute; inset: 0; z-index: -2; background:
  linear-gradient(90deg, rgba(17,17,17,.94) 0%, rgba(17,17,17,.6) 40%, rgba(17,17,17,.08) 75%),
  linear-gradient(0deg, #111 0%, rgba(17,17,17,.55) 28%, rgba(17,17,17,0) 55%),
  linear-gradient(180deg, rgba(17,17,17,.7) 0%, rgba(17,17,17,0) 20%); }
.grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05; background-image: radial-gradient(rgba(255,255,255,.7) .5px, transparent .6px); background-size: 3px 3px; }
.hero-in { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 48px; }
.pill { display: inline-flex; align-items: center; gap: 9px; height: 32px; padding: 0 14px 0 12px; border-radius: 999px; font-size: 13px; color: var(--t2);
  background: rgba(22,22,22,.7); border: 1px solid var(--border2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--t3); flex: none; }
.dot.on { background: var(--ok); box-shadow: 0 0 0 0 rgba(83,220,166,.6); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(83,220,166,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(83,220,166,0); } }
.hero h1 { margin: 22px 0 10px; font-family: var(--display); font-weight: 700; letter-spacing: -.055em; line-height: .88; font-size: clamp(64px, 12vw, 170px);
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,.62)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: -.04em; padding-bottom: .04em; }
.hero-sub { margin: 14px 0 0; font-size: clamp(18px, 2vw, 23px); color: var(--fg); max-width: 36ch; line-height: 1.4; letter-spacing: -.01em; }
.hero-tags { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin: 16px 0 0; color: var(--t3); font-size: 14.5px; }
.hero-tags i { width: 3px; height: 3px; border-radius: 50%; background: var(--t3); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--border); border-radius: var(--r); background: rgba(20,20,20,.66);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); overflow: hidden; }
.stat { padding: 18px 22px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: 0; }
.stat-k { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.stat strong { display: block; margin-top: 4px; font-family: var(--display); font-weight: 600; font-size: 24px; letter-spacing: -.03em; }
.stat small { font-family: var(--body); font-size: 14px; font-weight: 450; letter-spacing: 0; color: var(--t3); }
.in { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) var(--d, 0s) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Sections */
.sect { padding: 96px 0; position: relative; }
.sect.tight { padding: 24px 0 96px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
h1, h2, h3 { font-family: var(--display); }
h2, .h2 { margin: 16px 0 0; font-weight: 650; font-size: clamp(32px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.04em; }
h3 { margin: 0; font-weight: 600; font-size: 20px; letter-spacing: -.02em; }
.lead { margin: 18px 0 0; color: var(--t2); font-size: 17.5px; max-width: 58ch; }
.head { margin-bottom: 40px; }

/* Catégories (accueil) */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.cat { position: relative; border-radius: var(--r2); overflow: hidden; border: 1px solid var(--border); display: flex; align-items: flex-end; padding: 24px; isolation: isolate; transition: border-color .3s, transform .5s var(--ease); grid-column: span 2; }
.cat.big { grid-row: span 2; padding: 32px; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bgi) center/cover, var(--card); filter: saturate(.8) brightness(.62); transform: scale(1.02); transition: transform 1.2s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(17,17,17,.95) 0%, rgba(17,17,17,.35) 60%, rgba(17,17,17,.1)); }
.cat:hover { border-color: var(--border3); }
.cat:hover::before { transform: scale(1.07); }
.cat-in { display: flex; flex-direction: column; gap: 8px; }
.cat .tag { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--t2); }
.cat h3 { font-size: 28px; letter-spacing: -.035em; }
.cat.big h3 { font-size: 44px; }
.cat-sub { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-sub span { font-size: 12.5px; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.08); border: 1px solid var(--border2); color: var(--t2); }
.cat-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--accent2); font-weight: 550; }
.cat-go .ic { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.cat:hover .cat-go .ic { transform: translateX(3px); }

/* Étapes */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 28px; border-radius: var(--r2); background: var(--card); border: 1px solid var(--border); }
.step .n { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--accent); letter-spacing: .04em; margin-bottom: 18px; }
.step p { margin: 8px 0 0; color: var(--t2); font-size: 15px; }

/* Blocs génériques */
.box { border-radius: var(--r2); background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--border); padding: 24px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.side { display: grid; gap: 14px; position: sticky; top: 96px; }
.page-body { padding-top: 36px; padding-bottom: 96px; }
.page-body.narrow { max-width: 920px; }
.prose { color: var(--t2); }
.prose > :first-child { margin-top: 0; } .prose > :last-child { margin-bottom: 0; }
.prose h1, .prose h2, .prose h3, .prose h4 { color: var(--fg); letter-spacing: -.02em; line-height: 1.2; }
.prose h2 { font-size: 26px; } .prose h3 { font-size: 20px; margin: 1.2em 0 .4em; }
.prose a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; }
.prose ul { padding-left: 1.2em; } .prose li { margin: .3em 0; }
.prose img { border-radius: 12px; }
.empty { text-align: center; padding: 56px 24px; display: grid; justify-items: center; gap: 10px; }
.empty p { margin: 0 0 8px; }

/* En-tête de page (catégorie, panier) */
.phead { position: relative; padding: 56px 0 44px; border-bottom: 1px solid var(--border); overflow: hidden; isolation: isolate; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--bgi, none) center 40%/cover; filter: saturate(.8) brightness(.55); }
.phead::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(17,17,17,.96) 0%, rgba(17,17,17,.75) 45%, rgba(17,17,17,.35) 100%), linear-gradient(0deg, #111 0%, rgba(17,17,17,0) 60%); }
.phead.slim { padding: 40px 0 32px; }
.phead h1 { margin: 12px 0 0; font-weight: 700; font-size: clamp(40px, 6vw, 72px); letter-spacing: -.05em; line-height: .95; }
.phead-d { margin-top: 14px; color: var(--t2); max-width: 60ch; font-size: 16.5px; }
.phead-d p { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--t3); }
.crumbs a:hover { color: var(--fg); }
.page-body > .crumbs { margin-bottom: 18px; }

/* Cartes de pack */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.pk { display: flex; flex-direction: column; border-radius: var(--r2); background: linear-gradient(180deg, var(--card2), var(--card)); border: 1px solid var(--border); overflow: hidden; transition: border-color .3s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.pk:hover { border-color: var(--border3); transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.pk.is-in { border-color: rgba(83,220,166,.28); }
.pk-vis { position: relative; display: block; aspect-ratio: 4 / 3; background: radial-gradient(120% 90% at 50% 0%, rgba(244,170,190,.2), transparent 60%), #151515; border-bottom: 1px solid var(--border); overflow: hidden; }
.pk-vis img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pk:hover .pk-vis img { transform: scale(1.04); }
.pk-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 60% at 50% 45%, rgba(244,170,190,.22), transparent 70%), radial-gradient(rgba(255,255,255,.06) .6px, transparent .7px) 0 0/10px 10px; }
.coin { width: 42%; max-width: 120px; filter: drop-shadow(0 14px 24px rgba(244,170,190,.35)); transition: transform .8s var(--ease); }
.pk:hover .coin { transform: translateY(-4px) rotate(-4deg); }
.badge { position: absolute; top: 12px; left: 12px; height: 26px; padding: 0 10px; border-radius: 8px; display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
.badge.sale { background: var(--accent); color: var(--on-accent); }
.badge.time { left: auto; right: 12px; background: rgba(17,17,17,.8); border: 1px solid var(--border2); color: var(--t2); font-weight: 600; }
.pk-body { padding: 18px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pk-name { font-size: 18px; line-height: 1.25; }
.pk-foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.pk-act { display: flex; gap: 8px; align-items: center; }
.pk-act .btn:not(.icon-only) { flex: 1; }
.price { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.price b { font-family: var(--display); font-weight: 650; font-size: 24px; letter-spacing: -.03em; }
.price small { font-size: 13px; color: var(--t3); font-weight: 500; }
.price del { color: var(--t3); font-size: 14px; }
.price-free { font-size: 18px !important; }

/* Liste (catégories en mode liste) */
.rows { display: grid; gap: 10px; }
.row-pk { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 18px; align-items: center; padding: 12px 14px 12px 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--border); }
.row-pk.is-in { border-color: rgba(83,220,166,.28); }
.row-vis { position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: #151515; display: block; }
.row-vis img { width: 100%; height: 100%; object-fit: cover; }
.row-vis .coin { width: 60%; }
.row-pk h3 { font-size: 17px; }

/* Colonne latérale */
.mini-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.mini-who { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--t2); }
.mini p { margin: 0 0 14px; font-size: 14.5px; }
.mini-l { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.mini-l li { display: flex; justify-content: space-between; gap: 12px; color: var(--t2); }
.mini-l em { font-style: normal; color: var(--t3); }
.mini-l b { color: var(--fg); font-weight: 550; font-variant-numeric: tabular-nums; }
.mini-t, .sum-t { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 16px; border-top: 1px solid var(--border); }
.mini-t b, .sum-t b { font-family: var(--display); font-size: 22px; letter-spacing: -.03em; }
.mini-t small, .sum-t small { font-size: 13px; color: var(--t3); font-family: var(--body); }
.mod { display: grid; gap: 12px; }
.mod-h { display: flex; justify-content: space-between; align-items: center; }
.state { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--t3); }
.state.on { color: var(--ok); }
.big-n { font-family: var(--display); font-weight: 650; font-size: 30px; letter-spacing: -.03em; line-height: 1; }
.big-n small { font-family: var(--body); font-size: 14px; color: var(--t3); font-weight: 450; letter-spacing: 0; }
.bar { height: 8px; border-radius: 99px; background: var(--muted); overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--accent2)); box-shadow: 0 0 16px rgba(244,170,190,.5); }
.bar.anim span { background-size: 24px 24px; background-image: linear-gradient(45deg, rgba(255,255,255,.18) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.18) 50%, rgba(255,255,255,.18) 75%, transparent 75%), linear-gradient(90deg, var(--accent), var(--accent2)); animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 24px 0, 0 0; } }
.mod-img { border-radius: 12px; }
.mod p { margin: 0; }
.pay-l { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pay-l li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.pay-l li > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; flex: 1; min-width: 0; }
.pay-l small { color: var(--t3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-l em { font-style: normal; color: var(--t2); font-size: 13px; }
.top { display: flex; align-items: center; gap: 12px; }
.top > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.top small { color: var(--t3); }
.feat-in { display: flex; gap: 12px; align-items: center; }
.feat-vis { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #151515; flex: none; }
.feat-vis img { width: 100%; height: 100%; object-fit: cover; }
.feat-in > span:last-child { display: flex; flex-direction: column; }
.feat .price b { font-size: 18px; }

/* Formulaires */
input[type=text], input[type=number], input:not([type]), select, textarea { width: 100%; height: 44px; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--border2); color: var(--fg); font: 400 15px var(--body); transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); background: rgba(244,170,190,.06); }
input::placeholder { color: var(--t3); }
select option { background: #1d1d1d; }
.stack { display: grid; gap: 10px; margin-top: 20px; }
.stack label, .stack > label { font-size: 14px; color: var(--t2); margin-top: 6px; }
.field-row { display: flex; gap: 8px; }
.field-row input { height: 38px; border-radius: 10px; font-size: 14px; }
.row-btns { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }

/* Détail d'un pack */
.pd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; }
.pd-vis { position: relative; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, rgba(244,170,190,.2), transparent 60%), #151515; border: 1px solid var(--border); }
.pd-vis img { width: 100%; height: 100%; object-fit: cover; }
.pd-vis .coin { width: 46%; max-width: 180px; }
.pd-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pd-name { margin: 2px 0 0; font-size: clamp(28px, 3.4vw, 38px); }
.pd-price .price b { font-size: 32px; }
.pd-desc { font-size: 15.5px; }
.pd-act { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-act .btn { height: 48px; padding: 0 22px; font-size: 15px; border-radius: 12px; }
.pd-act .btn.icon-only { width: 48px; padding: 0; }
.pd-act .btn.primary { flex: 1; }
.gift { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: rgba(255,255,255,.02); }
.gift summary { cursor: pointer; font-size: 14px; color: var(--t2); }
.gift form { display: flex; gap: 8px; margin-top: 12px; }
.gift input { height: 38px; font-size: 14px; }
.pd-ticks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--t2); }
.pd-ticks li { position: relative; padding-left: 28px; }
.pd-ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4aabe' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }

/* Fenêtre de détail */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-back { position: absolute; inset: 0; background: rgba(8,8,8,.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.modal-box { position: relative; width: min(880px, 100%); max-height: calc(100vh - 48px); overflow: auto; border-radius: 24px; background: linear-gradient(180deg, #1c1c1c, #161616); border: 1px solid var(--border2); box-shadow: 0 40px 120px rgba(0,0,0,.6); padding: 28px; animation: pop .45s var(--ease); }
.modal-box:focus { outline: none; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--t2); background: rgba(255,255,255,.05); border: 1px solid var(--border); }
.modal-x:hover { color: var(--fg); background: rgba(255,255,255,.1); }
.modal-in.loading { min-height: 240px; display: grid; place-items: center; color: var(--t3); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
body.locked { overflow: hidden; }

/* Panier */
.lines { list-style: none; margin: 0; padding: 0; display: grid; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) 84px 120px 38px; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--border); }
.line:first-child { border-top: 0; padding-top: 0; }
.line:last-child { padding-bottom: 0; }
.line-vis { position: relative; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #151515; display: block; }
.line-vis img { width: 100%; height: 100%; object-fit: cover; }
.line-vis .coin { width: 62%; }
.line-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.35; }
.line-txt b { font-weight: 600; }
.line-txt small, .line-txt .muted { font-size: 13px; }
.qty input { height: 38px; text-align: center; padding: 0 6px; border-radius: 10px; }
.line-p { text-align: right; font-family: var(--display); font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; }
.line-p small { font-family: var(--body); font-size: 12px; color: var(--t3); font-weight: 450; }
.back { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: var(--t2); font-size: 14.5px; }
.back:hover { color: var(--fg); }
.sum { display: grid; gap: 4px; }
.sum .kicker { margin-bottom: 10px; }
.sum-r { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; color: var(--t2); }
.sum-r b { color: var(--fg); }
.sum-r.coupon a { color: var(--danger); font-size: 13px; }
.sum-r code { color: var(--fg); background: var(--muted); padding: 2px 6px; border-radius: 6px; }
.sum .field-row { margin-bottom: 12px; }
.fine { margin: 10px 0 0; font-size: 12.5px; color: var(--t3); line-height: 1.5; }

/* Connexion */
.auth { display: grid; place-items: center; min-height: calc(100vh - 72px - 220px); }
.auth-box { width: min(480px, 100%); padding: 40px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.auth-box h1 { margin: 6px 0 0; font-size: 32px; letter-spacing: -.04em; line-height: 1.1; }
.auth-box > p { margin: 0 0 14px; }
.auth-box .stack { width: 100%; text-align: left; }
.auth-box .pd-ticks { text-align: left; margin-top: 18px; }

/* Pied de page */
.foot { border-top: 1px solid var(--border); padding: 56px 0 28px; background: var(--bg2); }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 32px; }
.foot-brand p { margin: 16px 0 0; color: var(--t3); font-size: 14px; max-width: 36ch; }
.foot-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; font-size: 14.5px; }
.foot-col b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--t3); font-weight: 600; margin-bottom: 4px; }
.foot-col a { color: var(--t2); } .foot-col a:hover { color: var(--fg); }
.foot-lang { display: flex; gap: 10px; }
.foot-bot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 13px; color: var(--t3); }
.copy { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px; border-radius: 11px; background: rgba(255,255,255,.03); border: 1px solid var(--border); color: var(--t2); font-size: 13.5px; transition: border-color .2s; }
.copy:hover { border-color: var(--border3); }
.copy .k { font-size: 11px; font-weight: 600; padding: 3px 7px; border-radius: 6px; background: var(--muted); color: var(--fg); }
.copy code { color: var(--fg); white-space: nowrap; }
.copy-s { font-size: 12.5px; color: var(--accent); padding-right: 4px; }

/* Responsive */
@media (max-width: 1080px) {
  .two { grid-template-columns: 1fr; }
  .side { position: static; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .links, .hide-s { display: none; }
  .burger { display: block; }
  .drawer { display: grid; max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); background: rgba(17,17,17,.97); }
  .drawer.open { max-height: 80vh; overflow-y: auto; border-bottom: 1px solid var(--border); }
  .drawer a { padding: 14px 24px; border-top: 1px solid var(--border); color: var(--t2); }
  .mv-page-index .nav:has(.drawer.open) { background: rgba(17,17,17,.97); }
  .cats { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .cat { grid-column: span 1; }
  .cat.big { grid-column: span 2; grid-row: span 1; }
  .steps { grid-template-columns: 1fr; }
  .pd { grid-template-columns: 1fr; }
  .pd-vis { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .nav-in { height: 64px; }
  .cart-t { display: none; }
  .hero { min-height: 0; padding: 104px 0 24px; }
  .hero-in { padding-bottom: 28px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-tags { display: none; }
  .toast { left: 16px; right: 16px; transform: none; max-width: none; top: 74px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 14px 16px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border); }
  .stat strong { font-size: 20px; }
  .sect { padding: 64px 0; }
  .sect.tight { padding: 8px 0 64px; }
  .cats { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .cat.big { grid-column: span 1; }
  .cat.big h3, .cat h3 { font-size: 28px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pk-body { padding: 14px; gap: 10px; }
  .pk-name { font-size: 15.5px; }
  .price b { font-size: 20px; }
  .pk-act .btn.sm { height: 36px; font-size: 13.5px; padding: 0 10px; }
  .pk-act .pk-info { display: none; }
  .row-pk { grid-template-columns: 56px 1fr; }
  .row-vis { width: 56px; height: 56px; }
  .row-pk .price, .row-pk .pk-act { grid-column: 2; }
  .line { grid-template-columns: 52px minmax(0, 1fr) 38px; gap: 10px 12px; }
  .line-vis { width: 52px; height: 52px; }
  .line .qty { grid-column: 2; grid-row: 2; width: 84px; }
  .line-p { grid-column: 2 / 4; grid-row: 2; justify-self: end; align-self: center; }
  .line > .btn { grid-column: 3; grid-row: 1; }
  .box { padding: 18px; }
  .modal { padding: 0; place-items: end center; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; padding: 20px; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .in { opacity: 1; transform: none; } }

/* Ajouts boutique headless */
.legal { border-top: 1px solid var(--border); padding: 18px 0 26px; color: var(--t3); font-size: 12.5px; }
.legal .wrap { display: flex; gap: 10px 22px; flex-wrap: wrap; justify-content: space-between; }
.legal a { color: var(--t2); }
.auth-list { display: grid; gap: 10px; margin-top: 14px; width: 100%; }
.inline { display: contents; }
@media (max-width: 640px) { .pk .pk-rm { display: none; } }
button.linklike { background: none; border: 0; padding: 0; color: var(--danger); font: inherit; cursor: pointer; }
.thanks { text-align: center; }
.auth-list .btn { width: 100%; justify-content: center; }

/* v2 : héro simplifié, pages légales, consentement au paiement */
.hero { min-height: max(560px, 74svh); padding-bottom: 72px; }
.hero-cta { margin-top: 28px; }
.legal-doc { max-width: 820px; line-height: 1.65; }
.legal-doc h2 { font-size: 20px; margin: 1.8em 0 .5em; }
.legal-doc h2:first-of-type { margin-top: .6em; }
.legal-doc ol { padding-left: 1.3em; } .legal-doc ol li { margin: .3em 0; }
.legal-doc .maj { font-size: 13px; color: var(--t3); }
.legal-doc .disc { margin-top: 2em; padding-top: 1.2em; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--t3); }
.legal-doc code { font-size: .92em; background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 6px; }
mark.ph { background: #ffd54a; color: #1a1400; padding: 1px 6px; border-radius: 5px; font-weight: 600; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 12px; font-size: 13px; line-height: 1.5; color: var(--t2); cursor: pointer; }
.consent input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent, #f4aabe); }
.consent a { color: var(--accent2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1080px) { .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 760px) { .hero { min-height: 62svh; padding-bottom: 24px; } .hero-in { padding-bottom: 8px; } }
