/* GoQuest — site institucional (goquestgames.com). Mesma linguagem do site anterior: fundo
   azul-petróleo quase preto, ciano #14ebce, títulos Chakra Petch, corpo Inter. */
:root {
  --bg: #050a10;
  --bg-2: #080f17;
  --panel: #0b131c;
  --panel-2: #0e1822;
  --line: rgba(20, 235, 206, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #e8edf2;
  --muted: #9aa7b4;
  --accent: #14ebce;
  --accent-2: #0fb9a3;
  --accent-ink: #04211c;
  --danger: #ff5c5c;
  --font-head: "Chakra Petch", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.02em; margin: 0; line-height: 1.1; }
p { margin: 0 0 12px; }
.accent { color: var(--accent); }
.container { width: min(1180px, 100% - 48px); margin: 0 auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

/* ---------- topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 10, 16, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; letter-spacing: 0.06em; }
.brand img { width: 34px; height: 34px; }
.nav { display: flex; gap: 26px; align-items: center; font-family: var(--font-head); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav a { color: var(--muted); padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a.active { border-bottom-color: var(--accent); }
.nav button { all: unset; cursor: pointer; color: var(--muted); padding: 6px 0; letter-spacing: 0.14em; text-transform: uppercase; }
.nav button:hover { color: var(--accent); }
.nav-world { position: relative; align-self: stretch; display: flex; align-items: center; }
.nav .nav-world-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 6px 0; font: inherit; letter-spacing: inherit; text-transform: none; white-space: nowrap; }
.nav .nav-world-trigger:hover, .nav .nav-world-trigger.active, .nav-world.open .nav-world-trigger { color: var(--accent); }
.nav-world-trigger span { font-size: 17px; line-height: 1; transition: transform .2s ease; }
.nav-world.open .nav-world-trigger span { transform: rotate(180deg); }
.nav-world-menu { display: none; position: absolute; top: 100%; left: -15px; min-width: 180px; padding: 8px; background: #1d2945; border: 1px solid rgba(139, 232, 239, .26); border-radius: 14px; box-shadow: 0 20px 45px rgba(0, 0, 0, .35); z-index: 80; }
.nav-world.open .nav-world-menu { display: grid; }
.nav .nav-world-menu a { display: block; padding: 11px 13px; border: 0; border-radius: 8px; white-space: nowrap; color: var(--text); }
.nav .nav-world-menu a:hover, .nav .nav-world-menu a.active { color: var(--accent); background: rgba(111, 237, 237, .11); }
.nav-world-trigger:focus-visible, .nav-world-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-soft); color: var(--muted); }
.icon-btn:hover { color: var(--accent); border-color: var(--line); }
.menu-btn { display: none; }
@media (max-width: 900px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); padding: 8px 24px 16px; }
  .nav.open a, .nav.open button { padding: 12px 0; border-bottom: 1px solid var(--line-soft); width: 100%; }
  .nav-world { width: 100%; display: block; align-self: auto; }
  .nav.open .nav-world-trigger { display: flex; width: 100%; justify-content: space-between; padding: 12px 0; }
  .nav-world-menu { position: static; min-width: 0; box-shadow: none; margin: 0 0 7px; }
  .nav.open .nav-world-menu a { padding: 11px 12px; border: 0; }
  .menu-btn { display: grid; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 8px; border: 1px solid transparent;
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 26px rgba(20, 235, 206, 0.25); }
.btn-primary:hover { box-shadow: 0 12px 32px rgba(20, 235, 206, 0.38); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.16); color: var(--text); background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-soft { background: rgba(20, 235, 206, 0.1); color: var(--accent); border-color: var(--line); }
.btn-sm { padding: 8px 14px; font-size: 11.5px; }
.btn[disabled] { opacity: 0.55; cursor: default; transform: none; }

/* ---------- seções ---------- */
.section { padding: 84px 0; border-top: 1px solid var(--line-soft); position: relative; }
.section.alt { background: var(--bg-2); }
.eyebrow { font-family: var(--font-head); font-size: 11.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section h2 { font-size: clamp(26px, 3.6vw, 38px); text-transform: uppercase; }
.section .sub { font-family: var(--font-head); font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-top: 8px; }
.lead { color: var(--muted); font-size: 16px; max-width: 640px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); background: rgba(20, 235, 206, 0.08); color: var(--accent); font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.tag.solid { background: var(--accent); color: var(--accent-ink); border-color: transparent; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 96px; border-top: 0; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(600px 420px at 14% 22%, rgba(20, 235, 206, 0.16), transparent 62%),
  radial-gradient(520px 380px at 84% 74%, rgba(20, 235, 206, 0.12), transparent 62%),
  linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px; pointer-events: none; }
.hero .container { position: relative; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); text-transform: uppercase; line-height: 0.98; margin: 18px 0 20px; }
.hero h1 span { display: block; }
.hero p { font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-art { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(20,235,206,0.08) inset; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(5,10,16,0.5)); }
.chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8, 15, 23, 0.9); font-size: 12px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,0.4); animation: float 6s ease-in-out infinite; }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- letreiro ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: var(--bg-2); padding: 12px 0; }
.marquee-track { display: flex; gap: 40px; white-space: nowrap; width: max-content; animation: marquee 34s linear infinite; font-family: var(--font-head); font-size: 11.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }
.marquee-track span::after { content: "◆"; margin-left: 40px; color: rgba(20,235,206,0.5); }
@keyframes marquee { to { transform: translateX(-50%); } }
html[data-power="idle"] .marquee-track, html[data-power="idle"] .chip { animation-play-state: paused; }

/* ---------- cards ---------- */
.grid { display: grid; gap: 16px; }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid.c4 { grid-template-columns: repeat(2, 1fr); } .grid.c3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid.c4, .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }
.card { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 12px; padding: 22px; transition: border-color 0.2s, transform 0.2s; }
.card:hover { border-color: var(--line); transform: translateY(-2px); }
.card .ico { color: var(--accent); font-size: 20px; margin-bottom: 14px; }
.card h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 13.5px; margin: 0; }
.stat { text-align: center; padding: 18px 12px; }
.stat b { display: block; font-family: var(--font-head); font-size: 28px; color: var(--accent); }
.stat small { font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.figure { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.figure .tag { position: absolute; left: 14px; top: 14px; }
.figure .tag.bottom { top: auto; bottom: 14px; }

/* ---------- classes ---------- */
.class-card { padding: 18px; }
.class-card b { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.04em; display: block; }
.class-card small { color: var(--accent); font-family: var(--font-head); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin: 4px 0 8px; }
.class-card p { font-size: 13px; }

/* ---------- listas ---------- */
.checks { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--muted); font-size: 14px; }
.checks li::before { content: "✓"; color: var(--accent); margin-right: 10px; font-weight: 800; }

/* ---------- CTA ---------- */
.cta { text-align: center; padding: 96px 0; }
.cta h2 { font-size: clamp(30px, 4.5vw, 46px); }
.cta p { color: var(--muted); font-size: 16px; max-width: 520px; margin: 14px auto 26px; }
.cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- rodapé ---------- */
footer { border-top: 1px solid var(--line-soft); padding: 56px 0 28px; background: var(--bg); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }
.foot h4 { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.foot a { display: block; color: var(--muted); font-size: 14px; padding: 4px 0; }
.foot a:hover { color: var(--text); }
.foot p { color: var(--muted); font-size: 13.5px; max-width: 320px; }
.socials { display: flex; gap: 8px; margin-bottom: 14px; }
.copy { text-align: center; color: var(--muted); font-size: 12px; margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line-soft); }

/* ---------- modal (download) ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 90; background: rgba(2, 6, 10, 0.78); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-bg.open { display: flex; }
.modal { width: min(760px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: 0 40px 100px rgba(0,0,0,0.6); animation: pop 0.22s ease; }
@keyframes pop { from { transform: translateY(8px) scale(0.98); opacity: 0; } }
.modal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.modal-head h3 { font-size: 18px; text-transform: uppercase; }
.modal .close { all: unset; cursor: pointer; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: var(--muted); }
.modal .close:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .choice { grid-template-columns: 1fr; } }
.choice a { display: block; border: 1px solid var(--line-soft); border-radius: 12px; overflow: hidden; background: var(--panel-2); transition: border-color 0.2s, transform 0.2s; }
.choice a:hover { border-color: var(--accent); transform: translateY(-2px); }
.choice img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.choice .body { padding: 14px 16px 16px; }
.choice b { font-family: var(--font-head); font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.choice small { color: var(--muted); display: block; font-size: 13px; }
.choice .tag { margin-top: 10px; }

/* ---------- formulários ---------- */
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; font-family: var(--font-head); }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line-soft); background: #070d14; color: var(--text); font: inherit; font-size: 14px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(20,235,206,0.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 640px) { .form .two { grid-template-columns: 1fr; } }
.notice { padding: 12px 14px; border-radius: 9px; font-size: 13.5px; }
.notice.ok { background: rgba(20,235,206,0.1); border: 1px solid var(--line); color: var(--accent); }
.notice.err { background: rgba(255,92,92,0.1); border: 1px solid rgba(255,92,92,0.35); color: #ffb3b3; }
.auth-box { width: min(440px, 100%); margin: 0 auto; background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px; padding: 30px; }
.auth-tabs { display: flex; gap: 6px; margin-bottom: 20px; background: #070d14; padding: 4px; border-radius: 10px; }
.auth-tabs button { all: unset; flex: 1; text-align: center; padding: 9px; border-radius: 8px; cursor: pointer; color: var(--muted); font-family: var(--font-head); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.auth-tabs button.active { background: rgba(20,235,206,0.12); color: var(--accent); }
.user-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20,235,206,0.08); font-size: 13px; font-weight: 600; }
.user-pill img, .user-pill i { width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 800; }
.hidden { display: none !important; }

/* ---------- página interna ---------- */
.page-hero { padding: 84px 0 40px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 68px); text-transform: uppercase; line-height: 1; }
.page-hero .lead { margin-top: 16px; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #000; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.spec { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; font-size: 13.5px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; font-weight: 600; }
.dl-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(135deg, rgba(20,235,206,0.1), rgba(20,235,206,0.03)); }
.dl-box b { font-family: var(--font-head); font-size: 18px; display: block; }
.dl-box small { color: var(--muted); }

/* ===== landing: seções alternadas com print grande ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
html[data-power="idle"] .reveal { transition: none; }

.feature { padding: 96px 0; border-top: 1px solid var(--line-soft); }
.feature .container { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.feature.flip .container { grid-template-columns: 1.25fr 1fr; }
.feature.flip .feature-text { order: 2; }
.feature.flip .feature-art { order: 1; }
@media (max-width: 960px) { .feature .container, .feature.flip .container { grid-template-columns: 1fr; gap: 32px; } .feature.flip .feature-text, .feature.flip .feature-art { order: 0; } }
.feature h2 { font-size: clamp(26px, 3.4vw, 36px); text-transform: uppercase; margin-bottom: 14px; }
.feature p { color: var(--muted); font-size: 15.5px; }
.feature-art { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0,0,0,.55); }
.feature-art::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 90px rgba(20,235,206,.06); pointer-events: none; }
.feature-art img { display: block; width: 100%; }
.mini { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.mini span { padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }

/* hero da landing */
.hero.landing { padding: 104px 0 72px; text-align: center; }
.hero.landing .container { max-width: 900px; }
.hero.landing h1 { font-size: clamp(40px, 6.4vw, 72px); }
.hero.landing p { margin: 0 auto; max-width: 620px; }
.hero.landing .hero-actions { justify-content: center; }
.hero-shot { margin-top: 56px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0,0,0,.6); }
.hero-shot img { display: block; width: 100%; }

/* Landing em camadas. O conteúdo continua legível sem JS; a rolagem só move camadas visuais. */
body[data-page="home"] .hero-shot.motion-scene { position: relative; min-height: clamp(270px, 48vw, 610px); margin-inline: max(-36px, -3vw); overflow: visible; border: 0; box-shadow: none; background: none; perspective: 1100px; isolation: isolate; }
body[data-page="home"] .hero-shot.motion-scene::before { content: ""; position: absolute; inset: 12% 10% 0; border-radius: 50%; background: radial-gradient(circle, rgba(20,235,206,.2), transparent 68%); filter: blur(36px); pointer-events: none; }
.motion-frame { position: absolute; overflow: hidden; border: 1px solid rgba(140,251,235,.27); border-radius: clamp(12px, 2vw, 22px); background: #0c151e; box-shadow: 0 32px 75px rgba(0,0,0,.56), 0 0 0 1px rgba(255,255,255,.05) inset; transform-style: preserve-3d; backface-visibility: hidden; }
.motion-frame img { width: 100%; height: 100%; object-fit: cover; }
.motion-frame-main { z-index: 3; inset: 12% 8% 3%; transform: translate3d(0,var(--motion-shift,0px),70px) scale(var(--motion-scale,1)); }
.motion-frame-back { z-index: 2; width: 42%; height: 51%; top: 2%; opacity: .9; }
.motion-frame-left { left: 0; transform: translate3d(-8%,var(--motion-float,0px),-80px) rotateY(-17deg) rotate(-7deg); }
.motion-frame-right { right: 0; transform: translate3d(8%,var(--motion-float,0px),-80px) rotateY(17deg) rotate(7deg); }
.motion-caption { position: absolute; z-index: 4; right: 10%; bottom: 7%; padding: 5px 9px; border: 1px solid rgba(20,235,206,.32); border-radius: 6px; background: rgba(5,10,16,.84); color: var(--accent); font: 700 10px var(--font-head); letter-spacing: .17em; text-transform: uppercase; }
body[data-page="home"] .feature-art.motion-scene { overflow: visible; border: 0; box-shadow: none; background: none; perspective: 1000px; isolation: isolate; }
body[data-page="home"] .feature-art.motion-scene > img:first-child { position: relative; z-index: 2; width: 92%; border: 1px solid rgba(140,251,235,.28); border-radius: 17px; box-shadow: 0 30px 70px rgba(0,0,0,.55); transform: translate3d(0,var(--motion-shift,0px),0) rotateY(var(--motion-rotate,0deg)) scale(var(--motion-scale,1)); backface-visibility: hidden; }
body[data-page="home"] .feature-art.motion-scene[data-motion-side="right"] > img:first-child { margin-left: 8%; }
body[data-page="home"] .feature-art.motion-scene .motion-accent-frame { position: absolute; z-index: 3; width: 47%; height: 52%; right: 0; bottom: -9%; object-fit: cover; border: 1px solid rgba(170,250,239,.35); border-radius: 12px; box-shadow: 0 22px 55px rgba(0,0,0,.6); transform: translate3d(12%,var(--motion-float,0px),75px) rotate(7deg); backface-visibility: hidden; }
body[data-page="home"] .feature-art.motion-scene[data-motion-side="right"] .motion-accent-frame { right: auto; left: 0; transform: translate3d(-12%,var(--motion-float,0px),75px) rotate(-7deg); }
body[data-page="home"] .feature-art.motion-scene::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  body[data-page="home"] .feature-art.motion-scene .motion-accent-frame { transition: filter .25s ease, box-shadow .25s ease; }
  body[data-page="home"] .feature-art.motion-scene:hover .motion-accent-frame { filter: brightness(1.13); box-shadow: 0 30px 70px rgba(0,0,0,.7), 0 0 32px rgba(20,235,206,.16); }
}
@media (max-width: 960px) {
  body[data-page="home"] .hero-shot.motion-scene { min-height: clamp(250px, 62vw, 520px); margin-inline: 0; }
  body[data-page="home"] .feature-art.motion-scene { max-width: 670px; margin: 0 auto 24px; }
}
@media (max-width: 640px) {
  body[data-page="home"] .hero-shot.motion-scene { min-height: clamp(215px, 68vw, 350px); margin-top: 38px; }
  .motion-frame-main { inset: 14% 3% 3%; }
  .motion-frame-back { width: 48%; height: 44%; }
  .motion-frame-left { left: 2%; }
  .motion-frame-right { right: 2%; }
  .motion-caption { right: 5%; bottom: 5%; font-size: 7px; letter-spacing: .08em; }
  body[data-page="home"] .feature-art.motion-scene > img:first-child { width: 96%; }
  body[data-page="home"] .feature-art.motion-scene .motion-accent-frame { width: 43%; height: 48%; right: 1%; bottom: -5%; transform: translate3d(0,var(--motion-float,0px),45px) rotate(5deg); }
  body[data-page="home"] .feature-art.motion-scene[data-motion-side="right"] .motion-accent-frame { left: 1%; transform: translate3d(0,var(--motion-float,0px),45px) rotate(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-page="home"] .motion-scene, body[data-page="home"] .motion-scene * { animation: none !important; transition: none !important; }
  body[data-page="home"] .motion-frame, body[data-page="home"] .feature-art.motion-scene > img:first-child, body[data-page="home"] .feature-art.motion-scene .motion-accent-frame { transform: none !important; }
  body[data-page="home"] .hero-shot.reveal, body[data-page="home"] .feature.reveal { opacity: 1; transform: none; }
}

/* ultra */
.ultra-hero { background: radial-gradient(900px 500px at 50% -10%, rgba(20,235,206,.18), transparent 60%), var(--bg); }
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1000px) { .plan-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { background: var(--panel); border: 1px solid var(--line-soft); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.plan.best { border-color: var(--accent); box-shadow: 0 0 0 1px rgba(20,235,206,.2), 0 24px 60px rgba(20,235,206,.08); }
.plan h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .1em; }
.plan .price { font-family: var(--font-head); font-size: 30px; color: var(--accent); }
.plan .price small { font-size: 13px; color: var(--muted); font-family: var(--font-body); }
.plan ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 7px; font-size: 13.5px; color: var(--muted); }
.plan ul li::before { content: "✓"; color: var(--accent); margin-right: 8px; }
.plan .btn { margin-top: auto; }

/* suporte / faq */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line-soft); border-radius: 12px; background: var(--panel); overflow: hidden; }
.faq details[open] { border-color: var(--line); }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 18px; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 18px 16px; color: var(--muted); font-size: 14px; }
.faq .answer p { margin: 0 0 10px; }

/* rodapé completo */
.foot { grid-template-columns: 1.6fr repeat(4, 1fr); }
@media (max-width: 1000px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot { grid-template-columns: 1fr; } }
.foot-brand p { margin: 12px 0 14px; }
.socials a { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--line-soft); color: var(--muted); padding: 0; }
.socials a:hover { color: var(--accent); border-color: var(--line); }
.copy a { color: var(--muted); text-decoration: underline; }

/* ===== celular e tablet ===== */
.nav-app-link { display: none; }

@media (max-width: 900px) {
  .nav.open .nav-app-link { display: block; color: var(--accent); }
}

@media (max-width: 720px) {
  /* topo: só marca, cadastro e menu — "Entrar no app" vai pro menu */
  .top-actions > .open-app { display: none; }
  .topbar .container { height: 58px; gap: 8px; }
  .brand { font-size: 14px; }
  .brand img { width: 30px; height: 30px; }
  .btn { padding: 12px 16px; }
  .btn-sm { padding: 9px 12px; font-size: 11px; }

  .hero.landing { padding: 68px 0 48px; }
  .hero.landing h1 { font-size: clamp(32px, 10vw, 44px); }
  .hero p, .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-shot { margin-top: 34px; border-radius: 12px; }

  .section, .feature { padding: 56px 0; }
  .feature .container { gap: 26px; }
  .section h2, .feature h2 { font-size: clamp(22px, 6.4vw, 28px); }
  .cta { padding: 64px 0; }
  .cta .row { flex-direction: column; }
  .cta .row .btn { width: 100%; }

  .page-hero { padding: 54px 0 24px; }
  .page-hero h1 { font-size: clamp(34px, 11vw, 46px); }

  .stats { grid-template-columns: 1fr; }
  .spec { grid-template-columns: 1fr; gap: 2px 0; }
  .spec dt { margin-top: 8px; }

  /* área de toque confortável em links de lista e rodapé */
  .foot a, .faq summary, .nav.open a, .nav.open button { min-height: 44px; display: flex; align-items: center; }
  .foot h4 { margin-top: 18px; }
  .socials a { width: 42px; height: 42px; }
  .copy { font-size: 11.5px; line-height: 1.7; }

  .marquee-track { font-size: 10.5px; gap: 26px; }
  .marquee-track span::after { margin-left: 26px; }
}

@media (max-width: 420px) {
  .container { width: calc(100% - 28px); }
  .card { padding: 18px; }
  .plan { padding: 18px; }
  .modal { padding: 18px; }
}

@media (max-width: 640px) {
  body[data-page="home"] { overflow-x: clip; }
  body[data-page="home"] .hero.landing h1 { font-size: clamp(28px, 8vw, 38px); }
  body[data-page="home"] .hero.landing .container { min-width: 0; }
}

/* texto só para leitores de tela */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* conta no topo: foto + menu */
.user-menu { position: relative; display: inline-block; }
.user-pill { cursor: pointer; font-family: inherit; color: inherit; }
.user-pill img, .user-pill i { width: 30px; height: 30px; object-fit: cover; }
.user-pill-caret { font-size: 9px; opacity: .7; }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; padding: 10px; border-radius: 14px; border: 1px solid var(--line); background: #151a30; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); z-index: 80; display: flex; flex-direction: column; gap: 4px; }
.user-dropdown[hidden] { display: none; }
.user-dropdown-head { display: flex; align-items: center; gap: 10px; padding: 6px 6px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.user-dropdown-head img, .user-dropdown-head i { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-style: normal; font-weight: 800; }
.user-dropdown-head strong { display: block; font-size: 14px; }
.user-dropdown-head small { color: #9fb0c8; font-size: 12px; }
.user-dropdown a, .user-dropdown button { text-align: left; padding: 8px 10px; border-radius: 8px; color: inherit; font: inherit; font-size: 13px; background: none; border: 0; cursor: pointer; text-decoration: none; }
.user-dropdown a:hover, .user-dropdown button:hover { background: rgba(255, 255, 255, .07); }
.site-login[hidden] { display: none !important; }

/* busca no cabeçalho */
.nav-search { margin: 0; }
.nav-search input { width: 150px; padding: 7px 12px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .06); color: inherit; font: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; }
.nav-search input:focus { outline: none; border-color: #14ebce; width: 190px; }
.nav-search input::placeholder { color: var(--muted, #9db0c6); }
@media (max-width: 900px) { .nav-search input, .nav-search input:focus { width: 100%; } .nav-search { width: 100%; } }
