/* ═══════════════════════════════════════════════
   SORA — design system
   Escuro, minimalista, acentos sakura.
   ═══════════════════════════════════════════════ */

:root {
  --bg: #08070b;
  --bg-2: #0e0c12;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.15);
  --ink: #f7eff4;
  --muted: rgba(247, 239, 244, 0.64);
  --dim: rgba(247, 239, 244, 0.4);
  --sakura: #f58fb5;
  --sakura-2: #ff6fa3;
  --sakura-soft: rgba(245, 143, 181, 0.14);
  --rose: #752341;
  --ok: #4ade80;
  --err: #f87171;

  --font: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; background: none; border: 0; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--sakura); color: #1a0710; }

:focus-visible { outline: 2px solid var(--sakura); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ─────────── Camadas de ambiente ─────────── */

.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

.page-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% -10%, rgba(245, 143, 181, 0.12), transparent 70%),
    radial-gradient(40% 40% at 100% 100%, rgba(117, 35, 65, 0.18), transparent 70%);
}

main, footer { position: relative; z-index: 4; }

/* ─────────── Cursor ─────────── */

.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%); opacity: 0; transition: opacity 0.3s;
}
.cursor-dot { width: 6px; height: 6px; background: var(--sakura); }
.cursor-ring {
  width: 36px; height: 36px; border: 1px solid rgba(245, 143, 181, 0.55);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), background 0.35s, border-color 0.35s, opacity 0.3s;
}
.cursor-ring.hover { width: 64px; height: 64px; background: rgba(245, 143, 181, 0.08); border-color: rgba(245, 143, 181, 0.9); }
body.has-cursor .cursor-dot, body.has-cursor .cursor-ring { opacity: 1; }

/* ─────────── Header ─────────── */

.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background 0.4s, border-color 0.4s, height 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  height: 64px;
  background: rgba(8, 7, 11, 0.62);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-color: var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(1320px, 100% - 40px); }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: 0.18em; font-size: 15px; }
.brand img { width: 34px; height: 34px; filter: drop-shadow(0 0 14px rgba(245, 143, 181, 0.55)); transition: transform 0.6s var(--ease); }
.brand:hover img { transform: rotate(72deg) scale(1.08); }

.nav {
  position: relative; display: flex; gap: 4px; padding: 5px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav a {
  position: relative; z-index: 1; padding: 8px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--muted); transition: color 0.25s;
}
.nav a:hover, .nav a.active { color: var(--ink); }
.nav-pill {
  position: absolute; top: 5px; bottom: 5px; left: 0; width: 0; z-index: 0; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease), opacity 0.3s;
}

.header-actions { display: flex; align-items: center; gap: 10px; }
.online-pill {
  display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 13px; color: var(--muted); border: 1px solid var(--line); transition: border-color 0.25s, color 0.25s;
}
.online-pill:hover { border-color: var(--line-2); color: var(--ink); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

.icon-btn {
  position: relative; width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line); transition: border-color 0.25s, background 0.25s;
}
.icon-btn:hover { border-color: var(--line-2); background: var(--surface); }
.icon-btn svg { width: 18px; height: 18px; }
.badge {
  position: absolute; top: -3px; right: -3px; min-width: 18px; height: 18px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px; font-size: 11px; font-weight: 800;
  background: var(--sakura); color: #1a0710; transform: scale(0); transition: transform 0.35s var(--ease);
}
.badge.show { transform: scale(1); }
.badge.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.user-menu { position: relative; }
.user-btn { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.user-btn img { width: 32px; height: 32px; border-radius: 50%; }
.dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 6px;
  border-radius: 14px; border: 1px solid var(--line-2); background: rgba(16, 13, 20, 0.96);
  backdrop-filter: blur(16px); opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none;
  transition: opacity 0.25s, transform 0.25s var(--ease);
}
.user-menu.open .dropdown { opacity: 1; transform: none; pointer-events: auto; }
.dropdown a, .dropdown button { display: block; width: 100%; text-align: left; padding: 10px 12px; border-radius: 9px; font-size: 14px; color: var(--muted); }
.dropdown a:hover, .dropdown button:hover { background: var(--surface-2); color: var(--ink); }

.menu-toggle { display: none; }

/* ─────────── Botões ─────────── */

.btn {
  --bg-btn: linear-gradient(135deg, #ffb3cf, var(--sakura) 45%, var(--sakura-2));
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px;
  background: var(--bg-btn); color: #1a0710; overflow: hidden; isolation: isolate;
  box-shadow: 0 14px 34px -14px rgba(245, 143, 181, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.3s var(--ease), box-shadow 0.3s, filter 0.3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease);
}
.btn:hover { box-shadow: 0 18px 44px -14px rgba(245, 143, 181, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(0.97); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { filter: grayscale(0.8) brightness(0.6); cursor: not-allowed; box-shadow: none; }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.04); color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: none; backdrop-filter: blur(10px);
}
.btn-ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%); }
.btn-ghost:hover { border-color: rgba(245, 143, 181, 0.5); box-shadow: 0 10px 30px -16px rgba(245, 143, 181, 0.6); }

.btn-discord { --bg-btn: #5865f2; color: #fff; box-shadow: 0 14px 34px -14px rgba(88, 101, 242, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn-discord:hover { box-shadow: 0 18px 44px -14px rgba(88, 101, 242, 1); }

/* ─────────── Tipografia ─────────── */

.kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--sakura);
}

.h-display { font-size: clamp(44px, 7.4vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 800; }
.h-1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; }
.h-2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; }
.light { font-weight: 300; color: rgba(247, 239, 244, 0.86); }
.grad {
  background: linear-gradient(100deg, #fff 0%, #ffc4da 35%, var(--sakura) 60%, #c96b98 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 8s ease-in-out infinite alternate;
}
@keyframes shimmer { to { background-position: 100% 0; } }
.lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); line-height: 1.65; }

/* Revelação palavra a palavra */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .w > span { display: inline-block; transform: translateY(105%) rotate(4deg); opacity: 0; filter: blur(8px); transition: transform 0.95s var(--ease-out), opacity 0.95s var(--ease-out), filter 0.95s var(--ease-out); }
.split.in .w > span { transform: none; opacity: 1; filter: blur(0); }
.split .grad { background: none; animation: none; color: inherit; }
.split .grad .w > span {
  background: linear-gradient(100deg, #fff 0%, #ffc4da 35%, var(--sakura) 60%, #c96b98 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Revelação ao rolar */
[data-reveal] { opacity: 0; transform: translateY(34px); filter: blur(14px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; filter: blur(0); }

/* Texto que acende ao rolar */
.scrub .sw { color: rgba(247, 239, 244, 0.14); transition: color 0.3s; }
.scrub .sw.lit { color: var(--ink); }
.scrub .sw.lit.accent { color: var(--sakura); }

/* ─────────── Seções ─────────── */

.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-head { display: grid; gap: 18px; max-width: 720px; margin-bottom: 60px; }
.section-head.center { text-align: center; margin-inline: auto; justify-items: center; }

/* ─────────── Hero (início) ─────────── */

.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center;
  padding: calc(var(--header-h) + 40px) 20px 120px; overflow: hidden; isolation: isolate;
}
.hero canvas#fluid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero-fallback {
  position: absolute; inset: 0; z-index: -3;
  background: radial-gradient(50% 50% at 30% 40%, rgba(245, 143, 181, 0.35), transparent 70%), radial-gradient(40% 50% at 70% 60%, rgba(150, 70, 200, 0.3), transparent 70%), var(--bg);
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(110% 90% at 50% 46%, rgba(8, 7, 11, 0.72) 0%, rgba(8, 7, 11, 0.66) 26%, rgba(8, 7, 11, 0.4) 55%, rgba(8, 7, 11, 0.1) 100%),
    linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero-inner { display: grid; justify-items: center; gap: 26px; max-width: 900px; }

.hero-logo { position: relative; width: 112px; height: 112px; margin-bottom: 6px; }
.hero-logo img { position: relative; z-index: 1; width: 100%; height: 100%; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 10px 30px rgba(245, 143, 181, 0.55)); }
.hero-logo::before {
  content: ''; position: absolute; inset: -40%; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 143, 181, 0.45), transparent 60%); filter: blur(10px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes floaty { 50% { transform: translateY(-10px) rotate(6deg); } }
@keyframes pulse { 50% { opacity: 0.55; transform: scale(0.9); } }
@keyframes spin { to { transform: rotate(360deg); } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

.ip-card {
  display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 8px 0 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(12px);
  transition: border-color 0.3s;
}
.ip-card:hover { border-color: rgba(245, 143, 181, 0.5); }
.ip-card .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--dim); }
.ip-card .value { font-weight: 700; }
.ip-card button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); transition: background 0.25s; }
.ip-card button:hover { background: var(--sakura-soft); }
.ip-card svg { width: 15px; height: 15px; }


/* entrada da hero */
.rise { opacity: 0; animation: blurUp 1.1s var(--ease) forwards; }
@keyframes blurUp { from { opacity: 0; filter: blur(18px); transform: translateY(34px); } to { opacity: 1; filter: blur(0); transform: none; } }

/* ─────────── Sobre ─────────── */

.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.about .scrub { font-size: clamp(26px, 3vw, 40px); line-height: 1.22; letter-spacing: -0.025em; font-weight: 700; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Card com spotlight */
.card {
  position: relative; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface);
  overflow: hidden; isolation: isolate; transition: border-color 0.35s, transform 0.5s var(--ease), background 0.35s;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(245, 143, 181, 0.13), transparent 45%);
}
.card:hover { border-color: var(--line-2); }
.card[data-reveal] { transition: opacity 1s var(--ease), transform 0.6s var(--ease), filter 1s var(--ease), border-color 0.35s, background 0.35s; }
.card:hover::before { opacity: 1; }

.stat { padding: 26px; display: grid; gap: 6px; }
.stat b { font-size: clamp(34px, 3.4vw, 48px); letter-spacing: -0.04em; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }
.stat:first-child { grid-column: span 2; background: linear-gradient(135deg, rgba(245, 143, 181, 0.12), transparent 60%), var(--surface); }

/* ─────────── Como funciona ─────────── */

.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps-line { position: absolute; top: 46px; left: 6%; right: 6%; height: 1px; background: var(--line); overflow: hidden; }
.steps-line::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, var(--sakura), transparent); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.2s linear; }
.step { padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start; }
.step-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; color: var(--sakura); border: 1px solid rgba(245, 143, 181, 0.35); background: var(--bg-2); }
.step h3 { font-size: 20px; letter-spacing: -0.02em; }
.step p { color: var(--muted); font-size: 15px; }

/* ─────────── Accordion de recursos ─────────── */

.accordion { display: flex; gap: 10px; height: 460px; perspective: 1400px; }
.acc-panel {
  --c: var(--sakura);
  position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--bg-2);
  transition: flex-grow 0.7s var(--ease-out), transform 0.7s var(--ease-out), border-color 0.4s;
  transform: rotateY(var(--tilt, 0deg));
}
.acc-panel.active { flex-grow: 4.6; border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.acc-bg {
  position: absolute; inset: -20%;
  background:
    radial-gradient(60% 50% at 30% 30%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%),
    radial-gradient(50% 60% at 80% 90%, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px);
  filter: saturate(0.2) brightness(0.55); transition: filter 0.7s, transform 0.9s var(--ease-out);
}
.acc-panel.active .acc-bg { filter: none; transform: scale(1.05); }
.acc-icon { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); width: 44px; height: 44px; color: var(--ink); opacity: 0.85; transition: left 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.acc-panel.active .acc-icon { left: 30px; transform: none; }
.acc-label { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%) rotate(-90deg); transform-origin: center; white-space: nowrap; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 13px; color: var(--muted); transition: opacity 0.3s; }
.acc-panel.active .acc-label { opacity: 0; }
.acc-content { position: absolute; left: 30px; right: 30px; bottom: 30px; display: grid; gap: 10px; opacity: 0; transform: translateX(-16px); transition: opacity 0.4s, transform 0.6s var(--ease-out); }
.acc-panel.active .acc-content { opacity: 1; transform: none; transition-delay: 0.2s; }
.acc-content h3 { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; line-height: 1.05; display: flex; align-items: center; gap: 12px; }
.acc-content h3::before { content: ''; width: 3px; height: 28px; border-radius: 3px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.acc-content p { color: var(--muted); max-width: 46ch; }

/* ─────────── CTA ─────────── */

.cta { padding: clamp(40px, 6vw, 80px); text-align: center; display: grid; justify-items: center; gap: 22px; border-radius: var(--r-lg); }
.cta::after { content: ''; position: absolute; inset: 0; z-index: -2; background: radial-gradient(70% 90% at 50% 120%, rgba(245, 143, 181, 0.22), transparent 60%); }
.cta-flower { width: 64px; animation: spin 24s linear infinite; filter: drop-shadow(0 0 20px rgba(245, 143, 181, 0.6)); }

/* ─────────── Página interna (hero menor) ─────────── */

.page-hero { position: relative; padding: calc(var(--header-h) + 80px) 0 60px; text-align: center; }
.page-hero .wrap { display: grid; justify-items: center; gap: 20px; }
.page-hero .lead { max-width: 620px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; color: var(--muted); }
.chip svg { width: 15px; height: 15px; color: var(--sakura); }

/* ─────────── Tabs ─────────── */

.tabs {
  position: sticky; top: 76px; z-index: 20; display: flex; gap: 4px; padding: 5px; margin: 0 auto 42px; width: fit-content; max-width: 100%;
  border-radius: 999px; border: 1px solid var(--line); background: rgba(14, 12, 18, 0.75); backdrop-filter: blur(14px); overflow-x: auto; scrollbar-width: none;
}
.tabs button { position: relative; z-index: 1; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color 0.3s; }
.tabs button.active { color: #1a0710; }
.tab-pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; border-radius: 999px; background: linear-gradient(135deg, #ffc0d6, var(--sakura)); box-shadow: 0 8px 24px -10px rgba(245, 143, 181, 0.8); transition: transform 0.5s var(--ease-out), width 0.5s var(--ease-out); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: blurUp 0.7s var(--ease) both; }

/* ─────────── Loja ─────────── */

.coupon-banner {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center;
  padding: 14px 20px; margin-bottom: 36px; border-radius: var(--r); border: 1px dashed rgba(245, 143, 181, 0.4);
  background: linear-gradient(90deg, transparent, var(--sakura-soft), transparent); font-size: 14.5px; color: var(--muted);
}
.coupon-banner code { font-family: var(--mono); font-weight: 600; color: var(--sakura); padding: 2px 8px; border-radius: 6px; background: rgba(245, 143, 181, 0.12); cursor: pointer; }

.cat-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.cat-head p { color: var(--muted); }

.grid { display: grid; gap: 16px; }
.grid-vips { grid-template-columns: repeat(auto-fill, minmax(212px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.grid-cash { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.product { --c: var(--sakura); display: flex; flex-direction: column; transform-style: preserve-3d; }
.product:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.product::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 22%, transparent), transparent 50%); }
.product.featured { border-color: color-mix(in srgb, var(--c) 60%, transparent); box-shadow: 0 30px 80px -40px var(--c); }

/* Imagem do produto (public/assets/loja/) */
.p-media {
  position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(70% 80% at 50% 110%, color-mix(in srgb, var(--c) 55%, transparent), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 12px),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}
.p-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.8s var(--ease); }
.product:hover .p-media img { transform: scale(1.05); }
.p-emblem {
  width: 64px; height: 64px; display: grid; place-items: center; border-radius: 20px; transform: rotate(45deg);
  border: 1px solid color-mix(in srgb, var(--c) 70%, white 10%);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, white 15%), color-mix(in srgb, var(--c) 60%, black));
  box-shadow: 0 0 40px -6px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.7s var(--ease-out);
}
.p-emblem span { transform: rotate(-45deg); font-weight: 800; font-size: 20px; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); }
.product:hover .p-emblem { transform: rotate(45deg) scale(1.1) translateY(-4px); }
.p-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; background: var(--c); color: #fff; box-shadow: 0 6px 20px -6px var(--c); }

.p-body { padding: 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.p-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.p-title h3 { font-size: 19px; letter-spacing: -0.02em; }
.p-dur { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--dim); text-transform: uppercase; white-space: nowrap; }
.p-desc { color: var(--muted); font-size: 14px; }
.p-perks { list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.p-perks li { display: flex; gap: 9px; align-items: start; }
.p-perks li::before { content: ''; flex: none; width: 6px; height: 6px; margin-top: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--c); box-shadow: 0 0 8px var(--c); }
.p-price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.p-price b { font-size: 26px; letter-spacing: -0.03em; }
.p-price small { color: var(--dim); font-size: 13px; }
.p-actions { display: grid; gap: 10px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { padding: 8px 0; border-radius: 9px; font-weight: 700; font-size: 13px; color: var(--muted); transition: background 0.25s, color 0.25s; }
.seg button.active { background: color-mix(in srgb, var(--c) 30%, transparent); color: var(--ink); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }

.stepper { display: flex; align-items: center; justify-content: space-between; padding: 4px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); }
.stepper button { width: 36px; height: 34px; border-radius: 9px; font-size: 18px; color: var(--muted); }
.stepper button:hover { background: var(--surface-2); color: var(--ink); }
.stepper output { font-weight: 800; }

.btn-add { --bg-btn: color-mix(in srgb, var(--c) 85%, white 10%); color: #fff; box-shadow: 0 14px 30px -16px var(--c), inset 0 1px 0 rgba(255, 255, 255, 0.3); height: 44px; font-size: 14px; }
.btn-add.added { --bg-btn: var(--ok); color: #062512; }

/* ─────────── Drawer do carrinho ─────────── */

.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(5, 4, 8, 0.6); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 110; width: min(420px, 100% - 20px);
  display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(14, 12, 18, 0.97);
  transform: translateX(calc(100% + 30px)); transition: transform 0.55s var(--ease-out);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 20px; letter-spacing: -0.02em; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.cart-line { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 12px 6px; border-bottom: 1px solid var(--line); animation: blurUp 0.5s var(--ease) both; }
.cart-line .dot { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: color-mix(in srgb, var(--c) 30%, var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.cart-line b { display: block; font-size: 15px; }
.cart-line small { color: var(--dim); font-size: 13px; }
.cart-line .rm { color: var(--dim); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.cart-line .rm:hover { color: var(--err); }
.empty { text-align: center; padding: 60px 20px; color: var(--dim); display: grid; gap: 14px; justify-items: center; }
.empty img { width: 54px; opacity: 0.5; filter: grayscale(0.5); }
.row { display: flex; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--muted); }
.row.total { color: var(--ink); font-size: 18px; font-weight: 800; }
.row.discount { color: var(--ok); }

/* ─────────── Modal ─────────── */

.modal {
  position: fixed; left: 50%; top: 50%; z-index: 120; width: min(520px, 100% - 24px); max-height: calc(100% - 24px); overflow-y: auto;
  border-radius: 24px; border: 1px solid var(--line-2); background: rgba(16, 13, 21, 0.98);
  transform: translate(-50%, -46%) scale(0.97); opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.5s var(--ease-out);
}
.modal.open { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px 0; }
.modal-head h2 { font-size: 22px; letter-spacing: -0.02em; }
.modal-body { padding: 20px 24px 24px; display: grid; gap: 18px; }

.field { display: grid; gap: 7px; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); }
.field small { color: var(--dim); font-size: 12.5px; }
.input { height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, 0.03); outline: none; transition: border-color 0.25s, box-shadow 0.25s; width: 100%; }
.input:focus { border-color: var(--sakura); box-shadow: 0 0 0 4px rgba(245, 143, 181, 0.12); }
.input::placeholder { color: var(--dim); }
.input-group { display: flex; gap: 8px; }
.input-group .btn { flex: none; }
.msg { font-size: 13px; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--err); }

.account { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.account img { width: 42px; height: 42px; border-radius: 50%; }
.account .ok-tag { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--ok); }
.summary { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }

.pix { display: grid; gap: 16px; justify-items: center; text-align: center; }
.pix-qr { padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px -20px rgba(245, 143, 181, 0.6); }
.pix-qr img { width: 220px; height: 220px; }
.pix-code { width: 100%; font-family: var(--mono); font-size: 12px; word-break: break-all; padding: 12px; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); color: var(--muted); max-height: 92px; overflow-y: auto; text-align: left; }
.pix-steps { text-align: left; display: grid; gap: 8px; font-size: 14px; color: var(--muted); counter-reset: s; list-style: none; width: 100%; }
.pix-steps li { display: flex; gap: 10px; }
.pix-steps li::before { counter-increment: s; content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--sakura); border: 1px solid rgba(245, 143, 181, 0.4); }

.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.status.pending { background: rgba(250, 204, 21, 0.12); color: #facc15; }
.status.approved { background: rgba(74, 222, 128, 0.12); color: var(--ok); }
.status.rejected { background: rgba(248, 113, 113, 0.12); color: var(--err); }
.order-item { padding: 14px; border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 6px; }
.order-item .top { display: flex; justify-content: space-between; align-items: center; }

/* ─────────── Em desenvolvimento ─────────── */

.dev-card { padding: clamp(30px, 5vw, 56px); display: grid; gap: 18px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto 50px; }
.dev-icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--sakura-soft); border: 1px solid rgba(245, 143, 181, 0.35); color: var(--sakura); }
.dev-icon svg { width: 28px; animation: spin 6s linear infinite; }
.progress { width: min(360px, 100%); height: 8px; border-radius: 99px; background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: repeating-linear-gradient(45deg, var(--sakura) 0 10px, #ffb3cf 10px 20px); background-size: 28px 28px; animation: stripes 1s linear infinite; transition: width 1.6s var(--ease-out); }
@keyframes stripes { to { background-position: 28px 0; } }

.soon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.soon { padding: 22px; display: grid; gap: 8px; }
.soon .t { display: flex; justify-content: space-between; align-items: center; }
.soon h3 { font-size: 17px; }
.soon p { color: var(--muted); font-size: 14px; }
.soon .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); padding: 3px 8px; border-radius: 99px; }
.soon svg { width: 22px; height: 22px; color: var(--sakura); }

/* ─────────── Regras ─────────── */

.rules { display: grid; gap: 14px; max-width: 860px; margin: 0 auto; }
.rule-group summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 22px 24px;
}
.rule-group summary::-webkit-details-marker { display: none; }
.rule-group .num { font-family: var(--mono); font-size: 13px; color: var(--sakura); }
.rule-group h3 { font-size: 19px; letter-spacing: -0.02em; flex: 1; }
.rule-group .plus { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line-2); position: relative; flex: none; transition: transform 0.4s var(--ease); }
.rule-group .plus::before, .rule-group .plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.rule-group .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.4s var(--ease); }
.rule-group[open] .plus { transform: rotate(180deg); border-color: var(--sakura); }
.rule-group[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.rule-list { list-style: none; display: grid; gap: 12px; padding: 0 24px 24px 24px; }
.rule-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; color: var(--muted); font-size: 15px; padding-top: 12px; border-top: 1px solid var(--line); }
.rule-list li code { font-family: var(--mono); font-size: 12px; color: var(--dim); padding-top: 3px; }
.rule-list li b { color: var(--ink); }
.punish { margin-top: 4px; font-size: 13px; color: var(--sakura); }

/* ─────────── Footer ─────────── */

.footer { border-top: 1px solid var(--line); padding: 64px 0 34px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 30px; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; font-weight: 500; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer a { color: var(--muted); font-size: 14.5px; transition: color 0.25s; }
.footer a:hover { color: var(--sakura); }
.footer p { color: var(--muted); font-size: 14.5px; max-width: 34ch; margin-top: 14px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }
.footer-word { font-size: clamp(80px, 22vw, 300px); font-weight: 800; letter-spacing: -0.06em; line-height: 0.8; text-align: center; margin-top: 50px; background: linear-gradient(to bottom, rgba(245, 143, 181, 0.22), transparent 85%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ─────────── Toast ─────────── */

.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 150; display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: rgba(20, 16, 26, 0.96); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; box-shadow: 0 20px 50px -20px #000; animation: toastIn 0.5s var(--ease-out) both; }
.toast.out { animation: toastOut 0.35s ease forwards; }
.toast i { width: 8px; height: 8px; border-radius: 50%; background: var(--sakura); box-shadow: 0 0 10px var(--sakura); }
.toast.err i { background: var(--err); box-shadow: 0 0 10px var(--err); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(0.95); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(10px); } }

/* ─────────── Responsivo ─────────── */

@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps-line { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed; top: 70px; left: 12px; right: 12px; flex-direction: column; border-radius: 18px; padding: 8px;
    background: rgba(14, 12, 18, 0.97); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 0.3s, transform 0.3s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 16px; font-size: 16px; }
  .nav-pill, .online-pill { display: none; }
  .menu-toggle { display: grid; }
  .user-btn span { display: none; }
  .user-btn { padding: 4px; }
  .accordion { flex-direction: column; height: 620px; perspective: none; }
  .acc-panel { transform: none !important; }
  .acc-label { transform: translateX(-50%); bottom: auto; top: 50%; margin-top: -10px; }
  .acc-icon { top: 50%; left: 24px; transform: translateY(-50%); width: 30px; height: 30px; }
  .acc-panel.active .acc-icon { top: 24px; left: 24px; transform: none; }
}

@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat:first-child { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .tabs { top: 70px; }
  .tabs button { padding: 9px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], .split .w > span, .rise { opacity: 1 !important; transform: none !important; filter: none !important; }
}
