/* =========================================
   Design System Tokens - Paleta Institucional
   ========================================= */
:root {
    --primary: #0A2B5E;
    --secondary: #1E88E5; 
    --neon-blue: #00D4FF; 
    --success: #2ECC71;   
    --dark: #101820;
    --light: #F8F9FA;
    
    --bg-darker: #0b1117;
    --text-gray: #A0AABF;
    --glass-bg: rgba(248, 249, 250, 0.03);
    --glass-border: rgba(248, 249, 250, 0.1);
}

body { background-color: var(--dark); color: var(--light); font-family: 'Inter', system-ui, -apple-system, sans-serif; overflow-x: hidden; }
.text-neon { color: var(--success); text-shadow: 0 0 10px rgba(46, 204, 113, 0.4); }
.text-gray { color: var(--text-gray); }
.text-danger { color: var(--secondary) !important; }
.section-padding { padding: 100px 0; }
.bg-darker { background-color: var(--bg-darker); }
.bg-gradient-cyber { background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }
.bg-cta { background: linear-gradient(180deg, var(--dark) 0%, var(--primary) 100%); }

/* Navbar e Botoes */
.glass-nav { background: rgba(16, 24, 32, 0.85); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border); transition: all 0.3s ease; }
.navbar-dark .navbar-nav .nav-link { color: var(--text-gray); font-weight: 500; }
.navbar-dark .navbar-nav .nav-link:hover { color: var(--success); }
.btn-neon { background: var(--success); color: var(--dark); border: none; font-weight: 600; box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3); transition: all 0.3s ease; }
.btn-neon:hover { background: #27ae60; box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5); transform: translateY(-2px); color: var(--dark); }
.btn-outline-cyber { background: rgba(30, 136, 229, 0.1); border: 1px solid var(--secondary); color: var(--light); font-weight: 600; transition: all 0.3s ease; }
.btn-outline-cyber:hover { background: var(--secondary); box-shadow: 0 0 15px rgba(30, 136, 229, 0.4); color: var(--light); transform: translateY(-2px); }

/* =========================================
   Hero Section e 3D Genérico
   ========================================= */
.hero-section { min-height: 100vh; padding-top: 80px; position: relative; overflow: hidden; background-color: var(--dark); }
.hero-bg-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center right; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, var(--dark) 0%, rgba(10, 43, 94, 0.8) 45%, transparent 100%); z-index: 2; }
.relative-z { position: relative; z-index: 10; }

.fog-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; z-index: 1; opacity: 0.35; pointer-events: none; }
.fog-layer { position: absolute; top: 0; left: -100%; width: 300%; height: 100%; background: transparent url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png') repeat-x; background-size: contain; animation: fogMove 60s linear infinite; }
.fog-layer-2 { background: transparent url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png') repeat-x; background-size: contain; animation: fogMove 40s linear infinite; opacity: 0.7; }
@keyframes fogMove { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-33.33%, 0, 0); } }

/* LEDs Hero */
.server-lights-container { position: absolute; top: 0; right: 0; width: 45%; height: 100%; z-index: 1; pointer-events: none; display: none; }
@media (min-width: 992px) { .server-lights-container { display: block; } }
.server-light { position: absolute; width: 5px; height: 5px; border-radius: 50%; animation: blinkLight infinite alternate; }
.light-1 { top: 11%; left: 33%; animation-duration: 0.5s; background-color: var(--neon-blue); box-shadow: 0 0 10px 3px var(--neon-blue); } 
.light-2 { top: 18%; left: 63%; animation-duration: 1.1s; background-color: var(--success); box-shadow: 0 0 10px 3px var(--success); }
.light-3 { top: 25%; left: 78%; animation-duration: 0.8s; background-color: var(--neon-blue); box-shadow: 0 0 10px 3px var(--neon-blue); }
.light-4 { top: 32%; left: 34%; animation-duration: 0.6s; background-color: var(--success); box-shadow: 0 0 10px 3px var(--success); }
.light-5 { top: 44%; left: 64%; animation-duration: 1.3s; background-color: var(--neon-blue); box-shadow: 0 0 10px 3px var(--neon-blue); }
.light-6 { top: 51%; left: 35%; animation-duration: 0.9s; background-color: var(--success); box-shadow: 0 0 10px 3px var(--success); }
@keyframes blinkLight { 0% { opacity: 0.2; transform: scale(0.7); } 100% { opacity: 1; transform: scale(1.4); } }

/* Cabos Hero */
.hero-floor-cables { position: absolute; bottom: 0; right: 0; width: 60%; height: 35%; z-index: 1; pointer-events: none; }
.hero-floor-cables svg { width: 100%; height: 100%; overflow: visible; }
.floor-light { fill: none; stroke-width: 3.5; vector-effect: non-scaling-stroke; filter: url(#floorGlow); stroke-linecap: round; stroke-dasharray: 15 100; animation: streamFloor linear infinite; }
.cable-blue { stroke: var(--secondary); } .cable-cyan { stroke: var(--neon-blue); } .cable-green { stroke: var(--success); }  
.f-delay-1 { animation-duration: 2.2s; } .f-delay-2 { animation-duration: 1.5s; } .f-delay-3 { animation-duration: 2.8s; } .f-delay-4 { animation-duration: 1.9s; } .f-delay-5 { animation-duration: 2.4s; } .f-delay-6 { animation-duration: 1.7s; }
@keyframes streamFloor { 100% { stroke-dashoffset: -115; } }

/* Cards Genéricos */
.relative-3d { perspective: 1000px; transform-style: preserve-3d; }
.card-3d { transition: transform 0.1s ease-out; transform-style: preserve-3d; }
.glass-card { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 16px; box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-top: 1px solid rgba(248, 249, 250, 0.2); }
.glass-card:hover { border-color: var(--secondary); }
.floating-dashboard { position: absolute; right: 5%; top: 20%; width: 300px; padding: 20px; background: rgba(10, 43, 94, 0.6); border: 1px solid var(--secondary); animation: float 6s ease-in-out infinite; }
.floating-seal { position: absolute; right: 25%; bottom: 15%; padding: 15px 25px; text-align: center; background: rgba(46, 204, 113, 0.1); border: 1px solid var(--success); animation: float 6s ease-in-out infinite reverse; }
@keyframes float { 0% { transform: translateY(0px) translateZ(50px); } 50% { transform: translateY(-20px) translateZ(80px); } 100% { transform: translateY(0px) translateZ(50px); } }
.progress-bar.bg-neon { background-color: var(--success) !important; }
.icon-box-danger i { color: var(--secondary); }
.cyber-input { background: rgba(16, 24, 32, 0.6); border: 1px solid var(--glass-border); color: var(--light); }
.cyber-input:focus { background: var(--dark); border-color: var(--secondary); box-shadow: 0 0 10px rgba(30, 136, 229, 0.2); color: var(--light); }

/* =========================================
   Seção Especialista (Foto)
   ========================================= */
.expert-photo-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 15px; margin-top: 20px; }
.expert-photo-wrapper::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 50%; border: 2px dashed var(--secondary); animation: spinBorder 25s linear infinite; }
.expert-photo-wrapper::after { content: ''; position: absolute; top: -12px; left: -12px; right: -12px; bottom: -12px; border-radius: 50%; border: 1px solid rgba(46, 204, 113, 0.3); animation: spinBorder 18s linear infinite reverse; }
.expert-photo { max-width: 320px; width: 100%; border-radius: 50%; position: relative; z-index: 2; box-shadow: 0 0 40px rgba(10, 43, 94, 0.6); border: 3px solid rgba(255, 255, 255, 0.05); }
@keyframes spinBorder { 100% { transform: rotate(360deg); } }
@media (max-width: 991px) { .expert-photo { max-width: 250px; } }

/* =========================================
   O Que Entregamos (Respiração e Pulse)
   ========================================= */
.delivery-card { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 30px; border-radius: 12px; height: 100%; transition: all 0.3s; position: relative; }
.delivery-card:hover { border-color: var(--success); transform: translateY(-10px) scale(1.02) !important; background: rgba(10, 43, 94, 0.2); z-index: 10; }
@keyframes floatIdle { 0% { transform: translateY(0px); } 50% { transform: translateY(-8px); } 100% { transform: translateY(0px); } }
.idle-float-1 { animation: floatIdle 4s ease-in-out infinite; }
.idle-float-2 { animation: floatIdle 5s ease-in-out infinite 1s; }
.idle-float-3 { animation: floatIdle 4.5s ease-in-out infinite 0.5s; }
.idle-float-4 { animation: floatIdle 5.5s ease-in-out infinite 1.5s; }

@keyframes pulseCardHighlight { 0% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: rgba(46, 204, 113, 0.3); } 100% { box-shadow: 0 0 35px rgba(46, 204, 113, 0.5); border-color: rgba(46, 204, 113, 0.9); } }
.card-highlight { animation: pulseCardHighlight 2s infinite alternate, floatIdle 5.5s ease-in-out infinite 1.5s; background: rgba(46, 204, 113, 0.03); }

/* =========================================
   NOVOS CARDS DE PLANOS (Adequação por Classe)
   ========================================= */
.plan-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 0; position: relative; overflow: hidden; height: 100%; box-shadow: 0 15px 35px rgba(0,0,0,0.4); }
.plan-badge { position: absolute; top: 25px; right: -40px; background: var(--success); color: var(--dark); font-weight: 900; font-size: 13px; padding: 6px 45px; transform: rotate(45deg); z-index: 5; box-shadow: 0 2px 15px rgba(46, 204, 113, 0.6); text-transform: uppercase; }
.plan-header { background: rgba(10, 43, 94, 0.4); padding: 30px 20px; border-bottom: 1px solid var(--glass-border); }
.plan-header h3 { color: var(--light); font-size: 2.2rem; font-weight: 800; margin-bottom: 5px; text-shadow: 0 0 15px rgba(30, 136, 229, 0.5); }
.plan-body { padding: 30px 20px 40px; }

.plan-reveal { position: absolute; bottom: -100%; left: 0; width: 100%; height: 100%; background: rgba(16, 24, 32, 0.95); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; padding: 30px 20px; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); z-index: 10; }
.plan-card:hover .plan-reveal { bottom: 0; }
.reveal-content { opacity: 0; transform: translateY(20px); transition: all 0.3s ease 0.2s; }
.plan-card:hover .reveal-content { opacity: 1; transform: translateY(0); }

.price-banner { background: rgba(30, 136, 229, 0.1); border: 1px solid var(--secondary); border-radius: 8px; padding: 15px; position: relative; overflow: hidden; }
.price-banner::before { content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%; background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent); transform: skewX(-20deg); animation: shine 3s infinite; }
@keyframes shine { 100% { left: 200%; } }
.price-label { display: block; color: var(--text-gray); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.price-value { color: var(--success); font-size: 1.6rem; font-weight: 800; text-shadow: 0 0 10px rgba(46, 204, 113, 0.3); }

/* =========================================
   TIMELINE DE IMPLANTAÇÃO (MÁGICA DOS ÍCONES ANIMADOS)
   ========================================= */
.timeline-container { position: relative; padding: 20px 0; }
.timeline-line { position: absolute; top: 30px; left: 0; right: 0; height: 2px; background: var(--glass-border); z-index: 0; }

.step-circle { 
    width: 60px; height: 60px; background: var(--primary); border: 2px solid var(--glass-border); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-size: 24px; font-weight: bold; color: var(--light); 
    position: relative; z-index: 2; overflow: hidden;
}

.step-number { position: absolute; }
.step-icon { position: absolute; color: var(--neon-blue); }

/* 
   A animação inteira dura 5 segundos (1s por card = 20% do tempo total).
   Aplicamos as keyframes para cada um dos 5 steps usando as classes step-anim-1 até 5.
*/

/* --- STEP 1: Diagnóstico (Lupa) --- */
.step-anim-1 .step-circle { animation: borderGlow1 5s infinite; }
.step-anim-1 .step-number { animation: numAnim1 5s infinite; }
.step-anim-1 .step-icon { animation: iconAnim1 5s infinite; }

@keyframes borderGlow1 { 
    0%, 20% { box-shadow: 0 0 25px var(--neon-blue), inset 0 0 10px var(--neon-blue); border-color: var(--neon-blue); } 
    22%, 100% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
}
@keyframes numAnim1 {
    0%, 20% { opacity: 0; transform: scale(0.5); }
    22%, 98% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; }
}
@keyframes iconAnim1 {
    0% { opacity: 0; transform: scale(0.5); }
    2% { opacity: 1; transform: scale(1) translate(-2px, -2px); }
    10% { opacity: 1; transform: scale(1) translate(4px, 4px); } /* Movimento da Lupa */
    18% { opacity: 1; transform: scale(1) translate(-2px, 2px); }
    20%, 100% { opacity: 0; transform: scale(0.5); }
}

/* --- STEP 2: Plano (Assinatura/Caneta) --- */
.step-anim-2 .step-circle { animation: borderGlow2 5s infinite; }
.step-anim-2 .step-number { animation: numAnim2 5s infinite; }
.step-anim-2 .step-icon { animation: iconAnim2 5s infinite; }

@keyframes borderGlow2 { 
    0%, 18% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
    20%, 40% { box-shadow: 0 0 25px var(--neon-blue), inset 0 0 10px var(--neon-blue); border-color: var(--neon-blue); } 
    42%, 100% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
}
@keyframes numAnim2 {
    0%, 18% { opacity: 1; transform: scale(1); }
    20%, 40% { opacity: 0; transform: scale(0.5); }
    42%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes iconAnim2 {
    0%, 20% { opacity: 0; transform: scale(0.5); }
    22% { opacity: 1; transform: scale(1) rotate(0deg); }
    30% { opacity: 1; transform: scale(1) rotate(-20deg); } /* Movimento de Escrever */
    38% { opacity: 1; transform: scale(1) rotate(15deg); }
    40%, 100% { opacity: 0; transform: scale(0.5); }
}

/* --- STEP 3: Implantação (Engrenagem) --- */
.step-anim-3 .step-circle { animation: borderGlow3 5s infinite; }
.step-anim-3 .step-number { animation: numAnim3 5s infinite; }
.step-anim-3 .step-icon { animation: iconAnim3 5s infinite; }

@keyframes borderGlow3 { 
    0%, 38% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
    40%, 60% { box-shadow: 0 0 25px var(--neon-blue), inset 0 0 10px var(--neon-blue); border-color: var(--neon-blue); } 
    62%, 100% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
}
@keyframes numAnim3 {
    0%, 38% { opacity: 1; transform: scale(1); }
    40%, 60% { opacity: 0; transform: scale(0.5); }
    62%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes iconAnim3 {
    0%, 40% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    42% { opacity: 1; transform: scale(1) rotate(45deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); } /* Rotação contínua da engrenagem */
    58% { opacity: 1; transform: scale(1) rotate(315deg); }
    60%, 100% { opacity: 0; transform: scale(0.5) rotate(360deg); }
}

/* --- STEP 4: Evidências (Shield/Logs) --- */
.step-anim-4 .step-circle { animation: borderGlow4 5s infinite; }
.step-anim-4 .step-number { animation: numAnim4 5s infinite; }
.step-anim-4 .step-icon { animation: iconAnim4 5s infinite; }

@keyframes borderGlow4 { 
    0%, 58% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
    60%, 80% { box-shadow: 0 0 25px var(--neon-blue), inset 0 0 10px var(--neon-blue); border-color: var(--neon-blue); } 
    82%, 100% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
}
@keyframes numAnim4 {
    0%, 58% { opacity: 1; transform: scale(1); }
    60%, 80% { opacity: 0; transform: scale(0.5); }
    82%, 100% { opacity: 1; transform: scale(1); }
}
@keyframes iconAnim4 {
    0%, 60% { opacity: 0; transform: scale(0.5) translateY(10px); }
    62% { opacity: 1; transform: scale(1) translateY(0); }
    70% { opacity: 1; transform: scale(1.1) translateY(0); } /* Efeito de pop-up no Escudo */
    78% { opacity: 1; transform: scale(1) translateY(-5px); }
    80%, 100% { opacity: 0; transform: scale(0.5) translateY(-10px); }
}

/* --- STEP 5: Suporte (Helpdesk) --- */
.step-anim-5 .step-circle { animation: borderGlow5 5s infinite; }
.step-anim-5 .step-number { animation: numAnim5 5s infinite; }
.step-anim-5 .step-icon { animation: iconAnim5 5s infinite; }

@keyframes borderGlow5 { 
    0%, 78% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.1); border-color: var(--glass-border); } 
    80%, 100% { box-shadow: 0 0 25px var(--neon-blue), inset 0 0 10px var(--neon-blue); border-color: var(--neon-blue); } 
}
@keyframes numAnim5 {
    0%, 78% { opacity: 1; transform: scale(1); }
    80%, 100% { opacity: 0; transform: scale(0.5); }
}
@keyframes iconAnim5 {
    0%, 80% { opacity: 0; transform: scale(0.5); }
    82% { opacity: 1; transform: scale(1) rotate(-10deg); }
    90% { opacity: 1; transform: scale(1) rotate(15deg); } /* Movimento lateral simulando fala no headset */
    98% { opacity: 1; transform: scale(1) rotate(-10deg); }
    100% { opacity: 0; transform: scale(0.5); }
}

/* =========================================
   Outros Componentes Base
   ========================================= */
.accordion-cyber .accordion-item { background: transparent; border: 1px solid var(--glass-border); margin-bottom: 10px; border-radius: 8px !important; }
.accordion-cyber .accordion-button { background: var(--glass-bg); color: var(--light); box-shadow: none; border-radius: 8px !important; }
.accordion-cyber .accordion-button:not(.collapsed) { background: rgba(30, 136, 229, 0.1); color: var(--secondary); border-bottom: 1px solid var(--glass-border); }
.accordion-cyber .accordion-button::after { filter: invert(1); }

.float-whatsapp { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: var(--success); color: var(--dark); border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 15px rgba(0,0,0,0.5); z-index: 100; transition: transform 0.3s; }
.float-whatsapp:hover { transform: scale(1.1); color: var(--dark); }
.my-float { margin-top: 15px; }

.lgpd-banner { border-top: 1px solid var(--secondary); }

/* Animação Cabos O Problema (Seção 2) */
.data-cables-overlay { position: absolute; top: -80px; left: 0; width: 100%; height: 250px; z-index: 0; pointer-events: none; }
.data-cables-overlay svg { width: 100%; height: 100%; overflow: visible; }
.cable-bg { fill: none; stroke: rgba(30, 136, 229, 0.08); stroke-width: 2; vector-effect: non-scaling-stroke; }
.cable-light { fill: none; stroke-width: 3.5; vector-effect: non-scaling-stroke; filter: url(#neonGlowCards); stroke-linecap: round; stroke-dasharray: 25 150; animation: streamData linear infinite; }
.t-delay-1 { animation-duration: 2.5s; } .t-delay-2 { animation-duration: 1.8s; } .t-delay-3 { animation-duration: 3.2s; } .t-delay-4 { animation-duration: 2.1s; }
@keyframes streamData { 100% { stroke-dashoffset: -175; } }

.mobile-data-stream { position: absolute; top: -100px; bottom: 0; left: 50%; width: 2px; background: rgba(30, 136, 229, 0.1); z-index: 0; transform: translateX(-50%); }
.mobile-data-stream::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 150px; background: var(--success); box-shadow: 0 0 20px 5px var(--success); animation: streamDown 4s linear infinite; }
@keyframes streamDown { 0% { top: -100px; opacity: 0; } 5% { opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }