@charset "UTF-8";

@media (max-width: 768px) {

    /* Menu */

    .logo img {
        height: 40px;
    }

    nav {
        position: absolute;
        top: 50px;
        right: 0;
        background: white;
        width: 100%;
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    nav a {
        display: block;
        padding: 15px;
        margin: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.801);
    }

    nav.active {
        max-height: 500px;
    }

    .hero {

        padding: 80px 0;
        text-align: center;
        min-height: 30vh; /* ocupa quase a tela toda */
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    /* Sobre */
    .sobre {
        flex-direction: column;
        text-align: center;
    }

    .sobre img {
        width: 220px;
    }

    .sobre-texto {
        text-align: center;
        font-weight: 600;
    }
    

    /* Cards */
    .cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%;
    }

    .sobre-moderno {
        flex-direction: column;
    }

    /* ================= MENU PREMIUM ================= */

nav {
    transition: all 0.4s ease;


/* MENU MOBILE / DROPDOWN */


  
    nav.active {
        max-height: 400px;
    }
}

/* ================= HAMBURGUER ================= */

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #111;
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.4s;
}

/* ANIMAÇÃO VIRAR X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px,6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px,-7px);
}

   
    /* ================= CARROSSEL MOBILE ================= */

.carrossel {
    width: 90%;
    
}



.carrossel-track {
    display: flex;
    width: 500%;
    animation: slideMobile 15s linear infinite;
}

.carrossel-track img {
    width: 100vw;
    height: 400px;
    object-fit: cover;
}
    
    /* Animação adaptada para mobile */
    @keyframes slideMobile {
        0% { transform: translateX(0); }
        20% { transform: translateX(0); }
    
        25% { transform: translateX(-100vw); }
        45% { transform: translateX(-100vw); }
    
        50% { transform: translateX(-200vw); }
        70% { transform: translateX(-200vw); }
    
        75% { transform: translateX(-300vw); }
        95% { transform: translateX(-300vw); }
    
        100% { transform: translateX(0); }
    }

    
    /* Vídeo */
    .video iframe {
        height: 220px;
    }

    /* Redes */
    .redes a {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .curso-capa img {
        width: 100%;
        max-width: 900px;
        height: 350px;
        object-fit: cover;
    
        border-radius: 40px;
        box-shadow: 0 25px 60px rgba(0,0,0,0.15);
        transition: 0.5s ease;
    }

    /* ===== CORREÇÃO GRID MOBILE ===== */
.produto-item:nth-child(2),
.produto-item:nth-child(3) {
    margin-top: 0;
}

.produtos-grid {
    gap: 30px;
    margin: 40px 0;
}

}

/* ================= TABLET ================= */
@media (min-width: 769px) and (max-width: 1023px) {

    /* HERO */
    .hero {
        min-height: 60vh;
        padding: 60px 20px;
        min-height: 70vh; /* ocupa quase a tela toda */
    }

    .hero h1 {
        font-size: 34px;
    }

    /* SOBRE */
    .sobre-moderno {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .sobre-texto {
        max-width: 700px;
    }

    /* CARROSSEL */
    .carrossel {
        width: 100%;
        max-width: 650px;
        margin: auto;
    }

    .carrossel-track img {
        width: 260px;
        height: 350px;
    }

    /* SERVIÇOS */
    .cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .card {
        width: 45%;
    }

    /* PRODUTOS */
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .produto-item:nth-child(2),
    .produto-item:nth-child(3) {
        margin-top: 0;
    }

    /* CURSO */
    .curso-capa img {
        height: 320px;
        max-width: 700px;
    }

    /* VIDEO */
    .video iframe {
        height: 350px;
    }

    /* FOOTER */
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: left;
    }

    .avaliacoes {
        padding: 25px 15px;
    }

    .avaliacoes h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .card-avaliacao {
        padding: 20px 15px;
        border-radius: 14px;
    }

    .estrelas {
        font-size: 1.4rem;
    }

    .nota {
        font-size: 0.95rem;
        line-height: 1.4;
        text-align: center;
    }

    .btn-google {
        width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 12px;
    }

    .google-logo {
        font-size: 1rem;
    }
}

@media (min-width: 1024px) {

    .hero {

        min-height: 70vh; /* ocupa quase a tela toda */


    }


}



