/* ============================ */
/* 📱 RESPONSIVIDADE E MENU MOBILE */
/* ============================ */

/* --- Até 768px: Menu Hambúrguer e Navegação Mobile --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .navegacao {
        display: none;
        flex-direction: column;
        background-color: #141D2A;
        position: absolute;
        top: 5rem;
        right: 0;
        width: 100%;
        padding: 0.6rem;
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
    }

    .navegacao.ativo {
        display: flex;
    }

    .ancora-top {
        font-size: 1.25rem;
    }

    .ancora-top:active {
        background-color: rgba(255, 165, 0, 0.2);
        transform: scale(0.98);
        border-radius: 0.3rem;
        border: solid 1px #fff;
    }


    .text-about {
        display: none;
    }

    .text-about.active {
        display: block;
    }

}

/* --- Até 480px: Ajustes gerais mobile --- */
@media (max-width: 480px) {
    .title-unil {
        display: none;
    }

    .unil_logo {
        display: block;
        width: 5rem;
        height: 5rem;
    }

    .title-fundo {
        font-size: 2.5rem;
        margin-left: 0.6rem;
    }

    .subtitle-fundo {
        width: auto;
        font-size: 1.4rem;
        font-weight: 400;
        margin-left: 0.6rem;
    }

    .botaoSiteTopo {
        width: auto;
        align-items: center;
    }

    .acesso-site {
        width: 12.5rem;
        height: 3.1rem;
        margin: 1.9rem 0 0 1.9rem;
        font-size: 1.25rem;
    }

    .about {
        height: 37.5rem;
        background-image: none;
        padding-left: 0;
    }

    .informacao-banner {
        width: 100%;
        max-width: 30rem;
        justify-content: center;
        padding: 0 0.625rem;
        box-sizing: border-box;
    }

    .text-about {
        left: 0;
    }

    .text-about.active {
        width: auto;
    }

    .title-about {
        font-size: 1.875rem;
    }

    .subtitle-about {
        font-family: 'Roboto', sans-serif;
        font-size: 0.9375rem;
        margin-left: 25px;
    }

    .title-produtos {
        font-size: 3rem;
    }

    .icone-produtos {
        width: 70px;
        height: 70px;
    }

    .subtitle-produtos {
        font-size: 20px;
    }

    .lista-itens {
        padding: 5px;
        gap: 10px;
    }

    .lista-itens li {
        padding: 5px;
    }

    .carousel {
        position: relative;
        width: 100%;
        height: 23.75rem;
    }

    .homem_pc {
        width: 100%;
        height: 150px;
    }

    .informacao-cursos {
        width: auto;
        height: 150px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 10px;
    }

    .title-fundo-cursos {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0px;
        padding-top: 20px;
    }

    .subtitle-fundo-cursos {
        font-family: var(--fonte-principal);
        font-size: 15px;
        font-weight: 400;
        margin: 0px;
    }

    .cursos {
        width: 200px;
        height: 300px;
        margin-bottom: 20px;
    }

    .img-cursos {
        width: 170px;
    }

    .btn-cursos {
        width: 150px;
        z-index: 2;
    }

    .ancora-cursos {
        font-size: 20px;
    }

    .title-card-cursos {
        display: none;
    }

    .img-card-cursos {
        width: 80px;
        height: 60px;
        padding: 10px 0 10px 0;
        z-index: 1;
    }

    .cursos_parceiros {
        flex-wrap: wrap;
        height: auto;
    }

    .cadastro {
        padding: 1.5625rem 0.9rem;
        width: auto;
        height: auto;
    }

    .entre-em-contato {
        display: flex;
        flex-direction: column-reverse;
        width: 100%;
        height: auto;
        padding-top: 3.125rem;
        padding-bottom: 3.125rem;
    }

    .conteudo {
        width: auto;
    }
}

/* --- Até 420px: Ajustes específicos --- */
@media (max-width: 420px) {
    #topo-navigation {
        height: 5rem;
        width: 100%;
    }

    .title-produtos {
        font-size: 3rem;
    }

    .title-card-cursos {
        display: none;
    }

    .cursos {
        width: 180px;
        height: 300px;
        margin-bottom: 10px;
    }


}

@media (max-width: 439px) {
    #topo-navigation {
        height: 5rem;
        width: 100%;
    }

    .title-produtos {
        font-size: 3rem;
    }

    .title-card-cursos {
        display: none;
    }

    .cursos {
        width: 180px;
        height: 300px;
        margin-bottom: 10px;
    }

}

/* --- A partir de 481px: Retorno ao padrão desktop --- */
@media (min-width: 481px) {
    .title-unil {
        display: block;
    }

    .unil_logo {
        display: none;
    }

    .img-card-cursos {
        display: none;
    }
}