/* =============================================================================================
                              --- Código CSS para Desktop Grandes ---
============================================================================================= */
/* ------------------- IMPORTAR TIPOGRAFIAS -------------------- */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300..700&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

/* -------------------------- BANNER --------------------------- */
.banner {
    position: relative;
    background-image: url(../images/bg_banner.png);
    height: 700px;
    display: flex;
    align-items: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.text-banner {
    position: absolute;
    top: 25%; left: 10%;
    width: 650px;
    color: white;
}

.text-banner p:first-of-type {
    font-size: 2.4rem; font-family: 'Fredoka'; font-weight: 700;
}

.text-banner p:nth-of-type(2) {
    font-size: 1.1rem; font-family: 'Nunito'; font-weight: 700; 
    margin-top: 20px;
}

/* ------------------ INFORMAÇÕES DA ESCOLA -------------------- */
.escola {
    position: relative;
    width: var(--base-resolution-width);
    display: flex;
    justify-content: space-between; align-items: center;
    column-gap: 11vw;
    margin: 50px auto 0;
}

.icone-flutuante { position: absolute; }
.escola .icone-flutuante:nth-of-type(1) { width: 90px; top: -50px; left: -35px; }
.escola .icone-flutuante:nth-of-type(2) { width: 110px; bottom: 50px; left: -200px; }
.escola .icone-flutuante:nth-of-type(3) { width: 70px; top: -50px; right: calc(-20vw + 250px); }
.escola .icone-flutuante:nth-of-type(4) { width: 90px; bottom: -30px; right: 145px; }

.text-escola { width: 600px; }

.title {
    color: var(--third-color);
    font-size: 2.2rem; font-family: 'Fredoka'; font-weight: bold;
}

.desc {
    color: var(--third-color);
    font-size: 1.05rem; font-family: 'Nunito'; font-weight: 700;
    margin-top: 20px;
}

.desc p:not(:first-of-type) {
    margin-top: 10px;
}

.btn { display: inline-block; }

.btn-historia {
    background-color: var(--secondary-color);
    display: flex; 
    justify-content: center; align-items: center;
    font-family: 'Fredoka'; font-weight: bold;
    padding: 12px 35px; margin-top: 30px;
    border-radius: 50px;
}

.btn-historia a {
    color: var(--neutral-text-color);
    text-decoration: none;
}

.btn-historia a:hover {
    opacity: 1;
    color: var(--neutral-text-color);
    transition: 0.5s;
}

/* ----------------- CARTÕES DE INFO RÁPIDOS ------------------- */
section { position: relative; }
section .icone-flutuante:nth-of-type(1) { width: 115px; top: -50px; left: 30px; }
section .icone-flutuante:nth-of-type(2) { width: 80px; bottom: 50px; left: calc(-33vw + 380px); }
section .icone-flutuante:nth-of-type(3) { width: 120px; top: 30px; right: calc(-30vw + 440px); }
section .icone-flutuante:nth-of-type(4) { width: 65px; bottom: -85px; right: calc(-25vw + 305px); }

section:first-of-type {
    width: var(--base-resolution-width); 
    margin: auto;
}

.text-aleatorio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 80px;
}

.text-aleatorio p:nth-of-type(2) {
    text-align: center;
    width: 60%;
}

.sistema-ensino {
    display: flex; flex-flow: row wrap;
    justify-content: space-evenly;
    gap: 30px 40px;
    margin-top: 50px;
}

.item { 
    display: flex; align-items: center;
    column-gap: 30px;
    width: 31%;
}
.sistema-ensino .icon img { width: 50px; height: 50px; }
.sistema-ensino .item .title { font-size: 1.5rem; }
.sistema-ensino .item .desc { font-size: 1rem; margin-top: 10px; }

/* ------------------- BOLHAS DE INFORMACAO -------------------- */
.valores {
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubbles {
    display: flex;
    gap: 35px;
}

.bubble:nth-of-type(even) > img { margin-top: 50px; }

/* -------------------- TABELA DE CURSOS ----------------------- */
.educacao {
    padding: 40px 0 60px; margin-top: -60px;

    background-image: url(../images/bg_yellow_wave.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.educacao > div {
    width: var(--base-resolution-width);
    margin: auto;
    display: flex;
    justify-content: center; align-items: center;
    column-gap: 130px;
}

.icon-infantil img { width: 166px; }

.card { width: 400px; text-align: center; }
.card > div:nth-of-type(2) {
    background-color: white;
    padding: 80px 40px 20px; margin-top: -70px;
    border-radius: 20px;
}

.title-info { 
    color: var(--third-color);
    font-size: 1.8rem; font-family: 'Fredoka'; font-weight: bold;
}

.idade {
    color: var(--light-text-color);
    font-size: 1.3rem; font-family: 'Fredoka'; font-weight: bold;
    margin-top: 5px;
}

.lista > ul {
    display: flex; flex-flow: column wrap;
    justify-content: center; align-items: center;
    row-gap: 20px;
    margin-top: 20px;
}

.lista ul li { 
    display: flex; 
    justify-content: center; align-items: center;
    column-gap: 20px;
}
.lista .icon img { width: 35px; height: 35px; }

.list-item-texto {
    color: #00296B;
    font-family: 'Nunito'; font-weight: bold;
    text-align: left;
}
.list-item-texto p { font-size: 1.05rem; }
.lista .btn-historia { padding: 10px 45px; margin-top: 10px; }

/* ------------------------ MATRICULA -------------------------- */
.fotos-escola-matricula {
    background-image: url("../images/bg_black_line.png");
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;

    width: var(--base-resolution-width);
    background-size: 100% 100%;
    margin: auto;
}

.fotos { width: 170px; }
.foto { width: 220px; height: 190px; }
.foto img { width: 100%; height: 100%; border-radius: 15px; }

.fotos-escola-matricula .btn-historia { width: fit-content; margin: 30px auto 0; }

.hamburger-icon {
    display: none;
    /* Escondido no desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}


.hamburger-icon .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #00296B;
    /* Cor principal do seu site */
    transition: all 0.3s ease-in-out;
}

/* =============================================================================================
                             --- Media Query para Desktop Menores ---
============================================================================================= */
@media (max-width: 1366px) and (min-width: 981px) {
    /* -------------------------- BANNER --------------------------- */
    /* ------------------ INFORMAÇÕES DA ESCOLA -------------------- */
    .escola { column-gap: 5vw; }
    .escola .icone-flutuante:nth-of-type(4) { width: 85px; right: 30px; }
    .escola .img img { width: 40vw; max-width: 450px; }
    .text-aleatorio { margin-top: 70px; }

    .escola .icone-flutuante:nth-of-type(3) { display: none; }

    /* ----------------- CARTÕES DE INFO RÁPIDOS ------------------- */
    .item { width: 40%; }
    section .icone-flutuante:nth-of-type(1) { width: 115px; top: -35px; left: 15px; }
    section .icone-flutuante:nth-of-type(2) { display: none; }
    section .icone-flutuante:nth-of-type(3) { width: 120px; top: 30px; right: calc(-13vw + 180px); }
    section .icone-flutuante:nth-of-type(4) { bottom: -75px; right: calc(-5vw + 305px); }

    /* ------------------- BOLHAS DE INFORMACAO -------------------- */
    .valores { margin-top: 65px; }
    .valores > div:nth-of-type(1) img { width: 370px; }

    .bubbles { 
        gap: 1vw;
        margin-left: calc(-425px + 25vw);
        margin-top: -90px;
    }
    .bubbles img { width: 145px; }

    /* -------------------- TABELA DE CURSOS ----------------------- */
    .educacao { margin-top: -70px; }
    .educacao > div { column-gap: 6vw; }

    .card { width: 350px; }
    .card > div:nth-of-type(2) { padding: 80px 25px 20px; }

    /* ------------------------ MATRICULA -------------------------- */
    .fotos { width: 100px; }
    .fotos:first-of-type .foto:first-of-type {         
        width: 150px !important;
        height: 150px !important;
        margin-left: calc(-25vw + 215px) !important; 
    }
    .fotos:first-of-type .foto:nth-of-type(2) {
        width: 170px !important;
        height: 170px !important;
        margin-left: calc(-25vw + 135px) !important;
        margin-top: 40px !important;
    }
    .fotos:first-of-type .foto:nth-of-type(3) {
        width: 205px !important;
        height: 170px !important;
        margin-left: calc(-25vw + 215px) !important;
        margin-top: -75px !important;
    }

    .fotos:nth-of-type(3) .foto:first-of-type {         
        width: 205px !important;
        height: 135px !important;
        margin-left: calc(25vw - 265px) !important;
        margin-right: calc(-25vw + 265px) !important;
        margin-top: 20px !important;
    }
    .fotos:nth-of-type(3) .foto:nth-of-type(2) {
        width: 190px !important;
        height: 170px !important;
        margin-left: calc(25vw - 225px) !important;
        margin-right: calc(-25vw + 225px) !important;
        margin-top: -30px !important;
    }
    .fotos:nth-of-type(3) .foto:nth-of-type(3) {
        width: 180px !important;
        height: 160px !important;
        margin-left: calc(25vw - 305px) !important;
        margin-right: calc(-25vw + 305px) !important;
        margin-top: 20px !important;
    }
}

/* =============================================================================================
                                --- Media Query para Celulares ---
============================================================================================= */
@media (max-width: 980px) {
    /* -------------------------- BANNER --------------------------- */
    .banner {
        height: 540px;
        padding: 40px 20px;
        background-size: cover; background-position: center;
    }

    .text-banner {
        width: 80vw;
        margin-left: 0;
        text-align: center;
        left: 8%; top: calc(20vw - 25px);
    }

    /* ------------------ INFORMAÇÕES DA ESCOLA -------------------- */
    .title { text-align: center; }

    .escola .icone-flutuante:nth-of-type(1) { top: -35px; left: -10px; }
    .escola .icone-flutuante:nth-of-type(2) { width: 100px; bottom: 70px; left: -150px; }
    .escola .icone-flutuante:nth-of-type(3) { right: 20px; }
    .escola .icone-flutuante:nth-of-type(4) { width: 80px; right: 75px; }

    .escola { max-width: 600px; }
    .btn-historia { margin: 30px auto 0; padding: 10px 30px; }
    .text-aleatorio { margin-top: 60px; }

    section:first-of-type { max-width: 600px; }
    .sistema-ensino {
        width: 90%;
        gap: 30px;
        margin: 50px auto 0;
    }

    .item {
        width: 40%;
        flex-direction: column; align-items: center;
        text-align: center;
        flex-grow: 1;
    }

    /* ----------------- CARTÕES DE INFO RÁPIDOS ------------------- */
    section .icone-flutuante:nth-of-type(1) { top: 300px; left: -80px; }
    section .icone-flutuante:nth-of-type(3) { top: 65px; right: calc(-20vw + 100px); }
    section .icone-flutuante:nth-of-type(2),
    section .icone-flutuante:nth-of-type(4) {
        display: none;
    }

    /* ------------------- BOLHAS DE INFORMACAO -------------------- */
    .valores { margin: 50px 0 20px; }
    .valores > div:nth-of-type(1) img { display: none; }

    .bubbles {
        flex-wrap: wrap;
        justify-content: space-evenly;
        width: 90%;
        gap: 1vw;
    }
    .bubble > img { width: 120px; }
    .bubble:nth-of-type(even) > img { margin-top: 30px; }

    /* -------------------- TABELA DE CURSOS ----------------------- */
    .educacao { 
        background-size: cover;
        margin-top: -30px; padding: 100px 20px 50px; 
    }
    .educacao > div { flex-direction: column; row-gap: 50px; }

    .lista > ul { row-gap: 10px; }
    .card { width: 90vw; }
    .infos-infantil, .infos-fundamental {
        width: 95%; max-width: 600px;
        margin-left: auto; margin-right: auto;
    }

    .lista .icon img { width: 30px; height: 30px; }

    /* ------------------------ MATRICULA -------------------------- */
    /* -------------------- DEMAIS RESPONSIVO ---------------------- */

    .escola { column-gap: 5vw; }

    body {
        overflow-x: hidden;
    }

    /* --- BANNER --- */
    .text-banner p[style*="font-size: 38px"] {
        font-size: 26px !important;
        line-height: 1.3;
    }

    /* --- SEÇÃO ESCOLA --- */
    .escola {
        flex-direction: column;
        margin-top: 50px;
        padding: 0 20px;
    }

    .escola .img img {
        max-width: 100%;
        height: auto;
    }

    .text-escola {
        width: 100%;
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
    }

    .matricula {
        margin-left: auto;
        margin-right: auto;
    }

    /* --- TEXTO ALEATÓRIO --- */
    .text-aleatorio {
        padding: 0 20px;
    }

    /* --- SISTEMA DE ENSINO --- */
    .text-item {
        margin-left: 0;
        margin-top: 10px;
    }

    /* --- SEÇÃO EDUCAÇÃO (Infantil e Fundamental) --- */    
    .fundamental .infos-fundamental {
        margin-top: -70px;
    }

    /* --- FOTOS MATRÍCULA --- */
    .fotos-escola-matricula {
        flex-direction: column;
        padding: 20px 10px;
        gap: 30px;
    }

    .fotos-escola-matricula div[style*="margin-left: -5%"] {
        margin-left: 0 !important;
    }

    .fotos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .foto {
        width: 45% !important;
        height: 150px !important;
        margin: 5px !important;
    }

    .foto img {
        object-fit: cover;
    }

    /* --- FOOTER (Rodapé) --- */
    footer .align-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;

        padding: 30px 20px;
    }

    .contato-localizacao ul li {
        justify-content: center;
    }

    .navigation ul li:last-child {
        margin-left: 0px;
    }
}

/* =============================================================================================
                            --- Media Query para Celulares Pequenos ---
============================================================================================= */
@media (max-width: 650px) {
    .escola .icone-flutuante:nth-of-type(1),
    .escola .icone-flutuante:nth-of-type(3),
    .escola .icone-flutuante:nth-of-type(4),
    section .icone-flutuante:nth-of-type(1),
    section .icone-flutuante:nth-of-type(3) {
        display: none;
    }
}