@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  /* ── Cores da Marca (Brand) ── */
  --brand-blue: #2E6BE6;
  --brand-blue-hover: #1D58CD;
  --brand-dark: #0A0E1A;
  --brand-surface: #141C26;
  
  /* ── Ação / Conversão (Exclusivo para CTAs) ── */
  --cta-orange: #E85D04;
  --cta-orange-hover: #FF7A2F;
  --cta-orange-active: #D05103;

  /* ── Seções Claras (Light Sections — Leitura Longa) ── */
  --bg-light: #F8FAFC;
  --surface-light: #FFFFFF;
  --border-light: #E2E8F0;
  --tx-1-light: #0F172A;
  --tx-2-light: #334155;
  --tx-3-light: #64748B;

  /* ── Seções Escuras (Dark Sections — Hero, Fechamento, Cards Code) ── */
  --bg-dark: #0A0E1A;
  --surface-dark: #141C26;
  --surface-dark-2: #1E2A38;
  --border-dark: #2A384A;
  --tx-1-dark: #F8FAFC;
  --tx-2-dark: #94A3B8;
  --tx-3-dark: #64748B;

  /* ── Cores Semânticas / Estados ── */
  --ok: #10B981;
  --ok-bg: rgba(16, 185, 129, 0.1);
  --warn: #F59E0B;
  --warn-bg: rgba(245, 158, 11, 0.1);
  --err: #EF4444;
  --err-bg: rgba(239, 68, 68, 0.1);
  --info: #3B82F6;

  /* ── Tipografia (Escala Modular) ── */
  --sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: 'IBM Plex Mono', 'Consolas', 'Fira Code', monospace;
  
  --f-h1: clamp(32px, 5vw, 52px);
  --f-h2: clamp(26px, 3.5vw, 38px);
  --f-h3: clamp(20px, 2.5vw, 26px);
  --f-body: 16px;
  --f-body-lg: 18px;
  --f-sm: 14px;
  --f-xs: 12px;

  /* ── Espaçamento (Escala 4px/8px) ── */
  --sp-4: 4px;
  --sp-8: 8px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-48: 48px;
  --sp-64: 64px;
  --sp-80: 80px;
  --sp-120: 120px;

  /* ── Bordas e Sombras ── */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 32px rgba(10,14,26,0.15);
  --shadow-dark: 0 12px 32px rgba(0,0,0,0.4);

  /* ── Transições e Layout ── */
  --t: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --max-w: 1200px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background-color: var(--bg-light);
  color: var(--tx-1-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Container Global ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

/* ── Cabeçalho / Sticky Nav ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  transition: var(--t);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-12);
  text-decoration: none;
  color: var(--tx-1-dark);
  font-weight: 700;
  font-size: 20px;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand-badge {
  font-size: 11px;
  font-family: var(--mono);
  background: rgba(46, 107, 230, 0.2);
  color: #60A5FA;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(46, 107, 230, 0.4);
}

.nav-links {
  display: flex;
  gap: var(--sp-24);
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--tx-2-dark);
  text-decoration: none;
  font-size: var(--f-sm);
  font-weight: 500;
  transition: var(--t);
}

.nav-links a:hover {
  color: var(--tx-1-dark);
}

.nav-cta {
  background: var(--cta-orange);
  color: var(--tx-1-dark) !important;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background: var(--cta-orange-hover);
  transform: translateY(-1px);
}

/* ── Botões Globais ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-8);
  font-family: var(--sans);
  font-size: var(--f-body-lg);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: var(--t);
  cursor: pointer;
  border: none;
}

.btn-primary {
  height: 56px;
  padding: 0 var(--sp-32);
  background-color: var(--cta-orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--cta-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.35);
}

.btn-ghost {
  height: 48px;
  padding: 0 var(--sp-24);
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--tx-1-light);
  font-size: var(--f-body);
}

.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
}

/* ── Seções Temáticas ── */
.sec-dark {
  background-color: var(--bg-dark);
  color: var(--tx-1-dark);
  position: relative;
  overflow: hidden;
}

.sec-light {
  background-color: var(--bg-light);
  color: var(--tx-1-light);
}

.sec-surface {
  background-color: var(--surface-light);
  color: var(--tx-1-light);
}

.section-pad {
  padding: var(--sp-120) 0;
}

.sec-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--sp-64);
}

.sec-scanner {
  font-family: var(--mono);
  font-size: var(--f-sm);
  color: var(--brand-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--sp-12);
  display: block;
}

.sec-dark .sec-scanner {
  color: #60A5FA;
}

.sec-title {
  font-size: var(--f-h2);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--sp-16);
}

.sec-subtitle {
  font-size: var(--f-body-lg);
  color: var(--tx-2-light);
}

.sec-dark .sec-subtitle {
  color: var(--tx-2-dark);
}

/* ── Bloco 1 — Hero ── */
.hero-section {
  padding: var(--sp-80) 0 var(--sp-120);
}

.hero-bg-code {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  opacity: 0.08;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 18px;
  color: #60A5FA;
  white-space: pre;
  line-height: 2;
  overflow: hidden;
  user-select: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto var(--sp-64);
}

.hero-headline {
  font-size: var(--f-h1);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--sp-24);
  color: #FFFFFF;
}

.hero-headline span {
  color: #60A5FA;
}

.hero-subheadline {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--tx-2-dark);
  margin-bottom: var(--sp-32);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-12);
}

.micro-text {
  font-size: var(--f-xs);
  color: var(--tx-3-dark);
  font-family: var(--mono);
}

.hero-showcase {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-dark);
  background: var(--surface-dark);
}

.hero-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Bloco 2 — Dor (O Problema) ── */
.storytelling-box {
  max-width: 800px;
  margin: 0 auto var(--sp-64);
  font-size: var(--f-body-lg);
  color: var(--tx-2-light);
  text-align: center;
  line-height: 1.8;
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-24);
  margin-bottom: var(--sp-48);
}

.card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-32) var(--sp-24);
  transition: var(--t);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-blue);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(46, 107, 230, 0.1);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-24);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.card h3 {
  font-size: var(--f-h3);
  margin-bottom: var(--sp-12);
  color: var(--tx-1-light);
}

.card p {
  color: var(--tx-2-light);
  font-size: var(--f-sm);
}

.center-btn {
  text-align: center;
}

/* ── Bloco 3 — Solução (Pilares) ── */
.pilar-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
  margin-bottom: var(--sp-80);
}

.pilar-row:nth-child(even) .pilar-text {
  order: 2;
}

.pilar-row:nth-child(even) .pilar-img {
  order: 1;
}

.pilar-badge {
  display: inline-block;
  font-family: var(--mono);
  font-size: var(--f-xs);
  font-weight: 600;
  color: var(--brand-blue);
  background: rgba(46, 107, 230, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-16);
}

.pilar-text h3 {
  font-size: var(--f-h3);
  margin-bottom: var(--sp-16);
  line-height: 1.3;
}

.pilar-text p {
  color: var(--tx-2-light);
  font-size: var(--f-body);
  margin-bottom: var(--sp-24);
}

.pilar-proof {
  font-size: var(--f-sm);
  color: var(--tx-1-light);
  background: var(--bg-light);
  padding: var(--sp-16);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--mono);
}

.pilar-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  background: var(--surface-dark);
}

.pilar-img img {
  width: 100%;
  height: auto;
  display: block;
}

.roadmap-banner {
  background: var(--surface-dark-2);
  color: var(--tx-1-dark);
  padding: var(--sp-32);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-dark);
  text-align: center;
  margin-top: var(--sp-64);
  font-family: var(--mono);
  font-size: var(--f-sm);
}

/* ── Bloco 4 — ROI / Economia ── */
.roi-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--sp-48);
}

.table-compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
}

.table-compare th, .table-compare td {
  padding: var(--sp-24);
  text-align: left;
  border-bottom: 1px solid var(--border-dark);
}

.table-compare th {
  background: rgba(255,255,255,0.03);
  font-family: var(--mono);
  font-size: var(--f-sm);
  color: var(--tx-2-dark);
  text-transform: uppercase;
}

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

.col-hl {
  background: rgba(232, 93, 4, 0.08);
  color: #FFFFFF;
  font-weight: 600;
}

.roi-cards-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  margin-bottom: var(--sp-64);
}

.roi-card {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
}

.roi-card h4 {
  font-size: var(--f-h3);
  color: #FFFFFF;
  margin-bottom: var(--sp-12);
}

.roi-card p {
  color: var(--tx-2-dark);
  font-size: var(--f-sm);
}

/* ── Gráficos SVG ROI-01 e ROI-03 ── */
.svg-showcase {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
  margin-bottom: var(--sp-48);
}

.svg-showcase h4 {
  font-family: var(--mono);
  font-size: var(--f-sm);
  color: var(--tx-2-dark);
  margin-bottom: var(--sp-24);
  text-transform: uppercase;
}

.bar-row {
  margin-bottom: var(--sp-24);
}

.bar-label {
  display: flex;
  justify-content: space-between;
  font-size: var(--f-sm);
  margin-bottom: var(--sp-8);
  font-weight: 500;
}

.bar-track {
  height: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding-left: var(--sp-12);
  font-family: var(--mono);
  font-size: var(--f-xs);
  color: #FFFFFF;
  font-weight: 600;
}

.bar-gray { background: #475569; width: 100%; }
.bar-orange { background: var(--cta-orange); width: 10%; }

/* ── Bloco 5 — Comparativo Completo ── */
.table-feature {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.table-feature th, .table-feature td {
  padding: var(--sp-16) var(--sp-24);
  border-bottom: 1px solid var(--border-light);
  font-size: var(--f-sm);
}

.table-feature th {
  background: var(--bg-light);
  text-align: left;
  font-weight: 700;
}

.table-feature td:nth-child(2) {
  background: rgba(46, 107, 230, 0.05);
  font-weight: 700;
  color: var(--brand-blue);
  text-align: center;
}

.table-feature td:nth-child(3), .table-feature td:nth-child(4) {
  text-align: center;
  color: var(--tx-2-light);
}

.comp-02-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-24);
  margin-bottom: var(--sp-48);
}

.comp-box {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-light);
  text-align: center;
}

.comp-box-header {
  padding: var(--sp-12);
  font-family: var(--mono);
  font-size: var(--f-xs);
  font-weight: 600;
  border-bottom: 1px solid var(--border-light);
  background: var(--surface-light);
}

.comp-box img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Bloco 6 — Depoimentos e Prova ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--sp-24);
  margin-bottom: var(--sp-48);
}

.testi-card {
  background: var(--surface-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
}

.testi-quote {
  font-size: var(--f-body);
  font-style: italic;
  margin-bottom: var(--sp-24);
  color: var(--tx-2-light);
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-blue);
  color: #FFFFFF;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.author-info h5 {
  font-size: var(--f-body);
  color: var(--tx-1-light);
}

.author-info span {
  font-size: var(--f-xs);
  color: var(--tx-3-light);
}

.badge-national {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-8);
  padding: 8px 20px;
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-pill);
  font-family: var(--mono);
  font-size: var(--f-sm);
  font-weight: 600;
}

/* ── Bloco 7 — Oferta Beta & Formulário ── */
.beta-card {
  background: var(--surface-dark-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-48);
  max-width: 700px;
  margin: 0 auto var(--sp-64);
  box-shadow: var(--shadow-dark);
}

.form-group {
  margin-bottom: var(--sp-24);
  text-align: left;
}

.form-group label {
  display: block;
  font-family: var(--mono);
  font-size: var(--f-sm);
  color: var(--tx-2-dark);
  margin-bottom: var(--sp-8);
}

.form-input {
  width: 100%;
  height: 52px;
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 0 var(--sp-16);
  color: #FFFFFF;
  font-size: var(--f-body);
  transition: var(--t);
}

.form-input:focus {
  outline: none;
  border-color: #60A5FA;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-feedback {
  margin-top: var(--sp-16);
  padding: var(--sp-12) var(--sp-16);
  border-radius: var(--radius-md);
  font-size: var(--f-sm);
  display: none;
}

.form-feedback.success {
  display: block;
  background: var(--ok-bg);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.form-feedback.error {
  display: block;
  background: var(--err-bg);
  color: #F87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.smartscreen-box {
  background: var(--surface-dark);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-32);
  text-align: left;
}

.smartscreen-box h4 {
  font-size: var(--f-h3);
  margin-bottom: var(--sp-12);
  color: #FFFFFF;
}

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-24);
  margin-top: var(--sp-24);
}

.step-item {
  background: rgba(255,255,255,0.03);
  padding: var(--sp-16);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
}

.step-num {
  font-family: var(--mono);
  color: #60A5FA;
  font-weight: 700;
  margin-bottom: var(--sp-8);
  display: block;
}

/* ── Bloco 8 — FAQ ── */
.accordion-list {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border-light);
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: var(--sp-24) 0;
  text-align: left;
  font-size: var(--f-body-lg);
  font-weight: 600;
  color: var(--tx-1-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--t);
}

.accordion-btn:hover {
  color: var(--brand-blue);
}

.accordion-btn svg {
  width: 20px;
  height: 20px;
  transition: var(--t);
  flex-shrink: 0;
}

.accordion-item.is-open .accordion-btn svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.accordion-body {
  padding-bottom: var(--sp-24);
  color: var(--tx-2-light);
  font-size: var(--f-body);
}

/* ── Bloco 9 — Fechamento & Rodapé ── */
.closing-box {
  max-width: 800px;
  margin: 0 auto var(--sp-80);
  text-align: center;
}

.footer {
  border-top: 1px solid var(--border-dark);
  padding: var(--sp-64) 0 var(--sp-32);
  font-size: var(--f-sm);
  color: var(--tx-2-dark);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-24);
  margin-bottom: var(--sp-32);
}

.footer-links {
  display: flex;
  gap: var(--sp-24);
}

.footer-links a {
  color: var(--tx-2-dark);
  text-decoration: none;
  transition: var(--t);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.copyright {
  text-align: center;
  font-size: var(--f-xs);
  color: var(--tx-3-dark);
  padding-top: var(--sp-24);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Responsividade Mobile ── */
@media (max-width: 768px) {
  .navbar .nav-links { display: none; }
  .pilar-row { grid-template-columns: 1fr; gap: var(--sp-32); }
  .pilar-row:nth-child(even) .pilar-text { order: 1; }
  .pilar-row:nth-child(even) .pilar-img { order: 2; }
  .roi-cards-row, .comp-02-showcase { grid-template-columns: 1fr; }
  .table-compare th, .table-compare td,
  .table-feature th, .table-feature td { padding: var(--sp-12); font-size: var(--f-xs); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
