/* =====================================================================
   Chamada — Landing Page v2 (Premium)
   Inspiração: Linear, Vercel, Stripe, Anthropic
   ===================================================================== */

/* Fonte Inter eh carregada via <link preload> no <head> do HTML (paraleliza com o CSS, ~600ms a menos) */

:root {
  /* Base */
  --bg: #08090b;
  --bg-elev: #0e1014;
  --bg-elev-2: #14171d;
  --bg-elev-3: #1a1e26;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text */
  --text: #f5f6f8;
  --text-2: #c8ccd4;
  --text-mute: #7a808a;
  --text-faint: #4d525a;

  /* Brand */
  --accent: #6d80ff;
  --accent-2: #8b5cf6;
  --accent-3: #ec4899;
  --grad: linear-gradient(135deg, #6d80ff 0%, #8b5cf6 50%, #ec4899 100%);
  --grad-text: linear-gradient(135deg, #9aaaff 0%, #c4a3ff 50%, #ffb1d6 100%);
  --grad-soft: linear-gradient(135deg, rgba(109,128,255,.15) 0%, rgba(139,92,246,.10) 100%);

  /* Status */
  --ok: #22c55e;
  --warn: #f59e0b;
  --err: #ef4444;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow-md: 0 4px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
  --shadow-glow: 0 0 80px rgba(109,128,255,.25);

  /* Radius */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* Layout */
  --maxw: 1200px;
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-feature-settings: 'ss01', 'ss02', 'cv11';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: rgba(109, 128, 255, .35); color: #fff; }

/* Mesh gradient background sutil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 20% -10%, rgba(109,128,255,.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 0%, rgba(139,92,246,.12), transparent 60%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(236,72,153,.08), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

/* ============ Layout ============ */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ============ Nav ============ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(8, 9, 11, 0.65);
  backdrop-filter: saturate(140%) blur(20px);
  -webkit-backdrop-filter: saturate(140%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
}
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a:not(.btn) {
  padding: 8px 14px;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav-links a:not(.btn):hover {
  color: var(--text);
  background: rgba(255,255,255,.04);
}

/* ============ Button ============ */
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform .12s, box-shadow .2s, background .15s, border-color .15s;
  white-space: nowrap;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn.primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 4px 14px rgba(109, 128, 255, .35), inset 0 1px 0 rgba(255,255,255,.18);
  border: 1px solid rgba(109,128,255,.5);
}
.btn.primary:hover {
  box-shadow: 0 8px 30px rgba(109, 128, 255, .5), inset 0 1px 0 rgba(255,255,255,.2);
}
.btn.ghost {
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--line-strong);
  backdrop-filter: blur(8px);
}
.btn.ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}
.btn.big { padding: 14px 24px; font-size: 15px; border-radius: 12px; }
.btn.xl { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn-arrow {
  display: inline-block;
  transition: transform .15s;
}
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ Tag / Pill ============ */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(109, 128, 255, .08);
  color: var(--accent);
  border: 1px solid rgba(109, 128, 255, .25);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  backdrop-filter: blur(8px);
}
.tag .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .4; }
}

/* ============ Hero ============ */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}
.hero h1 {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 28px 0 24px;
  font-weight: 800;
  max-width: 900px;
  margin-inline: auto;
}
.hero h1 .grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.hero .sub {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-trust {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text-mute);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-trust .dot-sep { color: var(--text-faint); }
.hero-trust .ok { color: var(--ok); }

/* Hero mockup */
.hero-visual {
  margin: 80px auto 0;
  max-width: 1000px;
  position: relative;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -40px -60px;
  background:
    radial-gradient(ellipse 50% 60% at 30% 40%, rgba(109,128,255,.35), transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 60%, rgba(139,92,246,.30), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

.window {
  background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.03) inset;
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .02);
  border-bottom: 1px solid var(--line);
}
.window-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}
.window-dot:nth-child(1) { background: #ff5f57; }
.window-dot:nth-child(2) { background: #febc2e; }
.window-dot:nth-child(3) { background: #28c840; }
.window-url {
  margin-left: auto;
  padding: 4px 16px;
  background: rgba(0,0,0,.3);
  border-radius: 8px;
  font-size: 12px;
  color: var(--text-mute);
  font-family: 'SF Mono', Menlo, monospace;
}
.window-body { padding: 32px; min-height: 380px; }

/* Mockup do dashboard */
.mock-dashboard {
  display: grid;
  gap: 16px;
}
.mock-header {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
}
.mock-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--grad);
}
.mock-title { font-weight: 600; font-size: 15px; }
.mock-subtitle { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.mock-pill {
  margin-left: auto;
  padding: 4px 10px;
  background: rgba(34,197,94,.15);
  color: #4ade80;
  font-size: 11px;
  font-weight: 600;
  border-radius: 999px;
}
.mock-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.mock-stat {
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.mock-stat .v { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.mock-stat .l { font-size: 10px; color: var(--text-mute); text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.mock-faces {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}
.mock-face {
  aspect-ratio: 1;
  border-radius: 6px;
  background: rgba(34,197,94,.15);
  border: 1px solid rgba(34,197,94,.3);
  display: grid; place-items: center;
  font-size: 16px;
}
.mock-face.q { background: rgba(245,158,11,.15); border-color: rgba(245,158,11,.3); }

/* ============ Section ============ */
section { padding: 100px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0 0 16px;
  font-weight: 700;
  max-width: 720px;
  margin-inline: auto;
}
.section-head p {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ============ Steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  transition: border-color .2s, transform .2s;
}
.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(109, 128, 255, .12);
  border: 1px solid rgba(109, 128, 255, .3);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 20px;
}
.step h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.step p {
  color: var(--text-2);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* ============ Features grid ============ */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: all .2s;
  overflow: hidden;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(109,128,255,.3), transparent 50%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s;
}
.feature:hover {
  border-color: transparent;
  transform: translateY(-3px);
}
.feature:hover::before { opacity: 1; }
.feature .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(109, 128, 255, .12);
  border: 1px solid rgba(109, 128, 255, .25);
  display: grid; place-items: center;
  color: var(--accent);
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.015em;
}
.feature p {
  color: var(--text-2);
  font-size: 14px;
  margin: 0;
  line-height: 1.55;
}

/* ============ Comparison ============ */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare-col {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
}
.compare-col.good { background: linear-gradient(180deg, rgba(109,128,255,.08), rgba(139,92,246,.04)); border-color: rgba(109,128,255,.25); }
.compare-col h3 { font-size: 18px; font-weight: 600; margin: 0 0 20px; display: flex; align-items: center; gap: 10px; letter-spacing: -.02em; }
.compare-col.bad h3 { color: var(--text-mute); }
.compare-col ul { list-style: none; padding: 0; margin: 0; }
.compare-col li {
  padding: 10px 0;
  font-size: 14px;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.compare-col li:last-child { border-bottom: none; }
.compare-col li svg { flex-shrink: 0; margin-top: 2px; }
.compare-col.bad li svg { color: var(--err); opacity: .7; }
.compare-col.good li svg { color: var(--ok); }

/* ============ Showcase / Big screenshot ============ */
.showcase {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.showcase-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.showcase-card {
  background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.showcase-card h3 {
  font-size: 22px; font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.025em;
}
.showcase-card p {
  color: var(--text-2);
  font-size: 14px;
  margin: 0 0 20px;
}
.showcase-card .preview {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px;
}

/* ============ Pricing ============ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.plan {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  background: linear-gradient(180deg, rgba(109,128,255,.10), rgba(139,92,246,.04));
  border-color: rgba(109,128,255,.4);
  box-shadow: 0 0 60px rgba(109,128,255,.15);
}
.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 12px;
  background: var(--grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(109,128,255,.35);
}
.plan h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -.015em;
}
.plan .desc {
  font-size: 13px;
  color: var(--text-mute);
  margin: 0 0 24px;
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}
.plan .price .moeda {
  font-size: 16px;
  color: var(--text-mute);
  font-weight: 500;
}
.plan .price .v {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1;
}
.plan .price .periodo {
  font-size: 14px;
  color: var(--text-mute);
  font-weight: 500;
  margin-left: 4px;
}
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan li svg { flex-shrink: 0; color: var(--accent); }
.plan .btn { width: 100%; }

/* ============ Testimonial ============ */
.testimonial {
  background: var(--bg-elev);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.testi-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  position: relative;
}
.testi-quote-icon {
  position: absolute;
  top: 24px; left: 32px;
  font-size: 56px;
  line-height: 1;
  color: rgba(109,128,255,.2);
  font-family: 'Georgia', serif;
}
.testi-text {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: -.02em;
  font-weight: 500;
  margin: 0 0 28px;
  color: var(--text);
}
.testi-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testi-author img {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}
.testi-name { font-weight: 600; font-size: 15px; }
.testi-role { font-size: 13px; color: var(--text-mute); margin-top: 2px; }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--line);
  border-radius: var(--r);
  margin-bottom: 10px;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--line-strong); }
.faq-item summary {
  padding: 22px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(90deg, currentColor, currentColor) center/10px 1.5px no-repeat,
    linear-gradient(0deg, currentColor, currentColor) center/1.5px 10px no-repeat;
  color: var(--text-mute);
  transition: transform .2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 24px;
  color: var(--text-2);
  font-size: 14px;
  margin: 0;
  line-height: 1.65;
}

/* ============ CTA Final ============ */
.cta-final {
  position: relative;
  text-align: center;
  padding: 80px 32px;
  margin: 60px auto;
  max-width: 1100px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(109,128,255,.10), rgba(139,92,246,.04)),
    var(--bg-elev);
  border: 1px solid var(--line-strong);
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 30% 40% at 30% 40%, rgba(109,128,255,.4), transparent 60%),
    radial-gradient(ellipse 30% 40% at 70% 60%, rgba(139,92,246,.3), transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: drift 20s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-5%, 5%) scale(1.1); }
}
.cta-final > * { position: relative; z-index: 1; }
.cta-final h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: -.035em;
  margin: 0 0 16px;
  line-height: 1.1;
}
.cta-final p {
  font-size: 17px;
  color: var(--text-2);
  margin: 0 0 32px;
  max-width: 480px;
  margin-inline: auto;
}

/* ============ Footer ============ */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { font-size: 14px; color: var(--text-mute); max-width: 320px; line-height: 1.55; margin: 0; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-mute);
  margin: 0 0 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-2);
  padding: 4px 0;
  transition: color .15s;
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-mute);
}

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .steps, .features, .pricing { grid-template-columns: 1fr; }
  .compare, .showcase-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 60px 0; }
  .hero { padding: 60px 0 40px; }
  .window-body { padding: 16px; min-height: 240px; }
  .mock-faces { grid-template-columns: repeat(6, 1fr); }
  .mock-stats { grid-template-columns: repeat(2, 1fr); }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .cta-final { padding: 60px 20px; margin: 40px 16px; }
  .hero-visual { margin-top: 48px; }
}

/* ============ Financeiro section ============ */
.fin-section {
  position: relative;
  background:
    radial-gradient(ellipse 70% 60% at 20% 30%, rgba(34, 197, 94, .08), transparent 60%),
    radial-gradient(ellipse 60% 60% at 85% 70%, rgba(109, 128, 255, .07), transparent 60%);
}

.fin-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 32px;
}

.fin-mockup .window {
  max-width: none;
}
.fin-window-body {
  padding: 24px !important;
  min-height: 380px;
}

.fin-mock-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.fin-mock-month {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
}
.fin-mock-sub {
  font-size: 12px;
  color: var(--text-mute);
  margin-top: 2px;
}

.fin-mock-bar {
  height: 8px;
  background: rgba(255, 255, 255, .06);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 20px;
}
.fin-mock-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #6d80ff 60%, #8b5cf6 100%);
  border-radius: 100px;
  transition: width .6s ease;
}

.fin-mock-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fin-mock-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 12px;
}
.fin-mock-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(109, 128, 255, .3), rgba(139, 92, 246, .25));
  flex-shrink: 0;
}
.fin-mock-name {
  flex: 1;
  min-width: 0;
}
.fin-mock-name .n {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -.01em;
}
.fin-mock-name .m {
  font-size: 11px;
  color: var(--text-mute);
  margin-top: 2px;
}

.fin-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.fin-badge.ok {
  background: rgba(34, 197, 94, .12);
  color: #4ade80;
  border-color: rgba(34, 197, 94, .25);
}
.fin-badge.warn {
  background: rgba(245, 158, 11, .12);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, .25);
}
.fin-badge.bad {
  background: rgba(239, 68, 68, .12);
  color: #f87171;
  border-color: rgba(239, 68, 68, .3);
}

.fin-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.fin-card {
  background: rgba(255, 255, 255, .025);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease;
}
.fin-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(34, 197, 94, .25), rgba(109, 128, 255, .15) 50%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .25s ease;
}
.fin-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .14);
}
.fin-card:hover::before { opacity: 1; }
.fin-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(34, 197, 94, .14), rgba(109, 128, 255, .12));
  border: 1px solid rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #4ade80;
  margin-bottom: 14px;
}
.fin-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 6px;
}
.fin-card p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-mute);
  margin: 0;
}

.fin-trust {
  text-align: center;
  font-size: 13px;
  color: var(--text-mute);
  margin-top: 12px;
}
.fin-trust .ok {
  color: #4ade80;
  font-weight: 700;
  margin-right: 4px;
}
.fin-trust .dot-sep {
  color: rgba(255, 255, 255, .2);
  margin: 0 10px;
}

@media (max-width: 900px) {
  .fin-grid { grid-template-columns: 1fr; gap: 32px; }
  .fin-cards { grid-template-columns: 1fr 1fr; }
  .fin-window-body { padding: 16px !important; min-height: auto; }
  .fin-trust { font-size: 12px; line-height: 1.7; }
  .fin-trust .dot-sep { display: inline-block; }
}
@media (max-width: 600px) {
  .fin-cards { grid-template-columns: 1fr; }
}

/* ============ Lead modal ============ */
.cta-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.lead-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn .25s ease;
}
.lead-modal.open { display: flex; }
.lead-card {
  background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 20px;
  padding: 32px;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp .35s ease;
}
.lead-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -.02em;
}
.lead-card p {
  color: var(--text-mute);
  font-size: 14px;
  margin: 0 0 20px;
}
.lead-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, .06);
  border: none;
  border-radius: 50%;
  color: var(--text-mute);
  font-size: 18px;
  cursor: pointer;
  transition: background .15s ease;
}
.lead-close:hover {
  background: rgba(255, 255, 255, .12);
  color: var(--text);
}
.lead-field {
  margin-bottom: 12px;
}
.lead-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mute);
  margin-bottom: 6px;
}
.lead-field input, .lead-field select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
}
.lead-field input:focus, .lead-field select:focus {
  outline: none;
  border-color: rgba(109, 128, 255, .5);
  background: rgba(255, 255, 255, .04);
}
.lead-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 600px) {
  .lead-field-row { grid-template-columns: 1fr; }
  .lead-card { padding: 24px 20px; }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============ FAQ grupos ============ */
.faq-group { margin-bottom: 32px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0 0 12px;
  padding: 0 4px;
}

/* ============ Performance: content-visibility auto em secoes below-fold ============ */
/* Reduz custo de layout inicial. Browser so renderiza quando elemento entra no viewport. */
#como-funciona,
#funcionalidades,
#financeiro,
#precos,
#faq,
.testimonial,
footer {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
