@media (min-width:576px) and (max-width:768px) {
    /* tefenoes e tablets pequenos */

    /*HERO CAROUSEL - querie */
    #heroCarousel,
    #heroCarousel .carousel-item,
    #heroCarousel video {
        min-height: 520px;
        overflow: hidden;
    }

    .hero-overlay-header {
        display: inline-flex;
        flex-direction: column;
        width: 500px;
    }

    .hero-overlay-header h2{
        font-size: 2rem;

    }

    .botoes-hero {
        display: inline-flex;
        flex-direction: column;
        gap: 20px;
    }

    /*======================*/

    /*Cards de ações rápidas*/
    .quick-access .cards {
        flex-direction: column;
        margin: auto;
        max-width: 100%;
        height: auto;
        gap: 1rem;
    }

    .quick-access-card {
        width: 100%;
    }

    /*======================*/

    /* Níveis de ensino querie */

    .childs {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 20px;
        height: 950px;

    }

    /* texto justificado dentro da seção "childs" */
    .childs .info-childs {
        text-align: justify;
        text-justify: inter-word;
    }

    /* Níveis de ensino (Fundamental / Médio) também em coluna, imagem acima do conteúdo */
    .level-card.fundamental1,
    .level-card.fundamental2,
    .level-card.medio {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 20px;
        height: auto;
    }

    .level-card.fundamental1 .info-childs,
    .level-card.fundamental2 .info-childs,
    .level-card.medio .info-childs {
        text-align: justify;
        text-justify: inter-word;
    }

    .level-image img {
        width: 500px;
        max-height: 400px;
    }

    /*========================*/

    /* DIFERENCIAIS */

    /*=============*/

    /* Depoiementos */

    .secao-depoimentos > div > div {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    /*==============*/

    /*STATISTICS COUNTER8*/
    .stats-row {
        flex-direction: column;
        gap: 40px;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }

    /*==================*/
}

@media (min-width: 768px) and (max-width: 992px) {
    /* tablets e notebooks pequenos */

    /*HERO CAROUSEL - querie */
    #heroCarousel,
    #heroCarousel .carousel-item,
    #heroCarousel video {
        min-height: 580px;
        overflow: hidden;
    }

    .hero-btn-overlay {
        width: min(88%, 720px);
    }

    .hero-overlay-header {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-overlay-header h2 {
        font-size: 2.4rem;
        line-height: 1.2;
    }

    .hero-overlay-subtitle {
        font-size: 1rem !important;
        line-height: 1.6;
    }

    .botoes-hero {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .botoes-hero .btn {
        min-width: 220px;
    }

    /*======================*/

    /*Cards de ações rápidas*/
    .quick-access .cards {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        height: auto;
        gap: 1.25rem;
    }

    .quick-access-card {
        min-width: 240px;
    }

    /*======================*/

    /* Seção About */
    .about-section {
        padding: 70px 0;
    }

    .about-logo {
        max-width: 70%;
    }

    .about-section .row {
        row-gap: 2.5rem;
    }

    .about-section .section-title {
        font-size: 2rem;
        line-height: 1.25;
    }

    .about-section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    /*======================*/

    /*STATISTICS COUNTER*/
    .stats-section {
        padding: 50px 0 70px;
    }

    .stats-row {
        justify-content: center;
        align-items: stretch;
        gap: 24px;
    }

    .stats-section .stat-item {
        width: 280px;
        min-height: 170px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /*==================*/

    /* Níveis de ensino querie */
    .header-nivel {
        height: auto;
        padding: 40px 24px;
    }

    .header-nivel .section-title {
        font-size: 2rem;
    }

    .childs,
    .level-card.fundamental1,
    .level-card.fundamental2,
    .level-card.medio {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding: 40px 32px;
        height: auto;
    }

    .childs .info-childs,
    .level-card.fundamental1 .info-childs,
    .level-card.fundamental2 .info-childs,
    .level-card.medio .info-childs {
        padding: 0;
        max-width: 680px;
        text-align: justify;
        text-justify: inter-word;
    }

    .info-childs h2 {
        font-size: 2rem;
    }

    .info-childs p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .level-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .level-image img {
        width: min(100%, 560px);
        height: auto;
        max-height: 430px;
        padding-top: 0;
    }

    /*========================*/

    /* DIFERENCIAIS */
    .secao-diferencial {
        padding-top: 70px;
        padding-bottom: 70px;
    }



    .secao-diferencial .col-md-3 {
        width: 50%;
    }

    .diff-card {
        height: 100%;
        padding: 1.4rem;
    }

    /*=============*/

    /* NOTÍCIAS */
    .news-body {
        padding: 1.1rem;
    }

    .news-body h5 {
        font-size: 1rem;
        line-height: 1.4;
    }

    /*=============*/

    /* EVENTOS */
    .event-card-home {
        padding: 1rem;
    }

    .event-card-home .d-flex {
        align-items: flex-start !important;
        gap: 1rem;
    }

    /*==============*/

    /* Depoimentos */
    .secao-depoimentos {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .secao-depoimentos > div > div {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .testimonial-card {
        margin-top: 0;
        max-width: 320px;
        min-height: 100%;
    }

    /*==============*/

    /* CTA FINAL */
    .cta-title {
        font-size: 2.2rem;
    }

    .cta-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    /* tablets grandes / notebooks pequenos */
    .hero-overlay-header h2{
        font-size: 2.2rem;

    }


    /* Níveis de ensino querie */
    .header-nivel {
        height: auto;
        padding: 40px 24px;
    }

    .header-nivel .section-title {
        font-size: 2rem;
    }

    .childs,
    .level-card.fundamental1,
    .level-card.fundamental2,
    .level-card.medio {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: center;
        gap: 24px;
        padding: 40px 32px;
        height: auto;
    }

    .childs .info-childs,
    .level-card.fundamental1 .info-childs,
    .level-card.fundamental2 .info-childs,
    .level-card.medio .info-childs {
        padding: 0;
        max-width: 680px;
        text-align: justify;
        text-justify: inter-word;
    }

    .info-childs h2 {
        font-size: 2rem;
    }

    .info-childs p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .level-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .level-image img {
        width: min(100%, 560px);
        height: auto;
        max-height: 430px;
        padding-top: 0;
    }

    /*========================*/

    /* DIFERENCIAIS */
    .secao-diferencial {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .secao-diferencial .col-md-3 {
        width: 50%;
    }

    .diff-card {
        height: 100%;
        padding: 1.4rem;
    }

    /*=============*/

    /* Depoimentos */
    .secao-depoimentos {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .secao-depoimentos > div > div {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .testimonial-card {
        margin-top: 0;
        max-width: 320px;
        min-height: 100%;
    }

    /*==============*/
}

@media (min-width: 1200px) and (max-width: 1430px) {
    /* tablets maiores / small desktop */
    .hero-overlay-header h2{
        font-size: 2.2rem;

    }


    /* DIFERENCIAIS */
    .secao-diferencial {
        padding-top: 70px;
        padding-bottom: 70px;
    }


    .secao-diferencial .col-md-3 {
        width: 50%;
    }

    .diff-card {
        height: 100%;
        padding: 1.4rem;
    }

    /* Depoimentos */
    .secao-depoimentos {
        padding-top: 50px;
        padding-bottom: 70px;
    }

    .secao-depoimentos > div > div {
        display: flex;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
        flex-wrap: wrap;
    }

    .testimonial-card {
        margin-top: 0;
        max-width: 320px;
        min-height: 100%;
    }

    /*==============*/
}