:root {
  --bg: #f7f5ff;
  --surface: #ffffff;
  --surface-2: #f1eefc;
  --border: #e6e1f5;
  --text: #15121f;
  --muted: #625c76;
  --accent: #5b3cff;
  --accent-2: #ff3d81;
  --accent-soft: #ece7ff;
  --grad: linear-gradient(135deg, #5b3cff, #8b3cff 55%, #ff3d81);
  --error: #d92d4b;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(30, 20, 70, 0.04), 0 8px 24px rgba(60, 40, 140, 0.07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 15% -5%, #e6ddff 0%, transparent 60%),
    radial-gradient(700px 420px at 95% 0%, #ffe0ee 0%, transparent 60%),
    var(--bg);
  background-repeat: no-repeat;
  color: var(--text);
  font: 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
a { color: inherit; }
h1, h2, h3 { letter-spacing: -0.025em; margin: 0; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; font-weight: 800; max-width: 760px; }
.muted { color: var(--muted); }
.error { color: var(--error); margin: 10px 0 0; font-size: 0.92rem; }
.eyebrow {
  margin: 0 0 12px; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.lead { color: var(--muted); font-size: 1.1rem; max-width: 620px; margin: 14px 0 0; }

/* ---------- Promo + nav ---------- */
.promo {
  display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap;
  padding: 9px 44px; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.92rem;
  position: relative; text-align: center;
}
.promo-tag { background: #ffd84d; color: #2a1d00; padding: 2px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 800; }
.promo-cta { background: #fff; color: var(--accent); padding: 4px 14px; border-radius: 999px; text-decoration: none; font-size: 0.85rem; }
.promo-close { position: absolute; right: 12px; background: none; border: 0; color: #fff; font-size: 1.4rem; cursor: pointer; opacity: 0.85; }

.nav-wrap { position: sticky; top: 10px; z-index: 20; padding: 12px 16px 0; }
.nav {
  max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 8px 8px 14px; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.12rem; letter-spacing: -0.02em; }
.nav-right { display: flex; align-items: center; gap: 6px; }
.lang, .nav-link { text-decoration: none; font-weight: 600; font-size: 0.9rem; padding: 8px 12px; border-radius: 999px; color: var(--muted); }
.lang:hover, .nav-link:hover { background: var(--surface-2); color: var(--text); }
.credits {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 0.9rem; color: #fff;
  background: var(--grad); padding: 10px 16px; border-radius: 999px; white-space: nowrap;
}
.demo { max-width: 1120px; margin: 12px auto 0; padding: 8px 16px; font-size: 0.85rem; color: #7a5600; text-align: center; }

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 64px 0 24px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 820px; }
.hero .lead { margin-inline: auto; }
.hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; max-width: 760px; margin-top: 36px; }
.cta-card {
  text-align: left; text-decoration: none; padding: 22px 24px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); transition: transform 0.15s;
}
.cta-card:hover { transform: translateY(-2px); }
.cta-card small { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.cta-card strong { font-size: 1.15rem; }
.cta-card.primary { background: var(--grad); color: #fff; border-color: transparent; }
.cta-card.primary small { color: rgba(255, 255, 255, 0.82); }

/* ---------- Showcase ---------- */
.showcase {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  max-width: 760px; margin: 32px auto 0; padding: 12px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow);
}
.show-pane { position: relative; aspect-ratio: 9 / 13; border-radius: 18px; overflow: hidden; background: #110e1d; }
.show-pane video { width: 100%; height: 100%; object-fit: cover; display: block; }
.show-photo { width: 100%; height: 100%; display: grid; place-items: end center; background: linear-gradient(180deg, #d9d2f5, #bdb2ea); }
.show-photo svg { width: 70%; fill: #8f82c9; }
.show-arrow { font-size: 1.6rem; color: var(--accent); font-weight: 800; }
.chip {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 5px 12px; border-radius: 999px;
  background: rgba(20, 16, 34, 0.72); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
}
.chip.accent { background: var(--grad); }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 48px 0 0; }
.features div { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.features strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.features span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Blocks ---------- */
.block { padding: 88px 0 0; }
.block > h2 + .lead, .block > h2 + div, .block > h2 + ol { margin-top: 14px; }

.moves { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin-top: 32px; }
.move {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer;
  display: flex; flex-direction: column; transition: transform 0.15s, border-color 0.15s;
}
button.move:hover { transform: translateY(-3px); border-color: var(--accent); }
.move video, .move .status { width: 100%; aspect-ratio: 9 / 13; object-fit: cover; display: block; background: #110e1d; }
.move .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.move .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.move strong { font-size: 1.05rem; }
.move .desc { color: var(--muted); font-size: 0.9rem; }
.move .price { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: baseline; font-size: 0.85rem; color: var(--muted); }
.move .price b { color: var(--accent); font-size: 1rem; }
.badge { font-size: 0.7rem; font-weight: 800; letter-spacing: 0.06em; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.status { display: grid; place-items: center; text-align: center; padding: 16px; color: #cfc8ea; font-size: 0.92rem; }
.spinner { width: 36px; height: 36px; border: 3px solid rgba(255, 255, 255, 0.15); border-top-color: #fff; border-radius: 50%; animation: spin 0.9s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }
.dl { color: var(--accent); font-weight: 700; font-size: 0.9rem; text-decoration: none; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps span { font-weight: 800; color: var(--accent); font-size: 0.9rem; }
.steps strong { display: block; font-size: 1.15rem; margin: 10px 0 6px; }
.steps p { margin: 0; color: var(--muted); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); position: relative;
}
.plan.popular { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 24px; background: var(--grad); color: #fff; font-size: 0.72rem; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan .qty { font-weight: 700; color: var(--muted); }
.plan .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.03em; }
.plan .per { color: var(--muted); font-size: 0.9rem; margin-bottom: 14px; }
.plan .btn { margin-top: auto; }

.faq { margin-top: 28px; display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--accent); }
.faq p { margin: 10px 0 0 34px; color: var(--muted); }

.final {
  margin: 96px 0 0; padding: 56px 24px; border-radius: 32px; text-align: center; background: var(--grad); color: #fff;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.final h2 { max-width: 640px; }
.final .btn.primary { background: #fff; color: var(--accent); }

.footer { max-width: 1120px; margin: 0 auto; padding: 40px 16px; display: flex; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 0.9rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- Buttons + dialogs ---------- */
.btn {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer; font: inherit; font-weight: 700;
  padding: 12px 18px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
}
.btn.primary { background: var(--grad); border: 0; color: #fff; }
.btn.big { padding: 16px 28px; font-size: 1.05rem; border-radius: 999px; }
.btn.wide { width: 100%; padding: 15px; margin-top: 16px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

dialog {
  width: min(460px, calc(100vw - 32px)); padding: 26px; border: 1px solid var(--border);
  border-radius: 24px; background: var(--surface); color: var(--text); box-shadow: 0 30px 80px rgba(30, 20, 70, 0.25);
}
dialog::backdrop { background: rgba(21, 18, 31, 0.5); backdrop-filter: blur(3px); }
dialog h3 { font-size: 1.35rem; margin-bottom: 4px; }
dialog .muted { margin: 0; }
.close { float: right; background: var(--surface-2); border: 0; color: var(--muted); width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.drop {
  display: grid; place-items: center; text-align: center; margin: 18px 0; min-height: 200px; padding: 12px;
  border: 2px dashed var(--border); border-radius: 18px; cursor: pointer; overflow: hidden; color: var(--muted); background: var(--surface-2);
}
.drop:hover { border-color: var(--accent); }
.drop img { width: 100%; max-height: 320px; object-fit: contain; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--accent); }
.packages { display: grid; gap: 10px; margin-top: 18px; }
.package {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 16px; border: 1px solid var(--border); background: var(--surface); font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.package:hover, .package.popular { border-color: var(--accent); }
.package small { display: block; color: var(--muted); }
.package .amount { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .steps, .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .hero { padding-top: 40px; }
  .hero-ctas { grid-template-columns: 1fr; }
  .lang span, .nav-link { display: none; }
  .brand span { font-size: 1rem; }
  .moves { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .move .desc { display: none; }
  .showcase { gap: 6px; padding: 8px; }
  .show-arrow { font-size: 1.1rem; }
  .block { padding-top: 64px; }
  .promo { padding: 8px 36px; font-size: 0.82rem; gap: 8px; }
}
.lang b { font-size: 0.72rem; font-weight: 800; padding: 2px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
section[id] { scroll-margin-top: 96px; }

/* ---------- Criar (3 passos) ---------- */
.create {
  display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 16px; margin-top: 28px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 28px; padding: 16px; box-shadow: var(--shadow);
}
.create-step { background: var(--surface-2); border-radius: 20px; padding: 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.create-step h3 { font-size: 1.05rem; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 0.85rem;
}
.create .drop { margin: 0; min-height: 260px; flex: 1; background: var(--surface); }
.create textarea {
  width: 100%; resize: vertical; font: inherit; padding: 12px 14px; border-radius: 14px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
}
.create textarea:focus, .field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.create .btn.wide { margin-top: auto; }

.pick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pick-item {
  position: relative; border: 2px solid transparent; border-radius: 16px; overflow: hidden; padding: 0;
  background: var(--surface); cursor: pointer; text-align: left; font: inherit; color: inherit;
}
.pick-item video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; background: #110e1d; }
.pick-item .meta { padding: 8px 10px; display: flex; justify-content: space-between; gap: 6px; align-items: baseline; font-size: 0.85rem; }
.pick-item .meta b { font-weight: 700; }
.pick-item .meta small { color: var(--accent); font-weight: 700; white-space: nowrap; }
.pick-item[aria-checked="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pick-item[aria-checked="true"]::after {
  content: "✓"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800;
}

/* ---------- Vídeos: folha de personagem ---------- */
.sheet { margin-top: 8px; }
.sheet summary { cursor: pointer; font-size: 0.85rem; color: var(--accent); font-weight: 700; }
.sheet img { width: 100%; border-radius: 10px; margin-top: 8px; border: 1px solid var(--border); }

/* ---------- Conta ---------- */
.btn.ghost { background: transparent; border: 1px solid var(--border); padding: 9px 14px; border-radius: 999px; font-size: 0.9rem; }
button.nav-link { background: none; border: 0; cursor: pointer; font: inherit; }
.field { display: grid; gap: 6px; margin-top: 14px; font-size: 0.9rem; font-weight: 600; }
.field input {
  font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text);
}
.rules { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rules li { font-size: 0.75rem; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.rules li.ok { background: #e3f7ea; color: #137a3b; }
.notice { background: var(--accent-soft); color: var(--accent); padding: 10px 12px; border-radius: 12px; font-size: 0.9rem; margin: 12px 0 0; }
.auth-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 14px; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer; }

@media (max-width: 960px) {
  .create { grid-template-columns: 1fr; }
  .create .drop { min-height: 200px; }
}
@media (max-width: 560px) {
  .create { padding: 10px; border-radius: 22px; }
  #nav-login { padding: 8px 12px; }
}

/* ---------- Páginas legais e exclusão ---------- */
.legal { max-width: 760px; margin: 40px auto 0; padding: 32px; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; }
.legal h1 { font-size: clamp(1.8rem, 5vw, 2.4rem); margin-bottom: 6px; }
.legal h2 { font-size: 1.15rem; margin: 28px 0 8px; }
.legal p, .legal li { color: #3b3550; }
.legal ul { padding-left: 20px; }
.legal a { color: var(--accent); }
.check a { color: var(--accent); }
.btn.danger { background: var(--error); color: #fff; border: 0; }
.footer .link { font-size: 0.9rem; color: var(--muted); }
@media (max-width: 560px) { .legal { padding: 20px; margin-top: 24px; } }
