/* ==========================================================================
   TKI Finance — página de vendas do sistema financeiro
   Estilo clean: fundo branco, cards com borda, acento azul TKI
   ========================================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul, ol, dl, dd, dt, figure { margin: 0; padding: 0; }

/* ---------- Tokens ---------- */
:root {
  --bg:      #ffffff;
  --bg-2:    #f7f9fc;
  --bg-3:    #eef1f6;
  --ink:     #0b1220;
  --ink-2:   #3d4a5f;
  --ink-3:   #66738a;
  --ink-4:   #9aa4b6;
  --line:    #e6eaf1;
  --line-2:  #d9dfe9;
  --accent:      #0040f0;
  --accent-2:    #4d7dff;
  --accent-dark: #0031bd;
  --accent-soft: #edf2ff;
  --green:   #16a34a;
  --grad-bg: linear-gradient(135deg, #edf2ff 0%, #ffffff 45%, #f2f7ff 100%);
  --grad-tx: linear-gradient(90deg, #0040f0, #4d8dff);
}

html { scroll-behavior: smooth; scroll-padding-top: 82px; }
html, body {
  background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }
.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; }
::selection { background: rgba(0, 64, 240, .18); }

.grad { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad .word { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-weight: 500; font-size: 14px; padding: 10px 18px; border-radius: 9px;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 32%, rgba(255,255,255,.28) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .6s ease;
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 10px 28px rgba(0, 64, 240, .35); }
.btn-primary:hover::after { transform: translateX(130%); }
.btn-ghost { color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--bg-2); }
.btn-big { padding: 14px 26px; font-size: 15px; border-radius: 10px; min-height: 50px; }
.btn-wa { background: var(--green); color: #fff; }
.btn-wa:hover { background: #15803d; box-shadow: 0 8px 24px rgba(22, 163, 74, .3); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { height: 30px; width: auto; }
.brand .brand-logo { height: 24px; width: auto; }
footer .brand .brand-logo { height: 22px; }
.brand b { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.brand b span { color: var(--accent); }
.nav ul { display: flex; gap: 24px; list-style: none; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.nav ul li a { position: relative; padding-bottom: 3px; }
.nav ul li a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transition: right .28s cubic-bezier(.2,.7,.3,1); }
.nav ul li a:hover { color: var(--ink); }
.nav ul li a:hover::after { right: 0; }
.nav .actions { display: flex; gap: 6px; flex-shrink: 0; }
@media (max-width: 1000px) { .nav ul { display: none; } }
@media (max-width: 480px) { .nav .btn-ghost { display: none; } }

/* ---------- HERO ---------- */
.hero { overflow-x: clip; padding: 92px 0 88px; background: var(--grad-bg); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(11, 18, 32, .07) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 78%);
}
.hero__blob { position: absolute; border-radius: 50%; filter: blur(72px); opacity: .6; pointer-events: none; animation: blobDrift 15s ease-in-out infinite alternate; }
.hero__blob--1 { width: 540px; height: 400px; top: -150px; left: 6%; background: radial-gradient(closest-side, rgba(0, 64, 240, .17), transparent 72%); }
.hero__blob--2 { width: 480px; height: 380px; top: -90px; right: 4%; background: radial-gradient(closest-side, rgba(77, 125, 255, .15), transparent 72%); animation-delay: -7s; }
@keyframes blobDrift { to { transform: translate3d(46px, 34px, 0) scale(1.12); } }
.hero-inner { position: relative; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255, 255, 255, .75);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 15px 6px 7px; font-size: 13px; color: var(--ink-2); font-weight: 500;
  margin-bottom: 30px; box-shadow: 0 1px 3px rgba(11, 18, 32, .05);
}
.badge .pill { background: var(--accent); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; }
@media (max-width: 480px) { .badge { font-size: 12px; padding: 6px 13px 6px 6px; gap: 8px; text-align: left; } }

h1.display {
  font-weight: 600; font-size: clamp(38px, 6.4vw, 76px); line-height: 1.03;
  letter-spacing: -0.035em; margin: 0 auto; max-width: 17ch;
}
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 640px; margin: 24px auto 0; }
.lede strong { color: var(--ink); font-weight: 600; }

.hero-ctas { display: inline-flex; gap: 10px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero-sub { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.hero-sub b { color: var(--ink-2); font-weight: 500; }

.frame-wrap { position: relative; max-width: 1140px; margin: 68px auto 0; }
.product-frame {
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #fff;
  box-shadow: 0 30px 80px -20px rgba(11, 18, 32, .16), 0 10px 30px -10px rgba(11, 18, 32, .08);
  position: relative;
}
.pf-shot { position: relative; }
.pf-shot img { width: 100%; height: auto; }
.pf-shot::after { content: ""; position: absolute; inset: auto 0 0 0; height: 84px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 94%); }
.pf-bar { display: flex; align-items: center; gap: 7px; padding: 10px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.pf-bar .d { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-3); }
.pf-bar .u {
  flex: 1; margin-left: 12px; padding: 5px 12px; border-radius: 6px;
  background: #fff; border: 1px solid var(--line);
  font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--ink-3);
  text-align: left; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.pf-bar .u::before { content: "🔒 "; }

/* ---------- DEFINIÇÃO ---------- */
.define { padding: 76px 0; border-bottom: 1px solid var(--line); }
.define-grid { display: grid; grid-template-columns: 1.12fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .define-grid { grid-template-columns: 1fr; gap: 36px; } }
.define h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 600; margin: 0 0 18px; }
.define p { color: var(--ink-2); font-size: 16px; line-height: 1.68; margin: 0 0 14px; }
.define p strong { color: var(--ink); font-weight: 600; }
.facts { border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 8px 22px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts > div:last-child { border-bottom: 0; }
.facts dt { color: var(--ink-3); }
.facts dd { color: var(--ink); font-weight: 500; text-align: right; }

/* ---------- STRIP DE NÚMEROS ---------- */
.strip { padding: 54px 0; border-bottom: 1px solid var(--line); }
.strip .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 820px) { .strip .row { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; } }
.strip .n { font-size: clamp(26px, 3vw, 34px); font-weight: 600; letter-spacing: -0.03em; }
.strip .n span { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; }
.strip .l { font-size: 13px; color: var(--ink-3); margin-top: 4px; }

/* ---------- SECTIONS ---------- */
section.s { padding: 112px 0; border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { section.s { padding: 76px 0; } }
section.s.alt { background: var(--bg-2); }
.sec-head { text-align: center; max-width: 740px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block; font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: var(--accent); letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 14px; font-weight: 500;
}
h2.sec-title { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
.sec-sub { color: var(--ink-2); font-size: 17.5px; line-height: 1.65; margin: 18px 0 0; }

/* ---------- CARDS EM GRID ---------- */
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 980px) { .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .g3 { grid-template-columns: 1fr; } .g2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .g4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
}
.card:hover { border-color: rgba(0, 64, 240, .22); box-shadow: 0 18px 42px -14px rgba(0, 64, 240, .22); transform: translateY(-4px); }
.card .ico {
  width: 38px; height: 38px; border-radius: 9px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
  transition: transform .28s cubic-bezier(.2,.7,.3,1), box-shadow .28s ease;
}
.card:hover .ico { transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 18px rgba(0, 64, 240, .22); }
.card .ico svg { width: 18px; height: 18px; }
.card h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; letter-spacing: -0.01em; }
.card .sub { font-size: 12px; color: var(--accent); font-weight: 500; margin: 0 0 10px; }
.card p { font-size: 14.5px; color: var(--ink-2); line-height: 1.62; margin: 0; }
.card .flag {
  position: absolute; top: 16px; right: 16px;
  font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(0, 64, 240, .25);
  padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; text-transform: uppercase;
}
.card.featured { border-color: rgba(0, 64, 240, .35); background: linear-gradient(180deg, var(--accent-soft), #fff 70%); }

/* ---------- FEATURE GRANDE (recorrência) ---------- */
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr; } }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.feat:hover { border-color: var(--line-2); box-shadow: 0 12px 32px -8px rgba(11, 18, 32, .08); }
.feat.big { grid-column: span 2; background: linear-gradient(180deg, var(--accent-soft), #fff 80%); border-color: rgba(0, 64, 240, .22); }
@media (max-width: 900px) { .feat.big { grid-column: span 1; } }
.feat .tag {
  display: inline-block; font-size: 11px; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid rgba(0, 64, 240, .18);
  padding: 3px 10px; border-radius: 6px; margin-bottom: 14px; letter-spacing: .02em; text-transform: uppercase;
}
.feat h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 8px; }
.feat.big h3 { font-size: clamp(24px, 3vw, 30px); }
.feat p { color: var(--ink-2); line-height: 1.6; margin: 0 0 18px; font-size: 15px; max-width: 640px; }
.feat p:last-child { margin-bottom: 0; }

.check { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
@media (max-width: 600px) { .check { grid-template-columns: 1fr; } }
.check li { font-size: 14px; color: var(--ink-2); display: flex; align-items: flex-start; gap: 9px; line-height: 1.45; }
.check li::before {
  content: ""; width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230040f0' d='M6.5 10.5L4 8l-1 1 3.5 3.5L14 5l-1-1z'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* ---------- RÉGUA (3 passos) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; position: relative; }
.step .num {
  display: inline-block; font-family: "JetBrains Mono", monospace; font-size: 11px;
  color: var(--accent); font-weight: 500; margin-bottom: 16px;
  padding: 3px 9px; border: 1px solid rgba(0, 64, 240, .4); border-radius: 5px;
}
.step h3 { font-size: 16px; font-weight: 600; margin: 0 0 6px; letter-spacing: -0.01em; }
.step p { font-size: 14px; color: var(--ink-2); line-height: 1.55; margin: 0; }
.steps-note {
  margin-top: 26px; text-align: center; font-size: 14.5px; color: var(--ink-2);
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap;
}
.steps-note svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.steps-note b { color: var(--ink); font-weight: 600; }

/* ---------- 2 COLUNAS (integração) ---------- */
.co-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: center; }
@media (max-width: 900px) { .co-wrap { grid-template-columns: 1fr; gap: 44px; } }
.co-wrap > * { min-width: 0; }
.co-copy .eyebrow { margin-bottom: 14px; }
.co-copy h2 { text-align: left; }
.co-copy .sec-sub { text-align: left; }
.co-feats { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.co-feat { display: flex; gap: 14px; align-items: flex-start; }
.co-feat .ico {
  width: 34px; height: 34px; border-radius: 8px; flex-shrink: 0;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.co-feat .ico svg { width: 16px; height: 16px; }
.co-feat h3 { font-size: 15px; font-weight: 600; margin: 0 0 3px; letter-spacing: -0.01em; }
.co-feat p { font-size: 13.5px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ---------- CODE ---------- */
.code { background: #0b1220; border-radius: 14px; overflow: hidden; border: 1px solid #1d2735; min-width: 0; }
.code .bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #1d2735; align-items: center; }
.code .bar .d { width: 9px; height: 9px; border-radius: 50%; background: #2a3648; }
.code .bar .t { margin-left: 8px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: #66738a; }
.code pre { margin: 0; padding: 22px; overflow-x: auto; font-family: "JetBrains Mono", monospace; font-size: 12.5px; line-height: 1.75; color: #c6cfdd; }
.code .k { color: #38bdf8; } .code .s { color: #7ee2a8; } .code .c { color: #566179; }
.code .resp {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 22px 20px; padding: 7px 14px; border-radius: 999px;
  background: rgba(22, 163, 74, .12); border: 1px solid rgba(22, 163, 74, .3);
  font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: #6ee7a0;
}
.code .resp::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-wrap details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; padding: 0 22px; transition: border-color .15s ease, box-shadow .15s ease; }
.faq-wrap details[open] { border-color: var(--line-2); box-shadow: 0 4px 14px -4px rgba(11, 18, 32, .06); }
.faq-wrap summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: 16px; font-weight: 500; padding: 20px 0; letter-spacing: -0.01em;
}
.faq-wrap summary::-webkit-details-marker { display: none; }
.faq-wrap summary .chev { color: var(--ink-3); font-size: 18px; font-weight: 300; transition: transform .2s ease, color .2s ease; flex-shrink: 0; line-height: 1; }
.faq-wrap details[open] summary .chev { transform: rotate(45deg); color: var(--accent); }
.faq-wrap details p { color: var(--ink-2); line-height: 1.68; font-size: 14.5px; margin: 0 0 20px; max-width: 700px; }
.faq-wrap details a { color: var(--accent); font-weight: 500; }

/* ---------- CTA FINAL ---------- */
.final { padding: 116px 0; text-align: center; background: var(--grad-bg); border-bottom: 1px solid var(--line); }
@media (max-width: 720px) { .final { padding: 78px 0; } }
.final .card-cta {
  max-width: 720px; margin: 0 auto; background: #fff;
  border: 1px solid var(--line-2); border-radius: 20px; padding: 60px 40px;
  box-shadow: 0 40px 100px -40px rgba(11, 18, 32, .2);
}
@media (max-width: 720px) { .final .card-cta { padding: 44px 24px; } }
.final h2 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -0.03em; font-weight: 600; margin: 0; }
.final p { color: var(--ink-2); margin: 18px auto 30px; max-width: 520px; font-size: 16px; line-height: 1.6; }
.final .ctas { display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.final .contact { margin-top: 22px; font-size: 13.5px; color: var(--ink-3); }
.final .contact a { color: var(--accent); font-weight: 500; }
.final .contact a:hover { text-decoration: underline; }

/* ---------- REVEAL (sutil) ---------- */
.reveal { transition: opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1); }
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- MARQUEE DE CAPACIDADES ---------- */
.caps { padding: 24px 0; border-bottom: 1px solid var(--line); background: #fff; overflow: hidden; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 12px; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.cap {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2);
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.cap:hover { color: var(--ink); border-color: rgba(0, 64, 240, .35); }
.cap svg { width: 14px; height: 14px; color: var(--accent); flex-shrink: 0; }

/* ---------- LOGOS (prova social) ---------- */
.logos { padding: 46px 0; border-bottom: 1px solid var(--line); }
.logos p { text-align: center; font-size: 13px; color: var(--ink-3); margin: 0 0 28px; font-weight: 500; }
.logos .row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 26px 52px; }
.logos img { height: 26px; width: auto; max-width: 132px; object-fit: contain; filter: grayscale(1); opacity: .5; transition: filter .2s ease, opacity .2s ease; }
.logos img.tall { height: 40px; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- COMPARAÇÃO ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 1000px; margin: 0 auto; }
@media (max-width: 820px) { .compare { grid-template-columns: 1fr; } }
.compare .col { border: 1px solid var(--line); border-radius: 16px; padding: 32px; background: #fff; }
.compare .col.win {
  border-color: rgba(0, 64, 240, .35);
  background: linear-gradient(180deg, var(--accent-soft), #fff 78%);
  box-shadow: 0 20px 48px -18px rgba(0, 64, 240, .28);
}
.compare h3 { font-size: 16px; font-weight: 600; margin: 0 0 20px; letter-spacing: -0.01em; }
.compare .col.win h3 { color: var(--accent); }
.compare ul { list-style: none; display: grid; gap: 13px; }
.compare li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; align-items: flex-start; }
.compare li::before {
  content: ""; width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  background-position: center; background-repeat: no-repeat; background-size: 11px;
}
.compare .xlist li::before {
  background-color: #fdecec;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath stroke='%23dc2626' stroke-width='2' stroke-linecap='round' d='M4.5 4.5l7 7M11.5 4.5l-7 7'/%3E%3C/svg%3E");
}
.compare .oklist li::before {
  background-color: var(--accent-soft); background-size: 13px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%230040f0' d='M6.5 10.5L4 8l-1 1 3.5 3.5L14 5l-1-1z'/%3E%3C/svg%3E");
}
.compare .xlist li { color: var(--ink-3); }
.compare .oklist li b { color: var(--ink); font-weight: 600; }

/* ---------- CTA STRIP (meio de página) ---------- */
.cta-strip {
  max-width: 1000px; margin: 56px auto 0;
  border: 1px solid rgba(0, 64, 240, .3); border-radius: 16px;
  background: linear-gradient(115deg, var(--accent-soft), #fff 62%);
  padding: 26px 30px;
  display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap;
}
.cta-strip b { display: block; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.cta-strip small { display: block; font-size: 13.5px; color: var(--ink-3); margin-top: 3px; }
.cta-strip .btn { flex-shrink: 0; }

/* ---------- DEPOIMENTOS ---------- */
.quote { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px; display: flex; flex-direction: column; gap: 13px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.quote:hover { border-color: var(--line-2); box-shadow: 0 12px 30px -10px rgba(11, 18, 32, .09); transform: translateY(-2px); }
.quote header { display: flex; align-items: center; gap: 12px; }
.quote header img { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--line); border-radius: 11px; padding: 5px; background: #fff; }
.quote header b { display: block; font-size: 14.5px; letter-spacing: -0.01em; }
.quote header small { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 1px; }
.quote .stars { display: flex; gap: 3px; color: #f59e0b; }
.quote .stars svg { width: 14px; height: 14px; }
.quote p { font-size: 14px; color: var(--ink-2); line-height: 1.62; margin: 0; }

/* ---------- HERO: título palavra a palavra ---------- */
.word { display: inline-block; }
.js .word { animation: wordIn .7s cubic-bezier(.2,.7,.3,1) backwards; animation-delay: var(--d, 0s); }
@keyframes wordIn { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } }

/* ---------- CHIPS AO VIVO sobre o dashboard ---------- */
.live-chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 12px 16px; text-align: left;
  box-shadow: 0 18px 44px -12px rgba(11, 18, 32, .2);
  animation: chipFloat 6s ease-in-out infinite;
}
.live-chip .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.live-chip .ic svg { width: 17px; height: 17px; }
.live-chip .ic.green { background: #e7f8ee; color: var(--green); }
.live-chip .ic.blue  { background: var(--accent-soft); color: var(--accent); }
.live-chip b { display: block; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.live-chip b .val { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--green); margin-left: 5px; }
.live-chip small { display: block; font-size: 11px; color: var(--ink-3); margin-top: 1px; }
.live-chip--1 { top: 11%; left: -30px; }
.live-chip--2 { bottom: 20%; left: -38px; animation-delay: -3.2s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ---------- TENTATIVA DE PAGAMENTO AO VIVO ---------- */
.payflow {
  position: absolute; z-index: 3; right: -34px; bottom: 7%; width: 312px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 16px;
  box-shadow: 0 26px 60px -16px rgba(11, 18, 32, .25);
  padding: 18px 18px 16px; text-align: left;
}
.payflow__head {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 14px;
}
.payflow__pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); position: relative; flex-shrink: 0; }
.payflow__pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(0, 64, 240, .45); animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.5); opacity: 0; } }
.payflow__badge {
  margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(0, 64, 240, .25);
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.payflow.is-approved .payflow__badge { background: #e7f8ee; color: var(--green); border-color: rgba(22, 163, 74, .35); }
.payflow.is-approved .payflow__pulse { background: var(--green); }
.payflow.is-approved .payflow__pulse::after { border-color: rgba(22, 163, 74, .45); }
.payflow__steps { list-style: none; display: grid; gap: 3px; }
.payflow__steps li {
  display: flex; align-items: center; gap: 11px; padding: 7px 9px; border-radius: 10px;
  opacity: .38; transition: opacity .35s ease, background-color .35s ease;
}
.payflow__steps li.is-active { opacity: 1; background: var(--accent-soft); }
.payflow__steps li.is-done { opacity: 1; }
.payflow__dot {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  border: 1.5px solid var(--line-2); background: #fff; color: transparent;
  transition: border-color .3s ease, background-color .3s ease, color .3s ease;
}
.payflow__dot svg { width: 11px; height: 11px; }
li.is-active .payflow__dot { border-color: var(--accent); }
li.is-active .payflow__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: dotPulse 1s ease-in-out infinite; }
@keyframes dotPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(.55); } }
li.is-done .payflow__dot { border-color: var(--green); background: var(--green); color: #fff; }
li.is-done .payflow__dot::before { display: none; }
.payflow__steps b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.payflow__steps small { display: block; font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.payflow__bar { margin-top: 13px; height: 4px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.payflow__bar span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transition: width .9s cubic-bezier(.2,.7,.3,1); }
.payflow.is-approved .payflow__bar span { background: var(--green); }

@media (max-width: 1240px) {
  .live-chip--1, .live-chip--2 { left: 10px; }
  .payflow { right: 10px; }
}
@media (max-width: 780px) {
  .live-chip { display: none; }
  .payflow { position: static; width: 100%; max-width: 340px; margin: 18px auto 0; }
}

/* ---------- API & INFRA (seção dark enterprise) ---------- */
section.s.dark {
  background: #0b1220; border: 0; padding: 120px 0; position: relative; overflow: hidden;
  border-radius: 32px; margin: 0 20px;
}
@media (max-width: 720px) { section.s.dark { border-radius: 22px; margin: 0 12px; padding: 84px 0; } }
section.s.dark::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 340px; pointer-events: none;
  background: radial-gradient(60% 100% at 50% 0%, rgba(0, 64, 240, .28), transparent 72%);
}
section.s.dark > .container { position: relative; }
.dark .sec-title { color: #fff; }
.dark .sec-sub { color: #8fa1be; }
.dark .eyebrow { color: #38bdf8; }
.infra-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
@media (max-width: 900px) { .infra-stats { grid-template-columns: repeat(2, 1fr); } }
.infra-stat {
  border: 1px solid #1c2942; background: #0e1728; border-radius: 16px; padding: 26px 18px; text-align: center;
  transition: border-color .24s ease, transform .24s cubic-bezier(.2,.7,.3,1);
}
.infra-stat:hover { border-color: #2f4470; transform: translateY(-3px); }
.infra-stat .n { font-size: clamp(22px, 2.4vw, 28px); font-weight: 600; letter-spacing: -0.02em; color: #fff; }
.infra-stat .n .grad { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; }
.grad .word { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; }
.infra-stat .l { font-size: 12.5px; color: #66738a; margin-top: 5px; line-height: 1.45; }
.dark .card { background: #101a2e; border-color: #1c2942; }
.dark .card:hover { border-color: #2c3d61; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55); }
.dark .card h3 { color: #fff; }
.dark .card p { color: #8fa1be; }
.dark .card .sub { color: #38bdf8; }
.dark .card .ico { background: rgba(0, 64, 240, .16); border: 1px solid rgba(96, 165, 250, .22); color: #7cb5ff; }
.dark .g3 { margin-top: 16px; }

/* console de eventos ao vivo */
.console { max-width: 880px; margin: 44px auto 0; background: #070d1a; border: 1px solid #1c2942; border-radius: 14px; overflow: hidden; }
.console .bar { display: flex; gap: 6px; padding: 12px 16px; border-bottom: 1px solid #1c2942; align-items: center; }
.console .bar .d { width: 9px; height: 9px; border-radius: 50%; background: #22304c; }
.console .bar .t { margin-left: 8px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: #566179; }
.console .bar .live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: .06em; color: #4ade80; text-transform: uppercase; }
.console .bar .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #4ade80; animation: dotPulse 1.6s ease-in-out infinite; }
.console__body {
  padding: 14px 20px 18px; height: 208px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  font-family: "JetBrains Mono", monospace; font-size: 12px; line-height: 2; color: #c6cfdd;
}
.logline { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; animation: logIn .35s ease backwards; }
@keyframes logIn { from { opacity: 0; transform: translateY(7px); } }
.lg-t { color: #566179; }
.lg-m { color: #38bdf8; }
.lg-ok { color: #4ade80; }
.lg-i { color: #7cb5ff; }
.lg-w { color: #fbbf24; }

/* ---------- HERO: wordmark do produto ---------- */
.hero-brand { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-bottom: 30px; }
.hero-wordmark { height: 42px; width: auto; }
.hero-by { font-size: 13px; font-weight: 500; color: var(--ink-3); letter-spacing: .01em; }
@media (max-width: 600px) { .hero-wordmark { height: 34px; } }

/* ---------- CONTATO / FORMULÁRIO ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-grid > * { min-width: 0; }
.contact-pitch .eyebrow { margin-bottom: 14px; }
.contact-pitch .sec-title, .contact-pitch .sec-sub { text-align: left; }
.contact-channels { margin-top: 30px; }
.contact-alt { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
.contact-alt a { color: var(--accent); font-weight: 500; }
.contact-alt a:hover { text-decoration: underline; }

.contact-card {
  background: #fff; border: 1px solid var(--line-2); border-radius: 18px;
  padding: 34px;
  box-shadow: 0 30px 70px -28px rgba(11, 18, 32, .25);
}
@media (max-width: 600px) { .contact-card { padding: 26px 20px; } }
.contact-card__title { font-size: 20px; font-weight: 600; letter-spacing: -0.015em; margin: 0 0 6px; }
.contact-card__sub { font-size: 14px; color: var(--ink-3); margin: 0 0 24px; }

.cform { display: grid; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .cform__row { grid-template-columns: 1fr; } }
.cform label { display: grid; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink); }
.cform input, .cform select, .cform textarea {
  width: 100%; font: inherit; font-size: 14.5px; font-weight: 400; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--bg-2); outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.cform input::placeholder, .cform textarea::placeholder { color: var(--ink-4); }
.cform input:focus, .cform select:focus, .cform textarea:focus {
  border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 64, 240, .14);
}
.cform textarea { resize: vertical; min-height: 96px; }
.cform select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%2366738a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M4 6l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; background-size: 15px; padding-right: 38px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cform__submit { width: 100%; margin-top: 4px; }
.cform__submit[disabled] { opacity: .6; cursor: wait; }
.cform__status { min-height: 20px; font-size: 13.5px; margin: 0; }
.cform__status.ok { color: var(--green); font-weight: 600; }
.cform__status.err { color: #dc2626; font-weight: 600; }

/* ---------- ÍCONES ---------- */
.dark .card .ico svg { color: #7cb5ff; }

/* ---------- MAQUININHAS: foto maior e em destaque ---------- */
.co-wrap--pos { grid-template-columns: 1.28fr 1fr; gap: 66px; }
@media (max-width: 900px) { .co-wrap--pos { grid-template-columns: 1fr; } }
.co-wrap--pos .pos-photo > img { border-radius: 22px; }
.co-wrap--pos .pos-photo .tagchip { top: 20px; left: 20px; font-size: 13px; padding: 9px 17px; }
.co-wrap--pos .pos-photo .salechip { right: -22px; bottom: 30px; }

/* ---------- BANNER "SUA MARCA NO BALCÃO" ---------- */
.pos-banner-wrap { border-bottom: 1px solid var(--line); }
.pos-banner {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 30px;
  border-radius: 26px; padding: 54px 20px 54px 56px;
  background: linear-gradient(120deg, #0031bd 0%, #0040f0 45%, #2f6bff 100%);
  box-shadow: 0 34px 80px -30px rgba(0, 64, 240, .6);
}
.pos-banner::after {
  content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%;
  right: -120px; top: -180px;
  background: radial-gradient(closest-side, rgba(255,255,255,.16), transparent 72%);
  pointer-events: none;
}
.pos-banner__eyebrow { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.72); margin: 0 0 14px; font-weight: 500; }
.pos-banner__title { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; color: #fff; margin: 0 0 16px; max-width: 17ch; }
.pos-banner__text { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.88); margin: 0 0 28px; max-width: 44ch; }
.btn-light { background: #fff; color: var(--accent); font-weight: 600; }
.btn-light:hover { background: #eef2ff; box-shadow: 0 12px 30px rgba(0,0,0,.24); transform: translateY(-1px); }
.pos-banner__img { position: relative; z-index: 1; width: 100%; max-width: 470px; height: auto; justify-self: end; filter: drop-shadow(0 26px 46px rgba(0,0,0,.42)); animation: chipFloat 7s ease-in-out infinite; }
@media (max-width: 900px) {
  .pos-banner { grid-template-columns: 1fr; text-align: center; padding: 44px 26px; }
  .pos-banner__title, .pos-banner__text { max-width: 100%; }
  .pos-banner__img { justify-self: center; max-width: 380px; margin-top: 8px; }
}

/* ---------- HEADER PADRÃO: dropdown + mobile ---------- */
.nav nav ul { display: flex; gap: 22px; list-style: none; font-size: 14.5px; color: var(--ink-2); font-weight: 500; align-items: center; margin: 0; padding: 0; }
.nav .has-menu { position: relative; }
.menu-trigger { display: inline-flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); padding: 0 0 3px; }
.menu-trigger svg { width: 14px; height: 14px; transition: transform .22s ease; }
.has-menu:hover .menu-trigger, .menu-trigger[aria-expanded="true"] { color: var(--ink); }
.has-menu:hover .menu-trigger svg, .menu-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translate(-50%, -8px);
  width: 380px; padding: 8px; border-radius: 16px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: 0 26px 60px -18px rgba(11, 18, 32, .28);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.submenu::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu, .has-menu.is-open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu__item { display: flex; gap: 13px; padding: 14px; border-radius: 11px; transition: background-color .18s ease; }
.submenu__item:hover { background: var(--bg-2); }
.submenu__item.is-current { background: var(--accent-soft); }
.submenu__ico { width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.submenu__ico svg { width: 19px; height: 19px; }
.submenu__item b { display: block; font-size: 14.5px; color: var(--ink); letter-spacing: -0.01em; }
.submenu__item small { display: block; font-size: 12.5px; color: var(--ink-3); line-height: 1.45; margin-top: 2px; }

.burger {
  display: none; position: relative; width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: var(--accent-soft); flex-shrink: 0; cursor: pointer; padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .3s ease, transform .18s cubic-bezier(.2,.7,.3,1);
}
.burger:active { transform: scale(.92); }
.burger span {
  position: absolute; left: 50%; width: 18px; height: 2.4px; border-radius: 3px;
  background: var(--accent); margin-left: -9px;
  transition: transform .38s cubic-bezier(.65,-0.25,.35,1.25),
              background-color .3s ease, width .3s ease, opacity .2s ease;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; width: 12px; margin-left: -9px; }
.burger span:nth-child(3) { top: 28px; }

.burger.is-open { background: var(--accent); }
.burger.is-open span { background: #fff; }
.burger.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.mobile-nav {
  display: none; position: absolute; left: 14px; right: 14px; top: calc(100% + 12px);
  padding: 10px; border-radius: 20px; background: #fff;
  border: 1px solid var(--line-2); box-shadow: 0 26px 60px -14px rgba(11, 18, 32, .28);
  opacity: 0; visibility: hidden; transform: translateY(-14px) scale(.96); transform-origin: top center;
  transition: opacity .3s ease, transform .42s cubic-bezier(.2,.9,.3,1.05), visibility .42s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.mobile-nav > * { opacity: 0; transform: translateY(-8px); }
.mobile-nav.is-open > * { animation: navItemIn .42s cubic-bezier(.2,.8,.3,1) forwards; }
.mobile-nav.is-open > *:nth-child(1) { animation-delay: .05s; }
.mobile-nav.is-open > *:nth-child(2) { animation-delay: .10s; }
.mobile-nav.is-open > *:nth-child(3) { animation-delay: .15s; }
.mobile-nav.is-open > *:nth-child(4) { animation-delay: .20s; }
.mobile-nav.is-open > *:nth-child(5) { animation-delay: .25s; }
.mobile-nav.is-open > *:nth-child(6) { animation-delay: .30s; }
@keyframes navItemIn { to { opacity: 1; transform: translateY(0); } }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 15px 16px; border-radius: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.mobile-nav a:not(.btn)::after {
  content: "→"; font-size: 14px; color: var(--ink-4); transition: transform .2s ease, color .2s ease;
}
.mobile-nav a:not(.btn):active { background: var(--accent-soft); }
.mobile-nav a:not(.btn):active::after { color: var(--accent); transform: translateX(3px); }
.mobile-nav a + a:not(.btn) { border-top: 1px solid var(--bg-3); border-radius: 0 0 12px 12px; }
.mobile-nav a:hover { background: var(--bg-2); }
.mobile-nav .btn { width: 100%; margin-top: 10px; justify-content: center; min-height: 50px; }
.mobile-nav a.btn-primary { color: #fff; font-weight: 600; }
.mobile-nav a.btn-primary::after { content: none; }
.mobile-nav a.btn-primary:active { background: var(--accent-dark); }

@media (max-width: 1080px) {
  .nav nav { display: none; }
  .nav .actions { display: none; }
  .burger { display: block; }
  .mobile-nav { display: block; }
}

/* ---------- HOME: hero e cards de produto ---------- */
.hero--home { padding-bottom: 96px; }
.hero--home .display { max-width: 19ch; }
.define-grid .sec-title { margin-bottom: 22px; }
.define-p { color: var(--ink-2); font-size: 16.5px; line-height: 1.72; margin: 0 0 16px; }
.define-p strong { color: var(--ink); font-weight: 600; }

.prod-grid { display: grid; grid-template-columns: 1.06fr 1fr; gap: 20px; }
@media (max-width: 900px) { .prod-grid { grid-template-columns: 1fr; } }
.prod {
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  padding: 36px; border-radius: 20px; background: #fff; border: 1px solid var(--line);
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.2,.7,.3,1);
}
.prod:hover { transform: translateY(-4px); border-color: rgba(0, 64, 240, .3); box-shadow: 0 26px 60px -22px rgba(0, 64, 240, .3); }
.prod:first-child { background: linear-gradient(170deg, var(--accent-soft), #fff 72%); border-color: rgba(0, 64, 240, .22); }
.prod__badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px; background: var(--accent); color: #fff; margin-bottom: 20px;
}
.prod__badge--alt { background: var(--bg-3); color: var(--ink-2); }
.prod__ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); margin-bottom: 18px; transition: transform .26s cubic-bezier(.2,.7,.3,1); }
.prod:hover .prod__ico { transform: translateY(-3px) scale(1.07); }
.prod__ico svg { width: 23px; height: 23px; }
.prod__title { font-size: 25px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 3px; color: var(--ink); }
.prod__tag { font-size: 13.5px; font-weight: 600; color: var(--accent); margin: 0 0 14px; }
.prod__text { font-size: 15px; line-height: 1.62; color: var(--ink-2); margin: 0 0 20px; max-width: 46ch; }
.prod__list { list-style: none; display: grid; gap: 9px; margin: 0 0 26px; padding: 0; }
.prod__list li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink-2); }
.prod__list svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }
.prod__cta { margin-top: auto; font-size: 14.5px; font-weight: 600; color: var(--accent); }
.prod:hover .prod__cta { text-decoration: underline; }
.prod__img { position: absolute; right: -46px; bottom: -18px; width: 260px; height: auto; opacity: .95; pointer-events: none; }
@media (max-width: 1100px) { .prod__img { width: 200px; right: -34px; } }
@media (max-width: 600px) { .prod__img { display: none; } }

/* ---------- TIME / SÓCIOS ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 940px; margin-inline: auto; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }
.member {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 40px 34px 34px; text-align: center;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.2,.7,.3,1);
}
.member:hover { transform: translateY(-4px); border-color: rgba(0, 64, 240, .26); box-shadow: 0 26px 60px -24px rgba(0, 64, 240, .3); }
.member__photo {
  position: relative; width: 132px; height: 132px; margin: 0 auto 22px;
  border-radius: 50%; padding: 4px;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
}
.member__photo::after {
  content: ""; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid rgba(0, 64, 240, .16);
}
.member__photo img {
  width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top;
  display: block; background: var(--bg-3);
}
.member__name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 3px; }
.member__role {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(0, 64, 240, .18);
  padding: 4px 12px; border-radius: 999px; margin: 0 0 20px;
}
.member__bio { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 12px; text-align: left; }
.member__bio:last-child { margin-bottom: 0; }

/* ---------- FOOTER PROFISSIONAL ---------- */
.site-footer { background: #0b1220; color: #8fa1be; padding: 72px 0 34px; font-size: 14px; }
.site-footer a { color: #b9c8e2; transition: color .18s ease; }
.site-footer a:hover { color: #fff; }

.foot-top { display: grid; grid-template-columns: 1.35fr 2fr; gap: 56px; padding-bottom: 46px; }
@media (max-width: 900px) { .foot-top { grid-template-columns: 1fr; gap: 42px; } }

.foot-brand .brand b { color: #fff; }
.foot-brand .brand b span { color: #4d8dff !important; }
.foot-brand .brand img { filter: brightness(1.35); }
.foot-about { margin: 18px 0 22px; font-size: 14px; line-height: 1.7; color: #7f8ea9; max-width: 40ch; }

.foot-contact { list-style: none; display: grid; gap: 11px; margin: 0 0 24px; padding: 0; }
.foot-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.foot-contact svg { width: 16px; height: 16px; color: #4d8dff; flex-shrink: 0; }
.foot-contact span { color: #7f8ea9; }

.foot-social { display: flex; gap: 10px; margin: 0; }
.foot-social a {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid #1e2b47; background: #101a2e; color: #8fa1be;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, background-color .2s ease;
}
.foot-social a:hover { border-color: #2f4470; background: #16233d; color: #fff; transform: translateY(-2px); }
.foot-social svg { width: 17px; height: 17px; }

.foot-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 620px) { .foot-nav { grid-template-columns: 1fr 1fr; gap: 28px; } }
.foot-col h3 {
  font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; margin: 0 0 16px;
}
.foot-col ul { list-style: none; display: grid; gap: 10px; margin: 0; padding: 0; }
.foot-col a { font-size: 14px; color: #8fa1be; }

.foot-legal {
  border-top: 1px solid #1a2540; padding: 26px 0 22px;
  display: grid; gap: 10px;
}
.foot-legal p { margin: 0; font-size: 12.5px; line-height: 1.65; color: #66738a; max-width: 96ch; }
.foot-legal strong { color: #b9c8e2; font-weight: 600; letter-spacing: .01em; }

.foot-base {
  border-top: 1px solid #1a2540; padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: #66738a;
}
.foot-base__links { display: flex; gap: 20px; }
.foot-base__links a { font-size: 12.5px; color: #8fa1be; }

/* ---------- FORÇA DE MERCADO ---------- */
.market { position: relative; overflow: hidden; }
.market::before {
  content: ""; position: absolute; inset: auto 0 -30% 0; height: 60%; pointer-events: none;
  background: radial-gradient(50% 100% at 50% 100%, rgba(0, 64, 240, .07), transparent 70%);
}
.market > .container { position: relative; }
.market__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 980px) { .market__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .market__grid { grid-template-columns: 1fr; } }

.mstat {
  position: relative; overflow: hidden;
  padding: 32px 30px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line);
  transition: border-color .26s ease, box-shadow .26s ease, transform .26s cubic-bezier(.2,.7,.3,1);
}
.mstat:hover { transform: translateY(-4px); border-color: rgba(0, 64, 240, .26); box-shadow: 0 22px 50px -18px rgba(0, 64, 240, .26); }
.mstat__ico {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent);
  transition: transform .26s cubic-bezier(.2,.7,.3,1);
}
.mstat:hover .mstat__ico { transform: translateY(-3px) scale(1.07); }
.mstat__ico svg { width: 20px; height: 20px; }
.mstat__value {
  display: flex; align-items: baseline; gap: 3px; flex-wrap: wrap;
  font-size: clamp(34px, 4vw, 46px); font-weight: 800; line-height: 1;
  letter-spacing: -0.035em; color: var(--ink);
}
.mstat__pre { font-size: .52em; font-weight: 700; color: var(--ink-3); margin-right: 2px; }
.mstat__suf { background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mstat__label { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.mstat__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.62; color: var(--ink-2); }

/* card em destaque */
.mstat--hero {
  grid-column: span 1;
  background: linear-gradient(165deg, #0040f0 0%, #0031bd 58%, #2f6bff 100%);
  border-color: transparent;
  box-shadow: 0 26px 60px -22px rgba(0, 64, 240, .55);
}
.mstat--hero::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  right: -110px; top: -130px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255,255,255,.18), transparent 72%);
}
.mstat--hero:hover { box-shadow: 0 32px 70px -22px rgba(0, 64, 240, .65); }
.mstat--hero .mstat__ico { background: rgba(255,255,255,.16); color: #fff; }
.mstat--hero .mstat__value { color: #fff; font-size: clamp(38px, 4.6vw, 54px); }
.mstat--hero .mstat__pre { color: rgba(255,255,255,.72); }
.mstat--hero .mstat__suf { background: none; -webkit-background-clip: initial; background-clip: initial; color: #fff; }
.mstat--hero .mstat__label { color: #fff; }
.mstat--hero .mstat__desc { color: rgba(255,255,255,.82); }

/* ---------- HERO FULL-SCREEN ---------- */
.hero--full {
  min-height: calc(100svh - 69px);
  display: flex; flex-direction: column; justify-content: center;
  padding-top: 72px; padding-bottom: 108px; position: relative;
}
@media (max-width: 900px) { .hero--full { min-height: auto; padding-top: 64px; padding-bottom: 92px; } }

.hero--full .hero-inner { width: 100%; }
.hero--full .badge { margin-bottom: 32px; }
.hero--full .display { font-size: clamp(40px, 6.6vw, 78px); max-width: 20ch; margin-inline: auto; }
.hero--full .lede { font-size: clamp(16px, 1.5vw, 19px); max-width: 660px; margin-top: 28px; }
.hero--full .hero-ctas { margin-top: 38px; }

/* brilho central sutil atrás do título */
.hero__glow {
  position: absolute; top: 18%; left: 50%; transform: translateX(-50%);
  width: min(900px, 92vw); height: 380px; pointer-events: none; z-index: 0;
  background: radial-gradient(52% 60% at 50% 50%, rgba(0, 64, 240, .10), transparent 72%);
  filter: blur(30px);
}

/* faixa de fatos dentro do hero */
.hero-facts {
  list-style: none; display: flex; justify-content: center; flex-wrap: wrap;
  gap: 14px 0; margin: 54px auto 0; padding: 0; max-width: 780px;
}
.hero-facts li {
  position: relative; flex: 1 1 0; min-width: 148px; padding: 0 22px; text-align: center;
}
.hero-facts li + li::before {
  content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-2), transparent);
}
.hero-facts b {
  display: block; font-size: clamp(20px, 2.2vw, 25px); font-weight: 800; letter-spacing: -0.03em;
  background: var(--grad-tx); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-facts span { display: block; margin-top: 5px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
@media (max-width: 620px) {
  .hero-facts { gap: 22px 0; margin-top: 42px; }
  .hero-facts li { flex: 0 0 50%; min-width: 0; }
  .hero-facts li:nth-child(odd)::before { display: none; }
}

/* indicador de scroll */
.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: var(--ink-4); transition: color .2s ease;
  animation: heroScrollIn 1s ease 1.1s backwards;
}
@keyframes heroScrollIn { from { opacity: 0; transform: translate(-50%, 10px); } }
.hero-scroll:hover { color: var(--accent); }
.hero-scroll__mouse {
  width: 24px; height: 38px; border-radius: 13px; border: 1.6px solid currentColor;
  display: grid; justify-items: center; padding-top: 7px; opacity: .7;
}
.hero-scroll__mouse span {
  width: 3px; height: 7px; border-radius: 2px; background: currentColor;
  animation: wheel 1.9s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-3px); } 35% { opacity: 1; } 70%,100% { opacity: 0; transform: translateY(9px); } }
.hero-scroll__txt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
@media (max-width: 900px) { .hero-scroll { display: none; } }

/* ---------- HERO DE PÁGINA INTERNA ---------- */
.hero--page { padding: 108px 0 84px; text-align: center; }
.hero--page .display { max-width: 18ch; margin-inline: auto; }
.hero--page .lede { margin-top: 26px; }
@media (max-width: 720px) { .hero--page { padding: 84px 0 64px; } }

/* ---------- LINHA DO TEMPO ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 880px; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 150px; top: 10px; bottom: 10px; width: 2px;
  background: linear-gradient(to bottom, transparent, var(--line-2) 8%, var(--line-2) 92%, transparent);
}
@media (max-width: 720px) { .timeline::before { left: 9px; } }

.tl { position: relative; display: grid; grid-template-columns: 132px 1fr; gap: 40px; padding-bottom: 26px; }
@media (max-width: 720px) { .tl { grid-template-columns: 1fr; gap: 12px; padding-left: 34px; } }
.tl:last-child { padding-bottom: 0; }
.tl::before {
  content: ""; position: absolute; left: 144px; top: 24px; width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--line-2); z-index: 1; transition: border-color .3s ease;
}
@media (max-width: 720px) { .tl::before { left: 3px; top: 6px; } }
.tl:hover::before { border-color: var(--accent); }
.tl--now::before { border-color: var(--accent); box-shadow: 0 0 0 5px rgba(0, 64, 240, .14); }

.tl__year {
  font-family: "JetBrains Mono", monospace; font-size: 13px; font-weight: 500;
  color: var(--accent); text-align: right; padding-top: 20px; letter-spacing: -0.02em; white-space: nowrap;
}
@media (max-width: 720px) { .tl__year { text-align: left; padding-top: 0; } }
.tl__card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px;
  transition: border-color .24s ease, box-shadow .24s ease, transform .24s cubic-bezier(.2,.7,.3,1);
}
.tl:hover .tl__card { border-color: rgba(0, 64, 240, .24); box-shadow: 0 16px 38px -16px rgba(0, 64, 240, .22); transform: translateX(4px); }
.tl--now .tl__card { border-color: rgba(0, 64, 240, .3); background: linear-gradient(160deg, var(--accent-soft), #fff 70%); }
.tl__card h3 { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 8px; }
.tl__card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 0; }

/* missão / visão / compromisso */
.purpose .card { padding: 34px 30px; }
.purpose .card h3 { font-size: 19px; margin-bottom: 12px; }
.purpose .card p { font-size: 15px; line-height: 1.68; }

/* ---------- LINHA: REDES + SELOS ---------- */
.foot-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid #1a2540; padding: 24px 0 4px; margin-top: 4px;
}
.foot-seals { display: flex; align-items: center; gap: 30px; }
.foot-seals img {
  height: 40px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1); opacity: .5;
  transition: opacity .25s ease, filter .25s ease;
}
.foot-seals img.is-wide { height: 24px; }
.foot-seals img:hover { opacity: 1; filter: none; }
@media (max-width: 620px) {
  .foot-row { justify-content: center; gap: 22px; }
  .foot-seals { gap: 24px; }
  .foot-seals img { height: 32px; }
  .foot-seals img.is-wide { height: 20px; }
}

/* ---------- SEÇÃO SOLUÇÕES (cards de produto) ---------- */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 980px) { .sol-grid { grid-template-columns: 1fr; } }

.sol {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; background: #fff; border: 1px solid var(--line);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s cubic-bezier(.2,.7,.3,1);
}
.sol:hover { transform: translateY(-5px); border-color: rgba(0, 64, 240, .28); box-shadow: 0 30px 66px -26px rgba(0, 64, 240, .34); }

/* área de preview */
.sol__visual {
  position: relative; overflow: hidden; height: 232px; flex-shrink: 0;
  background: linear-gradient(150deg, #edf2ff 0%, #f6f9ff 52%, #eaf1ff 100%);
  border-bottom: 1px solid var(--line);
}
.sol__tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent);
}

/* TKI Finance: dashboard + maquininhas */
.sol__shot {
  position: absolute; top: 34px; left: 44px; width: 108%; max-width: none; height: auto;
  border-radius: 12px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0;
  box-shadow: -8px -8px 30px rgba(11, 18, 32, .12);
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.sol:hover .sol__shot { transform: translate(-6px, -6px); }
.sol__pos {
  position: absolute; right: -18px; bottom: -14px; width: 208px; height: auto; z-index: 2;
  filter: drop-shadow(0 16px 26px rgba(11, 18, 32, .3));
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.sol:hover .sol__pos { transform: translateY(-8px) scale(1.03); }

/* TKI Gateway: mock de checkout */
.gw-mock {
  position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  width: 268px; border-radius: 12px; overflow: hidden; background: #fff;
  border: 1px solid var(--line-2); box-shadow: 0 18px 40px -14px rgba(11, 18, 32, .26);
  transition: transform .45s cubic-bezier(.2,.7,.3,1);
}
.sol:hover .gw-mock { transform: translateX(-50%) translateY(-7px); }
.gw-mock__bar { display: flex; align-items: center; gap: 5px; padding: 8px 11px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.gw-mock__bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--bg-3); }
.gw-mock__bar em {
  margin-left: 7px; font-family: "JetBrains Mono", monospace; font-style: normal;
  font-size: 9px; color: var(--ink-4); overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.gw-mock__body { padding: 12px 14px 14px; }
.gw-mock__brand { display: flex; justify-content: center; margin-bottom: 12px; }
.gw-mock__logo {
  font-size: 10px; font-weight: 800; letter-spacing: .14em; color: var(--accent);
  padding: 5px 12px; border-radius: 6px; background: var(--accent-soft);
}
.gw-mock__row { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 11px; border-bottom: 1px dashed var(--line-2); }
.gw-mock__lbl { font-size: 11px; color: var(--ink-3); }
.gw-mock__row b { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.gw-mock__methods { display: flex; gap: 5px; margin: 10px 0; }
.gw-mock__methods span {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 3px; border-radius: 7px; border: 1px solid var(--line);
  font-size: 9px; font-weight: 600; color: var(--ink-3);
}
.gw-mock__methods span svg { width: 13px; height: 13px; }
.gw-mock__methods .is-on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.gw-mock__btn {
  padding: 9px; border-radius: 8px; background: var(--accent); color: #fff;
  font-size: 11.5px; font-weight: 700; text-align: center;
}
.gw-mock__foot { margin: 7px 0 0; font-size: 8.5px; color: var(--ink-4); text-align: center; }

/* corpo do card */
.sol__body { padding: 30px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.sol__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.sol__ico {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
  transition: transform .28s cubic-bezier(.2,.7,.3,1), background-color .28s ease, color .28s ease;
}
.sol:hover .sol__ico { transform: scale(1.07); background: var(--accent); color: #fff; }
.sol__ico svg { width: 23px; height: 23px; }
.sol__name { font-size: 23px; font-weight: 700; letter-spacing: -0.025em; color: var(--ink); margin: 0; }
.sol__tagline { font-size: 13px; font-weight: 600; color: var(--accent); margin: 2px 0 0; }
.sol__text { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin: 0 0 20px; }
.sol__list { list-style: none; display: grid; gap: 10px; margin: 0 0 26px; padding: 0; }
.sol__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.sol__list svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.sol__cta { margin-top: auto; align-self: flex-start; }

.sol__help { text-align: center; margin: 34px 0 0; font-size: 15px; color: var(--ink-3); }
.sol__help a { color: var(--accent); font-weight: 600; }
.sol__help a:hover { text-decoration: underline; }

@media (max-width: 520px) {
  .sol__visual { height: 200px; }
  .sol__pos { width: 168px; }
  .sol__body { padding: 26px 22px 28px; }
}

/* card de dor (as três saídas) */
.card--bad { background: linear-gradient(175deg, #fdf3f3 0%, #fff 62%); border-color: rgba(220, 38, 38, .16); }
.card--bad .ico { background: #fdecec; color: #dc2626; }
.card--bad:hover { border-color: rgba(220, 38, 38, .3); box-shadow: 0 18px 42px -14px rgba(220, 38, 38, .18); }
.card--bad h3 { color: var(--ink); }

/* ---------- REFINO MOBILE GERAL ---------- */
@media (max-width: 560px) {
  /* CTAs do hero empilhados e com toque generoso */
  .hero-ctas { flex-direction: column; align-items: center; gap: 10px; width: 100%; }
  .hero-ctas .btn { width: 100%; max-width: 340px; justify-content: center; }
  .btn-ghost { border: 1px solid var(--line-2); background: #fff; }

  /* cards de solução: preview inteiro visível */
  .sol__visual { height: 236px; }
  .sol__shot { top: 30px; left: 22px; width: 130%; }
  .sol__pos { width: 168px; right: -8px; bottom: -8px; }
  .gw-mock { width: 218px; top: 22px; }
  .gw-mock__row b { font-size: 15px; }

  /* faixa de capacidades */
  .cap { padding: 8px 14px; font-size: 12.5px; gap: 6px; }
  .cap svg { width: 13px; height: 13px; }

  /* formulário: 16px evita zoom automático no iOS */
  .cform input, .cform select, .cform textarea { font-size: 16px; }
  .contact-card { padding: 24px 18px; }

  /* código e console legíveis sem estourar */
  .code pre { font-size: 11.5px; padding: 16px 14px 18px; }
  .code .resp { margin: 0 14px 16px; font-size: 10.5px; }
  .console__body { font-size: 10.5px; padding: 12px 14px 14px; height: 190px; }

  /* banner das maquininhas */
  .pos-banner { padding: 38px 22px; }
  .pos-banner__img { max-width: 320px; }
  .pos-banner .btn { width: 100%; justify-content: center; }

  /* contadores da força de mercado */
  .mstat { padding: 26px 22px; }
  .mstat__value { font-size: 36px; }
  .mstat--lead .mstat__value { font-size: 40px; }

  /* rodapé: respiro e toque */
  .foot-col a { padding: 7px 0; display: block; }
  .site-footer { padding: 56px 0 30px; }
}

/* stats do bloco dark compactos em telas estreitas */
@media (max-width: 620px) {
  .infra-stats { gap: 10px; }
  .infra-stat { padding: 20px 12px; border-radius: 13px; }
  .infra-stat .n { font-size: 21px; letter-spacing: -0.01em; }
  .infra-stat .l { font-size: 11.5px; margin-top: 6px; }
}

/* strip institucional em telas médias */
@media (max-width: 480px) {
  .strip .row { gap: 22px 14px; }
  .strip .n { font-size: 24px; }
  .strip .l { font-size: 12px; }
  .sec-head { margin-bottom: 46px; }
  .sec-sub { font-size: 15.5px; }
  .hero--page { padding: 72px 0 56px; }
}

/* ---------- CORREÇÕES FINAIS MOBILE ---------- */
@media (max-width: 900px) {
  /* chip sobre a foto das maquininhas não pode vazar */
  .pos-photo { overflow: hidden; border-radius: 22px; }
  .pos-photo .salechip { right: 12px; bottom: 14px; max-width: calc(100% - 24px); }
}
@media (max-width: 560px) {
  .pos-photo .salechip { padding: 9px 12px; gap: 8px; }
  .pos-photo .salechip .ic { width: 26px; height: 26px; border-radius: 8px; }
  .pos-photo .salechip .ic svg { width: 13px; height: 13px; }
  .pos-photo .salechip b { font-size: 11.5px; }
  .pos-photo .salechip small { font-size: 10px; }
  .pos-photo .tagchip { font-size: 11.5px; padding: 7px 13px; top: 12px; left: 12px; }

  /* alvos de toque confortáveis */
  .foot-col a, .foot-contact a, .contact-alt a, .foot-base__links a { min-height: 40px; display: inline-flex; align-items: center; }
  .foot-col a { width: 100%; }
  .faq-wrap summary { padding: 18px 0; min-height: 56px; }
  .foot-social a, .foot-seals img { min-height: 40px; }

  /* console e código com rolagem própria, sem empurrar a página */
  .code pre, .console__body { -webkit-overflow-scrolling: touch; }
  .console__body { overflow-x: auto; }
  .logline { white-space: nowrap; }
}

/* nada empurra a largura da página */
img, svg, video, canvas, iframe, pre, table { max-width: 100%; }

/* ---------- HEADER MOBILE: marca centralizada ---------- */
@media (max-width: 1080px) {
  .nav .row { position: relative; justify-content: center; padding: 12px 0; }
  .nav .brand {
    position: static; gap: 10px;
    transition: opacity .3s ease, transform .3s ease;
  }
  .burger { display: block; position: absolute; right: 0; top: 50%; margin-top: -23px; }
  /* fecha o menu tocando fora, sem cobrir o header */
  .mobile-nav { top: calc(100% + 10px); }
}
@media (max-width: 420px) {
  .nav .brand b { font-size: 15px; }
  .nav .brand img { height: 27px; }
  .burger { width: 42px; height: 42px; border-radius: 12px; margin-top: -21px; }
  .burger span:nth-child(1) { top: 14px; }
  .burger span:nth-child(2) { top: 20px; }
  .burger span:nth-child(3) { top: 26px; }
  .burger.is-open span:nth-child(1),
  .burger.is-open span:nth-child(3) { top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .js .word { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* ---------- MAQUININHAS (foto real) ---------- */
.pos-photo { position: relative; min-width: 0; }
.pos-photo > img {
  width: 100%; height: auto; border-radius: 18px;
  border: 1px solid var(--line-2);
  box-shadow: 0 34px 80px -26px rgba(11, 18, 32, .4);
}
.pos-photo .tagchip {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line-2);
  font-size: 12.5px; font-weight: 600; color: var(--ink);
}
.pos-photo .tagchip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px rgba(0, 64, 240, .5); }
.pos-photo .salechip {
  position: absolute; right: -16px; bottom: 24px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 18px 44px -12px rgba(11, 18, 32, .28);
  animation: chipFloat 6s ease-in-out infinite;
}
.pos-photo .salechip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: #e7f8ee; color: var(--green); flex-shrink: 0; }
.pos-photo .salechip .ic svg { width: 16px; height: 16px; }
.pos-photo .salechip b { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.pos-photo .salechip small { display: block; font-size: 11px; color: var(--ink-3); }
@media (max-width: 900px) { .pos-photo .salechip { right: 10px; } }

/* ---------- MAQUININHAS ---------- */
.pos-scene { display: grid; place-items: center; min-width: 0; }
.pos-scene svg { width: 100%; max-width: 560px; height: auto; }
