/*
Theme Name: Impacto Digital
Theme URI: https://marketingdeimpacto.com
Author: Antigravity / DeepMind
Author URI: https://marketingdeimpacto.com
Description: Tema premium, moderno e exclusivo para a agência digital Marketing de Impacto.
Version: 1.0.0
Text Domain: impacto-digital
*/
/* Google Fonts carregadas via PHP (non-blocking) — removido @import render-blocking */

:root {
  --bg-dark: #050810;
  --bg-card: rgba(16, 22, 35, 0.4);
  --bg-glass: rgba(10, 15, 25, 0.65);
  
  --c-cyan: #00f2fe;
  --c-cyan-dim: rgba(0, 242, 254, 0.2);
  --c-blue: #4facfe;
  --c-green: #00E5A0;
  --c-green-dim: rgba(0, 229, 160, 0.15);
  --c-red: #ff3366;
  --c-red-dim: rgba(255, 51, 102, 0.15);
  
  --tx-white: #ffffff;
  --tx-main: #E2E8F0;
  --tx-muted: #828D9F;
  
  --f-sans: 'Outfit', sans-serif;
  --f-mono: 'Space Grotesk', monospace;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-b: 1px solid rgba(255, 255, 255, 0.05);
  --glass-b-hover: 1px solid rgba(255, 255, 255, 0.15);
  --rad-sm: 8px;
  --rad-md: 16px;
  --rad-lg: 24px;
}

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

/* Screen-reader only (acessibilidade) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100vw; }

body {
  font-family: var(--f-sans);
  background-color: var(--bg-dark);
  color: var(--tx-main);
  overflow-x: hidden;
  cursor: none; 
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--c-cyan-dim);
  color: var(--c-cyan);
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(135deg, var(--c-cyan), var(--c-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-green { color: var(--c-green); }
.text-red { color: var(--c-red); }
.text-muted { color: var(--tx-muted); }
.text-center { text-align: center; }

h1, h2, h3, h4 { font-family: var(--f-mono); font-weight: 700; color: var(--tx-white); letter-spacing: -1px; }

/* Layout Utilities */
.container { max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.relative { position: relative; }
.z-10 { position: relative; z-index: 10; }
.flex-bw { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 2rem; }
.mt-m { margin-top: 1.5rem; }
.mt-l { margin-top: 3rem; }
.mt-xl { margin-top: 5rem; }
.w-full { width: 100%; }

/* Buttons & Elements */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--f-mono); font-size: 14px; font-weight: 600; text-decoration: none;
  border-radius: var(--rad-sm); padding: 14px 28px; cursor: none;
  transition: all 0.3s var(--ease);
}
.btn-primary { background: var(--tx-white); color: var(--bg-dark); border: none; }
.btn-primary:hover { background: var(--c-cyan); transform: translateY(-2px); }
.btn-glow { box-shadow: 0 0 20px rgba(0, 242, 254, 0.3); }

.btn-ghost { background: transparent; color: var(--tx-main); border: var(--glass-b); }
.btn-ghost:hover { border-color: var(--c-cyan); color: var(--c-cyan); background: var(--c-cyan-dim); }

.btn-nav { padding: 10px 20px; font-size: 13px; background: rgba(255,255,255,0.05); color: var(--tx-white); border: var(--glass-b); }
.btn-nav:hover { background: var(--c-green); color: var(--bg-dark); border-color: var(--c-green); }

.tag-group { display: flex; gap: 8px; margin-top: 1.5rem; flex-wrap: wrap; }
.tag { font-size: 11px; padding: 4px 10px; background: rgba(255,255,255,0.04); border-radius: 20px; border: var(--glass-b); color: var(--tx-muted); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: 1px; }

/* Custom Cursor */
.cursor-dot, .cursor-outline {
  position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: 9999;
}
.cursor-dot { width: 6px; height: 6px; background-color: var(--c-cyan); transition: width 0.2s, height 0.2s; }
.cursor-outline { width: 40px; height: 40px; border: 1px solid var(--c-cyan-dim); transition: width 0.2s, height 0.2s, background 0.2s; }

/* Ambient Glassmorphism */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--glass-b);
  border-radius: var(--rad-lg);
}

.ambient-glow {
  position: fixed; width: 600px; height: 600px; border-radius: 50%;
  filter: blur(120px); z-index: -1; pointer-events: none; opacity: 0.25;
}
.glow-1 { top: -100px; right: -100px; background: radial-gradient(circle, var(--c-cyan) 0%, transparent 60%); }
.glow-2 { bottom: -200px; left: -100px; background: radial-gradient(circle, var(--c-green) 0%, transparent 60%); }

#particleCanvas { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: -2; opacity: 0.4; }

/* Navigation */
.glass-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px 0; transition: all 0.4s var(--ease);
}
.glass-nav.scrolled {
  padding: 12px 0; background: rgba(5, 8, 16, 0.8);
  backdrop-filter: blur(12px); border-bottom: var(--glass-b);
}
.nav-container { display: flex; align-items: center; justify-content: space-between; max-width: 1240px; margin: 0 auto; padding: 0 5%; }
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--f-sans); font-weight: 800; text-decoration: none; }
.nav-logo-text { line-height: 1.15; font-size: 16px; display: flex; flex-direction: column; }
.nav-logo-text .logo-line1 { color: var(--tx-white); font-weight: 800; text-transform: none; }
.nav-logo-text .logo-line2 { color: var(--c-green); font-size: 19px; letter-spacing: 1px; font-weight: 800; }
.brand-icon { width: 32px; height: 32px; background: var(--bg-card); border: var(--glass-b); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 13px; color: var(--tx-muted); text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--tx-white); }

/* Section Base */
.section { padding: 120px 0; position: relative; }
.section-badge { display: inline-block; font-size: 11px; text-transform: uppercase; letter-spacing: 3px; font-family: var(--f-mono); color: var(--c-green); border: 1px solid var(--c-green-dim); background: rgba(0, 229, 160, 0.05); padding: 6px 16px; border-radius: 20px; margin-bottom: 24px; }
.section-title { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.05; max-width: 700px; }
.section-title em { font-style: normal; color: var(--tx-muted); font-weight: 400; }
.section-desc { font-size: 1.1rem; color: var(--tx-muted); max-width: 400px; line-height: 1.7; }
.rev-center { margin: 0 auto; text-align: center; }

/* Hero */
.hero-section { min-height: 100vh; display: flex; align-items: center; padding-top: 100px; overflow: hidden; position: relative; }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-title { font-size: clamp(3.5rem, 6vw, 5.5rem); line-height: 1; margin: 1.5rem 0; }
.hero-subtitle { font-size: 1.25rem; color: var(--tx-muted); max-width: 500px; margin-bottom: 3rem; }
.badge-tech { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-family: var(--f-mono); border: var(--glass-b); padding: 8px 16px; border-radius: 20px; background: var(--bg-card); }
.pulse-dot { width: 8px; height: 8px; background: var(--c-cyan); border-radius: 50%; box-shadow: 0 0 10px var(--c-cyan); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; transform: scale(1.2); } }
.hero-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

.hero-metrics { display: flex; gap: 2rem; margin-top: 5rem; align-items: center; }
.metric-val { display: block; font-size: 2rem; font-family: var(--f-mono); font-weight: 700; color: var(--tx-white); line-height: 1.2; }
.metric-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--tx-muted); }
.metric-divider { width: 1px; height: 40px; background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent); }

.hero-visual { position: relative; width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.hologram-orb { width: 70%; height: 70%; border-radius: 50%; border: 1px solid var(--c-cyan-dim); position: relative; animation: float 10s ease-in-out infinite; }
.hologram-orb::before, .hologram-orb::after { content: ''; position: absolute; inset: -20px; border-radius: 50%; border: 1px solid var(--c-green-dim); animation: spin 15s linear infinite; }
.hologram-orb::after { inset: 0px; border-color: rgba(255,255,255,0.05); animation-direction: reverse; animation-duration: 20s; }
@keyframes spin { 0% { transform: rotate3d(1, 1, 1, 0deg); } 100% { transform: rotate3d(1, 1, 1, 360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

.scroll-indicator { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; opacity: 0.5; }
.mouse { width: 24px; height: 36px; border: 2px solid var(--tx-muted); border-radius: 20px; position: relative; }
.mouse::before { content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--tx-muted); border-radius: 4px; animation: mouseScroll 1.5s infinite; }
@keyframes mouseScroll { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0; } }

/* Ticker */
.ticker-wrapper { padding: 20px 0; border-top: var(--glass-b); border-bottom: var(--glass-b); background: rgba(0,0,0,0.3); overflow: hidden; display: flex; white-space: nowrap; }
.ticker-track { display: inline-flex; animation: ticker 40s linear infinite; }
.ticker-item { font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; letter-spacing: 2px; color: var(--tx-main); padding: 0 3rem; display: flex; align-items: center; gap: 8px; }
.ticker-item span { color: var(--c-cyan); }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Diagnostico - Problema / Solução */
.diagnostic-grid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; overflow: hidden; }
.diag-col { padding: 4rem; }
.diag-dark { background: rgba(0,0,0,0.4); border-right: var(--glass-b); }
.diag-glass { background: rgba(0, 242, 254, 0.02); }
.diag-header { font-size: 1.5rem; margin-bottom: 2rem; }
.diag-list { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.diag-item { display: flex; gap: 1.5rem; align-items: flex-start; }
.diag-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--bg-card); border: var(--glass-b); }
.diag-icon svg { width: 20px; height: 20px; }
.diag-icon.red { color: var(--c-red); border-color: var(--c-red-dim); background: rgba(255,51,102,0.05); }
.diag-icon.green { color: var(--c-green); border-color: var(--c-green-dim); background: rgba(0,229,160,0.05); }
.diag-icon.cyan { color: var(--c-cyan); border-color: var(--c-cyan-dim); background: rgba(0,242,254,0.05); }
.diag-text { font-size: 15px; color: var(--tx-muted); line-height: 1.6; }
.diag-text strong { color: var(--tx-white); display: block; margin-bottom: 4px; font-family: var(--f-mono); }

/* Serviços / Grid 3D */
.grid-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 4rem; perspective: 1000px; }
.service-card { position: relative; background: var(--bg-card); border: var(--glass-b); border-radius: var(--rad-lg); padding: 3rem; transform-style: preserve-3d; transition: border-color 0.4s; }
.service-card:hover { border-color: rgba(255,255,255,0.15); }
.card-glow { position: absolute; inset: 0; border-radius: inherit; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.service-card:hover .card-glow { opacity: 1; box-shadow: inset 0 0 40px rgba(255,255,255,0.02); }
.sc-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; transform: translateZ(30px); }
.sc-icon { width: 56px; height: 56px; border-radius: 16px; background: rgba(0,0,0,0.3); border: var(--glass-b); display: flex; align-items: center; justify-content: center; }
.sc-icon svg { width: 24px; height: 24px; }
.sc-icon svg.cyan { color: var(--c-cyan); }
.sc-icon svg.green { color: var(--c-green); }
.sc-num { font-family: var(--f-mono); font-size: 12px; color: var(--tx-muted); }
.sc-title { font-size: 1.5rem; margin-bottom: 1rem; transform: translateZ(20px); }
.sc-desc { color: var(--tx-muted); font-size: 15px; transform: translateZ(10px); }
.service-card.featured { border-color: var(--c-cyan-dim); background: linear-gradient(180deg, rgba(16,22,35,0.8) 0%, rgba(0,242,254,0.05) 100%); }
.badge-featured { position: absolute; top: 1.5rem; right: 1.5rem; background: var(--c-cyan); color: var(--bg-dark); font-size: 10px; font-family: var(--f-mono); font-weight: 700; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; transform: translateZ(40px); }

/* Timeline Hover Process */
.process-timeline { position: relative; max-width: 800px; margin: 5rem auto 0; padding: 2rem 0; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: var(--glass-b); transform: translateX(-50%); }
.timeline-progress { position: absolute; left: 50%; top: 0; width: 1px; height: 0; background: linear-gradient(to bottom, var(--c-cyan), var(--c-green)); transform: translateX(-50%); transition: height 0.5s ease-out; }
.process-node { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4rem; position: relative; }
.process-node:last-child { margin-bottom: 0; }
.node-content { width: calc(50% - 40px); padding: 2.5rem; }
.process-node.right { flex-direction: row-reverse; }
.node-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-dark); border: 2px solid var(--tx-muted); color: var(--tx-muted); display: flex; align-items: center; justify-content: center; font-family: var(--f-mono); font-weight: 700; position: absolute; left: 50%; transform: translateX(-50%); z-index: 2; transition: all 0.4s; }
.process-node.active .node-icon { border-color: var(--c-cyan); box-shadow: 0 0 20px var(--c-cyan-dim); color: var(--c-cyan); }
.node-tag { display: block; font-family: var(--f-mono); font-size: 12px; color: var(--c-green); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.node-content h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.node-content p { font-size: 14px; color: var(--tx-muted); }

/* Tecnologia Custom Grid */
.grid-tech { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.advanced-list { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.advanced-list li { display: flex; gap: 1rem; align-items: flex-start; }
.al-icon { padding: 12px; background: rgba(255,255,255,0.03); border: var(--glass-b); border-radius: 12px; color: var(--c-cyan); flex-shrink: 0; }
.al-icon svg { width: 22px; height: 22px; }
.advanced-list strong { display: block; margin-bottom: 4px; color: var(--tx-main); font-family: var(--f-mono); font-size: 15px; }
.advanced-list span { font-size: 14px; color: var(--tx-muted); display: block; line-height: 1.5; }

/* 3D Dashboard Mockup */
.tech-3d { position: relative; width: 100%; aspect-ratio: 1/1; transform-style: preserve-3d; }
.mockup-frame { position: absolute; inset: 20px; background: #0A0F1A; border: 1px solid rgba(0, 242, 254, 0.3); border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,0.5), inset 0 0 20px rgba(0, 242, 254, 0.05); transform: rotateX(15deg) rotateY(-15deg); }
.mockup-header { height: 32px; background: rgba(255,255,255,0.02); border-bottom: var(--glass-b); display: flex; align-items: center; padding: 0 16px; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot:nth-child(1) { background: #ff5f56; } .dot:nth-child(2) { background: #ffbd2e; } .dot:nth-child(3) { background: #27c93f; }
.mockup-url { margin-left: auto; margin-right: auto; font-family: var(--f-mono); font-size: 10px; color: var(--tx-muted); background: rgba(255,255,255,0.05); padding: 2px 20px; border-radius: 4px; }
.mockup-body { padding: 20px; }
.chart-mockup { height: 160px; background: rgba(255,255,255,0.02); border-radius: 8px; position: relative; padding: 20px; display: flex; flex-direction: column; justify-content: flex-end; border: var(--glass-b); }
.bar-flex { display: flex; gap: 10%; height: 100%; align-items: flex-end; z-index: 1; }
.bar { flex: 1; background: rgba(0, 229, 160, 0.1); border-top: 2px solid var(--c-green); border-radius: 2px 2px 0 0; }
.b1{height:40%} .b2{height:60%} .b3{height:35%} .b4{height:80%} .b5{height:50%} .b6{height:90%}
.line-graph { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.line-graph svg { width: 100%; height: 100%; }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.m-card { background: rgba(255,255,255,0.02); padding: 16px; border-radius: 8px; border: var(--glass-b); }
.m-card span { display: block; font-size: 11px; color: var(--tx-muted); text-transform: uppercase; margin-bottom: 4px; font-family: var(--f-mono); }
.m-card strong { font-size: 1.5rem; font-family: var(--f-mono); color: var(--c-cyan); }

.orbiter { position: absolute; width: 40px; height: 40px; background: var(--bg-dark); border: 1px solid var(--c-cyan); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-family: var(--f-mono); font-weight: 700; color: var(--tx-white); box-shadow: 0 0 15px rgba(0, 242, 254, 0.2); }
.orb1 { top: 10%; right: -20%; transform: translateZ(50px); animation: floatOrb 4s ease-in-out infinite; }
.orb2 { bottom: 20%; left: -10%; border-color: var(--c-green); color: var(--c-green); transform: translateZ(30px); animation: floatOrb 5s ease-in-out infinite reverse; box-shadow: 0 0 15px rgba(0, 229, 160, 0.2); }
.orb3 { top: -10%; left: 30%; border-color: var(--c-red); transform: translateZ(80px); animation: floatOrb 3s ease-in-out infinite; }
@keyframes floatOrb { 0%, 100% { transform: translateY(0) translateZ(50px); } 50% { transform: translateY(-15px) translateZ(50px); } }

/* CTA Terminal Window */
.cta-section { padding: 160px 0 80px; text-align: center; }
.cta-glow { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 800px; height: 400px; background: radial-gradient(ellipse, rgba(0, 242, 254, 0.1) 0%, transparent 60%); z-index: 0; }
.terminal-window { max-width: 680px; margin: 0 auto; background: rgba(5,8,12,0.8); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; overflow: hidden; backdrop-filter: blur(10px); text-align: left; box-shadow: 0 40px 80px rgba(0,0,0,0.6); }
.term-header { display: flex; align-items: center; padding: 12px 16px; background: rgba(255,255,255,0.02); border-bottom: 1px solid rgba(255,255,255,0.05); gap: 6px; position: relative; }
.term-header span { width: 10px; height: 10px; border-radius: 50%; background: #333; }
.term-title { position: absolute; left: 50%; transform: translateX(-50%); font-family: var(--f-mono); font-size: 11px; color: var(--tx-muted); }
.term-body { padding: 32px 40px; }
.term-log { font-family: var(--f-mono); font-size: 13px; color: var(--tx-muted); margin-bottom: 8px; }
.txt-g { color: var(--c-green); }
.term-h2 { font-size: 2.5rem; margin: 2rem 0 1rem; color: var(--tx-white); }
.term-p { font-size: 15px; color: var(--tx-muted); margin-bottom: 2.5rem; line-height: 1.6; }
.input-cli { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.cli-arrow { font-family: var(--f-mono); color: var(--c-cyan); font-weight: 700; font-size: 18px; }
.input-cli input { flex: 1; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--tx-white); font-family: var(--f-mono); font-size: 16px; padding: 8px 0; outline: none; transition: border-color 0.3s; }
.input-cli input:focus { border-color: var(--c-cyan); }
.term-form button { margin-top: 1rem; padding: 18px; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }

.success-message { display: none; margin-top: 1rem; font-family: var(--f-mono); font-size: 14px; color: var(--c-green); text-align: center; }
.term-form.submitting .success-message { display: block; animation: fadeIn 0.5s; }
.term-form.submitting button, .term-form.submitting .input-cli { display: none; }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }

.footer-links-grid { border-top: var(--glass-b); padding-top: 3rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem; }
.f-list { display: flex; gap: 24px; }
.f-list a { font-size: 14px; color: var(--tx-muted); text-decoration: none; transition: color 0.2s; }
.f-list a:hover { color: var(--tx-white); }
.f-copy { font-size: 12px; text-align: right; }

/* Reveal Animations */
.reveal, .reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease); }
.reveal.active, .reveal-up.active { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-container { padding: 0 16px; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
  .brand { gap: 8px; }
  .brand svg, .brand-icon { width: 28px; height: 28px; }
  .nav-logo-text { font-size: 13px; }
  .nav-logo-text .logo-line2 { font-size: 15px; }
  .btn-nav { padding: 8px 12px; font-size: 11px; width: auto; max-width: 100%; white-space: normal; text-align: center; }
  
  .hero-container { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 4rem); }
  .hero-actions, .hero-metrics { justify-content: center; }
  .hero-metrics { flex-direction: column; gap: 1.5rem; }
  .metric-divider { width: 100%; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent); }
  
  .diagnostic-grid { grid-template-columns: 1fr; }
  .diag-dark { border-right: none; border-bottom: var(--glass-b); }
  
  .grid-services { grid-template-columns: 1fr; }
  
  .node-content { width: calc(100% - 60px); padding: 1.5rem; margin-left: auto; }
  .timeline-line, .timeline-progress { left: 22px; }
  .process-node { flex-direction: row !important; }
  .node-icon { left: 22px; }
  
  .grid-tech { grid-template-columns: 1fr; }
  .mockup-frame { position: relative; inset: 0; transform: none !important; width: 100%; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
  .tech-3d { aspect-ratio: auto; }
  .orbiter { display: none; }
  
  .term-body { padding: 20px 16px; }
  .term-h2 { font-size: 1.8rem; }
  .term-form button { font-size: 13px; padding: 12px; }
  .input-cli input { font-size: 14px; width: 100%; }
  .input-cli { flex-direction: row; }
  
  .footer-links-grid { flex-direction: column; text-align: center; }
  .f-copy { text-align: center; }
  .f-list { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 400px) {
  .nav-container { flex-direction: column; justify-content: center; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 2.5rem); }
  .section-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
  .btn-nav { width: 100%; }
}

/* Lead Form Expandido */
.form-row-double { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
@media (max-width: 600px) { .form-row-double { grid-template-columns: 1fr; } }

.input-cli--select { align-items: flex-start; padding-top: 2px; }
.input-cli--select select {
  flex: 1; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--tx-main); font-family: var(--f-mono); font-size: 15px;
  padding: 8px 0; outline: none;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300f2fe' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center;
  cursor: pointer; transition: border-color 0.3s;
}
.input-cli--select select:focus { border-color: var(--c-cyan); }
.input-cli--select select option { background: #0A0F1A; color: var(--tx-main); }

.input-cli--textarea { align-items: flex-start; }
.input-cli--textarea textarea {
  flex: 1; background: transparent; border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--tx-main); font-family: var(--f-mono); font-size: 14px;
  padding: 8px 0; outline: none; resize: vertical; min-height: 60px;
  transition: border-color 0.3s; line-height: 1.5;
}
.input-cli--textarea textarea:focus { border-color: var(--c-cyan); }
.input-cli--textarea textarea::placeholder { color: rgba(255,255,255,0.3); }

.lead-feedback {
  min-height: 28px; font-family: var(--f-mono); font-size: 13px;
  border-radius: 6px; padding: 0; margin-bottom: 0;
  transition: all 0.4s var(--ease);
}
.lead-feedback.error  { color: var(--c-red);   padding: 10px 14px; background: var(--c-red-dim);   border: 1px solid var(--c-red); }
.lead-feedback.success { color: var(--c-green); padding: 10px 14px; background: var(--c-green-dim); border: 1px solid var(--c-green); }

/* ============================================================================
   PERFORMANCE: content-visibility for below-fold sections
   ============================================================================ */
#agencia-ia, #servicos, #processo, #tecnologia, #faq, #cobertura, #contato {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

/* Touch device cursor handling */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  .cursor-dot, .cursor-outline { display: none !important; }
  .btn, a, button, .tilt-card { cursor: pointer; }
}

/* ============================================================================
   FAQ SECTION
   ============================================================================ */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item:hover, .faq-item[open] {
  border-color: rgba(255,255,255,0.15);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 2rem;
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 15px;
  font-weight: 600;
  color: var(--tx-white);
  list-style: none;
  transition: color 0.3s;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; content: ''; }

.faq-question span { flex: 1; }

.faq-chevron {
  width: 20px;
  height: 20px;
  color: var(--c-cyan);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2rem 1.5rem;
  animation: faqSlide 0.3s var(--ease);
}
.faq-answer p {
  font-size: 15px;
  color: var(--tx-muted);
  line-height: 1.7;
  margin: 0;
}

@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================================
   GEO-SEO SECTION
   ============================================================================ */
.geo-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .geo-section { grid-template-columns: 1fr; gap: 2rem; }
}

.geo-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.geo-tag {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--tx-muted);
  background: var(--bg-card);
  border: var(--glass-b);
  border-radius: 20px;
  transition: all 0.3s var(--ease);
}
.geo-tag:hover {
  color: var(--tx-white);
  border-color: rgba(255,255,255,0.15);
}
.geo-tag--primary {
  color: var(--c-green);
  border-color: var(--c-green-dim);
  background: rgba(0,229,160,0.05);
  font-weight: 700;
}
.geo-tag--accent {
  color: var(--c-cyan);
  border-color: var(--c-cyan-dim);
  background: rgba(0,242,254,0.05);
  font-weight: 700;
}

/* ============================================================================
   FLOATING CONTACT WIDGET (WhatsApp + Telegram)
   ============================================================================ */
.float-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.float-contact.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: all 0.3s var(--ease);
  position: relative;
}
.float-btn:hover {
  transform: scale(1.12);
}

.float-btn--wa {
  background: #25D366;
  position: relative;
}
/* Pulse ring composited (GPU-friendly: transform + opacity only) */
.float-btn--wa::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.35);
  z-index: -1;
  animation: floatPulseGPU 2.5s ease-in-out infinite;
  will-change: transform, opacity;
}
@keyframes floatPulseGPU {
  0%, 100% { transform: scale(1);    opacity: 0.6; }
  50%      { transform: scale(1.45); opacity: 0; }
}
.float-btn--tg {
  background: #0088cc;
  width: 44px;
  height: 44px;
}
.float-btn--tg:hover {
  background: #006daa;
}
.float-btn--wa:hover {
  background: #1da851;
}

/* ============================================================================
   FOOTER CONTACT LINKS
   ============================================================================ */
.f-contact {
  display: flex;
  gap: 16px;
  align-items: center;
}
.f-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-family: var(--f-mono);
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
}
.f-contact-wa {
  color: #25D366;
  border-color: rgba(37,211,102,0.2);
}
.f-contact-wa:hover {
  background: rgba(37,211,102,0.1);
  border-color: #25D366;
}
.f-contact-tg {
  color: #0088cc;
  border-color: rgba(0,136,204,0.2);
}
.f-contact-tg:hover {
  background: rgba(0,136,204,0.1);
  border-color: #0088cc;
}

/* ============================================================================
   RESPONSIVE: New sections
   ============================================================================ */
@media (max-width: 900px) {
  .faq-question { padding: 1.25rem 1.5rem; font-size: 14px; }
  .faq-answer { padding: 0 1.5rem 1.25rem; }
  .faq-answer p { font-size: 14px; }

  .float-contact { bottom: 16px; right: 16px; }
  .float-btn--wa { width: 48px; height: 48px; }
  .float-btn--tg { width: 40px; height: 40px; }

  .f-contact { justify-content: center; }

  .footer-links-grid { flex-direction: column; text-align: center; }
  .f-copy { text-align: center; }
  .f-list { flex-wrap: wrap; justify-content: center; }
}

