:root {
  --bg: #08080a;
  --bg-2: #0e0e11;
  --surface: rgba(255, 255, 255, 0.025);
  --surface-2: rgba(255, 255, 255, 0.045);
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #6b6b74;
  --purple: #8b5cf6;
  --purple-soft: #b794ff;
  --neon: #c6ff4d;
  --danger: #ff6b81;
  --radius: 18px;
  --display: 'Unbounded', system-ui, sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Manrope', system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* textura fosca */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer { position: relative; z-index: 1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--purple-soft); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8, 8, 10, .78); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 13px; letter-spacing: .32em; font-weight: 600; }
.brand svg { width: 22px; height: 22px; color: var(--neon); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .2s, box-shadow .3s, background .2s, opacity .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-primary { background: var(--text); color: #0a0a0b; }
.btn-primary:hover:not([disabled]) { box-shadow: 0 0 0 1px rgba(198, 255, 77, .5), 0 10px 40px -10px rgba(198, 255, 77, .35); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; left: 50%; top: 18%; width: 820px; height: 820px; translate: -50% -50%;
  background: radial-gradient(circle, rgba(139, 92, 246, .16), transparent 62%);
  pointer-events: none; z-index: -1;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 12px var(--neon); }
.crown { display: block; width: 54px; height: 54px; margin: 34px auto 18px; color: var(--neon); filter: drop-shadow(0 0 10px rgba(198, 255, 77, .35)); }
.title { font-family: var(--display); font-weight: 700; font-size: clamp(48px, 11vw, 132px); letter-spacing: .06em; line-height: .95; }
.title-night {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(52px, 10vw, 118px); letter-spacing: .01em; line-height: 1; margin-top: 4px;
  color: var(--purple-soft); text-shadow: 0 0 28px rgba(139, 92, 246, .45);
}
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 38px 0 40px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; color: var(--muted); background: var(--surface); }
.chip svg { width: 16px; height: 16px; opacity: .8; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-price { margin-top: 22px; font-size: 14px; color: var(--dim); }
.hero-price b { color: var(--text); font-weight: 600; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 1px; height: 46px; background: linear-gradient(var(--line-2), transparent); }

/* ---------- sections ---------- */
section { padding: 110px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--purple-soft); margin-bottom: 14px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.1; letter-spacing: -.01em; }
h2 em { font-family: var(--serif); font-weight: 400; font-style: italic; letter-spacing: 0; color: var(--purple-soft); }
.lead { color: var(--muted); max-width: 460px; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }

/* ---------- info grid ---------- */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.info-item { padding: 28px 26px; border-right: 1px solid var(--line); }
.info-item:last-child { border-right: 0; }
.info-label { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); margin-bottom: 10px; }
.info-value { font-size: 18px; font-weight: 600; }
.info-sub { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-item:nth-child(2) { border-right: 0; }
  .info-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-item:last-child { border-bottom: 0; }
}

/* ---------- lotes ---------- */
.lots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .lots { grid-template-columns: 1fr; } }
.lot {
  position: relative; padding: 30px 28px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, transform .3s;
}
.lot.current { border-color: rgba(139, 92, 246, .55); background: linear-gradient(180deg, rgba(139, 92, 246, .09), rgba(139, 92, 246, .015)); }
.lot.current::before {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 30px 80px -40px rgba(139, 92, 246, .6);
}
.lot.soldout { opacity: .45; }
.lot-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.lot-name { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.badge { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.badge.live { color: var(--neon); border-color: rgba(198, 255, 77, .35); background: rgba(198, 255, 77, .06); }
.lot-price { font-family: var(--display); font-size: 40px; font-weight: 600; letter-spacing: -.02em; }
.lot-price small { font-size: 18px; color: var(--muted); font-weight: 500; margin-right: 4px; }
.lot-range { margin-top: 6px; font-size: 14px; color: var(--dim); }
.bar { height: 4px; border-radius: 4px; background: var(--line); margin-top: 26px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--neon)); transition: width 1s ease; }
.lot-foot { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- line-up ---------- */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .lineup { grid-template-columns: 1fr; } }
.artist { position: relative; padding: 34px 28px 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.artist-num { font-family: var(--display); font-size: 12px; color: var(--dim); letter-spacing: .2em; }
.artist-name { font-family: var(--display); font-size: clamp(24px, 3vw, 30px); font-weight: 600; margin: 50px 0 6px; letter-spacing: -.01em; }
.artist-role { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--purple-soft); }
.artist::after { content: ''; position: absolute; right: -60px; top: -60px; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .14), transparent 70%); }

/* ---------- open + dress ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.card { padding: 36px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.card h3 { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); }
.open-list { list-style: none; margin-top: 26px; display: grid; gap: 10px; }
.open-list li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); font-weight: 500; }
.open-list svg { width: 18px; height: 18px; color: var(--neon); flex: none; }
.swatches { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.sw i { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); }
.dress-img { margin-top: 26px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #0b0b0d; }
.dress-img img { width: 100%; height: auto; aspect-ratio: 618 / 772; object-fit: contain; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--dim); font-weight: 400; font-size: 20px; line-height: 1; transition: rotate .2s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- closing ---------- */
.closing { text-align: center; padding: 120px 0 100px; }
.closing p.verse { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 5vw, 52px); line-height: 1.15; max-width: 760px; margin: 0 auto 36px; }
.closing p.verse span { color: var(--neon); }
footer { border-top: 1px solid var(--line); padding: 14px 0 env(safe-area-inset-bottom); }

.card-brick { min-height: 320px; }

/* aviso do modo teste */
.test-bar {
  position: fixed; left: 50%; bottom: 18px; translate: -50% 0; z-index: 90;
  display: flex; align-items: center; gap: 14px; max-width: calc(100% - 32px);
  padding: 8px 8px 8px 16px; border-radius: 999px; font-size: 13px; color: var(--text); white-space: nowrap;
  background: rgba(14, 14, 17, .92); backdrop-filter: blur(10px);
  border: 1px solid rgba(198, 255, 77, .45); box-shadow: 0 0 24px -6px rgba(198, 255, 77, .45);
}
.test-bar b { color: var(--neon); }
.test-bar button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; flex: none; }

/* crédito do desenvolvedor */
.credit { display: flex; justify-content: center; width: 100%; padding: 22px 16px 30px; }
.credit a {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 13px; letter-spacing: .06em; color: var(--muted);
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(139, 92, 246, .35);
  box-shadow: 0 0 18px -6px rgba(139, 92, 246, .55), inset 0 0 12px -8px rgba(198, 255, 77, .4);
  transition: border-color .3s, box-shadow .3s, transform .3s;
  overflow: hidden;
}
.credit a::after { /* brilho que passa */
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .14), transparent);
  animation: credit-shine 4.5s ease-in-out infinite;
}
.credit b {
  font-weight: 700; letter-spacing: .08em;
  background: linear-gradient(90deg, var(--purple-soft), var(--neon), var(--purple-soft));
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(198, 255, 77, .45));
  animation: credit-flow 5s linear infinite;
}
.credit svg { width: 15px; height: 15px; color: var(--purple-soft); flex: none; }
.credit a:hover { border-color: rgba(198, 255, 77, .55); box-shadow: 0 0 26px -4px rgba(198, 255, 77, .45); transform: translateY(-1px); }
@keyframes credit-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes credit-flow { to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) { .credit a::after, .credit b { animation: none; } }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- modal / checkout ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); animation: fade .25s; }
.sheet {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%);
  background: var(--bg-2); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; animation: slide .35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.sheet-head .brand { font-size: 11px; }
.close { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); }
.close:hover { background: var(--surface-2); }
.steps { display: flex; gap: 6px; padding: 18px 26px 0; }
.steps i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background .3s; }
.steps i.on { background: var(--purple); }
.steps i.done { background: var(--neon); }
.sheet-body { flex: 1; overflow-y: auto; padding: 26px; }
.sheet-foot { padding: 20px 26px 26px; border-top: 1px solid var(--line); }
.step-title { font-family: var(--display); font-size: 22px; font-weight: 600; margin-bottom: 6px; }
.step-sub { color: var(--muted); font-size: 14px; margin-bottom: 26px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.input {
  width: 100%; height: 52px; padding: 0 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); color: var(--text);
  font: inherit; font-size: 16px; transition: border-color .2s, background .2s;
}
.input::placeholder { color: #55555c; }
.input:focus { outline: none; border-color: var(--purple); background: rgba(139, 92, 246, .05); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.qty { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: 12px; }
.qty-ctl { display: flex; align-items: center; gap: 16px; }
.qty-ctl button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 18px; }
.qty-ctl button:hover { background: var(--surface-2); }
.qty-ctl span { min-width: 18px; text-align: center; font-weight: 700; font-size: 18px; }

.summary { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.summary-row { display: flex; justify-content: space-between; color: var(--muted); padding: 3px 0; }
.summary-total { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; font-size: 17px; }

.otp { display: flex; gap: 10px; justify-content: space-between; margin: 8px 0 18px; }
.otp input {
  width: 100%; max-width: 58px; aspect-ratio: 1 / 1.15; text-align: center; font-size: 24px; font-weight: 700;
  border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); color: var(--text); font-family: var(--sans);
}
.otp input:focus { outline: none; border-color: var(--neon); box-shadow: 0 0 0 3px rgba(198, 255, 77, .12); }
.link { color: var(--purple-soft); font-size: 14px; font-weight: 600; }
.link[disabled] { color: var(--dim); cursor: default; }
.wa-note { display: flex; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.wa-note svg { width: 20px; height: 20px; color: var(--neon); flex: none; margin-top: 2px; }

.pay-opts { display: grid; gap: 10px; }
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line-2); text-align: left; transition: border-color .2s, background .2s; }
.pay-opt:hover { background: var(--surface-2); }
.pay-opt.sel { border-color: var(--purple); background: rgba(139, 92, 246, .07); }
.pay-opt .ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); flex: none; }
.pay-opt .ico svg { width: 20px; height: 20px; }
.pay-opt b { display: block; font-size: 15px; }
.pay-opt small { color: var(--muted); font-size: 13px; }
.pay-opt .radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-2); flex: none; }
.pay-opt.sel .radio { border: 5px solid var(--purple); }

.pix-box { text-align: center; }
.pix-qr { width: 230px; height: 230px; margin: 4px auto 18px; padding: 14px; border-radius: 18px; background: #fff; }
.pix-qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.copy { display: flex; gap: 8px; margin-bottom: 16px; }
.copy input { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.timer { font-size: 14px; color: var(--muted); }
.timer b { color: var(--text); font-variant-numeric: tabular-nums; }
.waiting { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; color: var(--muted); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--neon); animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(198, 255, 77, .5); } 50% { opacity: .5; box-shadow: 0 0 0 6px rgba(198, 255, 77, 0); } }

.success { text-align: center; padding-top: 10px; }
.success-ico { width: 70px; height: 70px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: rgba(198, 255, 77, .08); border: 1px solid rgba(198, 255, 77, .35); color: var(--neon); }
.success-ico svg { width: 30px; height: 30px; }
.tk-list { display: grid; gap: 10px; margin-top: 22px; text-align: left; }
.tk { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line-2); }
.tk code { font-family: ui-monospace, monospace; color: var(--neon); letter-spacing: .12em; }
.tk span { font-size: 13px; color: var(--muted); }

.err { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 10px; font-size: 14px; color: var(--danger); background: rgba(255, 107, 129, .07); border: 1px solid rgba(255, 107, 129, .25); }
.err.show { display: block; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.muted { color: var(--muted); }
.center { text-align: center; }
.mt { margin-top: 16px; }
.hidden { display: none !important; }
