/* Public pages: landing (/revenda/) and sign-up form (/cadastro/). Same brand as the panel, no panel CSS needed. */
:root {
  --bg: #08090b; --bg2: #0e1013; --card: #121519; --card2: #171b20; --line: #22272e; --line2: #2e343d;
  --text: #f1f3f6; --muted: #959dab; --dim: #6c7482;
  --accent: #b5d334; --accent-2: #c9e94a; --accent-ink: #0b0d10; --accent-soft: rgba(181, 211, 52, .12);
  --bad: #ff5d63; --ok: #34d17c; --warn: #ffb224;
  --r: 18px; --r-sm: 12px;
  --display: "Archivo", system-ui, sans-serif;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-stretch: 100%; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--display); margin: 0; line-height: 1.05; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 8px 14px; border-radius: 10px; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hl { color: var(--accent); }
.eyebrow { font: 600 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line2); background: transparent; color: var(--text); font: 700 15px/1 var(--display); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s, box-shadow .2s; }
.btn:hover { border-color: #49515d; background: rgba(255,255,255,.03); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 rgba(181,211,52,0); }
.btn.primary:hover { background: var(--accent-2); border-color: var(--accent-2); box-shadow: 0 8px 32px -8px rgba(181,211,52,.55); }
.btn.lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn.sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn:disabled { opacity: .55; cursor: default; }

/* Top bar */
.top { position: sticky; top: 0; z-index: 20; background: rgba(8,9,11,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.top .logo img { height: 34px; width: auto; }
.top nav { display: flex; gap: 22px; margin-left: 12px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover { color: var(--text); }
.top .sp { flex: 1; }
.top .actions { display: flex; gap: 10px; }
@media (max-width: 880px) { .top nav { display: none; } }
@media (max-width: 520px) { .top .enter { display: none; } .top .logo img { height: 28px; } .top .wrap { gap: 12px; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; z-index: -2; background: radial-gradient(600px 380px at 72% 38%, rgba(181,211,52,.22), transparent 70%), radial-gradient(700px 400px at 10% 10%, rgba(78,161,255,.08), transparent 70%); }
.floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 380px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(181,211,52,.32) 1px, transparent 1px), linear-gradient(90deg, rgba(181,211,52,.32) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(420px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 80%); mask-image: linear-gradient(to top, #000 0%, transparent 80%);
  animation: floor 3.2s linear infinite; }
@keyframes floor { to { background-position: 0 64px; } }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 32px; }
.hero { min-height: calc(100svh - 72px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero .wrap { width: 100%; }
.hero-copy { padding-bottom: clamp(40px, 9vh, 96px); }
.hero h1 { font-size: clamp(40px, min(6.6vw, 9vh), 84px) !important; }
.hero h1 { font-size: clamp(42px, 6.6vw, 84px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; margin: 18px 0 22px; }
.hero h1 .hl { display: block; text-shadow: 0 0 40px rgba(181,211,52,.35); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #c4cad4; max-width: 560px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; list-style: none; padding: 0; }
.hero .facts li { display: flex; align-items: center; gap: 8px; }
.hero .facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.mascot { position: relative; justify-self: center; width: min(420px, 100%); }
.mascot img { width: 100%; height: auto; max-height: calc(100svh - 150px); object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); animation: bob 6s ease-in-out infinite; }
.mascot::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 36px; border-radius: 50%; background: radial-gradient(closest-side, rgba(181,211,52,.45), transparent); filter: blur(6px); z-index: -1; }
@keyframes bob { 50% { transform: translateY(-10px); } }
@media (max-width: 880px) {
  .hero { padding-top: 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .mascot { width: min(260px, 70%); margin-top: 8px; }
}

/* Notice strip: we don't sell lists */
.strip { border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(181,211,52,.08), transparent 60%), var(--bg2); }
.strip .wrap { display: flex; align-items: center; gap: 16px; padding-block: 22px; }
.strip .ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.strip .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.strip p { color: #c9ced7; }
.strip b { color: var(--text); }

/* Sections */
section.block { padding: 112px 0; }
section.block.alt { background: var(--bg2); border-block: 1px solid var(--line); }
.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; font-stretch: 108%; text-transform: uppercase; margin-top: 14px; }
.sec-head p { color: var(--muted); font-size: 18px; margin-top: 16px; }
@media (max-width: 640px) { section.block { padding: 76px 0; } .sec-head { margin-bottom: 36px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: st; list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line2); }
.steps li { position: relative; padding: 32px 28px 0 0; counter-increment: st; }
.steps li::before { content: "0" counter(st); display: block; font: 800 64px/1 var(--display); font-stretch: 120%; color: transparent; -webkit-text-stroke: 1px #4d5562; margin-bottom: 18px; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.steps h3 { font-size: 22px; font-weight: 700; margin-bottom: 10px; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 8px; } .steps li { padding-right: 0; } }

/* Videos */
.vtabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line2); border-radius: 999px; margin-bottom: 22px; }
.vtabs button { height: 40px; padding: 0 18px; border-radius: 999px; border: 0; background: transparent; color: var(--muted); font: 600 14px/1 var(--display); cursor: pointer; }
.vtabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.player { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line2); background: #000; aspect-ratio: 16 / 9; box-shadow: 0 40px 120px -40px rgba(181,211,52,.35); }
.player video { width: 100%; height: 100%; object-fit: cover; }

/* Features */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--bg); padding: 30px 28px 34px; }
section.alt .feat { background: var(--bg2); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px; }
.feat .ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.feat p { color: var(--muted); font-size: 15px; }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font: 700 11px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; background: rgba(255,178,36,.12); color: var(--warn); }
@media (max-width: 900px) { .feats { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .feats { grid-template-columns: 1fr; } }

/* Split (app for the customer) */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
/* TV mockup around the app screenshot */
.tv { margin: 0; }
.tv-screen { padding: 10px; border-radius: 16px; background: linear-gradient(180deg, #1c2026, #0c0e11); border: 1px solid var(--line2); box-shadow: 0 50px 120px -40px rgba(181,211,52,.35), 0 20px 60px rgba(0,0,0,.5); }
.tv-screen img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.tv-stand { width: 34%; height: 14px; margin: 0 auto; background: linear-gradient(180deg, #23282f, #111418); clip-path: polygon(14% 0, 86% 0, 100% 100%, 0 100%); }
.tv-stand::after { content: ""; display: block; height: 3px; margin-top: 14px; border-radius: 50%; background: radial-gradient(closest-side, rgba(181,211,52,.5), transparent); }

/* Download */
.dl { display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; }
.dl-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; border-radius: var(--r); border: 1px solid var(--line2); background: var(--card); }
.dl-main { background: radial-gradient(500px 260px at 0% 0%, rgba(181,211,52,.12), transparent 70%), var(--card); border-color: rgba(181,211,52,.35); }
.dl-card h3 { font-size: 26px; font-weight: 800; }
.dl-tag { font: 600 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.muted-p { color: var(--muted); }
.muted-p.small { font-size: 14px; margin-top: auto; }
.dl-code { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dl-code .mono { font: 700 clamp(40px, 6vw, 64px)/1 "Geist Mono", ui-monospace, monospace; letter-spacing: .08em; color: var(--accent); text-shadow: 0 0 30px rgba(181,211,52,.35); }
.dl-steps { margin: 4px 0 6px; padding-left: 20px; color: #cdd2da; display: grid; gap: 6px; }
.dl-steps .mono { font-family: "Geist Mono", ui-monospace, monospace; color: var(--accent); }
.dl-card .btn.primary { margin-top: 8px; }
@media (max-width: 860px) { .dl { grid-template-columns: 1fr; } .dl-card { padding: 24px; } }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; color: #cdd2da; }
.checks li svg { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line2); }
.faq details { border-bottom: 1px solid var(--line2); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 0; font: 700 18px/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line2); color: var(--accent); font-size: 20px; font-weight: 500; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 24px 0; }

/* Final call */
.final { position: relative; overflow: hidden; padding: 110px 0 0; isolation: isolate; text-align: left; }
.final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(700px 360px at 30% 60%, rgba(181,211,52,.16), transparent 70%); }
.final .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: end; }
.final h2 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; }
.final p { color: #c4cad4; font-size: 18px; margin: 20px 0 30px; max-width: 520px; }
.final .copy { padding-bottom: 110px; }
.final .mascot { width: min(330px, 100%); }
@media (max-width: 860px) { .final .wrap { grid-template-columns: 1fr; } .final .copy { padding-bottom: 0; } .final .mascot { width: min(220px, 60%); } }

footer { border-top: 1px solid var(--line); padding: 36px 0 44px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
footer img { height: 26px; width: auto; opacity: .9; }
footer .sp { flex: 1; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .legal { flex-basis: 100%; }

/* Reveal on scroll (only when JS runs) */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Sign-up form (/cadastro/) ---------- */
.su { min-height: 100vh; display: grid; grid-template-columns: .9fr 1.1fr; }
.su-side { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; padding: 40px 48px 0; display: flex; flex-direction: column; background: radial-gradient(700px 420px at 30% 80%, rgba(181,211,52,.18), transparent 70%), var(--bg2); border-right: 1px solid var(--line); }
.su-side .floor { height: 260px; }
.su-side .logo img { height: 36px; width: auto; }
.su-side h1 { font-size: clamp(30px, min(3.6vw, 5.2vh), 52px); font-weight: 800; font-stretch: 112%; text-transform: uppercase; margin: clamp(20px, 5vh, 56px) 0 16px; }
.su-side > p { color: #c4cad4; font-size: 17px; max-width: 440px; }
.su-side .checks { margin-top: 28px; }
.su-side .mascot { margin-top: auto; flex: 1 1 0; min-height: 120px; width: 100%; display: flex; align-items: flex-end; justify-content: flex-start; padding-top: 16px; }
.su-side .mascot img { width: auto; height: 100%; max-height: 380px; object-fit: contain; object-position: left bottom; }
.su-side .mascot::after { left: 0; right: auto; width: 220px; }
.su-main { display: flex; justify-content: center; padding: 48px 24px 64px; }
.su-card { width: 100%; max-width: 560px; }
.su-card h2 { font-size: 30px; font-weight: 800; }
.su-card .sub { color: var(--muted); margin: 8px 0 8px; }
.su-card .back { display: inline-flex; gap: 6px; align-items: center; color: var(--muted); text-decoration: none; font-size: 14px; margin-bottom: 28px; }
.su-card .back:hover { color: var(--text); }
fieldset { border: 0; padding: 0; margin: 26px 0 0; }
legend { font: 600 12px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); padding: 0; margin-bottom: 4px; }
.su label { display: block; font-size: 14px; font-weight: 600; color: #d7dbe2; margin: 16px 0 7px; }
.su label .opt { color: var(--dim); font-weight: 500; }
.su input, .su select, .su textarea { width: 100%; height: 50px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line2); background: var(--card); color: var(--text); font: inherit; font-size: 16px; outline: none; transition: border-color .15s, box-shadow .15s; }
.su textarea { height: auto; min-height: 90px; padding: 12px 14px; resize: vertical; }
.su select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23959dab' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.su input:focus, .su select:focus, .su textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.su input[aria-invalid="true"] { border-color: var(--bad); }
.su .mono { font-family: "Geist Mono", ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; }
.su .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .su .row { grid-template-columns: 1fr; } }
.hint { font-size: 13.5px; color: var(--muted); margin-top: 7px; }
.hint.ok { color: var(--ok); } .hint.bad { color: var(--bad); }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 6px; height: 38px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font: 600 13px/1 var(--display); cursor: pointer; }
.pw button:hover { color: var(--text); background: rgba(255,255,255,.04); }
.pw input { padding-right: 84px; }
.accept { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line2); background: var(--card); font-weight: 500 !important; color: #cdd2da !important; cursor: pointer; }
.accept input { width: 20px; height: 20px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-err { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: rgba(255,93,99,.1); border: 1px solid rgba(255,93,99,.35); color: #ffc2c4; }
.su .submit { width: 100%; margin-top: 22px; }
.done { text-align: left; }
.done .big { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); margin-bottom: 24px; box-shadow: 0 0 40px rgba(181,211,52,.45); }
.done .big svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.done ol { color: #c9ced7; padding-left: 20px; margin: 22px 0 28px; display: grid; gap: 10px; }
@media (max-width: 900px) {
  .su { grid-template-columns: 1fr; }
  .su-side { position: relative; height: auto; padding: 28px 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .su-side h1 { margin-top: 32px; }
  .su-side .checks, .su-side .mascot { display: none; }
  .su-side > p { margin-bottom: 28px; }
  .su-main { padding: 32px 20px 56px; }
}
section[id] { scroll-margin-top: 72px; }
