/* ===================================================================
   LG SOFTWARE SOB MEDIDA — ESTILOS PRINCIPAIS (DESIGN SYSTEM & UI)
   Inspirado no estilo minimalista, de alta tecnologia e 3D do Google Antigravity
   =================================================================== */

:root {
  /* Paleta de Cores Primária e Fundo */
  --bg-deep: #030712;
  --bg-surface: #0a0f1d;
  --bg-card: rgba(15, 23, 42, 0.65);
  --bg-card-hover: rgba(30, 41, 59, 0.75);
  
  /* Cores de Acento & Gradientes Google / Tech */
  --accent-cyan: #38bdf8;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(56, 189, 248, 0.15) 0%, transparent 70%);
  --gradient-border: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  
  /* Tipografia & Textos */
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font-sans);
  
  /* Bordas e Sombras */
  --border-light: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(56, 189, 248, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.25);
  
  /* Transições suaves */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-deep);
  color: var(--text-main);
}

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

/* Elementos de Iluminação Ambiente e Granulação */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

.glow-top {
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3), rgba(139, 92, 246, 0.15), transparent 70%);
}

.glow-bottom {
  bottom: 200px;
  left: -200px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.25), rgba(16, 185, 129, 0.1), transparent 70%);
}

/* Layout Utilitário */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

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

/* ==================== HEADER / NAVBAR ==================== */
.site-header {
  position: fixed;
  top: 1rem;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 15, 29, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text-main);
}

.logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

.logo-core {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--bg-deep);
  transform: rotate(45deg);
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--accent-cyan);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--transition-fast);
}

/* ==================== BOTÕES E AÇÕES ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #030712;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-large {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

/* ==================== HERO SECTION (ANTIGRAVITY 3D) ==================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 0 3rem;
  overflow: hidden;
}

.canvas-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto; /* Permite interação direta com Three.js */
}

#antigravity-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
  z-index: 2;
  pointer-events: none; /* Deixa cliques e eventos de mouse passarem para o 3D, reativando nos botões */
}

.hero-content {
  pointer-events: auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 1.5rem;
}

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

.badge-text {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
}

.tech-pill svg {
  width: 15px;
  height: 15px;
  color: var(--accent-cyan);
}

/* Painel HUD 3D no Hero */
.hero-3d-hud {
  display: flex;
  justify-content: flex-end;
  pointer-events: auto;
}

.hud-card {
  background: rgba(10, 15, 29, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  max-width: 320px;
  box-shadow: var(--shadow-subtle);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform var(--transition-smooth);
}

.hud-card:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  border-color: rgba(56, 189, 248, 0.35);
}

.hud-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-emerald);
  margin-bottom: 0.6rem;
}

.hud-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 1.8s infinite;
}

.hud-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.hud-metrics {
  display: flex;
  gap: 1.2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.metric-item {
  display: flex;
  flex-direction: column;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
}

.metric-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Barra de Estatísticas */
.stats-ribbon {
  margin-top: 4rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background: rgba(10, 15, 29, 0.5);
  backdrop-filter: blur(12px);
  padding: 1.5rem 0;
}

.stats-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

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

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-light);
}

/* ==================== SEÇÕES GERAIS ==================== */
.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 2;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 3.5rem;
  line-height: 1.7;
}

/* ==================== BENTO GRID / SOLUÇÕES ==================== */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  backdrop-filter: blur(16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.bento-card-large {
  grid-column: span 2;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bento-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12), transparent 70%);
  pointer-events: none;
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.6rem;
}

.card-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-violet);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: block;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
  letter-spacing: -0.01em;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.card-features li {
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

/* ==================== SEÇÃO INTERATIVA ANTIGRAVITY ==================== */
.interactive-box {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(10, 15, 29, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.2);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 0 60px rgba(56, 189, 248, 0.08);
}

.gravity-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.gravity-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.gravity-btn svg {
  width: 16px;
  height: 16px;
}

.gravity-btn:hover,
.gravity-btn.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--text-main);
}

.interactive-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.chip svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
}

/* Holograma Central 3D CSS */
.interactive-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.core-hologram {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.holo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.4);
  animation: rotateClockwise 20s linear infinite;
}

.holo-ring-1 {
  width: 100%;
  height: 100%;
  border-color: rgba(56, 189, 248, 0.3);
}

.holo-ring-2 {
  width: 78%;
  height: 78%;
  border: 1px dotted rgba(139, 92, 246, 0.5);
  animation-duration: 14s;
  animation-direction: reverse;
}

.holo-ring-3 {
  width: 55%;
  height: 55%;
  border: 1.5px solid rgba(16, 185, 129, 0.4);
  animation-duration: 8s;
}

.holo-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
}

.holo-center svg {
  width: 36px;
  height: 36px;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
  animation: floatSlow 3s ease-in-out infinite;
}

.holo-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

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

/* ==================== METODOLOGIA & PROCESSO ==================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-5px);
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.2rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

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

/* ==================== DIFERENCIAIS & TERMINAL ==================== */
.diff-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.diff-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2rem;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.diff-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-violet);
  flex-shrink: 0;
}

.diff-heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.diff-p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Terminal de Código */
.preview-terminal {
  background: #080c18;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.terminal-bar {
  background: #0f1628;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

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

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

.term-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-left: 0.5rem;
  font-family: monospace;
}

.terminal-code {
  padding: 1.5rem;
  font-family: 'Fira Code', monospace, Consolas, sans-serif;
  font-size: 0.85rem;
  line-height: 1.7;
  color: #e2e8f0;
  overflow-x: auto;
}

.c-comment { color: #64748b; font-style: italic; }
.c-keyword { color: #f43f5e; }
.c-var { color: #38bdf8; }
.c-prop { color: #93c5fd; }
.c-str { color: #34d399; }
.c-num { color: #f59e0b; }
.c-func { color: #c084fc; }

.terminal-footer {
  background: #0a0f1d;
  padding: 0.7rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.build-status {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--accent-emerald);
}

.build-status svg {
  width: 14px;
  height: 14px;
}

/* ==================== FORMULÁRIO DE CONTATO ==================== */
.contact-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(10, 15, 29, 0.95));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-group select option {
  background: #0d1322;
  color: var(--text-main);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.04);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 0.5rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.form-disclaimer svg {
  width: 14px;
  height: 14px;
}

.form-success {
  text-align: center;
  padding: 3rem 1rem;
}

.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
}

.success-icon svg {
  width: 32px;
  height: 32px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: #02040a;
  padding: 5rem 0 2.5rem;
  position: relative;
  z-index: 2;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
  max-width: 320px;
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-main);
}

.footer-nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-nav-group a,
.footer-nav-group span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-nav-group a:hover {
  color: var(--accent-cyan);
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-emerald) !important;
  font-size: 0.82rem !important;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--text-main);
}

/* ==================== ANIMAÇÕES ==================== */
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.65; }
}

@keyframes rotateClockwise {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* ==================== RESPONSIVIDADE ==================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-tech-pills {
    justify-content: center;
  }

  .hero-3d-hud {
    justify-content: center;
    margin-top: 2rem;
  }

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

  .bento-card-large {
    grid-column: span 1;
  }

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

  .diff-wrapper {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .site-header {
    top: 0.5rem;
  }

  .header-container {
    border-radius: var(--radius-md);
  }

  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: 1rem;
    right: 1rem;
    background: rgba(10, 15, 29, 0.95);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    display: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  }

  .nav-menu.is-active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .interactive-box {
    grid-template-columns: 1fr;
    padding: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
