/* Nextributo · landing page (nextributo.com.br)
   Tema claro por padrão, escuro no botão do cabeçalho. Cores do kit de marca (design/): Azul Marinho #0A2A5B,
   Azul Real #0057FF, Azul Vivo #0095FF, Ciano #00E5D1. Títulos em Poppins, texto em Inter. */

:root {
  --navy: #0a2a5b; --navy-deep: #061a3a; --royal: #0057ff; --royal-2: #2f6bff; --vivid: #0095ff; --cyan: #00e5d1;
  --green: #15a35a; --yellow: #d98200; --red: #d8343a;
  --bg: #ffffff; --bg-2: #f5f8fd; --bg-3: #ffffff; --surface: rgba(255, 255, 255, .78);
  --text: #0f1c33; --text-2: #3f4b63; --text-3: #6d7a92;
  --line: rgba(10, 42, 91, .09); --line-strong: rgba(10, 42, 91, .18);
  --brand: #0057ff; --brand-ink: #0046cc; --brand-soft: rgba(0, 87, 255, .09); --brand-glow: rgba(0, 87, 255, .28);
  --accent: #00b8a9; --accent-soft: rgba(0, 229, 209, .14);
  --shadow: 0 10px 30px rgba(10, 42, 91, .07); --shadow-lg: 0 30px 70px rgba(10, 42, 91, .16);
  --radius: 14px; --radius-lg: 22px; --pill: 999px;
  --wrap: 1200px; --gutter: 20px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
  color-scheme: light;
}
html[data-theme="dark"] {
  --bg: #061430; --bg-2: #08193a; --bg-3: #0c2149; --surface: rgba(10, 27, 60, .72);
  --text: #eef3fc; --text-2: #c3cee3; --text-3: #8b9bb9;
  --line: rgba(255, 255, 255, .08); --line-strong: rgba(255, 255, 255, .16);
  --brand: #3d7dff; --brand-ink: #6e9dff; --brand-soft: rgba(61, 125, 255, .16); --brand-glow: rgba(61, 125, 255, .45);
  --accent: #00e5d1; --accent-soft: rgba(0, 229, 209, .14);
  --shadow: 0 10px 30px rgba(0, 0, 0, .25); --shadow-lg: 0 30px 80px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); overflow-x: hidden; transition: background .35s var(--ease), color .35s var(--ease); }
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: Poppins, Inter, sans-serif; line-height: 1.12; margin: 0; letter-spacing: -.02em; color: var(--text); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--text-3); }
.mono { font-family: var(--mono); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
/* destaque com sublinhado em cada linha (quebra junto com o texto) */
.hl { color: var(--brand); background: linear-gradient(90deg, rgba(0, 229, 209, .6), rgba(0, 149, 255, .55)) 0 94% / 100% .11em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; animation: hl-in 1s var(--ease) .5s both; }
@keyframes hl-in { from { background-size: 0 .11em; } }

/* ── preloader (uma vez por sessão) ───────────────────────────────────── */
.intro { position: fixed; inset: 0; z-index: 200; background: var(--navy-deep); display: grid; place-items: center; transition: transform .52s cubic-bezier(.7, 0, .3, 1); }
.intro[data-state="exiting"] { transform: translateY(-101%); }
.intro__box { display: grid; gap: 22px; justify-items: center; }
.intro__logo { height: 42px; width: auto; animation: intro-up .7s var(--ease) both; }
.intro__rail { width: 180px; height: 1px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.intro__bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--vivid)); transform-origin: left; animation: intro-bar .95s var(--ease) both; }
.intro__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
@keyframes intro-up { from { opacity: 0; transform: translateY(14px); } }
@keyframes intro-bar { from { transform: scaleX(0); } }

/* ── barra de progresso e cabeçalho ───────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--vivid), var(--royal)); }
.header { position: fixed; top: 12px; left: 0; right: 0; z-index: 100; padding: 0 var(--gutter); }
.header__bar { max-width: calc(var(--wrap) - 2 * var(--gutter) + 32px); margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 9px 10px 9px 18px; border-radius: var(--pill); background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); box-shadow: 0 6px 24px rgba(10, 42, 91, .06); transition: box-shadow .3s var(--ease), background .3s; }
.header.is-scrolled .header__bar { box-shadow: var(--shadow); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 28px; width: auto; }
.logo .logo--dark, html[data-theme="dark"] .logo .logo--light { display: none; }
html[data-theme="dark"] .logo .logo--dark { display: block; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; font-size: .92rem; font-weight: 500; color: var(--text-2); padding: 8px 12px; border-radius: var(--pill); transition: color .2s, background .2s; }
.nav a:hover { color: var(--text); background: var(--brand-soft); }
.nav a.is-active { color: var(--brand); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; display: grid; place-items: center; cursor: pointer; color: var(--text-2); transition: border-color .2s, color .2s, transform .2s; }
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn svg { width: 18px; height: 18px; }
.theme .i-moon, html[data-theme="dark"] .theme .i-sun { display: none; }
html[data-theme="dark"] .theme .i-moon { display: block; }
.link-login { font-size: .92rem; font-weight: 600; color: var(--text-2); padding: 8px 10px; }
.link-login:hover { color: var(--brand); }
.burger { display: none; }

/* ── botões ───────────────────────────────────────────────────────────── */
.btn { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: var(--pill); font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; white-space: nowrap; transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), background .2s, box-shadow .25s, border-color .2s, color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--sm { height: 40px; padding: 0 16px; font-size: .9rem; }
.btn--lg { height: 54px; padding: 0 28px; font-size: 1rem; }
.btn--primary { background: var(--royal); color: #fff; box-shadow: 0 10px 26px -10px var(--brand-glow); }
.btn--primary:hover { background: #0046cc; box-shadow: 0 16px 34px -12px var(--brand-glow); }
html[data-theme="dark"] .btn--primary { background: #2f6bff; }
html[data-theme="dark"] .btn--primary:hover { background: #4b80ff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--soft { background: var(--brand-soft); color: var(--brand); }
.btn--soft:hover { background: var(--brand); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: #eaf1ff; }
.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn--onnavy:hover { border-color: #fff; }
.btn--full { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ── seções ───────────────────────────────────────────────────────────── */
section { position: relative; padding: 110px 0; }
.section--paper { background: var(--bg-2); }
.head { max-width: 720px; margin-bottom: 52px; }
.head--center { margin-left: auto; margin-right: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 16px; }
.head p { color: var(--text-2); font-size: 1.08rem; }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 150px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 420px at 85% 10%, var(--brand-soft), transparent 70%), radial-gradient(600px 400px at 0% 100%, var(--accent-soft), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 52px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.5vw, 4rem); margin-bottom: 22px; letter-spacing: -.035em; overflow-wrap: break-word; }
.hero__lead { font-size: 1.14rem; color: var(--text-2); max-width: 560px; margin-bottom: 30px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.hero__try { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); font-size: .95rem; }
.hero__try:hover { gap: 12px; }
.hero__bullets { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-family: var(--mono); font-size: .76rem; color: var(--text-2); }
.hero__bullets span { display: inline-flex; align-items: center; gap: 8px; }
.hero__bullets span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.frame { position: relative; border-radius: 16px; background: var(--bg-3); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame__bar { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--bg-2); font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.frame__bar i:nth-child(2) { background: #febc2e; }
.frame__bar i:nth-child(3) { background: #28c840; margin-right: 8px; }
.frame img { width: 100%; height: auto; }
.hero__mock { position: relative; transform: perspective(1400px) rotateY(-7deg) rotateX(3deg); transition: transform .6s var(--ease); }
.hero__mock:hover { transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 11px; padding: 10px 14px 10px 10px; border-radius: 14px; background: var(--bg-3); border: 1px solid var(--line-strong); box-shadow: var(--shadow); font-size: .82rem; line-height: 1.3; animation: float 6s ease-in-out infinite; }
.chip b { display: block; font-size: .86rem; color: var(--text); }
.chip small { color: var(--text-3); font-size: .74rem; }
.chip__ico { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; color: #fff; }
.chip__ico svg { width: 17px; height: 17px; }
.chip--ok .chip__ico { background: var(--green); }
.chip--err .chip__ico { background: var(--red); }
.chip--src .chip__ico { background: var(--royal); }
.chip--live .chip__ico { background: var(--navy); }
.chip--1 { top: 9%; left: -9%; animation-delay: -1s; }
.chip--2 { top: 40%; right: -7%; animation-delay: -3s; }
.chip--3 { bottom: 15%; left: -6%; animation-delay: -2s; }
.chip--4 { bottom: -5%; right: 7%; animation-delay: -4.5s; min-width: 230px; }
.typing::after { content: "▍"; margin-left: 2px; color: var(--brand); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero__note { margin-top: 26px; text-align: right; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }

/* faixa de números */
.strip { padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { padding: 26px 20px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; }
.strip__item b { display: block; font-family: Poppins, sans-serif; font-size: 2rem; color: var(--text); line-height: 1.1; }
.strip__item span { color: var(--text-2); font-size: .9rem; }

/* ── integrações (como os "canais" da referência) ─────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { --mx: 50%; --my: 50%; position: relative; padding: 28px 22px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line); text-align: center; overflow: hidden; transition: transform .35s var(--ease), border-color .25s, box-shadow .3s; }
.tile:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.tile__ico { width: 54px; height: 54px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.05rem; }
.tile__ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tile p { font-size: .88rem; color: var(--text-2); }
.tile small { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
html[data-theme="light"] .tile small { color: #00897d; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--bg-3); font-size: .84rem; color: var(--text-2); }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.pill--cyan::before { background: var(--accent); }
.pill--green::before { background: var(--green); }

/* ── recursos ─────────────────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px 22px 20px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line); text-align: left; cursor: pointer; overflow: hidden; transition: transform .35s var(--ease), border-color .25s, box-shadow .3s; }
.card::after, .tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), var(--brand-soft), transparent 60%); }
.card:hover::after, .tile:hover::after { opacity: 1; }
.card:hover, .card.is-active { border-color: var(--brand); box-shadow: var(--shadow); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transition: background .25s, color .25s; }
.card:hover .card__ico, .card.is-active .card__ico { background: var(--brand); color: #fff; }
.card__ico svg { width: 21px; height: 21px; }
.card__num { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.card h3 { font-size: 1.06rem; }
.card p { font-size: .9rem; color: var(--text-2); flex: 1; }
.card__more { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--brand); transition: gap .2s; }
.card:hover .card__more { gap: 10px; }
.detail { margin-top: 18px; padding: 30px 32px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--brand); box-shadow: var(--shadow); display: grid; grid-template-columns: 1.1fr 1fr; gap: 34px; position: relative; animation: detail-in .45s var(--ease); }
.detail[hidden] { display: none; }
@keyframes detail-in { from { opacity: 0; transform: translateY(12px); } }
.detail h3 { font-size: 1.5rem; margin-bottom: 12px; }
.detail p { color: var(--text-2); margin-bottom: 18px; }
.detail__close { position: absolute; top: 16px; right: 16px; z-index: 2; background: var(--bg-3); }
.detail > .checks { padding-top: 46px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; color: var(--text-2); font-size: .95rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%; background: var(--brand-soft); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 5px; height: 8px; border: solid var(--brand); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ── por dentro: telas reais ──────────────────────────────────────────── */
.inside { display: grid; gap: 96px; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: center; }
.row--flip { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.row--flip .row__text { order: 2; }
.row__text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 14px; }
.row__text p { color: var(--text-2); margin-bottom: 18px; }
.row__text .checks { margin-bottom: 24px; }
.row .frame { transition: transform .5s var(--ease); }
.row:hover .frame { transform: translateY(-4px); }

/* ── o que confere (evidência) ────────────────────────────────────────── */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tab { padding: 9px 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--text-2); transition: all .2s; }
.tab:hover { color: var(--brand); border-color: var(--brand); }
.tab.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.panel { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.panel[hidden] { display: none; }
.panel--full { grid-template-columns: 1fr; }
.evidence { padding: 24px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line); box-shadow: var(--shadow); }
.evidence__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.evidence__top small { color: var(--text-3); font-size: .8rem; }
.evidence h4 { font-size: 1.05rem; margin-bottom: 10px; }
.evidence dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 10px 16px; font-size: .9rem; }
.evidence dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-top: 3px; }
.evidence dd { margin: 0; color: var(--text-2); }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: var(--pill); font-size: .78rem; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--ok { color: var(--green); background: rgba(21, 163, 90, .12); }
.status--warn { color: var(--yellow); background: rgba(217, 130, 0, .13); }
.status--err { color: var(--red); background: rgba(216, 52, 58, .12); }
.status--gray { color: var(--text-3); background: var(--brand-soft); }
.docs { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: hidden; background: var(--bg-3); }
.docs__row { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr; gap: 14px; padding: 14px 20px; border-top: 1px solid var(--line); align-items: center; font-size: .92rem; color: var(--text-2); }
.docs__row b { color: var(--text); }
.docs__row--head { border-top: 0; background: var(--bg-2); font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }

/* ── teste com uma nota ───────────────────────────────────────────────── */
.try { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 46px; align-items: center; }
.try h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.try p { color: var(--text-2); margin-bottom: 18px; }
.try .checks { margin-bottom: 26px; }
.tester { position: relative; padding: 22px; border-radius: var(--radius-lg); background: var(--bg-3); border: 2px dashed var(--line-strong); min-height: 340px; transition: border-color .2s, background .2s; }
.tester.is-over { border-color: var(--brand); background: var(--brand-soft); }
.tester__label { display: flex; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.result__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.result__meta { font-size: .88rem; color: var(--text-2); margin-bottom: 14px; }
.finding { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); border-left: 3px solid var(--red); background: var(--bg-2); margin-bottom: 8px; font-size: .88rem; }
.finding[data-r="REVIEW_REQUIRED"], .finding[data-r="WARN"] { border-left-color: var(--yellow); }
.finding[data-r="PASS"] { border-left-color: var(--green); }
.finding b { display: block; color: var(--text); margin-bottom: 3px; }
.finding p { color: var(--text-2); }
.finding small { color: var(--text-3); font-size: .78rem; }
.result__note { margin: 10px 0; font-size: .78rem; color: var(--text-3); }
.error { padding: 14px; border-radius: 12px; background: rgba(216, 52, 58, .1); color: var(--red); }
.spinner { display: inline-block; width: 16px; height: 16px; margin-right: 10px; vertical-align: -3px; border: 2px solid var(--brand-soft); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.file { position: absolute; width: 1px; height: 1px; opacity: 0; }

/* ── como funciona ────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 26px 24px 24px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; }
.step__n { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.step__n::after { content: ""; flex: 1; height: 1px; background: var(--line-strong); }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: .93rem; margin-bottom: 16px; }
.tag { display: inline-block; padding: 4px 10px; border-radius: var(--pill); border: 1px solid var(--line-strong); font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.step__mark { position: absolute; right: -18px; bottom: -22px; width: 110px; opacity: .06; pointer-events: none; }
html[data-theme="dark"] .step__mark { opacity: .1; }

/* ── planos ───────────────────────────────────────────────────────────── */
.toggle { display: flex; align-items: center; justify-content: center; gap: 12px; margin: -24px 0 34px; font-size: .95rem; font-weight: 500; color: var(--text-2); }
.toggle[hidden] { display: none; }
.switch { position: relative; width: 50px; height: 28px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--bg-2); cursor: pointer; padding: 0; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--text-3); transition: transform .25s var(--ease), background .25s; }
.switch[aria-checked="true"]::after { transform: translateX(22px); background: var(--brand); }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; padding: 28px 26px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .3s; }
.plan:hover { box-shadow: var(--shadow); }
.plan.is-featured { border: 2px solid var(--brand); box-shadow: 0 24px 50px -24px var(--brand-glow); }
.plan__badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: var(--pill); background: var(--brand); color: #fff; font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.plan h3 { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; font-weight: 600; }
.plan__price { font-family: Poppins, sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--text); }
.plan__price small { font-family: Inter, sans-serif; font-size: .9rem; font-weight: 500; color: var(--text-3); }
.plan__offer { margin-top: 6px; font-family: var(--mono); font-size: .72rem; color: var(--text-3); min-height: 1.2em; }
.plan__offer b { color: var(--green); font-weight: 600; }
.plan__desc { margin: 16px 0 18px; color: var(--text-2); font-size: .93rem; }
.plan .checks { flex: 1; margin-bottom: 24px; }
.contact { margin-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 26px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--bg-3); }
.contact p { color: var(--text-2); }
.plans__note { margin-top: 14px; text-align: center; font-size: .86rem; color: var(--text-3); }

/* ── segurança ────────────────────────────────────────────────────────── */
.secure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.secure__item { padding: 22px; border-radius: var(--radius-lg); background: var(--bg-3); border: 1px solid var(--line); }
.secure__item .card__ico { margin-bottom: 14px; }
.secure__item h3 { font-size: 1rem; margin-bottom: 6px; }
.secure__item p { font-size: .9rem; color: var(--text-2); }

/* ── perguntas ────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-3); transition: border-color .2s; }
.faq details[open] { border-color: var(--brand); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--brand); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--text-2); }

/* ── chamada final ────────────────────────────────────────────────────── */
.final { padding: 64px 40px; border-radius: 28px; text-align: center; background: radial-gradient(600px 300px at 15% 0%, rgba(0, 229, 209, .18), transparent 70%), radial-gradient(700px 360px at 100% 100%, rgba(0, 149, 255, .3), transparent 70%), var(--navy); color: #fff; overflow: hidden; position: relative; }
.final .eyebrow { color: var(--cyan); justify-content: center; }
.final h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); max-width: 720px; margin: 0 auto 16px; }
.final p { color: #c9d6ee; max-width: 620px; margin: 0 auto 22px; font-size: 1.05rem; }
.final__checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-bottom: 30px; font-family: var(--mono); font-size: .74rem; color: #c9d6ee; }
.final__checks span::before { content: "✓"; color: var(--cyan); margin-right: 8px; }
.final__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ── rodapé ───────────────────────────────────────────────────────────── */
.footer { padding: 70px 0 34px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; margin-bottom: 46px; }
.footer__brand p { margin-top: 14px; color: var(--text-2); font-size: .9rem; max-width: 300px; }
.footer h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer li a, .footer li button { font-size: .9rem; color: var(--text-2); background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.footer li a:hover, .footer li button:hover { color: var(--brand); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: .7rem; color: var(--text-3); }

/* ── WhatsApp flutuante ───────────────────────────────────────────────── */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, .35); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.07); }
.fab svg { width: 30px; height: 30px; }
.fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(37, 211, 102, .55); animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }

/* ── demo guiada (tela cheia) ─────────────────────────────────────────── */
.tour { position: fixed; inset: 0; z-index: 150; display: none; padding: 12px; background: rgba(6, 20, 48, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tour.is-open { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.tour__panel { height: 100%; display: grid; grid-template-rows: auto 1fr auto; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); overflow: hidden; outline: none; }
.tour__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px 14px 22px; border-bottom: 1px solid var(--line); background: var(--bg-3); }
.tour__brand { display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.tour__dash { display: flex; gap: 5px; }
.tour__dash i { width: 18px; height: 3px; border-radius: 3px; background: var(--line-strong); transition: background .3s; }
.tour__dash i.is-on { background: var(--brand); }
.tour__right { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.tour__body { overflow: auto; padding: 26px; display: grid; }
.tour__foot { padding: 10px 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); background: var(--bg-3); }
.gate { width: 100%; max-width: 560px; margin: auto; text-align: center; }
.gate h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 10px; }
.gate > p { color: var(--text-2); margin-bottom: 26px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; text-align: left; }
.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--text-2); }
.field input { height: 50px; padding: 0 15px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field__err { min-height: 1em; font-size: .78rem; color: var(--red); }
.form__full { grid-column: 1 / -1; }
.form__legal { font-size: .78rem; color: var(--text-3); }
.form__legal a { color: var(--brand); text-decoration: underline; }
.form__error { grid-column: 1 / -1; padding: 10px 14px; border-radius: 10px; background: rgba(216, 52, 58, .1); color: var(--red); font-size: .88rem; }
.form__error:empty { display: none; }
.code-input { width: 100%; height: 64px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-3); color: var(--text); text-align: center; font-family: var(--mono); font-size: 1.8rem; letter-spacing: .5em; }
.code-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.link-btn { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; cursor: pointer; font-size: .9rem; }
.link-btn[disabled] { color: var(--text-3); cursor: default; }
.shot-view { width: 100%; height: 100%; display: grid; }
.shot__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: center; max-width: 1500px; margin: 0 auto; width: 100%; }
.shot { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); background: var(--bg-3); animation: shot-in .5s var(--ease); }
@keyframes shot-in { from { opacity: 0; transform: scale(.985); } }
.shot img { width: 100%; height: auto; }
.shot__spot { position: absolute; border: 2px solid var(--brand); border-radius: 10px; box-shadow: 0 0 0 9999px rgba(6, 20, 48, .46), 0 0 0 5px var(--brand-soft); pointer-events: none; animation: spot-in .7s var(--ease) .15s both; }
@keyframes spot-in { from { opacity: 0; transform: scale(1.04); } }
.callout { padding: 22px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line-strong); box-shadow: var(--shadow); animation: shot-in .5s var(--ease) .1s both; }
.callout h3 { font-size: 1.3rem; margin-bottom: 10px; }
.callout p { color: var(--text-2); font-size: .93rem; margin-bottom: 12px; }
.callout__tip { padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--text) !important; font-size: .86rem !important; }
.callout__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.callout__count { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.tour-end { max-width: 640px; margin: auto; text-align: center; }
.tour-end h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 12px; }
.tour-end p { color: var(--text-2); margin-bottom: 26px; }
.tour-end__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ── revelação ao rolar (nos dois sentidos) ───────────────────────────── */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
html[data-scroll-dir="up"].js [data-reveal] { transform: translateY(-26px); }
.js [data-reveal="left"] { transform: translateX(-34px) !important; }
.js [data-reveal="right"] { transform: translateX(34px) !important; }
.js [data-reveal="scale"] { transform: scale(.94) !important; }
.js [data-reveal="fade"] { transform: none !important; }
.js [data-reveal].is-in { opacity: 1; transform: none !important; }

/* ── responsivo ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .nav, .link-login { display: none; }
  .burger { display: grid; }
  .header__actions .btn--primary { display: none; }
  .menu { position: fixed; top: 76px; left: var(--gutter); right: var(--gutter); z-index: 99; display: none; flex-direction: column; gap: 4px; padding: 14px; border-radius: 18px; background: var(--bg-3); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); }
  .menu.is-open { display: flex; }
  .menu a { padding: 12px 14px; border-radius: 10px; font-weight: 600; }
  .menu a:hover { background: var(--brand-soft); }
  .menu .btn { margin-top: 6px; }
  .hero__grid, .row, .row--flip, .try, .detail, .panel { grid-template-columns: minmax(0, 1fr); }
  .row--flip .row__text { order: 0; }
  .hero__mock { transform: none; margin: 10px 18px 0; }
  .cards, .tiles { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .shot__stage { grid-template-columns: 1fr; }
}
@media (min-width: 1081px) { .menu { display: none !important; } }
@media (max-width: 760px) {
  .js [data-reveal="left"], .js [data-reveal="right"] { transform: translateY(26px) !important; }
  .js [data-reveal].is-in { transform: none !important; }
  section { padding: 80px 0; }
  .hero { padding: 116px 0 70px; }
  .hero__ctas .btn--lg { flex: 1 1 auto; }
  .hero__bullets { font-size: .7rem; }
  .eyebrow { letter-spacing: .12em; }
  .strip__grid { grid-template-columns: 1fr 1fr; }
  .strip__item:nth-child(3) { border-left: 0; }
  .strip__item { border-top: 1px solid var(--line); }
  .steps, .plans, .secure { grid-template-columns: 1fr; }
  .cards, .tiles { grid-template-columns: 1fr; }
  .chip { display: none; }
  .chip--1, .chip--4 { display: flex; font-size: .74rem; }
  .chip--1 { left: -4px; top: -16px; }
  .chip--4 { right: -4px; bottom: -18px; min-width: 0; }
  .contact { flex-direction: column; align-items: flex-start; }
  .form { grid-template-columns: 1fr; }
  .evidence dl { grid-template-columns: 1fr; gap: 4px; }
  .evidence dd { margin-bottom: 8px; }
  .docs__row { grid-template-columns: 1fr; gap: 6px; }
  .docs__row--head { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .final { padding: 48px 22px; }
  .tour { padding: 0; }
  .tour__panel { border-radius: 0; }
  .tour__body { padding: 16px; }
  .tour__dash { display: none; }
  .fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none !important; }
  .hero__mock { transform: none; }
}

/* ── páginas de texto (API, termos, privacidade, 404) ─────────────────── */
.doc-page .header { position: sticky; top: 12px; }
.doc { padding: 56px 0 90px; }
.doc__body { max-width: 860px; }
.doc__body h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.doc__body h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.doc__body p, .doc__body li { color: var(--text-2); margin-bottom: 12px; }
.doc__body ul { padding-left: 20px; }
.doc__body a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.doc__body b, .doc__body strong { color: var(--text); }
.doc__body pre { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; overflow-x: auto; font-size: .85rem; line-height: 1.55; margin: 0 0 16px; }
.doc__body code { font-family: var(--mono); font-size: .88em; background: var(--bg-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--text); }
.doc__body pre code { background: none; border: 0; padding: 0; }
.doc__body table { width: 100%; border-collapse: collapse; margin: 10px 0 20px; font-size: .92rem; }
.doc__body th, .doc__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text-2); }
.doc__body th { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 600; }
.doc-callout { margin: 24px 0; padding: 16px 20px; border-radius: var(--radius-lg); border: 1px dashed var(--line-strong); background: var(--bg-3); }
.doc-callout p { margin: 0 0 6px; color: var(--text) !important; font-weight: 500; }
.doc-callout p:last-child { margin-bottom: 0; }
@media (max-width: 760px) { .doc__body table { display: block; overflow-x: auto; } }
