/* Correção dos tempos de animação - reduzindo atrasos pela metade */

/* Hero Section - Elementos principais */
.hero-badge,
.hero-title,
.hero-subtitle,
.hero-actions,
.trust-indicators {
    animation-duration: 0.6s; /* Reduzido de 0.8s */
}

/* Hero Section - Atrasos reduzidos */
.hero-badge {
    animation-delay: 0s; /* Sem atraso */
}

.hero-title {
    animation-delay: 0.05s; /* Reduzido de 0.1s */
}

.hero-subtitle {
    animation-delay: 0.1s; /* Reduzido de 0.2s */
}

.hero-actions {
    animation-delay: 0.15s; /* Reduzido de 0.3s */
}

.trust-indicators {
    animation-delay: 0.2s; /* Reduzido de 0.4s */
}

/* Seção de Serviços - Cards */
.service-card {
    animation: fadeInUp 0.4s ease-out forwards; /* Reduzido de 0.8s */
}

.service-card:nth-child(1) { animation-delay: 0.05s; } /* Reduzido de 0.1s */
.service-card:nth-child(2) { animation-delay: 0.1s; } /* Reduzido de 0.2s */
.service-card:nth-child(3) { animation-delay: 0.15s; } /* Reduzido de 0.3s */
.service-card:nth-child(4) { animation-delay: 0.2s; } /* Reduzido de 0.4s */
.service-card:nth-child(5) { animation-delay: 0.25s; } /* Reduzido de 0.5s */
.service-card:nth-child(6) { animation-delay: 0.3s; } /* Reduzido de 0.6s */

/* Seção de Tipos de Pesquisa - Cards */
.research-card {
    animation: fadeInUp 0.4s ease-out forwards; /* Reduzido de 0.6s */
}

.research-card:nth-child(1) { animation-delay: 0.05s; } /* Reduzido de 0.1s */
.research-card:nth-child(2) { animation-delay: 0.1s; } /* Reduzido de 0.2s */
.research-card:nth-child(3) { animation-delay: 0.15s; } /* Reduzido de 0.3s */

/* Seção de Diferenciais - Cards */
.differential-card {
    animation: fadeInUp 0.4s ease-out forwards; /* Reduzido de 0.8s */
}

.differential-card:nth-child(1) { animation-delay: 0.05s; }
.differential-card:nth-child(2) { animation-delay: 0.1s; }
.differential-card:nth-child(3) { animation-delay: 0.15s; }
.differential-card:nth-child(4) { animation-delay: 0.2s; }
.differential-card:nth-child(5) { animation-delay: 0.25s; }

/* Seção de Blog - Cards */
.blog-card {
    animation: fadeInUp 0.4s ease-out forwards;
}

.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.1s; }
.blog-card:nth-child(3) { animation-delay: 0.15s; }

/* Seção Introdução - Items */
.intro-item {
    animation: fadeInLeft 0.4s ease-out forwards; /* Reduzido de 0.8s */
}

.intro-item:nth-child(1) { animation-delay: 0.05s; }
.intro-item:nth-child(2) { animation-delay: 0.1s; }
.intro-item:nth-child(3) { animation-delay: 0.15s; }

/* Elementos visuais da hero */
.visual-item {
    animation: fadeInRight 0.4s ease-out forwards;
}

.visual-item:nth-child(1) { animation-delay: 0.1s; }
.visual-item:nth-child(2) { animation-delay: 0.15s; }

/* Floating elements - Reduzir atraso */
.floating-dashboard {
    animation-delay: 0.2s; /* Reduzido de 0.5s */
}

.float-element.element-1 {
    animation-delay: 0s; /* Sem atraso */
}

.float-element.element-2 {
    animation-delay: 0.1s; /* Reduzido de 0.2s */
}

.float-element.element-3 {
    animation-delay: 0.15s; /* Reduzido de 0.3s */

/* Transições gerais mais rápidas */
.btn,
.card,
.service-card,
.research-card,
.differential-card,
.blog-card {
    transition-duration: 0.2s; /* Reduzido de 0.3s */
}

/* Hover effects mais rápidos */
.service-card:hover,
.research-card:hover,
.differential-card:hover,
.blog-card:hover {
    transition-duration: 0.15s; /* Reduzido de 0.3s */
}

/* Animação de entrada para elementos com scroll */
.animate-on-scroll {
    animation-duration: 0.4s; /* Reduzido de 0.8s */
}

/* Reduzir atraso entre elementos animados */
.animate-on-scroll:nth-child(1) { animation-delay: 0s; }
.animate-on-scroll:nth-child(2) { animation-delay: 0.025s; } /* Reduzido de 0.05s */
.animate-on-scroll:nth-child(3) { animation-delay: 0.05s; } /* Reduzido de 0.1s */
.animate-on-scroll:nth-child(4) { animation-delay: 0.075s; } /* Reduzido de 0.15s */
.animate-on-scroll:nth-child(5) { animation-delay: 0.1s; } /* Reduzido de 0.2s */
.animate-on-scroll:nth-child(6) { animation-delay: 0.125s; } /* Reduzido de 0.25s */

/* Texto alternado - Reduzir tempo de transição */
.alt-text {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Reduzido de 0.8s */
}

/* Efeitos de brilho mais rápidos */
.btn-primary-premium::before {
    transition: left 0.25s; /* Reduzido de 0.5s */
}

.research-card::before,
.service-card::before,
.differential-card::before {
    transition: left 0.3s ease; /* Reduzido de 0.6s */
}

/* Animações de ícones mais rápidas */
.research-icon,
.service-icon,
.differential-icon {
    transition: all 0.15s ease; /* Reduzido de 0.3s */
}

/* Scroll indicator mais rápido */
.scroll-arrow {
    animation: bounce 1s infinite; /* Reduzido de 2s */
}

/* Pulse effects mais rápidos */
.pulse,
.pulse-premium {
    animation-duration: 1s; /* Reduzido de 2s */
}

/* Floating animations mais rápidas */
.floating-element {
    animation-duration: 4s; /* Reduzido de 6s */
}

.floatDashboard {
    animation-duration: 3s; /* Reduzido de 6s */
}

.floatElement {
    animation-duration: 4s; /* Reduzido de 8s */
}

/* Background animations mais rápidas */
.backgroundMove {
    animation-duration: 10s; /* Reduzido de 20s */
}

.floatShape {
    animation-duration: 10s; /* Reduzido de 20s */
}

/* Sparkle effect mais rápido */
.alt-text.active::after {
    animation: sparkle 1s ease-in-out infinite; /* Reduzido de 2s */
}

/* Bounce animation mais rápida */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Float animation mais rápida */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Reduzir tempo do alternador de texto */
.alternating-text {
    --display-duration: 2000ms; /* Reduzido de 3500ms */
    --transition-duration: 400ms; /* Reduzido de 800ms */
}

/* Aplicar configuração mais rápida via JavaScript */
window.addEventListener('DOMContentLoaded', function() {
    // Atualizar configuração do alternador de texto se existir
    if (window.textAlternator) {
        window.textAlternator.updateConfig({
            displayDuration: 2000, // Reduzido de 3500
            transitionDuration: 400 // Reduzido de 800
        });
    }
});

/* Media queries para mobile - ainda mais rápido */
@media (max-width: 768px) {
    .animate-on-scroll,
    .service-card,
    .research-card,
    .differential-card {
        animation-duration: 0.3s; /* Ainda mais rápido no mobile */
    }
    
    .animate-on-scroll:nth-child(n) {
        animation-delay: 0s; /* Sem atraso no mobile */
    }
}

