:root {
  --ink: #0e0f14;
  --muted: #646979;
  --line: #e7e7ec;
  --soft: #f4f4f6;
  --bg: #ffffff;
  --night: #0b0c14;
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --display: 'Unbounded', 'Manrope', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, select, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.section { margin-top: 88px; }

/* ---------- header ---------- */
/* header e rodapé pretos com o logo branco; o miolo do site continua branco */
.header {
  position: sticky; top: 0; z-index: 20; color: #fff;
  background: rgba(11, 12, 20, .94);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-row { display: flex; align-items: center; height: 68px; gap: 28px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 30px; width: auto; }
/* bolinha do logo viva: as cores giram por cima dela e um brilho pisca de tempos em tempos.
   As posições são da bolinha dentro do "o" no arquivo do logo (458×160). */
.glow-logo { position: relative; display: block; width: fit-content; line-height: 0; }
.glow-logo > img { display: block; }
.glow-logo::before, .glow-logo::after { content: ""; position: absolute; left: 84.5%; top: 59%; translate: -50% -50%; aspect-ratio: 1; border-radius: 50%; pointer-events: none; }
.glow-logo::before {
  width: 12.9%;
  background: radial-gradient(circle, rgba(255, 255, 255, .6), rgba(255, 255, 255, 0) 55%),
    conic-gradient(from 0deg, #8fdcff, #c6b4ff, #ffb0dc, #ffe0a0, #9ff0d8, #8fdcff);
  opacity: .8; animation: orb-spin 6s linear infinite, orb-glow 3s ease-in-out infinite;
}
.glow-logo::after {
  width: 9%; left: 87.5%; top: 52%; border-radius: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 255, 255, .7) 26%, transparent 60%);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  scale: 0; animation: orb-twinkle 3.6s ease-in-out infinite;
}
@keyframes orb-spin { to { rotate: 360deg; } }
@keyframes orb-glow {
  0%, 100% { box-shadow: 0 0 2px 0 rgba(198, 180, 255, .35); filter: saturate(1) brightness(1); }
  50% { box-shadow: 0 0 6px 2px rgba(255, 176, 220, .75), 0 0 12px 3px rgba(143, 220, 255, .45); filter: saturate(1.35) brightness(1.08); }
}
@keyframes orb-twinkle {
  0%, 62%, 100% { scale: 0; rotate: 0deg; }
  74% { scale: 1; rotate: 45deg; }
  86% { scale: 0; rotate: 90deg; }
}
@media (prefers-reduced-motion: reduce) { .glow-logo::before, .glow-logo::after { animation: none; } }

.nav { display: flex; gap: 4px; margin-right: auto; }
.nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: #a6a9ba; transition: color .2s, background .2s; display: flex; align-items: center; gap: 7px; }
.nav a:hover, .nav a.is-active { color: #fff; background: rgba(255, 255, 255, .1); }
/* Mystery Pack no menu com o brilho da bolinha do logo: tons pastel que correm devagar */
.nav a.nav-mystery { background-image: linear-gradient(100deg, #9fe3ff 0%, #c9b8ff 28%, #ffb6de 52%, #ffe2a6 74%, #9fe3ff 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-shift 7s linear infinite; }
.nav a.nav-mystery:hover, .nav a.nav-mystery.is-active { color: transparent; background-color: transparent; box-shadow: inset 0 0 0 999px rgba(255, 255, 255, .1); }
@keyframes holo-shift { to { background-position: -220% 0; } }
@media (prefers-reduced-motion: reduce) { .nav a.nav-mystery { animation: none; } }
.nav i { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #fff; color: var(--ink); }
.wallet { padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; border: 1px solid rgba(255, 255, 255, .22); white-space: nowrap; }
.wallet:hover { border-color: #fff; }
.cart-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; flex: none; color: #fff; }
.cart-btn:hover { background: rgba(255, 255, 255, .1); }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: #fff; color: var(--ink); font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, opacity .2s, color .2s;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover:not(:disabled) { box-shadow: 0 10px 26px rgba(14, 15, 20, .22); transform: translateY(-1px); }
.btn-ghost { background: var(--soft); }
.btn-ghost:hover:not(:disabled) { background: var(--ink); color: #fff; }
.btn-ghost.is-added, .btn-primary.is-added { background: #e8f6ee; color: #0f7a43; box-shadow: none; }
.btn-outline-dark { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); background: #fff; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(255, 255, 255, .2); }
.btn-outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.btn-outline:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { padding: 9px 15px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 15px; }
.btn-xl { padding: 19px 40px; font-size: 17px; }
.btn-block { width: 100%; }
.icon-btn { width: 32px; height: 32px; border-radius: 50%; color: var(--muted); flex: none; display: grid; place-items: center; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }

/* ---------- textos ---------- */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1 { font-family: var(--display); font-size: clamp(32px, 5.2vw, 60px); line-height: 1.08; letter-spacing: -.035em; font-weight: 700; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.lead { color: var(--muted); font-size: 17px; max-width: 560px; }
.fine { font-size: 12.5px; color: var(--muted); }
.empty { color: var(--muted); text-align: center; padding: 48px 12px; }
.empty a { color: var(--ink); font-weight: 700; text-decoration: underline; }
.pill { display: inline-flex; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 12.5px; font-weight: 700; color: #3c4050; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section-head .eyebrow { margin-bottom: 6px; }
.back { font-size: 13px; font-weight: 700; color: var(--muted); }
.back:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 40px; padding: 56px 0 64px; }

/* o banner é a foto de um slab deitado; etiqueta e janela são posicionadas em % da foto
   e o texto escala com a largura do slab (cqw), para tudo caber dentro do acrílico */
.slab {
  --lx: 6.18%; --ly: 9.64%; --lw: 15.34%; --lh: 75.77%;
  --wx: 25.18%; --wy: 11.62%; --ww: 67.3%; --wh: 71.82%;
  position: relative; width: 100%; aspect-ratio: 1942 / 809; container-type: inline-size;
  background: url(img/slab-h.webp) center / 100% 100% no-repeat;
  transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
  animation: rise .9s var(--ease) both;
}
.slab.is-tilting { transition: transform .12s linear; }
.slab-label {
  position: absolute; left: var(--lx); top: var(--ly); width: var(--lw); height: var(--lh);
  display: flex; flex-direction: column; justify-content: space-between; gap: 1cqw;
  padding: 1.6cqw 1.3cqw; color: #fff; overflow: hidden;
}
.slab-logo { width: 72%; }
.slab-logo > img { width: 100%; height: auto; }
.slab-meta { display: grid; gap: .8cqw; }
.slab-meta div { display: grid; }
.slab-meta dt { font-size: max(8px, .62cqw); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #8b8fa6; }
.slab-meta dd { font-size: max(10px, .95cqw); font-weight: 700; }
.slab-code { display: flex; align-items: center; gap: .9cqw; }
.slab-code svg { width: 4.2cqw; height: 4.2cqw; padding: .35cqw; border-radius: .4cqw; background: #fff; fill: var(--night); flex: none; }
.slab-code span { font-size: max(8px, .7cqw); font-weight: 700; letter-spacing: .08em; color: #a6a9ba; line-height: 1.5; }
.slab-grade { display: flex; align-items: center; gap: .9cqw; padding-top: 1.2cqw; border-top: 1px solid rgba(255, 255, 255, .14); }
.slab-grade b { font-family: var(--display); font-size: 4.2cqw; font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.slab-grade span { font-size: max(8px, .85cqw); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; }
.slab-window {
  position: absolute; left: var(--wx); top: var(--wy); width: var(--ww); height: var(--wh);
  display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 3cqw;
  padding: 2cqw 3.2cqw; overflow: hidden;
}
.hero-copy { display: grid; gap: 1.3cqw; justify-items: start; text-align: left; min-width: 0; }
.hero-copy .eyebrow { font-size: max(10px, .85cqw); }
.hero-copy h1 { font-size: 3.6cqw; }
.hero-copy .lead { font-size: max(13px, 1.2cqw); max-width: 40cqw; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1cqw; }
/* ficha da etiqueta: rótulo pequeno em cima, valor embaixo, como o verso de um cert */
.hero-chips { display: flex; flex-wrap: wrap; gap: .7cqw; margin: .5cqw 0 0; padding: 0; list-style: none; }
.hero-chips li { display: flex; max-width: 100%; min-width: 0; }
.hero-chips .chip { display: inline-flex; align-items: center; gap: max(6px, .45cqw); padding: max(6px, .45cqw) max(11px, .85cqw); border-radius: 999px; border: 1px solid var(--line); background: #f6f6f8; font-size: max(12px, .9cqw); font-weight: 700; line-height: 1.2; color: var(--ink); max-width: 100%; }
.hero-chips .chip svg { width: max(14px, 1cqw); height: max(14px, 1cqw); flex: none; color: var(--muted); }
/* o chip do Mystery Pack leva a borda holo da bolinha do logo */
.chip.chip-holo { color: var(--ink); border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #8fdcff, #c6b4ff, #ffb0dc, #ffe0a0, #8fdcff) border-box; background-size: 100% 100%, 220% 100%; animation: holo-border 7s linear infinite; transition: transform .2s var(--ease); }
.chip.chip-holo:hover { transform: translateY(-1px); }
.chip.chip-holo svg { width: 14px; height: 14px; flex: none; color: #b48cf0; }
@keyframes holo-border { to { background-position: 0 0, -220% 0; } }
@media (prefers-reduced-motion: reduce) { .chip-holo { animation: none; } }
.slab .btn-lg { padding: max(10px, 1.05cqw) max(18px, 2cqw); font-size: max(13px, 1.15cqw); }
/* reflexo de luz no acrílico: uma faixa que passa sozinha e um brilho que segue o mouse */
.slab-glare { position: absolute; inset: 2% 1.5%; border-radius: 3cqw; pointer-events: none; overflow: hidden; }
.slab-glare::before {
  content: ''; position: absolute; inset: -20% -60%;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .5) 49%, rgba(255, 255, 255, .12) 52%, transparent 58%);
  animation: sheen 7s ease-in-out infinite; mix-blend-mode: screen;
}
.slab-glare::after {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .4), transparent 38%);
  mix-blend-mode: screen;
}
.slab.is-tilting .slab-glare::after { opacity: 1; }
@keyframes sheen { 0%, 55% { transform: translateX(-45%); } 85%, 100% { transform: translateX(45%); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- faixa de vantagens ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: #fff; }
.marquee div { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { padding: 15px 28px; font-size: 13px; font-weight: 700; color: #3c4050; white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: '•'; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- loja ---------- */
#colecao { scroll-margin-top: 90px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
#colecao .chips { margin-bottom: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; font-weight: 700; color: var(--muted); transition: all .2s; display: inline-flex; gap: 8px; align-items: center; }
.chip i { font-style: normal; font-size: 11px; opacity: .6; }
.chip:hover { color: var(--ink); border-color: #c9c9d2; }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.sort { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { border: 1px solid var(--line); border-radius: 999px; padding: 9px 12px; background: #fff; font-weight: 700; font-size: 13px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 32px 24px; }
.product { display: flex; flex-direction: column; min-width: 0; }
.product-media {
  position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius);
  background: #fff; overflow: hidden; box-shadow: 0 0 0 1px var(--line);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.product-media img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.12); transition: transform .6s var(--ease); }
.product:not(.is-sold):hover .product-media { box-shadow: 0 0 0 1.5px var(--ink), 0 26px 50px rgba(20, 22, 40, .12); transform: translateY(-6px); }
.product:not(.is-sold):hover .product-media img { transform: scale(1.2); }
.badge {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px;
  background: rgba(14, 15, 20, .88); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em;
}
.sold-tag {
  position: absolute; top: 14px; right: 14px; padding: 6px 12px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 2px 10px rgba(20, 22, 40, .12);
}
.is-sold .product-media img, .detail-media.is-sold img { filter: grayscale(1); opacity: .45; }
.is-sold .product-info { opacity: .55; }
.product-info { padding: 16px 4px 0; display: grid; gap: 6px; min-width: 0; }
.product-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.product-name { font-weight: 800; font-size: 16px; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.product-meta { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; margin-top: 6px; gap: 10px; }
.product-buy > div { min-width: 0; }
.price { display: block; font-weight: 800; font-size: 18px; letter-spacing: -.02em; white-space: nowrap; }
.installment { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }

.tier {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; flex: none; white-space: nowrap;
  font-size: 11px; font-weight: 700; color: var(--ink); background: var(--soft);
}
.tier::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--tier); }

/* ---------- banner do mystery ---------- */
.banner {
  position: relative; overflow: hidden; border-radius: 32px; color: #fff; padding: 64px 56px; min-height: 380px;
  background: linear-gradient(90deg, #060a2e 0%, rgba(6, 10, 46, .85) 34%, rgba(6, 10, 46, 0) 62%), url(img/mystery-banner.webp) right center / cover no-repeat, #060a2e;
  display: flex; align-items: center;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.banner:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(20, 20, 60, .3); }
.banner-copy { display: grid; gap: 14px; justify-items: start; max-width: 480px; }
.banner-logo { height: 34px; margin-bottom: 4px; }
.banner-logo > img, .stage-logo > img { height: 100%; width: auto; }
/* logo no topo do palco do Mystery Pack; some quando as cartas aparecem */
.stage-logo { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); z-index: 6; height: 30px; opacity: .95; pointer-events: none; transition: opacity .4s; }
.is-dropped .stage-logo { opacity: 0; }
.banner .eyebrow { color: #b9bdd4; }
.banner h2 { font-size: clamp(30px, 4vw, 46px); }
.banner p:not(.eyebrow) { color: #d3d6ea; }

/* ---------- destaques com foto ---------- */
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.feature { border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .4s var(--ease), box-shadow .4s; }
a.feature:hover { transform: translateY(-4px); box-shadow: 0 26px 50px rgba(20, 22, 40, .1); }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
/* foto do slab inteiro, sem cortar: o fundo branco da foto se mistura ao card */
.feature img.feature-slab { object-fit: contain; background: #fff; padding-top: 14px; }
.feature div { padding: 26px 28px 30px; display: grid; gap: 8px; align-content: start; }
.feature h3 { font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -.02em; }
.feature p:not(.eyebrow) { font-size: 14.5px; color: var(--muted); }
.feature span { font-size: 13.5px; font-weight: 800; margin-top: 4px; }

/* ---------- vantagens ---------- */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perks div { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.perks i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--soft); margin-bottom: 6px; }
.perks h3 { font-size: 16px; letter-spacing: -.01em; }
.perks p { font-size: 13.5px; color: var(--muted); }

/* ---------- carta ---------- */
.detail { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; padding: 44px 0 0; align-items: start; }
.detail-media {
  position: sticky; top: 92px; aspect-ratio: 3 / 4; border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(20, 22, 40, .08);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease);
}
.detail-media.is-tilting { transition: transform .1s linear; }
.detail-media img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.08); }
.glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .55), transparent 45%); }
.is-tilting .glare { opacity: 1; }
.detail-info { display: grid; gap: 12px; padding-top: 8px; justify-items: start; min-width: 0; }
.detail-info h1 { font-size: clamp(28px, 3.6vw, 42px); }
.detail-info .back { margin-bottom: 12px; }
.detail-tags { display: flex; gap: 8px; }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.original { color: var(--muted); font-size: 15px; }
.price-box { width: 100%; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 10px; margin: 10px 0; }
.detail-price { font-family: var(--display); font-size: 32px; font-weight: 600; letter-spacing: -.03em; }
.detail-info .lead { font-size: 15px; }
.specs { width: 100%; margin-top: 12px; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); flex: none; }
.specs dd { font-weight: 600; text-align: right; }
.mystery-hint {
  width: 100%; margin-top: 8px; padding: 16px 20px; border-radius: 16px; background: var(--ink); color: #fff;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700;
}
.mystery-hint span:last-child { color: #c9cbd6; }

/* ---------- mystery pack ---------- */
.mystery-head { padding: 56px 0 28px; display: grid; gap: 14px; justify-items: center; text-align: center; }

.stage {
  --tier: #8a8f9e; --gap: 0px; --s: 1; --cy: 290px;
  position: relative; height: 760px; transition: height .5s var(--ease); border-radius: 32px; overflow: hidden; overflow: clip; user-select: none; color: #fff;
  background: linear-gradient(180deg, rgba(11, 12, 20, .1) 0%, rgba(11, 12, 20, 0) 40%, rgba(11, 12, 20, .65) 100%), url(img/mystery-bg.webp) center / cover no-repeat, var(--night);
}
.stage[data-n="2"] { --gap: 270px; --s: .86; }
.stage[data-n="3"] { --gap: 250px; --s: .76; }
.stage.no-anim, .stage.no-anim * { transition: none !important; animation: none !important; }
#fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }

.rays {
  position: absolute; left: 50%; top: var(--cy); width: 1100px; height: 1100px; margin: -550px 0 0 -550px; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, var(--tier) 0deg 9deg, transparent 9deg 24deg);
  -webkit-mask: radial-gradient(circle, #000 0%, transparent 60%); mask: radial-gradient(circle, #000 0%, transparent 60%);
  opacity: 0; transition: opacity .8s; animation: spin 26s linear infinite;
}
.is-flipped .rays { opacity: .25; }
@keyframes spin { to { transform: rotate(360deg); } }

.flash { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; background: radial-gradient(circle at 50% 30%, #fff 0%, rgba(255, 255, 255, 0) 55%); }
.is-torn .flash { animation: flash .55s ease-out; }
@keyframes flash { 0% { opacity: 0; } 25% { opacity: .9; } 100% { opacity: 0; } }

/* o pack: a foto é cortada em duas partes para a aba rasgar */
.pack {
  position: absolute; left: 50%; top: var(--cy); width: 260px; height: 424px; margin: -212px 0 0 -130px; z-index: 2; cursor: pointer;
  filter: drop-shadow(0 0 44px rgba(150, 130, 255, .4)) drop-shadow(0 24px 30px rgba(0, 0, 0, .5));
  animation: bob 4s ease-in-out infinite;
  transition: transform .7s cubic-bezier(.5, 0, .9, .4), opacity .5s .15s;
}
.pack:hover { animation-play-state: paused; }
.pack.is-locked { filter: grayscale(1) opacity(.4); cursor: not-allowed; animation: none; }
@keyframes bob { 0%, 100% { transform: translateY(-6px) rotate(-1.2deg); } 50% { transform: translateY(8px) rotate(1.2deg); } }
.pack-top, .pack-body { position: absolute; left: 0; right: 0; background: url(img/pack.webp) no-repeat; background-size: 260px 424px; }
.pack-top {
  top: 0; height: 57px; background-position: 0 0;
  transform-origin: 0 100%;
  transition: transform .6s cubic-bezier(.3, .6, .4, 1), opacity .5s .1s;
}
.pack-body { top: 49px; bottom: 0; background-position: 0 -49px; }
.pack-count {
  position: absolute; right: -14px; top: 64px; padding: 7px 13px; border-radius: 999px; background: #fff; color: var(--ink);
  font-size: 12.5px; font-weight: 800; box-shadow: 0 6px 18px rgba(0, 0, 0, .3); transform: rotate(8deg);
}
.pack-count:empty { display: none; }

.is-charging .pack { animation: shake 1.4s linear forwards, glow 1.4s ease-in forwards; cursor: default; }
@keyframes shake {
  0% { transform: translate(0, 0) rotate(0); }
  10% { transform: translate(-1px, 1px) rotate(-.6deg); }
  20% { transform: translate(2px, -1px) rotate(.8deg); }
  30% { transform: translate(-2px, 1px) rotate(-1.2deg); }
  40% { transform: translate(3px, 1px) rotate(1.6deg); }
  50% { transform: translate(-4px, -2px) rotate(-2.2deg) scale(1.01); }
  60% { transform: translate(5px, 2px) rotate(2.8deg) scale(1.02); }
  70% { transform: translate(-6px, -2px) rotate(-3.4deg) scale(1.03); }
  80% { transform: translate(7px, 2px) rotate(4deg) scale(1.04); }
  90% { transform: translate(-7px, -1px) rotate(-4deg) scale(1.05); }
  100% { transform: translate(0, 0) rotate(0) scale(1.05); }
}
@keyframes glow { to { filter: drop-shadow(0 0 60px var(--tier)) drop-shadow(0 0 18px var(--tier)); } }
.is-torn .pack { animation: none; transform: scale(1.05); filter: drop-shadow(0 0 50px var(--tier)); cursor: default; }
.is-torn .pack-top { transform: translate(70px, -150px) rotate(48deg); opacity: 0; }
.is-torn .pack-count { opacity: 0; }
.is-dropped .pack { transform: translateY(125%) rotate(7deg); opacity: 0; pointer-events: none; }

/* as cartas sorteadas */
.rcs { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.is-dropped .rcs { z-index: 3; pointer-events: auto; }
.rc {
  position: absolute; left: 50%; top: var(--cy); width: 296px; height: 395px; margin: -197px 0 0 -148px;
  perspective: 1100px; opacity: 0; transform: translateY(24px) scale(.69);
  transition: transform .75s var(--ease);
}
.rc::before {
  content: ''; position: absolute; inset: -60px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, var(--tier) 0%, transparent 68%);
  filter: blur(22px); opacity: 0; transition: opacity .5s;
}
.is-torn .rc { opacity: 1; }
.is-rising .rc { transform: translateY(-140px) scale(.69); }
.is-dropped .rc { transform: translateX(calc((var(--i) - (var(--n) - 1) / 2) * var(--gap))) scale(var(--s)); }
.is-dropped .rc::before { opacity: .85; animation: pulse .5s ease-in-out infinite alternate; }
.is-flipped .rc::before { animation: none; opacity: .65; }
@keyframes pulse { from { transform: scale(.9); } to { transform: scale(1.12); } }

.rc-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; --sx: 50%; --sy: 50%; }
.rc-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.3, 1.3, .5, 1); }
.is-dropped .rc-inner { animation: wobble .5s ease-in-out infinite alternate; }
.is-flipped .rc-inner { animation: none; transform: rotateY(180deg); transition-delay: calc(var(--i) * .6s); }
@keyframes wobble { from { transform: rotateY(-9deg) rotateZ(-1.5deg); } to { transform: rotateY(9deg) rotateZ(1.5deg); } }
.rc-face { position: absolute; inset: 0; border-radius: 14px; overflow: hidden; backface-visibility: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .5); }
.rc-back { background: #0b1238 url(img/card-back.webp) center / cover no-repeat; }
.rc-front { transform: rotateY(180deg); background: #fff; }
.rc-front img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.3); }
.rc-shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--sx) var(--sy), rgba(255, 255, 255, .5), transparent 50%); }

.stage-foot { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 6; display: grid; justify-items: center; gap: 18px; padding: 0 20px; }
.sizes { display: flex; gap: 10px; padding: 6px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); }
.size { display: grid; gap: 1px; padding: 10px 18px; border-radius: 14px; color: #c9cbd6; text-align: center; transition: background .2s, color .2s; min-width: 120px; }
.size b { font-size: 14px; color: #fff; }
.size span { font-size: 12.5px; }
.size:hover { background: rgba(255, 255, 255, .08); }
.size.is-active { background: #fff; color: var(--muted); }
.size.is-active b { color: var(--ink); }
.open-row { display: grid; justify-items: center; gap: 12px; }
.open-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cart-item img.cart-pack, .sum-item img.cart-pack { object-fit: contain; background: var(--soft); padding: 4px; }
.stage .fine { color: #b9bdd4; text-align: center; max-width: 520px; }

.choice {
  width: min(760px, 100%); padding: 22px; border-radius: 26px;
  background: rgba(10, 12, 24, .72); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px);
  display: grid; gap: 14px; animation: rise .5s var(--ease);
}
.choice-head { display: grid; gap: 2px; text-align: center; }
.choice-head strong { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.verdict { font-size: 13.5px; font-weight: 700; color: #f0b9b9; }
.verdict.is-win { color: #86efac; }
.choice-list { display: grid; gap: 10px; }
.choice-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .06); }
.choice-row img { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; background: #fff; }
.choice-info { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.choice-info strong { font-size: 15px; }
.choice-info span:not(.tier) { font-size: 12.5px; color: #b9bdd4; }
.choice-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.decided { font-size: 13px; font-weight: 800; color: #86efac; }
.keep-all { justify-self: center; }

.pulls { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; min-height: 20px; margin-top: 24px; }
.pulls span { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.pulls a { width: 44px; height: 58px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s; }
.pulls a:hover { transform: translateY(-3px); }
.pulls img { width: 100%; height: 100%; object-fit: cover; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.steps div { padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.steps b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: var(--display); font-size: 13px; margin-bottom: 6px; }
.steps h3 { font-size: 16px; }
.steps p { font-size: 13.5px; color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.stats div { padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 6px; align-content: space-between; }
.stats span { font-size: 13px; color: var(--muted); }
.stats strong { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.03em; }
.stats div:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.stats div:first-child span { color: #c9cbd6; }

.pool-warn { margin-bottom: 16px; padding: 14px 18px; border-radius: 14px; background: #fff6e5; color: #7a4b00; font-size: 14px; font-weight: 600; }
.odds-note { margin-bottom: 10px; }
.odds { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.odd {
  display: grid; grid-template-columns: 20px 44px minmax(0, 1.4fr) 110px minmax(80px, 1fr) 64px; align-items: center; gap: 16px;
  padding: 12px 18px; border-bottom: 1px solid var(--line); transition: background .2s; cursor: pointer;
}
.odd:last-child { border-bottom: 0; }
.odd:hover { background: var(--soft); }
.odd input { width: 18px; height: 18px; accent-color: var(--ink); cursor: pointer; }
.odd.is-off > :not(input) { opacity: .38; }
.odd.is-off .odd-pct { font-weight: 600; font-size: 13px; }
.odd.is-gone { cursor: default; background: var(--soft); }
.odd.is-gone img { filter: grayscale(1); }
.odd img { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.odd-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; min-width: 0; }
.odd-price { font-size: 14px; color: var(--muted); text-align: right; }
.odd-bar { height: 8px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.odd-bar i { display: block; height: 100%; border-radius: inherit; transition: width .4s var(--ease); }
.odd-pct { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }

.rules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.how { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.how h3 { font-size: 17px; }
.how ol { padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; color: #3c4050; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; padding: 40px 0 0; align-items: start; }
.checkout-main { display: grid; gap: 16px; }
.checkout-main h1 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 8px; }
.co-box { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 18px; margin-bottom: 16px; }
.co-box legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; margin-bottom: 4px; }
.co-box legend b { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-family: var(--display); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.wide { grid-column: 1 / -1; }
.field > span { font-size: 13px; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid #d6d7de; background: #fff; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(14, 15, 20, .08); }
.field [aria-invalid="true"] { border-color: #c62828; }
.field-error { font-style: normal; font-size: 12.5px; color: #c62828; }
.field-error:empty { display: none; }
.cep-hint { align-self: end; font-size: 12.5px; color: var(--muted); padding-bottom: 14px; }
.options { display: grid; gap: 10px; }
.option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 1px solid #d6d7de; cursor: pointer; transition: border-color .2s, background .2s; }
.option:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.option input { width: 18px; height: 18px; accent-color: var(--ink); }
.option span { display: grid; }
.option small { color: var(--muted); font-size: 12.5px; }
.option em { font-style: normal; font-weight: 800; font-size: 14px; }

.checkout-summary { position: sticky; top: 92px; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 16px; }
.checkout-summary h2 { font-size: 20px; }
.sum-items { display: grid; gap: 12px; }
.sum-item { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; font-size: 14px; }
.sum-item img { width: 44px; height: 58px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.sum-item span { display: grid; font-weight: 700; min-width: 0; }
.sum-item small { font-weight: 500; color: var(--muted); font-size: 12px; }
.sum-lines { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; }
.sum-lines div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.sum-lines .is-credit { color: #0f7a43; font-weight: 700; }
.sum-lines .sum-total { color: var(--ink); align-items: baseline; padding-top: 6px; font-size: 16px; }
.sum-total strong { font-family: var(--display); font-weight: 600; font-size: 22px; }
.use-credit { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; }
.use-credit input { width: 18px; height: 18px; accent-color: var(--ink); }
.form-error { padding: 12px 14px; border-radius: 12px; background: #fdecec; color: #a11b1b; font-size: 14px; font-weight: 600; }

/* ---------- pedido ---------- */
.order { padding: 40px 0 0; display: grid; gap: 24px; }
.order-card { width: min(640px, 100%); margin-inline: auto; padding: 40px; border-radius: 28px; border: 1px solid var(--line); display: grid; gap: 16px; justify-items: start; }
.order-card h1 { font-size: clamp(26px, 3.4vw, 36px); }
.order-check { width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 24px; font-weight: 800; }
.status { padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; background: var(--soft); }
.status-pago, .status-enviado, .status-entregue { background: #e8f6ee; color: #0f7a43; }
.status-cancelado { background: #fdecec; color: #a11b1b; }
.pix { width: 100%; padding: 20px; border-radius: 18px; background: var(--soft); display: grid; gap: 10px; }
.pix-key { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pix-key code { flex: 1; min-width: 0; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; }
.order-items { width: 100%; display: grid; gap: 12px; padding-top: 8px; }
.order .sum-lines { width: 100%; }
.empty-page { padding: 96px 0; display: grid; gap: 16px; justify-items: center; text-align: center; }

/* ---------- carrinho ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; background: rgba(14, 15, 20, .4); backdrop-filter: blur(3px); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(410px, 100%); background: #fff;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
}
.drawer.is-open { transform: none; visibility: visible; box-shadow: -20px 0 60px rgba(14, 15, 20, .18); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 17px; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot:empty { display: none; }
.cart-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 60px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.cart-item div { display: grid; gap: 2px; font-size: 13px; color: var(--muted); min-width: 0; }
.cart-item strong { color: var(--ink); font-size: 14.5px; }
.cart-price { color: var(--ink) !important; font-weight: 700; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; margin-bottom: 4px; }
.cart-total strong { font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 60; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 13px 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 600;
  transition: opacity .3s, transform .3s var(--ease); max-width: calc(100% - 32px); text-align: center; box-shadow: 0 12px 30px rgba(14, 15, 20, .3);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- rodapé ---------- */
.footer { margin-top: 110px; background: var(--night); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 60px 0 44px; }
.footer .logo { margin-bottom: 16px; }
.footer .logo img { height: 36px; }
.footer p { font-size: 13.5px; max-width: 300px; color: #a6a9ba; }
.footer h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 12px; }
.footer-grid a:not(.logo) { display: block; font-size: 13.5px; padding: 4px 0; color: #a6a9ba; }
.footer-grid a:not(.logo):hover { color: #fff; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 22px 0; font-size: 12.5px; color: #7d8196; border-top: 1px solid rgba(255, 255, 255, .1); }

/* ---------- responsivo ---------- */
@media (max-width: 980px) {
  .perks, .steps, .stats { grid-template-columns: 1fr 1fr; }
  .banner { padding: 40px 32px; min-height: 320px; background: linear-gradient(90deg, #060a2e 0%, rgba(6, 10, 46, .8) 55%, rgba(6, 10, 46, .35) 100%), url(img/mystery-banner.webp) 80% center / cover no-repeat; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
}
@media (max-width: 820px) {
  .section { margin-top: 64px; }
  .hero-grid { padding-top: 24px; }
  /* no celular entra a foto do slab em pé: etiqueta no topo, janela embaixo */
  .slab {
    --lx: 11.39%; --ly: 6.56%; --lw: 77.72%; --lh: 13.81%;
    --wx: 12.1%; --wy: 24.78%; --ww: 76.11%; --wh: 65.83%;
    width: min(100%, 420px); aspect-ratio: 992 / 1586; background-image: url(img/slab-v.webp);
  }
  .slab-label { flex-direction: row; align-items: center; padding: 0 4.5cqw; gap: 3cqw; }
  .slab-logo { width: 30cqw; }
  .slab-meta, .slab-code { display: none; }
  .slab-grade { padding: 0; border: 0; gap: 2cqw; }
  .slab-grade b { font-size: 10cqw; }
  .slab-grade span { font-size: max(9px, 2.6cqw); }
  .slab-window { grid-template-columns: minmax(0, 1fr); align-content: center; gap: 4.5cqw; padding: 5cqw 5.5cqw; }
  .hero-copy { gap: 2.6cqw; }
  .hero-copy .eyebrow { font-size: max(10px, 2.4cqw); }
  .hero-copy h1 { font-size: 7.2cqw; }
  .hero-copy .lead { font-size: max(12.5px, 3.4cqw); line-height: 1.45; max-width: none; }
  .hero-chips { gap: 1.8cqw; margin-top: 1cqw; }
  .hero-chips .chip { gap: 1.4cqw; padding: max(5px, 1.3cqw) max(10px, 2.6cqw); font-size: max(11.5px, 3cqw); }
  .hero-chips .chip svg { width: max(13px, 3.3cqw); height: max(13px, 3.3cqw); }
  .hero-cta { gap: 2.5cqw; }
  .slab .btn-lg { padding: 12px 18px; font-size: 14px; }
  .slab-glare { inset: 1.5% 2%; border-radius: 6cqw; }
  .detail { grid-template-columns: 1fr; gap: 24px; padding-top: 20px; }
  .detail-media { position: relative; top: 0; }
  .rules { grid-template-columns: 1fr; }
  .odd { grid-template-columns: 20px 44px minmax(0, 1fr) 64px; gap: 12px; }
  .odd-price, .odd-bar { display: none; }
  .header-row { gap: 10px; }
  .logo img { height: 24px; }
  .stage-logo { height: 22px; top: 18px; }
  .nav a { padding: 8px 10px; }
  .nav i { display: none; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 14px; }
  .product-top { grid-template-columns: minmax(0, 1fr); }
  .product-top .tier { display: none; }
  .product-buy { grid-template-columns: minmax(0, 1fr); }
  .stage { height: 720px; border-radius: 24px; }
  .stage[data-n="2"] { --gap: 160px; --s: .52; }
  .stage[data-n="3"] { --gap: 108px; --s: .38; }
  .pack { scale: .8; }
  .size { min-width: 0; padding: 9px 12px; }
  .choice-row { grid-template-columns: 44px minmax(0, 1fr); }
  .choice-actions { grid-column: 1 / -1; }
  .choice-actions .btn { flex: 1; }
  .field-grid { grid-template-columns: 1fr; }
  .order-card { padding: 26px; }
}
@media (min-width: 821px) and (max-width: 1060px) {
  /* tablet deitado: slab horizontal pequeno, a ficha ocupa o lugar da linha de cima */
  .hero-copy .eyebrow { display: none; }
}
@media (max-width: 520px) {
  /* no celular o chip do Mystery Pack fica numa linha só; o preço aparece na página do pack */
  .chip-price { display: none; }
}
@media (max-width: 370px) {
  /* celular pequeno: a janela do slab não comporta o parágrafo junto com a ficha */
  .hero-copy .lead { display: none; }
}
@media (max-width: 520px) {
  .perks, .steps { grid-template-columns: 1fr; }
  /* o logo já leva para a loja; sobra espaço para Mystery Pack e Entrar */
  .nav a[data-nav="loja"] { display: none; }
  .account-link { max-width: 120px; }
  .wallet { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- conta, termos ---------- */
.account-link { padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; background: #fff; color: var(--ink); white-space: nowrap; max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.account-link:hover { box-shadow: 0 6px 16px rgba(255, 255, 255, .18); }
.link { text-decoration: underline; text-underline-offset: 2px; font-weight: 700; color: var(--ink); }
.check { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; }
.check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--ink); }
.check .field-error { display: block; }
.btn-danger { background: #fdecec; color: #a11b1b; }
.btn-danger:hover { background: #a11b1b; color: #fff; }

.auth { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 48px 0 0; align-items: start; }
.auth-intro { grid-column: 1 / -1; display: grid; gap: 10px; }
.auth-intro h1 { font-size: clamp(28px, 3.6vw, 40px); }
.auth-box { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 14px; }
.auth-box h2 { font-size: 20px; }

.account { padding: 44px 0 0; display: grid; gap: 24px; }
.account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.account-head h1 { font-size: clamp(28px, 3.6vw, 40px); }
.account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.acc-box { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 14px; min-width: 0; }
.acc-box-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.acc-box-head h2 { font-size: 18px; }
.acc-box p { font-size: 14.5px; color: #3c4050; }
.acc-credit { font-family: var(--display); font-weight: 600; font-size: 24px; }
.doc-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.doc-form .wide { grid-column: 1 / -1; }
.doc-slot { position: relative; display: grid; place-items: center; min-height: 130px; padding: 14px; border-radius: 16px; border: 1.5px dashed #c9cad3; text-align: center; cursor: pointer; overflow: hidden; transition: border-color .2s; }
.doc-slot:hover { border-color: var(--ink); }
.doc-slot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.doc-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.doc-slot span { display: grid; font-size: 14px; font-weight: 700; }
.doc-slot small { font-weight: 500; color: var(--muted); font-size: 12px; }
.ledger { display: grid; gap: 2px; max-height: 280px; overflow: auto; }
.ledger div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.ledger span { display: grid; }
.ledger small { color: var(--muted); font-size: 12px; }
.ledger b { white-space: nowrap; }
.ledger .is-plus { color: #0f7a43; }
.pull-list { display: grid; gap: 10px; }
.pull-row { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: center; font-size: 14px; font-weight: 700; }
.pull-row img { width: 40px; height: 54px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }
.pull-row span, .order-row span:first-child { display: grid; }
.pull-row small, .order-row small { font-weight: 500; color: var(--muted); font-size: 12px; }
.order-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-row:hover b { text-decoration: underline; }
.status-pendente { background: #fff4dc; color: #7a4b00; }
.danger-zone { padding: 20px 24px; border-radius: var(--radius); border: 1px solid var(--line); font-size: 14px; }
.danger-zone summary { cursor: pointer; font-weight: 700; color: var(--muted); }
.danger-zone p { margin: 12px 0; color: #3c4050; }
.delete-form { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; }
.delete-form .field { width: 260px; }

.legal { padding: 48px 0 0; max-width: 760px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(28px, 3.6vw, 40px); }
.legal h2 { font-size: 18px; margin-top: 12px; }
.legal p, .legal li { font-size: 15px; color: #3c4050; line-height: 1.65; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; }
.legal mark { background: #fff4dc; color: #7a4b00; padding: 0 4px; border-radius: 4px; }
.legal-accept { margin-top: 16px; padding: 22px; border-radius: var(--radius); background: var(--soft); display: grid; gap: 12px; justify-items: start; }
.legal-line { flex-basis: 100%; }

.choice-foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.choice-head span { font-size: 13.5px; color: #c9cbd6; }

@media (max-width: 820px) {
  .auth, .account-grid, .doc-form { grid-template-columns: 1fr; }
  .account-link { padding: 7px 11px; font-size: 13px; max-width: 96px; }
}

/* ---------- sorteio verificável ---------- */
.mono { font-family: ui-monospace, Consolas, Menlo, monospace; }
.fair-bar { padding-top: 30px; margin: 6px 0 4px; }
.fb-track { position: relative; height: 34px; border-radius: 10px; background: var(--soft); }
.fb-seg { position: absolute; top: 0; bottom: 0; background: var(--c); opacity: .85; box-shadow: inset -1px 0 0 #fff; transition: opacity .4s; }
.fb-track .fb-seg:first-child { border-radius: 10px 0 0 10px; }
.fb-track .fb-seg:nth-last-child(2) { border-radius: 0 10px 10px 0; box-shadow: none; }
.fair-bar.is-done .fb-seg { opacity: .22; }
.fair-bar.is-done .fb-seg.is-hit { opacity: 1; box-shadow: 0 0 0 2px var(--ink); z-index: 1; }
.fb-needle { position: absolute; top: -6px; bottom: -6px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--ink); z-index: 2; }
/* o número acompanha a agulha sem sair da barra nas pontas */
.fb-needle span { position: absolute; bottom: calc(100% + 4px); left: 0; padding: 3px 9px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 12px/1.3 ui-monospace, Consolas, Menlo, monospace; white-space: nowrap; transform: translateX(calc(var(--p, 50) * -1%)); }
.fair-bar.is-sealed .fb-seg { opacity: .5; filter: saturate(.7); }
.fair-bar.is-sealed .fb-needle { background: none; border-left: 2px dashed var(--muted); }
.fair-bar.is-sealed .fb-needle span { background: #fff; color: var(--muted); border: 1px solid var(--line); font-family: inherit; text-transform: uppercase; letter-spacing: .08em; font-size: 10.5px; }
.fb-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--muted); }

.fair { width: min(640px, 100%); margin-inline: auto; padding: 32px 40px; border-radius: 28px; border: 1px solid var(--line); display: grid; gap: 16px; }
.fair + .fair { margin-top: 24px; }
.fair-head { display: grid; gap: 6px; }
.fair-head h2 { font-size: 22px; }
.fair-keys { display: grid; gap: 10px; }
.fair-keys div { display: grid; gap: 4px; min-width: 0; }
.fair-keys dt { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.fair-keys code { display: block; padding: 8px 10px; border-radius: 8px; background: var(--soft); font: 12px/1.5 ui-monospace, Consolas, Menlo, monospace; overflow-wrap: anywhere; }
.fair-draw { display: grid; gap: 2px; }
.fair-draw p { font-size: 14px; }
.fair-draw small { color: var(--muted); }
.fair-check { padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 13.5px; font-weight: 600; }
.fair-check.is-ok { background: #e8f7ee; color: #12643a; }
.fair-check.is-bad { background: #fdeced; color: #a01f25; }
.fair-more summary { cursor: pointer; font-size: 14px; font-weight: 700; }
.fair-table { display: grid; gap: 4px; margin-top: 12px; max-height: 380px; overflow: auto; }
.ft-row { display: grid; grid-template-columns: 4px 30px minmax(0, 1fr) auto 52px; gap: 10px; align-items: center; padding: 4px 6px; border-radius: 8px; font-size: 13px; }
.ft-row i { align-self: stretch; border-radius: 2px; background: var(--c); }
.ft-row img { width: 30px; height: 42px; object-fit: cover; border-radius: 4px; }
.ft-row span { display: grid; min-width: 0; font-weight: 600; }
.ft-row small { color: var(--muted); font-weight: 500; }
.ft-row code { font: 12px ui-monospace, Consolas, Menlo, monospace; color: var(--muted); white-space: nowrap; }
.ft-row b { text-align: right; }
.ft-row.is-hit { background: #fff6dd; }

.fair-box { display: grid; gap: 8px; margin: 14px 0 4px; padding: 14px; border-radius: 16px; border: 1px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(100deg, #8fdcff, #c6b4ff, #ffb0dc, #ffe0a0) border-box; }
.fair-box-title { font-weight: 800; font-size: 14px; }
.fair-hash { display: block; padding: 8px 10px; border-radius: 8px; background: var(--soft); font: 11.5px/1.5 ui-monospace, Consolas, Menlo, monospace; overflow-wrap: anywhere; }
.fair-box .field input { font-family: ui-monospace, Consolas, Menlo, monospace; font-size: 13px; }

.fair-explain .lead { margin-top: -8px; }
.fair-explain .fair-bar { margin-top: 18px; }
.sim-result { margin-top: 2px; min-height: 1.5em; }
.fair-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 24px; padding: 0; list-style: none; }
.fair-steps li { padding: 18px; border-radius: 18px; background: var(--soft); font-size: 14px; color: var(--muted); }
.fair-steps b { display: block; margin-bottom: 4px; color: var(--ink); }

.mp-tag { font-size: 11px !important; padding: 3px 9px; border-radius: 999px; background: #e8f2ff; color: #0a58ca; }

@media (max-width: 820px) {
  .fair-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .fair { padding: 24px 20px; border-radius: 22px; }
  .fair-steps { grid-template-columns: 1fr; }
  .ft-row { grid-template-columns: 4px 30px minmax(0, 1fr) 48px; }
  .ft-row code { grid-column: 3; grid-row: 2; font-size: 11px; }
  .ft-row img { grid-row: span 2; }
  .ft-row i { grid-row: span 2; }
  .ft-row b { grid-column: 4; grid-row: 1 / span 2; }
}

/* chances do pack no resumo do checkout */
.pack-odds { margin: -4px 0 6px 58px; font-size: 12.5px; }
.pack-odds summary { cursor: pointer; color: var(--muted); font-weight: 700; }
.pack-odds div { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; border-bottom: 1px solid var(--line); }
.pack-odds b { font-variant-numeric: tabular-nums; }
