:root {
  /* Colors — Industrial Premium */
  --color-navy: #0F172A;
  --color-steel: #1E3A8A;
  --color-orange: #F97316;
  --color-orange-hover: #EA6E0E;
  --color-green: #10B981;
  --color-amber: #F59E0B;
  --color-red: #EF4444;
  --color-bg: #F8FAFC;
  --color-card: #FFFFFF;
  --color-text: #0B1220;
  --color-muted: #64748B;
  --color-border: #E2E8F0;
  --color-border-strong: #CBD5E1;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 96px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0 var(--space-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo-img {
  height: 57px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 66px;
}

.navbar-links {
  display: none;
  list-style: none;
  gap: var(--space-lg);
  align-items: center;
}

.navbar-mobile-cta {
  display: none;
}

@media (min-width: 900px) {
  .navbar-links { display: flex; }
}

.navbar-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: #fff;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.has-roi-data .volume-field-container {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

.menu-bar {
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 900px) {
  .navbar {
    padding: 0 18px;
  }

  .navbar,
  .navbar .container,
  .navbar-brand,
  .navbar-actions {
    min-width: 0;
    max-width: 100%;
  }

  .navbar .container {
    height: 72px;
  }

  .logo-img {
    height: 46px;
    max-width: 100%;
  }

  .navbar-actions > .btn-primary {
    display: none !important;
  }

  .navbar-actions {
    margin-left: auto;
    gap: 0;
    flex-shrink: 0;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
  }

  .navbar-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-navy);
    flex-direction: column;
    align-items: stretch;
    padding: 28px 24px;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
    display: flex; /* Override display: none from base */
  }

  .navbar-links.active {
    transform: translateX(0);
  }

  .navbar-links a {
    font-size: 1.2rem;
    width: 100%;
    text-align: left;
    overflow-wrap: anywhere;
  }

  .navbar-links li {
    width: 100%;
  }

  .navbar-mobile-cta {
    display: block;
    margin-top: 10px;
  }

  .navbar-mobile-cta .btn-primary {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    padding: 16px 18px;
  }
  
  /* Animação do ícone Hamburger */
  .menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-orange);
  color: #fff;
  padding: 12px 24px;
  box-shadow: 0 2px 12px rgba(249,115,22,0.25);
}

.btn-primary:hover {
  background: var(--color-orange-hover);
  box-shadow: 0 4px 20px rgba(249,115,22,0.4);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-orange);
  padding: 10px 22px;
  border: 2px solid var(--color-orange);
}

.btn-outline:hover {
  background: rgba(249,115,22,0.08);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  padding: 10px 22px;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ============================================
   BADGE
   ============================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(249, 115, 22, 0.1);
  color: var(--color-orange);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-md);
}

.badge-dark {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249,115,22,0.3);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-2xl);
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.section-header h2 span {
  color: var(--color-orange);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.section-header-light h2 {
  color: #fff;
}

.section-header-light p {
  color: #94A3B8;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: var(--color-navy);
  padding: calc(100px) 0 var(--space-lg); /* Respiro superior restaurado levemente */
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 55% 45%;
  }
}

.hero-text h1 {
  font-size: 2.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-md);
  letter-spacing: -1px;
}

@media (min-width: 900px) {
  .hero-text h1 { font-size: 3rem; } /* Levemente reduzido para poupar espaço vertical */
}

.hero-text h1 span {
  color: var(--color-orange);
}

.hero-text .subtitle {
  font-size: 1.1rem;
  color: #94A3B8;
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 520px;
}

.hero-check {
  font-size: 0.95rem;
  color: var(--color-green);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.hero-authority {
  font-size: 0.92rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-top: 24px; /* Aumentado para mais respiro superior */
  margin-bottom: 32px; /* Aumentado para empurrar os botões e alinhá-los ao painel */
  max-width: 520px;
  border-left: 3px solid var(--color-orange);
  padding-left: 12px;
  font-style: italic;
}

.hero-reinforcement {
  font-size: 0.9rem;
  color: #94A3B8;
  font-style: italic;
  margin-bottom: var(--space-xl);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.hero-metric {
  display: flex;
  flex-direction: column;
}

.hero-metric .value {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-orange);
}

.hero-metric .label {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 500;
}

/* Hero Visual Panel */
.hero-visual {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.82rem;
  display: flex;
  flex-direction: column;
}

.panel-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.panel-label-input { color: #94A3B8; }
.panel-label-output { color: var(--color-green); }

.panel-input {
  background: rgba(0,0,0,0.3);
  color: #F87171;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-sm); /* Reduzido para economizar espaço vertical */
  line-height: 1.4;
  border-left: 3px solid #F87171;
}

.panel-arrow {
  text-align: center;
  color: var(--color-orange);
  font-size: 1.2rem;
  margin-bottom: var(--space-sm); /* Reduzido para economizar espaço vertical */
  font-weight: 700;
}

.panel-output {
  background: rgba(0,0,0,0.3);
  padding: 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-green);
}

.panel-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.status-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-ok {
  background: #D1FAE5;
  color: #059669;
}

.status-review {
  background: #FEF3C7;
  color: #D97706;
}

.panel-row {
  display: flex;
  padding: 4px 0;
}

.panel-row-key {
  color: #64748B;
  min-width: 120px;
  flex-shrink: 0;
}

.panel-row-value {
  color: #E2E8F0;
  font-weight: 600;
}

.panel-row-value .equiv {
  color: var(--color-orange);
  font-size: 0.75rem;
  font-weight: 400;
}

/* ============================================
   VERTICAL FOCUS
   ============================================ */
.vertical-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-md);
}

.vertical-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  transition: all 0.2s;
}

.vertical-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
  border-color: var(--color-orange);
}

.vertical-card .icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.vertical-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.vertical-card .example {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--color-muted);
  background: var(--color-bg);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-sm);
  word-break: break-all;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.problem-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.problem-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.problem-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}

.problem-card:hover {
  box-shadow: var(--shadow-hover);
}

.problem-card.border-red::before { background: var(--color-red); }
.problem-card.border-amber::before { background: var(--color-amber); }
.problem-card.border-slate::before { background: #475569; }
.problem-card.border-steel::before { background: var(--color-steel); }

.problem-card .card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: var(--space-md);
}

.problem-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.problem-card p {
  font-size: 0.88rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================
   SOLUTION SECTION
   ============================================ */
.solution-section {
  padding: var(--space-3xl) 0;
  background: var(--color-navy);
}

.solution-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 768px) {
  .solution-steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.solution-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--color-orange);
  color: #fff;
  font-weight: 900;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.solution-step h4 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.solution-step p {
  color: #94A3B8;
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ============================================
   DIFFERENTIATORS
   ============================================ */
.diff-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .diff-grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   MRO LINES (SIMPLE)
   ============================================ */
.mro-lines-section {
  padding: var(--space-xl) 0 var(--space-3xl);
  background: var(--color-bg);
}

.mro-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  max-width: 980px;
  margin: 0 auto;
  justify-items: center;
}

.mro-item {
  background: var(--color-card);
  padding: 20px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 84px;
  transition: all 0.2s ease;
}

.mro-item:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.mro-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 14px;
  background: rgba(255, 122, 26, 0.15);
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.mro-icon svg {
  width: 20px;
  height: 20px;
}

.mro-item--other {
  border-style: dashed;
  opacity: 0.9}

/* centraliza o último item */
.mro-grid-simple .mro-item--other {
  grid-column: 2;
}

@media (max-width: 900px) {
  .mro-grid-simple {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mro-grid-simple {
    grid-template-columns: 1fr;
  }

  .mro-item {
    min-height: auto;
  }
}

/* ============================================
   DEMO SECTION
   ============================================ */
.demo-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.demo-panel {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-card);
}

.demo-input-area {
  margin-bottom: var(--space-lg);
}

.demo-input-area label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
  display: block;
}

.demo-input-area textarea {
  width: 100%;
  padding: 14px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  resize: none;
  color: var(--color-text);
  transition: border-color 0.2s;
}

.demo-input-area textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.demo-input-area textarea[readonly] {
  cursor: default;
  background: var(--color-bg);
  border-color: var(--color-border);
  color: var(--color-muted);
}

.demo-input-area textarea[readonly]:focus {
  border-color: var(--color-border);
}

.demo-placeholder {
  text-align: center;
  padding: var(--space-xl) var(--space-lg);
  color: var(--color-muted);
  font-size: 0.9rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.demo-examples {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.demo-example-pill {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  padding: 8px 16px; /* Aumentado para melhor alvo de toque */
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 99px;
  color: var(--color-muted);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}

.demo-example-pill:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.demo-example-pill.active {
  border-color: var(--color-orange);
  color: var(--color-orange);
  background: rgba(249,115,22,0.06);
  font-weight: 700;
}

.demo-output {
  display: none;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  animation: fadeIn 0.4s ease;
}

.demo-output.visible {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.demo-output-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.demo-confidence {
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 600;
}

.demo-confidence strong {
  color: var(--color-green);
}

.demo-fields {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px var(--space-md);
  font-size: 0.88rem;
}

.demo-field-key {
  color: var(--color-muted);
  font-weight: 600;
  font-size: 0.82rem;
}

.demo-field-value {
  color: var(--color-text);
  font-weight: 600;
}

.demo-field-value .equiv-tag {
  font-size: 0.72rem;
  color: var(--color-orange);
  font-weight: 400;
  margin-left: 6px;
}

.demo-audit {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  font-size: 0.8rem;
  color: var(--color-muted);
  font-style: italic;
}

.demo-cta-area {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.demo-cta-area p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

/* ============================================
   ROI CALCULATOR
   ============================================ */
.roi-section {
  padding: var(--space-3xl) 0;
  background: var(--color-navy);
}

.roi-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.roi-upper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

@media (min-width: 900px) {
  .roi-upper-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.roi-inputs-card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.roi-input-group label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.85rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: var(--space-sm);
}

.roi-input-group .input-value-display {
  font-weight: 800;
  color: var(--color-orange);
  font-size: 1rem;
}

.roi-input-group input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: #334155;
  border-radius: 99px;
  outline: none;
}

.roi-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--color-orange);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249,115,22,0.4);
}

.roi-input-group input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  background: #1E293B;
  border: 1px solid #334155;
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
}

.roi-input-group input[type="number"]:focus {
  outline: none;
  border-color: var(--color-orange);
}

.roi-encargo-note {
  font-size: 0.75rem;
  color: #64748B;
  margin-top: var(--space-xs);
}

.roi-results-card {
  background: #1E293B;
  border: 2px solid var(--color-orange);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.roi-result-label {
  font-size: 0.85rem;
  color: #94A3B8;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-sm);
}

.roi-subtext {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 20px;
}

.roi-result-value {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-orange);
  margin-bottom: 10px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.roi-detail {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.88rem;
}

.roi-detail-label {
  color: #94A3B8;
}

.roi-detail-value {
  color: #fff;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.roi-strategic-footer {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-top: var(--space-md);
}

.roi-narrative {
  margin: var(--space-lg) 0;
  padding: var(--space-md);
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  color: #FCA5A5;
  line-height: 1.6;
}

.roi-context-card {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.roi-context-card p {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.6;
}

.roi-context-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249,115,22,0.14);
  color: #FDBA74;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.roi-cta-area {
  margin-top: var(--space-lg);
  text-align: center;
}

.roi-cta-area .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

.roi-cta-area .btn-primary:disabled {
  background: #475569;
  cursor: not-allowed;
  opacity: 0.85;
}

.btn-report {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 10px;
  background: transparent;
  border: 1.5px solid #FF6B00;
  border-radius: 8px;
  color: #FF6B00;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-report:hover:not(:disabled) {
  background: rgba(255, 107, 0, 0.1);
}

.btn-report:disabled {
  border-color: #334155;
  color: #475569;
  cursor: not-allowed;
}

.btn-report-icon {
  font-size: 1rem;
}

.report-cta-hint {
  margin-top: 6px;
  font-size: 0.78rem;
  color: #64748B;
  text-align: center;
}

.roi-cta-helper {
  margin-top: var(--space-sm);
  font-size: 0.82rem;
  color: #94A3B8;
}

.roi-secondary-link {
  display: inline-block;
  margin-top: var(--space-sm);
  color: #F8FAFC;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.88rem;
}

.roi-secondary-link:hover {
  color: #FDBA74;
}

/* Lead Modal */
.lead-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  justify-content: center;
  align-items: center;
  padding: var(--space-lg);
}

.lead-modal-overlay.visible {
  display: flex;
}

.lead-modal {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  max-width: 480px;
  width: 100%;
  position: relative;
}

.lead-modal h3 {
  font-size: 1.3rem;
  margin-bottom: var(--space-sm);
}

.lead-modal p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: var(--space-lg);
}

.lead-modal input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.lead-modal input:focus {
  outline: none;
  border-color: var(--color-orange);
}

.lead-modal .btn-primary {
  width: 100%;
  justify-content: center;
}

.lead-modal-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-muted);
  cursor: pointer;
}

/* ============================================
   PERSONAS SECTION
   ============================================ */
.personas-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .personas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.persona-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.persona-card.featured {
  background: var(--color-navy);
  border-color: var(--color-orange);
}

.persona-card.featured .persona-label,
.persona-card.featured h4 {
  color: #fff;
}

.persona-card.featured .persona-label {
  color: var(--color-orange);
}

.persona-card.featured li {
  color: #CBD5E1;
}

.persona-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.persona-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: var(--space-lg);
}

.persona-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.persona-card li {
  font-size: 0.88rem;
  color: var(--color-muted);
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.persona-card li::before {
  content: '✓';
  color: var(--color-green);
  font-weight: 700;
  flex-shrink: 0;
}

/* ============================================
   INFRA SECTION
   ============================================ */
.infra-section {
  padding: var(--space-3xl) 0;
  background: var(--color-bg);
}

.infra-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .infra-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .infra-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.infra-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
}

.infra-card .infra-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
}

.infra-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.infra-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.6;
}

/* ============================================
   ADOPTION SECTION
   ============================================ */
.adoption-section {
  padding: var(--space-3xl) 0;
  background: var(--color-navy);
}

.adoption-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .adoption-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.adoption-card {
  background: #1E293B;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.adoption-card .level-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-orange);
  margin-bottom: var(--space-md);
}

.adoption-card h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.adoption-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.adoption-card li {
  font-size: 0.85rem;
  color: #94A3B8;
  display: flex;
  gap: var(--space-sm);
}

.adoption-card li::before {
  content: '→';
  color: var(--color-orange);
  flex-shrink: 0;
}

.adoption-card .adoption-note {
  margin-top: var(--space-md);
  font-size: 0.78rem;
  color: #64748B;
  font-style: italic;
}

/* ============================================
   CTA FINAL
   ============================================ */
.cta-section {
  padding: var(--space-3xl) 0;
  background: var(--color-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (min-width: 992px) {
  .cta-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-3xl);
  }
}

.cta-column-text .section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

@media (min-width: 992px) {
  .cta-column-text .section-header {
    text-align: left;
    margin: 0;
    max-width: 100%;
  }
}

.cta-form {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 992px) {
  .cta-form {
    margin: 0;
  }
}

.cta-form input,
.cta-form select {
  padding: 14px;
  border: 1px solid #334155;
  background: #1E293B;
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
}

.cta-form input:focus,
.cta-form select:focus {
  outline: none;
  border-color: var(--color-orange);
}

.form-context-card {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.form-context-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #E2E8F0;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: var(--space-sm);
}

.form-context-card p {
  color: #CBD5E1;
  font-size: 0.88rem;
  line-height: 1.6;
}

.form-context-summary {
  display: none;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #F8FAFC;
  font-size: 0.84rem;
  line-height: 1.6;
}

.form-context-summary.visible {
  display: block;
}

.cta-form-helper {
  font-size: 0.82rem;
  color: #94A3B8;
  line-height: 1.6;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 992px) {
  .cta-trust {
    justify-content: flex-start;
  }
}

.cta-trust span {
  font-size: 0.78rem;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: var(--space-xl) 0;
  background: #020817;
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.footer-brand span { color: var(--color-orange); }

.footer-tagline {
  font-size: 0.78rem;
  color: #475569;
  margin-bottom: var(--space-lg);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.footer-links a {
  font-size: 0.8rem;
  color: #64748B;
  text-decoration: none;
}

.footer-links a:hover {
  color: #94A3B8;
}

.footer-copy {
  font-size: 0.72rem;
  color: #334155;
}

/* --- ROI Calculator Enhancements --- */
.roi-savings-box {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border: 1px dashed rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: center;
    font-size: 0.95rem;
    color: #4ADE80;
    font-weight: 600;
    line-height: 1.5;
}

.roi-intangible-gains {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.1);
}

.roi-intangible-gains p {
    font-size: 0.9rem;
    color: #E2E8F0;
    margin-bottom: 12px;
}

.roi-cta-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}

.roi-contact-cta {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  border-color: rgba(255,255,255,0.18);
  color: #F8FAFC;
}

.roi-contact-cta:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.34);
}

.btn-report[hidden] {
  display: none !important;
}

.cta-column-text .section-header > h2:not(.cta-heading-new),
.cta-column-text .section-header > p:not(.cta-copy-new) {
  display: none;
}

.cta-heading-new,
.cta-copy-new {
  display: block;
}

.conditional-field {
  display: none;
}

.conditional-field.visible {
  display: block;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-status:not(:empty) {
  display: block;
}

.form-status.pending {
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.24);
  color: #9A3412;
}

.form-status.success {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.24);
  color: #065F46;
}

.form-status.error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.2);
  color: #991B1B;
}

.lead-modal-overlay {
  display: flex;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lead-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal-report {
  max-width: 960px;
  width: min(960px, 100%);
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: 0 30px 80px rgba(15,23,42,0.24);
}

.lead-modal-content {
  display: grid;
  grid-template-columns: 1fr;
}

.lead-modal-copy {
  background:
    radial-gradient(circle at top right, rgba(249,115,22,0.34), transparent 32%),
    linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #fff;
  padding: var(--space-xl);
}

.lead-modal-copy h3 {
  color: #fff;
  font-size: 1.8rem;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.lead-modal-copy p {
  color: #CBD5E1;
  margin-bottom: var(--space-lg);
}

.lead-modal-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(249,115,22,0.16);
  color: #FDBA74;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: var(--space-md);
}

.lead-modal-summary {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.lead-modal-summary-label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #94A3B8;
  margin-bottom: var(--space-sm);
}

.lead-modal-summary-value {
  font-size: 1.9rem;
  line-height: 1;
  font-weight: 900;
  color: #FDBA74;
  margin-bottom: var(--space-sm);
}

.lead-modal-summary-text {
  color: #E2E8F0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.lead-modal-helper {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 0;
}

.lead-modal-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-xl);
  background: #FFFFFF;
}

.lead-modal-form input,
.lead-modal-form select {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.92rem;
}

.lead-modal-form input:focus,
.lead-modal-form select:focus {
  outline: none;
  border-color: var(--color-orange);
}

.lead-modal-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 0.98rem;
}

.lead-modal-close {
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .lead-modal-content {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }

  .hero,
  .cta-section,
  .cta-grid,
  .cta-column-text,
  .cta-column-form,
  .cta-form,
  .section-header {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero {
    padding-top: 92px;
  }

  .hero-text h1 {
    font-size: 2.15rem;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-grid > * {
    min-width: 0;
  }

  .cta-column-text .section-header,
  .cta-form,
  .form-context-card,
  .form-context-summary,
  .cta-trust,
  .cta-trust span {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .cta-section .container {
    overflow-x: clip;
  }

  .panel-output-header,
  .demo-output-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .demo-fields {
    grid-template-columns: 1fr;
  }

  .roi-detail {
    gap: 12px;
  }

  .roi-detail-label,
  .roi-detail-value {
    font-size: 0.82rem;
  }

  .cta-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .lead-modal-copy,
  .lead-modal-form {
    padding: 24px;
  }

  .lead-modal-copy h3 {
    font-size: 1.45rem;
  }

  .lead-modal-summary-value {
    font-size: 1.55rem;
  }
}
/* --- Lead Form Qualification --- */
.conditional-field {
    display: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.conditional-field.visible {
    display: block;
    opacity: 1;
    max-height: 100px;
    margin-top: -8px; /* Ajuste para manter o gap consistente */
    padding-bottom: 8px;
    animation: slideDown 0.3s ease forwards;
}

.conditional-field input {
    width: 100%;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.roi-intangible-gains ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .roi-intangible-gains ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .roi-intangible-gains ul {
        grid-template-columns: repeat(4, 1fr);
    }
}

.roi-intangible-gains li {
    font-size: 0.85rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .roi-intangible-gains ul {
        grid-template-columns: 1fr;
    }
}
