:root {
  --ground: #0E0C0F;
  --ground-2: #17141A;
  --ground-3: #221E26;
  --ink: #F4EFE9;
  --ink-2: #C9C0CB;
  --gold: #F5A623;
  --gold-ink: #1C1305;
  --live: #FF3D50;
  --gut: clamp(16px, 4vw, 32px);
  --max: 1240px;
  --big: clamp(40px, 5vw, 74px);
  --h2: clamp(30px, 4.2vw, 56px);
  --text: clamp(17px, 1.25vw, 19px);
  --small: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text); line-height: 1.55; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: var(--big); }
h2 { font-size: var(--h2); max-width: 20ch; }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
b, strong { font-weight: 800; color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- barra ---------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gut); background: var(--ground);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 24px; letter-spacing: -0.03em; }
.links { display: flex; gap: 24px; margin-left: auto; }
.links a { text-decoration: none; color: var(--ink-2); font-size: 16px; }
.links a:hover { color: var(--ink); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px; border-radius: 999px;
  background: var(--gold); color: var(--gold-ink);
  font-weight: 800; font-size: 17px; text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { background: #FFB840; }
.btn:active { transform: scale(.97); }
.btn.small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn.ghost { background: var(--ground-3); color: var(--ink); }
.btn.ghost:hover { background: #2D2832; }
.textlink { color: var(--ink); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.fine { color: var(--ink-2); font-size: var(--small); }

section { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
main > section + section { margin-top: clamp(110px, 14vw, 200px); }

/* ---------- 1. topo ---------- */
.hero {
  display: grid; grid-template-columns: 1.35fr .65fr; align-items: center;
  gap: clamp(32px, 5vw, 80px); padding-top: clamp(28px, 5vw, 64px);
}
.hero h1 { max-width: 17ch; }
.lead { margin-top: 28px; max-width: 34em; color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 36px; }
.hero .fine { margin-top: 18px; }
.hero-phone { margin: 0; justify-self: end; width: min(100%, 400px); }
.hero-phone img, .tour-phone img, .how-pair img { border-radius: 34px; background: var(--ground-2); }

/* ---------- 2. abas ---------- */
.tour-grid { display: grid; grid-template-columns: 380px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; margin-top: 56px; }
.tour-phone { position: relative; }
.tour-phone img { transition: opacity .14s ease; }
.tour-phone img.swap { opacity: 0; }
.appbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  margin-top: 14px; padding: 6px; border-radius: 999px; background: var(--ground-2);
}
.appbar button {
  min-height: 48px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2);
  font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.appbar button:hover { color: var(--ink); }
.appbar button:active { transform: scale(.96); }
.appbar button[aria-selected="true"] { background: var(--gold); color: var(--gold-ink); }
.tour-text { padding-top: 12px; }
.pane h3 { font-size: clamp(36px, 4vw, 56px); letter-spacing: -0.03em; line-height: 1; }
.pane p { margin-top: 22px; max-width: 32em; }
.pane ul { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; max-width: 34em; }
.pane li { position: relative; padding-left: 30px; }
.pane li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }

/* ---------- 3. como funciona ---------- */
.how {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
  max-width: none; padding-top: clamp(80px, 9vw, 130px); padding-bottom: clamp(80px, 9vw, 130px);
  background: var(--ground-2);
  padding-left: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut)));
  padding-right: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut)));
}
.how-text p { margin-top: 24px; max-width: 32em; }
.how-pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.how-pair img:last-child { margin-top: 64px; }

/* ---------- 4. instalar ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: clamp(56px, 6vw, 88px); counter-reset: s; }
.steps li { display: grid; grid-template-columns: 120px 1fr; column-gap: 32px; counter-increment: s; }
.steps li::before {
  content: counter(s); grid-row: span 5; font-size: clamp(64px, 7vw, 104px); font-weight: 800;
  line-height: .9; color: var(--gold); letter-spacing: -0.05em;
}
.steps h3, .steps p, .steps .btn, .steps .smartscreen { grid-column: 2; }
.steps p { margin-top: 14px; max-width: 38em; color: var(--ink); }
.steps p.fine { color: var(--ink-2); margin-top: 12px; }
.steps .btn { justify-self: start; margin-top: 22px; }

.smartscreen { margin-top: 24px; max-width: 560px; background: #0B3A66; color: #fff; border-radius: 6px; overflow: hidden; }
.ss-panel { display: grid; gap: 8px; padding: 22px 24px; font-size: 15px; line-height: 1.4; }
.ss-panel + .ss-panel { background: #0A3159; }
.ss-panel b { color: #fff; font-size: 20px; }
.ss-link { text-decoration: underline; font-weight: 800; color: #fff; outline: 3px solid var(--gold); outline-offset: 4px; justify-self: start; border-radius: 2px; }
.ss-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 8px; }
.ss-btn { padding: 8px 16px; background: #1D5A93; font-weight: 700; }
.ss-btn.hot { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- 5. perguntas ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.qa { display: grid; gap: 10px; }
details { background: var(--ground-2); border-radius: 18px; }
details[open] { background: var(--ground-3); }
summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
  font-weight: 800; font-size: clamp(18px, 1.4vw, 21px); letter-spacing: -0.01em;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-52%);
  font-size: 28px; color: var(--gold); transition: transform .2s ease;
}
details[open] summary::after { transform: translateY(-52%) rotate(45deg); }
details p { padding: 0 24px 24px; max-width: 40em; }

/* ---------- rodapé ---------- */
.end { margin-top: clamp(120px, 14vw, 200px); padding: 0 var(--gut) 40px; max-width: var(--max); margin-left: auto; margin-right: auto; }
.end-word { font-size: clamp(96px, 24vw, 340px); font-weight: 800; letter-spacing: -0.06em; line-height: .8; color: var(--gold); margin-left: -0.04em; }
.end-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: clamp(56px, 6vw, 96px); color: var(--ink-2); font-size: var(--small); }
.end-row a:not(.btn) { color: var(--ink); }
.end-row span { flex: 1 1 280px; }

/* ---------- entrada suave ---------- */
.anim main section > * { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.anim main section > *:nth-child(2) { transition-delay: .08s; }
.anim main section > *:nth-child(3) { transition-delay: .16s; }
.anim main section.in > * { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } html { scroll-behavior: auto; } }

/* ---------- celular ---------- */
@media (max-width: 900px) {
  .links { display: none; }
  .bar .btn.small { margin-left: auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-phone { justify-self: start; width: min(78%, 340px); }
  .tour-grid { grid-template-columns: 1fr; }
  .tour-phone { max-width: 340px; }
  .how { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 56px 1fr; column-gap: 16px; }
  .btn { width: 100%; }
  .bar .btn.small, .steps .btn { width: auto; }
  .end-row .btn { width: 100%; }
}

/* ---------- 5. preço ---------- */
.price { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.price-text p { margin-top: 24px; max-width: 32em; }
.price-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.price-list li { position: relative; padding-left: 30px; }
.price-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); }
.price-card { background: var(--ground-2); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: grid; gap: 6px; }
.price-name { color: var(--ink-2); font-weight: 700; }
.price-val { font-size: clamp(64px, 8vw, 104px); font-weight: 800; letter-spacing: -0.05em; line-height: 1; color: var(--gold); margin-top: 8px; }
.price-sub { color: var(--ink-2); margin-bottom: 22px; }
.price-card .fine { margin-top: 16px; }

/* ---------- página de sucesso ---------- */
.done { max-width: 760px; margin: 0 auto; padding: clamp(36px, 6vw, 80px) var(--gut) 0; }
.done h1 { font-size: clamp(36px, 5vw, 60px); }
.done .lead { margin-top: 20px; }
.keycard { margin-top: 36px; background: var(--ground-2); border-radius: 24px; padding: clamp(22px, 4vw, 40px); }
.keycard h2 { font-size: clamp(22px, 2.4vw, 30px); max-width: none; }
.keyval { margin-top: 18px; padding: 18px; border-radius: 14px; background: var(--ground); font: 15px/1.5 ui-monospace, Consolas, Menlo, monospace; word-break: break-all; color: var(--gold); user-select: all; }
.keyrow { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; align-items: center; }
.keymsg { color: var(--ink-2); font-size: var(--small); }
.keycard ol { margin: 22px 0 0; padding-left: 22px; display: grid; gap: 10px; }
.state-bad { color: #FF8A95; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--ground-3); border-top-color: var(--gold); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.downloads { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 28px; }

@media (max-width: 900px) {
  .price { grid-template-columns: 1fr; }
  .keyrow .btn { width: 100%; }
}
button.btn { border: 0; cursor: pointer; font-family: inherit; }
