:root {
    --verde-escuro: #052e16;
}

body {
    font-family: 'Poppins', sans-serif;
}

.tail-container {
    max-width: 1280px;
    margin: 0 auto;
}

.sobre-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sobre-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px -15px rgb(16 185 129);
}

.card-img {
    height: 260px;
    background-size: cover;
    background-position: center;
    border-radius: 24px 24px 0 0;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&amp;display=swap');

:root {
    --verde-escuro: #052e16;
}

body {
    font-family: 'Poppins', sans-serif;
}

.tail-container {
    max-width: 1280px;
    margin: 0 auto;
}

.hero-bg {
    background-image: linear-gradient(rgba(5, 46, 22, 0.85), rgba(5, 46, 22, 0.75)), url('images/escola1.webp');
    background-size: cover;
    background-position: center;
}

.course-card {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.course-card:hover {
    transform: translateY(-20px) scale(1.03);
    box-shadow: 0 30px 60px -15px rgb(16 185 129);
}

.nav-link {
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #10b981;
    transition: width 0.3s ease;
}

.nav-link:hover:after {
    width: 100%;
}

.faq-question {
    transition: all 0.3s ease;
}

.carousel-track {
    transition: transform 0.6s cubic-bezier(0.32, 0.72, 0, 1);
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.price-badge {
    background: linear-gradient(135deg, #052e16, #10b981);
}

/* slideshow hero */
.hero-slideshow {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
    will-change: opacity;
}

.slide:nth-child(1) {
    opacity: 1;
    animation: slideShow 18s infinite;
}

.slide:nth-child(2) {
    animation: slideShow 18s infinite 6s;
}

.slide:nth-child(3) {
    animation: slideShow 18s infinite 12s;
}

@keyframes slideShow {
    0% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    25% {
        opacity: 1;
    }

    33% {
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ==================== TESTIMONIALS MELHORADOS ==================== */
.testimonial-card {
    background: #0a2a21;
    border: 1px solid #10b98130;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s ease;
    min-height: 380px;
    display: none;
}

.testimonial-card.active {
    display: block;
    animation: fadeInTestimonial 0.6s ease;
}

@keyframes fadeInTestimonial {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== ESTILO DO CHATBOT ==================== */
#chatbot-floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

#chatbot-window {
    box-shadow: 0 25px 50px -12px rgb(16 185 129 / 0.4);
}

.chat-message {
    animation: messagePop 0.3s ease;
}

@keyframes messagePop {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}