/* Transições mais suaves para elementos interativos */
a, button, input, .service-card {
    transition: 
        transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
        opacity 0.3s ease,
        box-shadow 0.3s ease;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}
.service-card:hover::before {
    opacity: 0.1;
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}


/*Diferenciais*/
.diferencial-card:hover {
    transform: scale(1.05);
}
/* Efeito de onda no botão CTA */
.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.cta-button:hover::after {
    animation: ripple 1s ease-out;
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.trust-item:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    animation: none;
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Definições de animações */
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(25, 25);
        opacity: 0;
    }
}

/* Efeito de flutuação suave */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Animações de fade */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease forwards;
}

/* Animações para o menu mobile */
/* Correção para o menu hamburguer */
.menu-toggle.active .hamburger {
    transform: rotate(45deg);
}

.menu-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(0);
}

.menu-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(90deg);
}

.nav.active {
    transform: translateX(0);
}


/* Correção para o FAQ */
.faq-question[aria-expanded="true"] + .faq-answer {
    padding: var(--space-xl) var(--space-lg) var(--space-lg);
    max-height: 500px;
}

.faq-answer {
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 0;
    overflow: hidden;
    padding: 0 var(--space-lg);
}

/* Animações para o popup de cookies */
.cookie-consent {
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.cookie-consent.active {
    transform: translateY(0);
    opacity: 1;
}


/* Animações para o perfil flutuante */
.floating-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 35px rgba(46, 125, 50, 0.15),
        0 10px 20px rgba(129, 212, 250, 0.25);
}


.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(129, 212, 250, 0.3);
}

.profile-badge {
    animation: pulse 2s infinite;
}

/* Animações para as seções */
.floating-profile-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(245, 245, 245, 0.98) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: 
        0 10px 30px rgba(46, 125, 50, 0.1),
        0 5px 15px rgba(129, 212, 250, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
    transform: translateY(0);
}

.floating-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 15px 35px rgba(46, 125, 50, 0.15),
        0 10px 20px rgba(129, 212, 250, 0.25);
}

.profile-bio p::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -3px;
}


.contact-item i,
.social-links a {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-item i:hover,
.social-links a:hover {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.faq-question {
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}