/* ===================================
   EFEITOS VISUAIS E TRANSIÇÕES
   Arquivo adicional de melhorias visuais
   =================================== */

/* Badges sem animação (removido pulse-glow) */

/* Efeito parallax suave nos títulos */
.section-title,
.hero-title,
.instructor-title,
.courses-title,
.faq-title {
    transition: all 0.3s ease;
}

/* Smooth scroll behavior adicional */
html {
    scroll-behavior: smooth;
}

/* Efeito de destaque ao passar o mouse nos cards */
.product-card,
.course-card,
.structure-card,
.video-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card::before,
.course-card::before,
.structure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(253, 185, 21, 0.1) 0%, rgba(253, 185, 21, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.product-card:hover::before,
.course-card:hover::before,
.structure-card:hover::before {
    opacity: 1;
}

/* Animação de brilho nos ícones */
.structure-icon i,
.course-icon i {
    transition: all 0.3s ease;
}

.structure-card:hover .structure-icon i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-yellow);
    text-shadow: 0 0 20px rgba(253, 185, 21, 0.6);
}

.course-card:hover .course-icon i {
    transform: scale(1.1) rotate(5deg);
    color: #000000;
}

/* Efeito de float nos cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.course-card-featured {
    animation: float 3s ease-in-out infinite;
}

/* Efeito de shimmer no botão CTA */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.btn-instructor-cta,
.btn-online-cta,
.btn-modal-cta {
    background-size: 200% auto;
    position: relative;
    overflow: hidden;
}

.btn-instructor-cta::before,
.btn-online-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn-instructor-cta:hover::before,
.btn-online-cta:hover::before {
    left: 100%;
}

/* Efeito de typewriter nos títulos (sutil) */
.hero-subtitle {
    overflow: hidden;
    white-space: nowrap;
    animation: typing 2s steps(40, end) 0.5s both;
}

@keyframes typing {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 100%;
        opacity: 1;
    }
}

/* Efeito de bounce suave nos botões */
.btn-discover,
.btn-whatsapp-cta {
    animation: gentleBounce 2s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Efeito de revelação progressiva nas imagens */
.instructor-img,
.online-image,
.logo-img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.instructor-img:hover,
.online-image:hover {
    transform: scale(1.05);
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(253, 185, 21, 0.5));
}

/* Efeito de gradiente animado nos cards de curso */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.course-card-featured {
    background: linear-gradient(
        135deg,
        rgba(253, 185, 21, 0.1),
        rgba(30, 58, 138, 0.1),
        rgba(253, 185, 21, 0.1)
    );
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite, float 3s ease-in-out infinite;
}

/* Efeito de onda no hover dos vídeos - REMOVIDO */
/* .video-card {
    position: relative;
    overflow: hidden;
}

.video-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(253, 185, 21, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.video-card:hover::after {
    width: 300%;
    height: 300%;
} */

/* Contador animado (para futuras implementações) */
@keyframes counter {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeito de linha progressiva nos títulos */
.section-title::after,
.courses-title::after,
.faq-title::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-yellow), transparent);
    margin: 15px auto 0;
    transition: width 0.6s ease;
}

.section-title[data-aos].aos-animate::after,
.courses-title[data-aos].aos-animate::after,
.faq-title[data-aos].aos-animate::after {
    width: 100px;
}

/* Efeito de partículas no background (sutil) */
@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.6;
    }
}

/* Smooth transition para todos os elementos AOS */
[data-aos] {
    will-change: transform, opacity;
}

/* Otimização para performance */
.product-card,
.course-card,
.structure-card,
.video-card,
.faq-item {
    will-change: transform;
}

/* Efeito de revelação nos itens do FAQ */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer.active {
    max-height: 500px;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading animation para imagens */
img {
    transition: opacity 0.3s ease;
}

img:not([src]) {
    opacity: 0;
}

/* Scroll snap smoothness */
@media (min-width: 768px) {
    section {
        scroll-margin-top: 80px;
    }
}

/* Animação de entrada escalonada para listas */
.menu-list li,
.footer-links li,
.modal-list li {
    animation: fadeInUp 0.5s ease backwards;
}

.menu-list li:nth-child(1),
.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.menu-list li:nth-child(2),
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.menu-list li:nth-child(3),
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.menu-list li:nth-child(4),
.footer-links li:nth-child(4) { animation-delay: 0.4s; }
.menu-list li:nth-child(5),
.footer-links li:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para animações em mobile */
@media (max-width: 768px) {
    /* Reduzir intensidade das animações em mobile */
    .course-card-featured {
        animation: none;
    }
    
    .btn-discover,
    .btn-whatsapp-cta {
        animation: none;
    }
    
    /* Otimizar performance */
    .product-card::before,
    .course-card::before,
    .structure-card::before {
        display: none;
    }
}

/* Modo escuro (preparação futura) */
@media (prefers-color-scheme: dark) {
    /* Ajustes automáticos para modo escuro */
}

/* Acessibilidade - respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   FIM DAS ANIMAÇÕES
   =================================== */
