:root {
  --bg-base: #06080d;
  --bg-elevated: #0a0e17;
  --bg-panel: #0e131f;
  --bg-panel-hover: #121827;
  --border-hairline: rgba(255, 255, 255, 0.075);
  --border-subtle: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(59, 130, 246, 0.38);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --accent-blue: #3b82f6;
  --accent-blue-bright: #60a5fa;
  --accent-blue-dim: rgba(59, 130, 246, 0.1);
  --emerald: #10b981;
  --emerald-dim: rgba(16, 185, 129, 0.1);
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Luz atmosférica superior ultra-sutil estilo Linear / Vercel */
body::before {
  content: "";
  position: fixed;
  top: -220px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 520px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(37, 99, 235, 0.15) 0%, rgba(15, 23, 42, 0.04) 60%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid var(--border-hairline);
  border-right: 1px solid var(--border-hairline);
  min-height: 100vh;
}

/* Topbar Executiva */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 68px;
  background: rgba(6, 8, 13, 0.84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-hairline);
}

.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-divider {
  width: 1px;
  height: 18px;
  background: var(--border-subtle);
}

.doc-type {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--text-primary);
  color: var(--bg-base);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

/* Hero Assimétrico Estilo Stripe / Linear */
.hero-section {
  padding: 84px 40px 76px;
  border-bottom: 1px solid var(--border-hairline);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue-bright);
  margin-bottom: 22px;
}

.kicker-line {
  width: 24px;
  height: 1px;
  background: var(--accent-blue);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.1vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text-primary);
}

.hero-title span {
  color: #cbd5e1;
  font-weight: 600;
}

.hero-lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 56ch;
}

.hero-lead strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-meta-grid {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.meta-item {
  border-left: 2px solid var(--border-subtle);
  padding-left: 14px;
}

.meta-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.meta-value {
  display: block;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Painel Arquitetural Direito (Diagrama de Sistema Sóbrio) */
.arch-panel {
  background: linear-gradient(180deg, rgba(16, 23, 38, 0.9) 0%, rgba(10, 14, 23, 0.95) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 48px -18px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

.arch-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.015);
}

.arch-title {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.arch-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--emerald);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--emerald);
}

.arch-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.arch-layer {
  padding: 16px;
  border-radius: 10px;
  background: rgba(6, 8, 13, 0.65);
  border: 1px solid var(--border-hairline);
}

.arch-layer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.arch-layer-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue-bright);
}

.arch-layer-sub {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-tertiary);
}

.arch-nodes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.arch-node {
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-indicator {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-tertiary);
}

/* Cabeçalhos de Seção Editorial */
.section-block {
  padding: 80px 40px;
  border-bottom: 1px solid var(--border-hairline);
}

.section-head-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 52px;
}

.section-index {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-blue-bright);
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-index::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--accent-blue-bright);
  display: inline-block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.section-sub {
  margin-top: 10px;
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 64ch;
}

/* Matriz Editorial de Entregáveis (Bento Estrutural Sem Cara de IA) */
.scope-matrix {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
}

.scope-cell {
  padding: 36px 34px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.2s ease;
}

.scope-cell:hover {
  background-color: var(--bg-panel);
}

.cell-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.cell-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-blue-bright);
  letter-spacing: 0.08em;
}

.cell-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.cell-title {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.28;
  margin-bottom: 10px;
}

.cell-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cell-specs {
  list-style: none;
  border-top: 1px solid var(--border-hairline);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cell-specs li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.8px;
  color: #e2e8f0;
  line-height: 1.45;
}

.spec-mark {
  color: var(--accent-blue-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
  flex-shrink: 0;
}

/* Nota Executiva de Escopo */
.scope-governance {
  margin-top: 24px;
  padding: 18px 24px;
  background: rgba(14, 19, 31, 0.75);
  border: 1px solid var(--border-hairline);
  border-left: 3px solid var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.governance-text {
  font-size: 13.8px;
  color: var(--text-secondary);
}

.governance-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

.governance-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  padding: 5px 12px;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

/* Metodologia de Implantação (4 Colunas Arquiteturais) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-subtle);
  border-left: 1px solid var(--border-subtle);
}

.process-step {
  padding: 28px 24px;
  border-right: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(10, 14, 23, 0.55);
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 14px;
}

.process-step-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 13.8px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Seção de Investimento Executivo (Estilo Stripe / Linear Enterprise) */
.investment-box {
  background: linear-gradient(180deg, #0d1322 0%, #080b14 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 32px 64px -24px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  position: relative;
}

.investment-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(96, 165, 250, 0.7) 50%, transparent 100%);
}

.investment-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
}

.investment-main {
  padding: 48px 44px;
  border-right: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.inv-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-blue-bright);
  margin-bottom: 12px;
  display: block;
}

.inv-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.15;
}

.inv-desc {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.price-display {
  margin: 32px 0;
  padding: 28px 0;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.price-anchor {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}

.price-anchor s {
  color: var(--text-secondary);
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.price-currency {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-amount {
  font-family: var(--font-display);
  font-size: clamp(54px, 5.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.price-Cycle {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-secondary);
}

.setup-bar {
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.setup-bar-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.setup-bar-sub {
  font-size: 12.5px;
  color: var(--text-tertiary);
  margin-top: 2px;
}

.setup-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border-radius: 6px;
  background: var(--emerald-dim);
  color: var(--emerald);
  border: 1px solid rgba(16, 185, 129, 0.28);
  white-space: nowrap;
}

.btn-approve {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 17px 24px;
  border-radius: 10px;
  background: var(--text-primary);
  color: var(--bg-base);
  font-size: 15.5px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.btn-approve:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(255, 255, 255, 0.2);
}

.inv-Side {
  padding: 48px 40px;
  background: rgba(6, 8, 13, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-heading {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.contract-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contract-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #e2e8f0;
  line-height: 1.45;
}

.check-dot {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: var(--accent-blue-dim);
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: var(--accent-blue-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.inv-footnote {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
  font-size: 12.5px;
  color: var(--text-tertiary);
  line-height: 1.55;
}

/* Rodapé Executivo */
.footer {
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-tertiary);
}

/* Responsividade */
@media (max-width: 980px) {
  .hero-grid,
  .section-head-grid,
  .scope-matrix,
  .investment-grid {
    grid-template-columns: 1fr;
  }
  .section-head-grid {
    gap: 12px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .investment-main {
    border-right: none;
    border-bottom: 1px solid var(--border-hairline);
    padding: 36px 28px;
  }
  .inv-Side {
    padding: 36px 28px;
  }
  .topbar-inner,
  .hero-section,
  .section-block,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
  .brand-divider,
  .doc-type,
  .topbar-nav .nav-link {
    display: none;
  }
}

@media (max-width: 600px) {
  .hero-meta-grid,
  .arch-nodes,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .scope-cell {
    padding: 28px 22px;
  }
  .setup-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
