/**
 * IA Relatórios — Design System
 * Base/Fundo:  #0F172A (Slate/Azul Noturno) · #FFFFFF (Clean, em .section-light)
 * Marca/IA:    #6D28D9 (Roxo Vibrante)      · #8B5CF6 (Violeta)
 * Ação/CTA:    #06B6D4 (Ciano)              · #3B82F6 (Azul Elétrico)
 * Tipografia:  Outfit (títulos) · Inter (texto) · JetBrains Mono (números)
 */

:root {
  color-scheme: dark;

  --bg: #0f172a;
  --bg-deep: #020617;
  --surface: #1e293b;
  --surface-2: #162036;
  --border: rgba(148, 163, 184, 0.16);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --heading: #ffffff;

  --clean: #ffffff;
  --clean-alt: #f8fafc;
  --clean-border: #e2e8f0;
  --clean-text: #334155;
  --clean-muted: #64748b;
  --clean-heading: #0f172a;

  --brand: #6d28d9;
  --brand-2: #8b5cf6;
  --brand-soft: rgba(139, 92, 246, 0.14);
  --brand-glow: rgba(139, 92, 246, 0.35);

  --cta: #06b6d4;
  --cta-2: #3b82f6;
  --cta-ink: #0f172a;
  --cta-glow: rgba(6, 182, 212, 0.35);

  --ok: #10b981;
  --ok-soft: rgba(16, 185, 129, 0.14);
  --bad: #f43f5e;
  --bad-soft: rgba(244, 63, 94, 0.12);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --header-h: 72px;
  --max-w: 1200px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-full: 9999px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 60% 50% at 10% 0%, rgba(109, 40, 217, 0.20), transparent 60%),
    radial-gradient(ellipse 50% 40% at 95% 30%, rgba(6, 182, 212, 0.10), transparent 60%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--heading); line-height: 1.15; letter-spacing: -0.02em; }
strong { color: var(--heading); font-weight: 600; }
:focus-visible { outline: 2px solid var(--cta); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--cta); color: var(--cta-ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-md { max-width: 960px; }
.container-sm { max-width: 820px; }
.text-center { text-align: center; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: var(--r-md); border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s, color .2s;
}
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s var(--ease); }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(135deg, var(--cta) 0%, var(--cta-2) 100%);
  color: var(--cta-ink); font-weight: 700;
  box-shadow: 0 6px 22px var(--cta-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5); }
.btn-primary:disabled { opacity: .7; cursor: progress; transform: none; }
.btn-secondary { background: var(--brand); color: #fff; box-shadow: 0 6px 22px var(--brand-glow); }
.btn-secondary:hover { background: var(--brand-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--cta); color: var(--cta); }
.btn-ghost { background: rgba(255, 255, 255, 0.05); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.10); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: var(--r-sm); }
.btn-lg { padding: 16px 28px; font-size: 16.5px; }
.btn-xl { padding: 19px 36px; font-size: 18px; border-radius: var(--r-lg); }
.btn-full { width: 100%; }
.btn-link { color: var(--cta); font-weight: 600; }
.btn-link:hover { text-decoration: underline; }
.btn-spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.25); border-top-color: var(--cta-ink);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Badges ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.badge-accent { background: var(--brand-soft); color: #c4b5fd; border: 1px solid rgba(139, 92, 246, 0.3); }
.gradient-text {
  background: linear-gradient(100deg, var(--brand-2) 0%, var(--cta) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; height: var(--header-h); z-index: 1000;
  display: flex; align-items: center;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s;
}
.header.scrolled { background: rgba(15, 23, 42, 0.94); border-bottom-color: var(--border); }
.header-container {
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 34px; height: 34px; display: inline-flex; }
.logo-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.brand-tag { font-size: 11px; color: var(--text-muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; }
.nav-link { display: block; white-space: nowrap; padding: 8px 12px; border-radius: var(--r-sm); font-size: 14.5px; font-weight: 500; color: var(--text-muted); transition: color .2s, background .2s; }
.nav-link:hover { color: #fff; background: rgba(255, 255, 255, 0.05); }
.nav-mobile-only { display: none; }
.nav-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.btn-login { font-size: 14.5px; font-weight: 600; color: var(--text); padding: 8px 10px; }
.btn-login:hover { color: var(--cta); }
.mobile-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; padding: 10px; border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border);
}
.mobile-toggle .bar { display: block; height: 2px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.mobile-toggle.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.open .bar:nth-child(2) { opacity: 0; }
.mobile-toggle.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Seções ---------- */
.section { position: relative; padding: 96px 0; }
.section-tight { padding: 56px 0; }
.section-header { max-width: 760px; margin: 0 auto 56px; }
.section-header .badge { margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; margin-bottom: 14px; }
.section-subtitle { font-size: 17.5px; color: var(--text-muted); }

/* Seção "clean" (#FFFFFF) */
.section-light { color-scheme: light; background: var(--clean); color: var(--clean-text); }
.section-light h1, .section-light h2, .section-light h3, .section-light strong { color: var(--clean-heading); }
.section-light .section-subtitle { color: var(--clean-muted); }
.section-light .badge-accent { background: #ede9fe; color: var(--brand); border-color: #ddd6fe; }

/* ---------- Hero ---------- */
.hero-section { position: relative; padding: calc(var(--header-h) + 72px) 0 88px; overflow: hidden; }
.hero-compact { padding-bottom: 56px; }
.hero-ambient-glow {
  position: absolute; width: 720px; height: 720px; right: -180px; top: -120px; pointer-events: none;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, transparent 65%);
  filter: blur(10px);
}
.hero-container { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  padding: 7px 14px; border-radius: var(--r-full);
  background: var(--brand-soft); border: 1px solid rgba(139, 92, 246, 0.3);
  font-size: 13.5px; font-weight: 500; color: #ddd6fe;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(6, 182, 212, 0); } }
.hero-title { font-size: clamp(36px, 5.4vw, 60px); font-weight: 800; margin-bottom: 20px; }
.hero-subtitle { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--text-muted); max-width: 560px; margin-bottom: 32px; }
.hero-compact .hero-subtitle { max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.trust-item { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.trust-icon { width: 18px; height: 18px; color: var(--ok); }

/* Animação de entrada (ativada por app.js; sem JS tudo aparece) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Mockup / Demo ---------- */
.mockup-window {
  background: linear-gradient(180deg, #1a2540 0%, #131c31 100%);
  border: 1px solid var(--border-strong); border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(2, 6, 23, 0.6), 0 0 0 1px rgba(139, 92, 246, 0.12), 0 0 60px rgba(109, 40, 217, 0.18);
  overflow: hidden;
}
.mockup-header { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: rgba(2, 6, 23, 0.35); }
.mockup-dots { display: flex; gap: 6px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #f87171; } .dot.yellow { background: #fbbf24; } .dot.green { background: #34d399; }
.mockup-title { flex: 1; display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mockup-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.mockup-timer { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.mockup-timer strong { color: var(--cta); }
.mockup-tabs { display: flex; gap: 6px; padding: 12px 16px 0; overflow-x: auto; scrollbar-width: none; }
.tab-btn {
  padding: 7px 13px; border-radius: var(--r-sm); border: 1px solid var(--border);
  background: transparent; color: var(--text-muted); font-size: 13px; font-weight: 500; white-space: nowrap; transition: all .2s;
}
.tab-btn:hover { color: #fff; border-color: var(--border-strong); }
.tab-btn.active { background: var(--brand-soft); color: #fff; border-color: rgba(139, 92, 246, 0.5); }
.mockup-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; transition: opacity .25s; }
.mockup-body.is-generating { opacity: .45; }
.ia-processing-bar {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: var(--r-sm);
  background: rgba(109, 40, 217, 0.12); border: 1px solid rgba(139, 92, 246, 0.25); font-size: 12.5px;
}
.ia-ai-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--r-full); background: var(--brand); color: #fff; font-weight: 700; font-size: 11.5px; flex-shrink: 0; }
.ia-ai-text { flex: 1; color: #ddd6fe; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: opacity .2s; }
.badge-status-ready { flex-shrink: 0; padding: 2px 8px; border-radius: var(--r-full); background: var(--ok-soft); color: #6ee7b7; font-size: 11.5px; font-weight: 600; }
.kpi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kpi-card { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: var(--r-md); background: rgba(2, 6, 23, 0.35); border: 1px solid var(--border); min-width: 0; }
.kpi-label { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-value { font-family: var(--font-mono); font-size: clamp(15px, 1.6vw, 19px); font-weight: 600; color: #fff; white-space: nowrap; }
.text-cyan { color: var(--cta); } .text-violet { color: #a78bfa; } .text-accent { color: #60a5fa; }
.kpi-trend { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trend-up { color: #34d399; } .trend-down { color: #fb7185; } .trend-neutral { color: var(--text-muted); }
.mockup-chart-container { padding: 12px; border-radius: var(--r-md); background: rgba(2, 6, 23, 0.35); border: 1px solid var(--border); }
.chart-header { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.chart-title { font-size: 12.5px; font-weight: 600; color: var(--text); }
.chart-legend { display: flex; gap: 12px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--text-muted); }
.legend-color { width: 10px; height: 3px; border-radius: 2px; }
.legend-color.cyan { background: var(--cta); } .legend-color.violet { background: var(--brand-2); }
.chart-canvas-wrapper { height: 130px; }
.interactive-chart-svg { width: 100%; height: 100%; overflow: visible; }
.interactive-chart-svg .grid-line { stroke: rgba(148, 163, 184, 0.18); stroke-dasharray: 3 4; }
.interactive-chart-svg polyline, .interactive-chart-svg polygon, .interactive-chart-svg circle { transition: all .5s var(--ease); }
.mockup-narrative { padding: 12px 14px; border-radius: var(--r-md); border-left: 3px solid var(--brand-2); background: rgba(139, 92, 246, 0.08); }
.narrative-badge { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #c4b5fd; margin-bottom: 4px; }
.narrative-text { font-size: 13.5px; line-height: 1.55; color: var(--text); transition: opacity .2s; }
.mockup-footer { padding: 12px 16px; border-top: 1px solid var(--border); background: rgba(2, 6, 23, 0.25); }
.mockup-export-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-mockup-action {
  padding: 7px 12px; border-radius: var(--r-sm); font-size: 12.5px; font-weight: 600;
  background: rgba(6, 182, 212, 0.10); color: #67e8f9; border: 1px solid rgba(6, 182, 212, 0.3); transition: all .2s;
}
.btn-mockup-action:hover { background: rgba(6, 182, 212, 0.2); color: #fff; }

/* ---------- O que é ---------- */
.what-is-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(2, 6, 23, 0.3); }
.what-is-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.what-is-title { font-size: 24px; margin-bottom: 12px; }
.what-is-grid p { color: var(--text-muted); font-size: 16.5px; }
.facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts-list > div { padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); }
.facts-list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: #a78bfa; font-weight: 600; margin-bottom: 4px; }
.facts-list dd { font-size: 14px; color: var(--text); }

/* ---------- Antes x Depois ---------- */
.comparison-table { max-width: 1040px; margin: 0 auto; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
.comparison-head, .comparison-row { display: grid; grid-template-columns: 1fr 1fr; }
.comparison-col-title { padding: 18px 24px; font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.comparison-col-title.status-before { color: #fda4af; background: var(--bad-soft); }
.comparison-col-title.status-after { color: #fff; background: linear-gradient(90deg, rgba(109, 40, 217, 0.35), rgba(6, 182, 212, 0.2)); }
.comparison-row + .comparison-row, .comparison-head + .comparison-row { border-top: 1px solid var(--border); }
.comparison-cell { display: flex; gap: 14px; padding: 20px 24px; align-items: flex-start; }
.cell-after { background: rgba(139, 92, 246, 0.05); border-left: 1px solid var(--border); }
.item-icon-before, .item-icon-after {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px;
}
.item-icon-before { background: var(--bad-soft); color: var(--bad); }
.item-icon-after { background: var(--ok-soft); color: var(--ok); }
.item-text { display: flex; flex-direction: column; gap: 3px; }
.item-text strong { font-size: 15.5px; }
.item-text span { font-size: 14px; color: var(--text-muted); }
.cell-before .item-text strong { color: var(--text); font-weight: 500; }

/* ---------- Como funciona ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.step-card {
  position: relative; padding: 32px 28px; border-radius: var(--r-lg);
  background: var(--surface-2); border: 1px solid var(--border); transition: transform .25s var(--ease), box-shadow .25s;
}
.step-card:hover { transform: translateY(-4px); }
.step-number { font-family: var(--font-mono); font-weight: 600; font-size: 13px; color: var(--brand-2); margin-bottom: 18px; }
.step-icon { width: 52px; height: 52px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.step-icon svg { width: 26px; height: 26px; }
.step-title { font-size: 21px; margin-bottom: 8px; }
.step-desc { font-size: 15px; color: var(--text-muted); }
.section-light .step-card { background: var(--clean-alt); border-color: var(--clean-border); }
.section-light .step-card:hover { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.section-light .step-desc { color: var(--clean-muted); }
.report-types-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; font-size: 15px; color: var(--clean-muted); }
.chip { padding: 7px 14px; border-radius: var(--r-full); border: 1px solid var(--clean-border); background: #fff; color: var(--brand); font-weight: 600; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--brand-2); background: #f5f3ff; }

/* ---------- Funcionalidades ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  padding: 32px 28px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 12px; transition: border-color .25s, transform .25s var(--ease);
}
.feature-card:hover { border-color: rgba(139, 92, 246, 0.45); transform: translateY(-4px); }
.feature-icon-wrapper { width: 50px; height: 50px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: #a78bfa; }
.feature-icon-wrapper svg { width: 24px; height: 24px; }
.feature-title { font-size: 20px; }
.feature-desc { font-size: 15px; color: var(--text-muted); flex: 1; }
.feature-highlight { display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; font-weight: 500; color: #67e8f9; }
.check-icon { color: var(--ok); flex-shrink: 0; }

/* ---------- Prova social ---------- */
.social-proof-section { background: linear-gradient(180deg, transparent, rgba(109, 40, 217, 0.06) 40%, transparent); }
.metrics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.metric-card { text-align: center; padding: 32px 20px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.metric-number {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.5vw, 52px); line-height: 1;
  background: linear-gradient(100deg, #fff 0%, #c4b5fd 50%, var(--cta) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric-label { font-size: 15px; color: var(--text-muted); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 20px; }
.testimonial-quote { font-size: 16px; line-height: 1.65; color: var(--text); flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--brand), var(--cta-2)); color: #fff; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.author-info { display: flex; flex-direction: column; line-height: 1.3; }
.author-name { font-weight: 600; color: #fff; font-size: 14.5px; }
.author-role { font-size: 13px; color: var(--text-muted); }

/* ---------- Preços ---------- */
.billing-toggle-container { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; }
.billing-label { font-size: 15px; font-weight: 500; color: var(--clean-muted); transition: color .2s; }
.billing-label.active { color: var(--clean-heading); font-weight: 600; }
.badge-discount { margin-left: 4px; padding: 2px 8px; border-radius: var(--r-full); background: #dcfce7; color: #15803d; font-size: 12px; font-weight: 700; }
.billing-toggle { position: relative; width: 52px; height: 28px; border-radius: var(--r-full); border: none; background: #cbd5e1; transition: background .25s; }
.billing-toggle.active { background: var(--brand); }
.toggle-thumb { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); transition: transform .25s var(--ease); }
.billing-toggle.active .toggle-thumb { transform: translateX(24px); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-card {
  position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--clean-border); box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.pricing-card.featured { border: 2px solid var(--brand-2); box-shadow: 0 24px 60px rgba(109, 40, 217, 0.18); transform: translateY(-8px); }
.card-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border-radius: var(--r-full); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.pricing-header { padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid var(--clean-border); }
.plan-tag { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--brand); }
.plan-name { font-size: 24px; margin: 6px 0 8px; }
.plan-desc { font-size: 14.5px; color: var(--clean-muted); min-height: 46px; }
.plan-price-wrapper { display: flex; align-items: baseline; gap: 4px; margin: 18px 0 4px; color: var(--clean-heading); }
.currency { font-size: 18px; font-weight: 600; }
.price-value { font-family: var(--font-display); font-size: 48px; font-weight: 800; line-height: 1; }
.period { font-size: 15px; color: var(--clean-muted); }
.plan-note { font-size: 13px; color: var(--clean-muted); }
.pricing-features { display: flex; flex-direction: column; gap: 12px; flex: 1; margin-bottom: 26px; }
.feature-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--clean-text); }
.feature-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.feature-item.checked .check-icon { color: var(--ok); }
.feature-item.muted { color: #94a3b8; }
.feature-item.muted .x-icon { color: #cbd5e1; }
.section-light .btn-outline { color: var(--clean-heading); border-color: #cbd5e1; }
.section-light .btn-outline:hover { border-color: var(--cta-2); color: var(--cta-2); }
.pricing-guarantee { display: flex; align-items: center; gap: 16px; max-width: 760px; margin: 48px auto 0; padding: 20px 24px; border-radius: var(--r-md); background: #f0fdfa; border: 1px solid #99f6e4; }
.guarantee-icon { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #ccfbf1; color: #0f766e; }
.guarantee-icon svg { width: 22px; height: 22px; }
.guarantee-text { font-size: 15px; color: var(--clean-text); }

/* ---------- FAQ ---------- */
.faq-accordion { display: flex; flex-direction: column; gap: 12px; }
.faq-item { border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); transition: border-color .2s; }
.faq-item[open] { border-color: rgba(139, 92, 246, 0.45); }
.faq-trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; cursor: pointer; list-style: none; }
.faq-trigger::-webkit-details-marker { display: none; }
.faq-question { font-family: var(--font-sans); font-size: 16.5px; font-weight: 600; letter-spacing: 0; color: #fff; }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--text-muted); transition: transform .25s var(--ease); }
.faq-item[open] .faq-icon { transform: rotate(180deg); color: var(--brand-2); }
.faq-content { padding: 0 24px 22px; color: var(--text-muted); font-size: 15.5px; }
.faq-footer-note { margin-top: 36px; color: var(--text-muted); display: flex; flex-direction: column; gap: 6px; align-items: center; }

/* ---------- CTA final ---------- */
.final-cta-section { overflow: hidden; border-top: 1px solid var(--border); }
.cta-glow-effect { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(109, 40, 217, 0.35), transparent 70%); }
.final-cta-section .container { position: relative; }
.final-cta-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.final-cta-subtitle { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; }
.final-cta-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 22px; font-size: 14px; color: var(--text-muted); }
.final-cta-note li::before { content: '✓ '; color: var(--ok); font-weight: 700; }
.related-links { margin-top: 28px; font-size: 14.5px; color: var(--text-muted); }
.related-links a { color: var(--cta); margin: 0 6px; }
.related-links a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.footer { padding: 72px 0 32px; background: var(--bg-deep); border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.footer-tagline { margin: 16px 0 20px; font-size: 14.5px; color: var(--text-muted); max-width: 360px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.security-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border); font-size: 12.5px; color: var(--text-muted); }
.security-badge svg { width: 14px; height: 14px; color: var(--ok); }
.footer-links-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.footer-heading { font-family: var(--font-sans); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: #fff; margin-bottom: 16px; }
.footer-menu { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-muted); font-style: normal; }
.footer-menu a:hover { color: var(--cta); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13.5px; color: var(--text-muted); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.footer-legal a:hover { color: var(--cta); }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px;
  background: rgba(2, 6, 23, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .25s;
}
.modal-backdrop.open { opacity: 1; }
.modal-dialog { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow-y: auto; transform: translateY(16px) scale(.98); transition: transform .3s var(--ease); }
.modal-backdrop.open .modal-dialog { transform: none; }
.modal-card { position: relative; padding: 32px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255, 255, 255, 0.06); color: var(--text-muted); font-size: 22px; line-height: 1; }
.modal-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.modal-header { margin-bottom: 22px; padding-right: 24px; }
.modal-badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12.5px; font-weight: 600; color: #67e8f9; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cta); animation: pulse 2s infinite; }
.modal-title { font-size: 25px; margin-bottom: 8px; }
.modal-subtitle { font-size: 14.5px; color: var(--text-muted); }
.modal-form { display: flex; flex-direction: column; gap: 16px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-input, .form-select {
  width: 100%; padding: 12px 14px; border-radius: var(--r-sm); font: inherit; font-size: 15px;
  background: var(--bg); color: #fff; border: 1px solid var(--border-strong); transition: border-color .2s, box-shadow .2s;
}
.form-input::placeholder { color: #64748b; }
.form-input:focus, .form-select:focus { outline: none; border-color: var(--cta); box-shadow: 0 0 0 3px var(--cta-glow); }
.form-input[aria-invalid="true"] { border-color: var(--bad); }
.form-error { min-height: 0; font-size: 12.5px; color: #fb7185; }
.form-privacy-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-muted); }
.form-privacy-note a { color: var(--cta); text-decoration: underline; }
.lock-icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--ok); }
.form-status { padding: 10px 14px; border-radius: var(--r-sm); font-size: 14px; }
.form-status.error { background: var(--bad-soft); color: #fda4af; }
.modal-success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--ok-soft); color: var(--ok); }
.success-icon svg { width: 32px; height: 32px; }
.success-title { font-size: 23px; }
.success-desc { font-size: 15px; color: var(--text-muted); margin-bottom: 8px; }

/* ---------- Subpáginas ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--cta); }
.breadcrumb a:hover { text-decoration: underline; }
.pain-box { padding: 28px 32px; border-radius: var(--r-lg); background: var(--bad-soft); border: 1px solid rgba(244, 63, 94, 0.25); }
.pain-box h2 { font-size: 21px; margin-bottom: 8px; }
.pain-box p { font-size: 17px; color: var(--text); }
.rt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.rt-grid > div { padding: 28px; border-radius: var(--r-lg); background: var(--clean-alt); border: 1px solid var(--clean-border); }
.rt-heading { font-size: 19px; margin-bottom: 14px; }
.rt-list { display: flex; flex-direction: column; gap: 9px; }
.rt-list li { position: relative; padding-left: 26px; font-size: 15px; }
.rt-list li::before { content: ''; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--brand-2), var(--cta)); }
.legal-main { padding: calc(var(--header-h) + 48px) 0 80px; }
.legal-content { max-width: 760px; }
.legal-content h1 { font-size: clamp(32px, 4vw, 44px); margin-bottom: 8px; }
.legal-updated { color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.legal-content h2 { font-size: 21px; margin: 32px 0 10px; }
.legal-content p, .legal-content li { color: var(--text); font-size: 16px; }
.legal-content ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-content a { color: var(--cta); text-decoration: underline; }

/* ---------- Guias ---------- */
.guide-main { padding: calc(var(--header-h) + 40px) 0 80px; }
.guides-hub-header { max-width: 760px; margin: 8px 0 40px; }
.guides-hub-header .hero-title { font-size: clamp(32px, 4.4vw, 48px); }
.guide-article { max-width: 760px; }
.guide-header { margin-bottom: 28px; }
.guide-header .badge { margin-bottom: 14px; }
.guide-title { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; margin-bottom: 14px; }
.guide-lead { font-size: 19px; color: var(--text-muted); margin-bottom: 14px; }
.guide-meta { font-size: 14px; color: var(--text-muted); }
.guide-toc { margin: 0 0 36px; padding: 20px 24px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--border); }
.guide-toc-title { font-weight: 700; color: #fff; margin-bottom: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; }
.guide-toc ol { list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.guide-toc a { color: var(--cta); font-size: 15px; }
.guide-toc a:hover { text-decoration: underline; }
.guide-body { font-size: 17px; line-height: 1.75; color: var(--text); }
.guide-body > * + * { margin-top: 18px; }
.guide-body h2 { font-size: 27px; margin-top: 44px; scroll-margin-top: calc(var(--header-h) + 16px); }
.guide-body h3 { font-size: 20px; margin-top: 28px; }
.guide-body ul { list-style: disc; padding-left: 24px; }
.guide-body ol { list-style: decimal; padding-left: 24px; }
.guide-body li + li { margin-top: 8px; }
.guide-body a { color: var(--cta); text-decoration: underline; text-underline-offset: 3px; }
.guide-body code { font-family: var(--font-mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface); color: #c4b5fd; }
.guide-body pre { padding: 20px; border-radius: var(--r-md); background: var(--bg-deep); border: 1px solid var(--border); overflow-x: auto; }
.guide-body pre code { padding: 0; background: none; color: var(--text); font-size: 13.5px; line-height: 1.6; }
.guide-body blockquote { padding: 14px 20px; border-left: 3px solid var(--brand-2); background: rgba(139, 92, 246, 0.08); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--text); }
.guide-body table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.guide-body th, .guide-body td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.guide-body th { color: #fff; background: var(--surface-2); font-weight: 600; white-space: nowrap; }
.guide-answer { padding: 18px 22px; border-radius: var(--r-md); background: linear-gradient(90deg, rgba(109, 40, 217, 0.16), rgba(6, 182, 212, 0.08)); border: 1px solid rgba(139, 92, 246, 0.3); }
.guide-cta { margin: 48px 0; padding: 28px; border-radius: var(--r-lg); background: linear-gradient(135deg, rgba(109, 40, 217, 0.25), rgba(6, 182, 212, 0.12)); border: 1px solid rgba(139, 92, 246, 0.35); }
.guide-cta-title { font-family: var(--font-display); font-size: 23px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.guide-cta p { color: var(--text); }
.guide-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.guide-faq h2 { font-size: 27px; margin-bottom: 8px; }
.guide-faq h3 { font-family: var(--font-sans); font-size: 17px; letter-spacing: 0; margin: 22px 0 6px; }
.guide-faq p { color: var(--text-muted); }
.guide-related { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.guide-related h2 { font-size: 24px; margin-bottom: 20px; }
.guide-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.guide-card { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--border); transition: border-color .2s, transform .2s var(--ease); }
.guide-card:hover { border-color: rgba(139, 92, 246, 0.5); transform: translateY(-3px); }
.guide-card-cat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #a78bfa; }
.guide-card-title { font-family: var(--font-display); font-size: 18.5px; font-weight: 700; color: #fff; line-height: 1.3; }
.guide-card-summary { font-size: 14.5px; color: var(--text-muted); flex: 1; }
.guide-card-meta { font-size: 13px; color: var(--text-muted); }
.home-guides { margin-top: 0; }
@media (max-width: 992px) { .guide-cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }

/* ---------- Utilitários (depois dos componentes para prevalecer) ---------- */
.mt-8 { margin-top: 40px; }
.mt-12 { margin-top: 72px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .nav-link { padding: 8px 8px; font-size: 14px; }
  .btn-login { display: none; }
}
@media (max-width: 992px) {
  .hero-container { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero-content { text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .what-is-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .steps-grid, .features-grid, .testimonials-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; order: -1; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }

  .mobile-toggle { display: flex; }
  .nav-menu {
    position: fixed; top: var(--header-h); left: 0; right: 0; padding: 12px 16px 20px;
    background: rgba(15, 23, 42, 0.98); border-bottom: 1px solid var(--border);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s var(--ease);
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links { flex-direction: column; }
  .nav-link { padding: 12px; font-size: 16px; }
  .nav-mobile-only { display: block; }
}
@media (max-width: 720px) {
  .container, .header-container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .hero-section { padding-top: calc(var(--header-h) + 44px); }
  .hero-actions .btn { width: 100%; }
  .brand-tag { display: none; }
  .nav-actions .btn-sm { display: none; }
  .comparison-head { display: none; }
  .comparison-row { grid-template-columns: 1fr; }
  .cell-after { border-left: none; border-top: 1px dashed var(--border); }
  .comparison-cell { padding: 16px 18px; }
  .metrics-grid { grid-template-columns: 1fr; gap: 14px; }
  .facts-list { grid-template-columns: 1fr; }
  .rt-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-card { padding: 26px 20px; }
  .footer-links-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .pricing-guarantee { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: 1fr 1fr; }
  .kpi-card:nth-child(3) { grid-column: span 2; }
  .mockup-timer { display: none; }
  .footer-links-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
