/* ==========================================================================
   TribStat Pro — Landing Page & Site Institucional
   Inspirado na referência Ark Online (Inteligência Tributária & Reforma Fiscal)
   Estética: FinTech Institucional / Big Four / Bloomberg Tax / Stripe
   ========================================================================== */

/* Fontes (Inter e JetBrains Mono) carregadas por <link> no <head>, com preconnect e display=swap. */

:root {
  /* Paleta Base - Deep Navy & Slate */
  --bg-landing: #060911;
  --bg-surface: #0c1220;
  --bg-card: rgba(16, 24, 40, 0.75);
  --bg-card-hover: rgba(24, 36, 60, 0.9);
  --bg-elevated: #162035;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(59, 130, 246, 0.4);

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* Acentos de Marca */
  --blue-primary: #005EB8;
  --blue-bright: #2563eb;
  --blue-glow: #3b82f6;
  --navy-deep: #002244;
  --emerald-accent: #10b981;
  --amber-accent: #f59e0b;
  --purple-accent: #8b5cf6;

  /* Fontes e Sombras */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(37, 99, 235, 0.25);
  --shadow-emerald-glow: 0 0 30px rgba(16, 185, 129, 0.2);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  font-family: var(--font-sans);
  background-color: var(--bg-landing);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Gradients Atmosféricos: os brilhos passam da borda, e o
   contêiner corta o excesso para a página não rolar na horizontal. */
.ambient-fundo {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ambient-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.45;
}

.glow-top-right {
  top: -100px;
  right: -100px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
}

.glow-center-left {
  top: 900px;
  left: -200px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: 200px;
  right: -150px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
}

/* Container Responsivo */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   Navbar Fixa Institucional
   -------------------------------------------------------------------------- */
.landing-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 100;
  transition: all var(--transition-normal);
}

.landing-header.scrolled {
  background: rgba(6, 9, 17, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  height: 72px;
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #005EB8 0%, #002244 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 94, 184, 0.4);
}

.brand-titles .brand-nome {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-titles .brand-nome span {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--blue-bright);
  color: #fff;
  text-transform: uppercase;
}

.brand-titles p {
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: #fff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botões Globais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-ghost {
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  color: #fff;
  border-color: var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
}

.btn-cta-system {
  background: linear-gradient(135deg, #005EB8 0%, #00338D 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(0, 94, 184, 0.45);
}

.btn-cta-system:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 94, 184, 0.6);
  background: linear-gradient(135deg, #026dd4 0%, #003fa0 100%);
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-emerald:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 170px;
  padding-bottom: 90px;
  text-align: center;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 24px;
}

.hero-pill-badge svg {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 980px;
  margin: 0 auto 24px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 50%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 30px;
}

.legal-compliance-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
}

/* Mockup Executivo Interativo do Cockpit */
.cockpit-preview-frame {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  padding: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.02) 100%);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  position: relative;
}

.cockpit-preview-inner {
  border-radius: calc(var(--radius-xl) - 4px);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.mockup-browser-bar {
  height: 40px;
  background: #0f1626;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dot.red { background: #ef4444; }
.browser-dot.yellow { background: #f59e0b; }
.browser-dot.green { background: #10b981; }

.browser-url-bar {
  flex: 1;
  max-width: 480px;
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-content-preview {
  padding: 24px;
  background: #0a0f1d;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.preview-kpis-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.preview-kpi-box {
  background: rgba(18, 26, 44, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
}

.preview-kpi-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.preview-kpi-value {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 4px;
  color: #fff;
}

.preview-veredito { display: flex; flex-direction: column; gap: 6px; }

.preview-eyebrow {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.preview-frase {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.preview-frase em { font-style: normal; color: var(--blue-glow); }

.preview-chart-topo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.preview-chart-titulo { font-size: 0.82rem; font-weight: 700; color: #cbd5e1; }

.preview-legenda {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.preview-legenda i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  display: inline-block;
  margin-left: 6px;
}

/* Mesmas cores das séries do Resumo no cockpit */
.pv-icms { background: #4b5566; fill: #4b5566; }
.pv-cbs { background: #3987e5; fill: #3987e5; }
.pv-ibs { background: #199e70; fill: #199e70; }

.preview-colunas { width: 100%; height: auto; display: block; }
.preview-colunas .pv-eixo line { stroke: rgba(255, 255, 255, 0.12); }
.preview-colunas .pv-rotulos text { fill: #e2e8f0; font-size: 11px; font-weight: 700; text-anchor: middle; }
.preview-colunas .pv-anos text { fill: var(--text-muted); font-size: 10px; text-anchor: middle; }

.hero-legenda {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.preview-chart-row {
  background: rgba(18, 26, 44, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------------------
   Faixa de Números de Impacto & Autoridade
   -------------------------------------------------------------------------- */
.metrics-strip {
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(12, 18, 32, 0.6);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-num {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.metric-num.highlight {
  background: linear-gradient(135deg, #3b82f6 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Seção: O Desafio da Transição (Por que planilhas falham)
   -------------------------------------------------------------------------- */
.challenge-section {
  padding: 110px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-glow);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

.challenge-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.challenge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.challenge-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glass);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.challenge-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.challenge-icon-box.amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-accent);
}

.challenge-icon-box.rose {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.challenge-icon-box.blue {
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-glow);
}

.challenge-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.challenge-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Seção: Soluções & Módulos em Destaque (Inspirado na Ark Online)
   -------------------------------------------------------------------------- */
.solutions-section {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-landing) 0%, #0a0f1d 50%, var(--bg-landing) 100%);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 60px;
}

.solution-card-large {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solution-card-large:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.solution-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.solution-num-badge {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
}

.solution-card-large h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.solution-card-large p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.solution-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.solution-points-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.solution-points-list li svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-accent);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Metodologia: cronograma legal, base legal e modelagem
   -------------------------------------------------------------------------- */
.metodologia-section { padding: 100px 0; }

.tabela-rolagem {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 48px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}

.cronograma-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.cronograma-table caption {
  caption-side: top;
  text-align: left;
  padding: 18px 20px 6px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.cronograma-table th,
.cronograma-table td {
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
}

.cronograma-table thead th {
  color: var(--text-secondary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cronograma-table tbody th {
  font-family: var(--font-mono);
  color: #fff;
  white-space: nowrap;
}

.cronograma-table td { color: var(--text-secondary); }
.cronograma-table tbody tr:last-child th,
.cronograma-table tbody tr:last-child td { border-bottom: none; }

.metodologia-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.metodologia-bloco {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.metodologia-bloco h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 14px; }
.metodologia-bloco p,
.metodologia-bloco li { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }
.metodologia-bloco ul { padding-left: 18px; display: flex; flex-direction: column; gap: 10px; }
.metodologia-bloco strong { color: #fff; }

.metodologia-atualizacao { margin-top: 20px; color: var(--text-muted); font-size: 0.8rem; text-align: center; }

@media (max-width: 900px) {
  .metodologia-section { padding: 64px 0; }
  .metodologia-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   Quadro Comparativo: Planilhas Manuais vs TribStat Pro
   -------------------------------------------------------------------------- */
.comparison-section {
  padding: 100px 0;
}

.comparison-table-wrapper {
  margin-top: 60px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-surface);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 20px 24px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table th.col-feature {
  width: 38%;
  color: var(--text-muted);
}

.comparison-table th.col-manual {
  width: 31%;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.2);
}

.comparison-table th.col-tribstat {
  width: 31%;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 94, 184, 0.2) 0%, rgba(0, 94, 184, 0.05) 100%);
  border-bottom: 2px solid var(--blue-glow);
}

.comparison-table td {
  padding: 20px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td.col-tribstat {
  background: rgba(0, 94, 184, 0.03);
  font-weight: 600;
  color: #fff;
}

/* --------------------------------------------------------------------------
   FAQ Interativo (Acordeão)
   -------------------------------------------------------------------------- */
.faq-section {
  padding: 100px 0;
}

.faq-grid {
  max-width: 860px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question {
  font: inherit;
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--blue-glow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 28px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   CTA Final Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
  padding: 80px 0 120px;
}

.cta-banner-box {
  background: linear-gradient(135deg, rgba(0, 51, 141, 0.4) 0%, rgba(37, 99, 235, 0.2) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-banner-box h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-banner-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Footer Institucional
   -------------------------------------------------------------------------- */
.landing-footer {
  border-top: 1px solid var(--border-subtle);
  background: #04070d;
  padding: 60px 0 30px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-legal-copy {
  max-width: 480px;
  line-height: 1.5;
  margin-top: 12px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Responsividade Geral */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.7rem; }
  .challenge-cards-grid { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-kpis-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.1rem; }
  .nav-menu { display: none; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .metrics-grid { grid-template-columns: 1fr; }
  .comparison-table-wrapper { overflow-x: auto; }
}
