/* ==========================================================================
   NodeAI - Automações | Folha de Estilos Principal
   Estética: Dark Titanium, Obsidian, Cyber Neon (Ciano & Roxo) & Glassmorphism
   ========================================================================== */

/* --- Variáveis de Design Tokens --- */
:root {
  /* Cores de Fundo e Superfície */
  --bg-deep: #06080d;
  --bg-dark: #090c14;
  --bg-surface: #0d121e;
  --bg-surface-elevated: #131b2e;
  --bg-glass: rgba(13, 18, 30, 0.75);
  --bg-glass-card: rgba(18, 25, 41, 0.65);
  --bg-glass-card-hover: rgba(24, 34, 56, 0.85);

  /* Bordas e Metálicos */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-metallic: rgba(56, 189, 248, 0.2);
  --border-highlight: rgba(0, 240, 255, 0.4);
  --border-purple: rgba(176, 38, 255, 0.35);

  /* Cores Neon & Acentos */
  --cyan-neon: #00f0ff;
  --cyan-bright: #38bdf8;
  --cyan-deep: #0284c7;
  --purple-neon: #b026ff;
  --purple-light: #c084fc;
  --purple-deep: #7e22ce;
  --whatsapp-green: #25d366;
  --whatsapp-hover: #20ba59;

  /* Gradientes de Destaque */
  --grad-primary: linear-gradient(135deg, #00f0ff 0%, #3b82f6 50%, #b026ff 100%);
  --grad-glow: linear-gradient(135deg, rgba(0, 240, 255, 0.3) 0%, rgba(176, 38, 255, 0.3) 100%);
  --grad-titanium: linear-gradient(180deg, #1e293b 0%, #0f172a 50%, #090d16 100%);
  --grad-card: linear-gradient(145deg, rgba(30, 41, 59, 0.4) 0%, rgba(15, 23, 42, 0.8) 100%);
  --grad-cta: linear-gradient(135deg, #0284c7 0%, #00f0ff 50%, #b026ff 100%);

  /* Tipografia */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Cores de Texto */
  --text-pure: #ffffff;
  --text-bright: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  /* Sombras e Iluminação */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.6);
  --glow-cyan: 0 0 30px rgba(0, 240, 255, 0.25);
  --glow-purple: 0 0 30px rgba(176, 38, 255, 0.25);
  --glow-dual: 0 0 35px rgba(0, 240, 255, 0.2), 0 0 45px rgba(176, 38, 255, 0.2);

  /* Transições Suaves */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset e Configurações Globais --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

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

/* Canvas Dinâmico de Nós */
#nodes-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

/* Container Principal */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* --- Tipografia & Destaques --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-pure);
}

.gradient-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

.highlight-neon {
  color: var(--cyan-neon);
  text-shadow: 0 0 16px rgba(0, 240, 255, 0.4);
}

.highlight-cyan {
  color: var(--cyan-neon);
}

/* --- Botões de Ação --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  position: relative;
  white-space: nowrap;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #00f0ff 60%, #a855f7 100%);
  color: #06080d;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.55), 0 0 20px rgba(176, 38, 255, 0.4);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-bright);
  border: 1px solid var(--border-metallic);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.btn-card {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-bright);
  border: 1px solid var(--border-subtle);
  width: 100%;
  padding: 12px 20px;
  font-size: 0.95rem;
  margin-top: 20px;
  justify-content: space-between;
}

.btn-card:hover {
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.15), rgba(176, 38, 255, 0.15));
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  transform: translateY(-2px);
}

.btn-card .arrow {
  transition: transform var(--transition-fast);
}

.btn-card:hover .arrow {
  transform: translateX(5px);
}

.btn-lg {
  padding: 18px 38px;
  font-size: 1.15rem;
  border-radius: 14px;
}

/* --- Barra de Navegação (Navbar) --- */
.navbar-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 8, 13, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

.brand-logo {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 240, 255, 0.3));
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--cyan-neon);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-item:hover {
  color: var(--text-pure);
}

.nav-item:hover::after {
  width: 100%;
}

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

.btn-nav {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Botão Hamburger Mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-bright);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* --- Hero Section --- */
.hero-section {
  padding: 160px 0 100px 0;
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan-bright);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--cyan-neon);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan-neon);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px var(--cyan-neon); }
  100% { transform: scale(0.95); opacity: 0.7; }
}

.hero-title {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 600px;
}

.hero-description strong {
  color: var(--text-bright);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Estatísticas Rápidas do Hero */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  max-width: 580px;
}

.stat-card {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--cyan-neon);
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-subtle);
  font-weight: 500;
  margin-top: 4px;
}

/* --- Showcase Visual 3D do Hero --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.badge-showcase-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: var(--grad-titanium);
  border: 2px solid var(--border-metallic);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--glow-dual);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-normal);
}

.badge-showcase-card:hover {
  transform: translateY(-6px);
}

.showcase-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(176, 38, 255, 0.1) 40%, transparent 70%);
  z-index: -1;
  filter: blur(20px);
  pointer-events: none;
}

.system-status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--cyan-bright);
  font-weight: 600;
  margin-bottom: 16px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.showcase-image-wrapper {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.showcase-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.badge-showcase-card:hover .showcase-image {
  transform: scale(1.02);
}

/* Chips Flutuantes */
.floating-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(13, 18, 30, 0.9);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(14px);
  padding: 12px 18px;
  border-radius: 16px;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 240, 255, 0.2);
  animation: floatAnim 4s ease-in-out infinite alternate;
  z-index: 10;
}

.chip-top {
  top: 15%;
  left: -25px;
  animation-delay: 0s;
}

.chip-bottom {
  bottom: 8%;
  right: -25px;
  animation-delay: 2s;
  border-color: var(--border-purple);
  box-shadow: var(--shadow-lg), 0 0 20px rgba(176, 38, 255, 0.2);
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-10px); }
}

.chip-icon {
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.chip-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-pure);
}

.chip-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Cabeçalhos de Seções Genéricos --- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

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

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cyan-neon);
  margin-bottom: 12px;
  background: rgba(0, 240, 255, 0.08);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Seção de Comparativo --- */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.comparison-card {
  padding: 40px;
  border-radius: 24px;
  background: var(--bg-glass-card);
  backdrop-filter: blur(16px);
  position: relative;
  transition: transform var(--transition-normal);
}

.card-negative {
  border: 1px solid rgba(239, 68, 68, 0.25);
  background: linear-gradient(180deg, rgba(30, 20, 25, 0.4) 0%, rgba(15, 10, 15, 0.7) 100%);
}

.card-positive {
  border: 1px solid var(--border-highlight);
  background: linear-gradient(180deg, rgba(14, 30, 48, 0.5) 0%, rgba(13, 18, 30, 0.8) 100%);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.1);
}

.card-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.badge-negative {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge-positive {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.comparison-heading {
  font-size: 1.6rem;
  margin-bottom: 28px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.comparison-list strong {
  color: var(--text-bright);
}

.list-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: bold;
  margin-top: 2px;
}

.icon-cross {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.icon-check {
  background: rgba(0, 240, 255, 0.2);
  color: var(--cyan-neon);
}

/* --- Seção de Serviços --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  position: relative;
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 240, 255, 0.15);
}

.service-featured {
  border-color: var(--border-highlight);
  background: linear-gradient(160deg, rgba(18, 32, 54, 0.7) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
}

.service-featured:hover {
  box-shadow: 0 16px 40px rgba(0, 240, 255, 0.25), 0 0 30px rgba(176, 38, 255, 0.2);
}

.featured-ribbon {
  position: absolute;
  top: 20px;
  right: -32px;
  background: var(--grad-primary);
  color: #06080d;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 40px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(0, 240, 255, 0.4);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(176, 38, 255, 0.15) 100%);
  border: 1px solid var(--border-metallic);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--cyan-neon);
}

.service-svg {
  width: 28px;
  height: 28px;
}

.service-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cyan-bright);
  margin-bottom: 8px;
}

.service-title {
  font-size: 1.45rem;
  margin-bottom: 20px;
  min-height: 54px;
}

.service-pain-box {
  background: rgba(239, 68, 68, 0.06);
  border-left: 3px solid #ef4444;
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 16px;
}

.pain-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f87171;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.pain-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.service-benefit-box {
  background: rgba(0, 240, 255, 0.06);
  border-left: 3px solid var(--cyan-neon);
  padding: 12px 16px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
}

.benefit-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-bright);
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.benefit-text {
  font-size: 0.88rem;
  color: var(--text-bright);
  line-height: 1.4;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: auto;
  padding-bottom: 24px;
}

.service-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-features li::before {
  content: '▸';
  color: var(--cyan-neon);
  font-weight: bold;
}

/* --- Seção Simulador de ROI --- */
.calculator-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-metallic);
  border-radius: 32px;
  padding: 50px;
  box-shadow: var(--shadow-lg), var(--glow-cyan);
  backdrop-filter: blur(20px);
}

.calculator-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.calculator-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.control-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan-neon);
}

/* Slider Customizado */
.slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  transition: background var(--transition-fast);
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cyan-neon);
  cursor: pointer;
  box-shadow: 0 0 12px var(--cyan-neon);
  border: 3px solid #06080d;
  transition: transform var(--transition-fast);
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* Painel de Resultados do Simulador */
.results-box {
  background: linear-gradient(160deg, rgba(14, 25, 45, 0.8) 0%, rgba(9, 14, 25, 0.95) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  position: relative;
}

.results-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--purple-light);
  background: rgba(176, 38, 255, 0.15);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.result-metric {
  margin-bottom: 24px;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.metric-value-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.metric-currency {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-bright);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.metric-unit {
  font-size: 0.95rem;
  color: var(--text-subtle);
}

.highlight-neon {
  color: var(--purple-light);
  text-shadow: 0 0 20px rgba(176, 38, 255, 0.4);
}

.metric-annual {
  font-size: 0.85rem;
  color: var(--cyan-bright);
  margin-top: 4px;
  font-weight: 600;
}

.result-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 20px 0;
}

.results-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.btn-calc-cta {
  width: 100%;
}

/* --- Metodologia em 4 Passos --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px 24px;
  position: relative;
  transition: transform var(--transition-normal);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- Perguntas Frequentes (FAQ) --- */
.faq-container {
  max-width: 860px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-metallic);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 26px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-pure);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--cyan-neon);
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 350px;
  padding: 0 26px 24px 26px;
}

.faq-answer strong {
  color: var(--text-bright);
}

/* --- Seção Final de Conversão --- */
.final-cta-card {
  position: relative;
  background: linear-gradient(135deg, rgba(14, 25, 45, 0.9) 0%, rgba(9, 13, 22, 0.95) 100%);
  border: 2px solid var(--border-highlight);
  border-radius: 36px;
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--glow-dual);
}

.cta-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(176, 38, 255, 0.1) 50%, transparent 80%);
  filter: blur(50px);
  z-index: 0;
  pointer-events: none;
}

.final-cta-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.final-cta-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.final-cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.cta-direct-contact {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: var(--text-subtle);
}

.cta-direct-contact strong {
  color: var(--cyan-bright);
}

/* --- Rodapé (Footer) --- */
.footer {
  background: #040609;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 30px 0;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  height: 42px;
  width: auto;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-subtle);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 320px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-bright);
}

.footer-contact-item a {
  color: var(--cyan-bright);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact-item a:hover {
  text-decoration: underline;
}

.footer-icon {
  width: 18px;
  height: 18px;
  color: var(--cyan-neon);
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-pure);
}

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

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--cyan-neon);
}

.footer-compliance {
  font-size: 0.85rem;
  color: var(--text-subtle);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
  color: var(--text-subtle);
}

.footer-tech-tag {
  color: var(--cyan-bright);
}

/* --- Botão Flutuante de WhatsApp --- */
.whatsapp-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  animation: pulseWa 3s infinite;
}

.whatsapp-floating:hover {
  transform: scale(1.1);
  background: var(--whatsapp-hover);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.65);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-icon {
  width: 34px;
  height: 34px;
}

.wa-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-deep);
}

.wa-tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 18, 30, 0.95);
  border: 1px solid var(--border-highlight);
  backdrop-filter: blur(12px);
  padding: 8px 14px;
  border-radius: 12px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.whatsapp-floating:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

.wa-tooltip-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--whatsapp-green);
}

.wa-tooltip-text {
  font-size: 0.8rem;
  color: var(--text-bright);
}

/* --- Responsividade & Media Queries --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    margin: 0 auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calculator-body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(6, 8, 13, 0.98);
    backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 30px;
    gap: 24px;
    border-bottom: 1px solid var(--border-metallic);
    transform: translateY(-150%);
    transition: transform var(--transition-normal);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.95);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-item {
    font-size: 1.25rem;
    font-weight: 600;
  }

  .nav-toggle {
    display: flex;
  }

  .btn-nav {
    display: none;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .floating-chip {
    display: none;
  }

  .calculator-card {
    padding: 30px 20px;
  }
}

/* Acessibilidade: prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  #nodes-canvas {
    display: none;
  }
}
