/* ============================================================
   COLÉGIO NACIONAL
   HOME.CSS
   ============================================================ */


/* ============================================================
   01. VARIÁVEIS / CORES
   ============================================================ */

:root {

    /* Cores principais */
    --navy: #102d43;
    --blue: #176b9e;
    --sky: #eaf5fb;
    --gold: #f2b84b;

    /* Texto */
    --ink: #142734;
    --muted: #657782;

    /* Estrutura */
    --line: #dce6eb;
    --paper: #f6f9fa;

    /* Bordas */
    --r: 20px;

}


/* ============================================================
   02. RESET / CONFIGURAÇÕES GERAIS
   ============================================================ */

* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    margin: 0;

    color: var(--ink);

    font-family: "DM Sans", sans-serif;

    line-height: 1.55;
}


body.nav-open {
    overflow: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button {
    font: inherit;
}


/* ============================================================
   03. CONTAINER
   ============================================================ */

.container {
    width: min(
        1160px,
        calc(100% - 40px)
    );

    margin: auto;
}


/* ============================================================
   04. ACESSIBILIDADE
   ============================================================ */

.skip-link {
    position: fixed;

    top: -60px;
    left: 12px;

    z-index: 999;

    padding: 10px;

    background: #fff;
}


.skip-link:focus {
    top: 12px;
}


/* ============================================================
   05. HEADER
   ============================================================ */

.site-header {
    position: sticky;

    top: 0;

    z-index: 50;

    background: #fff;

    box-shadow:
        0 1px 0 #dde6ea;
}


/* ============================================================
   06. BARRA DE CONTATO
   ============================================================ */

.contact-bar {
    background: var(--navy);

    color: #d9e6ec;

    font-size: 0.77rem;
}


.contact-inner {
    height: 34px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.contact-inner div {
    display: flex;

    gap: 25px;
}


.contact-inner i {
    margin-right: 6px;

    color: var(--gold);
}

/* Barra de contato compartilhada com as páginas internas */
.topocontato {
    min-height: 34px;
    padding: 6px max(20px, calc((100vw - 1160px) / 2));
    background: var(--navy);
    color: #d9e6ec;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: .72rem;
}
.topocontato ul { display: flex; align-items: center; justify-content: space-evenly; gap: 14px; margin: 0; padding: 0; list-style: none; }
.topocontato .topoJP,
.topocontato .topoQB { flex: 1 1 30%; }
.topocontato .topoEmail { flex: 1 1 24%; justify-content: center; }
.topocontato a { color: #d9e6ec; white-space: nowrap; transition: color .2s; }
.topocontato a:hover { color: #fff; }
.topocontato i { margin-right: 5px; color: var(--gold); }
.topocontato .divider,
.topocontato .email-divider { color: rgba(255,255,255,.25); }


/* ============================================================
   07. NAVEGAÇÃO PRINCIPAL
   ============================================================ */

.main-nav {
    height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.brand img {
    width: 290px;

    height: auto;
}


/* MENU */

.nav-panel,
.nav-list {
    display: flex;

    align-items: center;

    gap: 28px;
}


.nav-list {
    list-style: none;

    margin: 0;
    padding: 0;
}


.nav-list li {
    position: relative;
}


/* LINKS PRINCIPAIS */

.nav-list > li > a,
.submenu-toggle {

    padding: 29px 0;

    border: 0;

    background: none;

    color: #304755;

    font-weight: 600;

    cursor: pointer;
}


.nav-list > li > .nav-work-link {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 10px 13px;

    border-radius: 999px;

    background: var(--sky);

    color: var(--blue);

    font-weight: 700;
}


.nav-work-link i {

    color: var(--gold);

    font-size: 0.82rem;
}


.nav-work-link:hover {

    background: var(--gold);

    color: var(--navy);
}


/* SETA DO SUBMENU */

.submenu-toggle i {
    margin-left: 5px;

    font-size: 0.65rem;
}


/* ============================================================
   08. SUBMENU
   ============================================================ */

.submenu {

    position: absolute;

    top: 70px;
    left: -18px;

    width: 240px;

    margin: 0;
    padding: 9px;

    list-style: none;

    background: #fff;

    border: 1px solid var(--line);

    border-radius: 14px;

    box-shadow:
        0 16px 40px #102d4322;

    opacity: 0;

    visibility: hidden;

    transform: translateY(8px);

    transition: 0.2s;
}


.submenu a {

    display: block;

    padding: 9px 11px;

    border-radius: 8px;

    font-size: 0.9rem;
}


.submenu a:hover {

    background: var(--sky);

    color: var(--blue);
}


/* ABERTURA DO MENU */

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu,
.has-submenu.open .submenu {

    opacity: 1;

    visibility: visible;

    transform: none;
}


/* ============================================================
   09. MENU MOBILE
   ============================================================ */

.nav-toggle {

    display: none;

    border: 0;

    background: none;

    cursor: pointer;
}


.nav-toggle span {

    display: block;

    width: 25px;
    height: 2px;

    margin: 5px;

    background: var(--navy);
}


/* ============================================================
   10. BOTÕES
   ============================================================ */

.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 52px;

    padding: 0 22px;

    border-radius: 999px;

    background: var(--gold);

    color: #17252e;

    font-weight: 700;

    transition: 0.2s;
}


.button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px #f2b84b55;
}


.button-small {

    min-height: 42px;

    padding: 0 17px;

    font-size: 0.84rem;

    white-space: nowrap;
}


/* ============================================================
   11. CARROSSEL PRINCIPAL
   ============================================================ */

.banner-carousel {

    position: relative;

    overflow: hidden;

    aspect-ratio: 3 / 1;

    background: var(--navy);

    touch-action: pan-y;
}


.banner-track,
.banner-slide {

    position: absolute;

    inset: 0;
}


.banner-slide {

    display: block;

    opacity: 0;

    visibility: hidden;

    transition:
        opacity 0.55s ease;
}


.banner-slide.active {

    opacity: 1;

    visibility: visible;

    z-index: 1;
}


.banner-slide img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ============================================================
   12. SETAS DO CARROSSEL
   ============================================================ */

.banner-arrow,
.banner-pause {

    position: absolute;

    z-index: 3;

    display: grid;

    place-items: center;

    border: 1px solid #ffffff88;

    background: #102d4388;

    color: #fff;

    backdrop-filter: blur(8px);

    cursor: pointer;

    transition: 0.2s;
}


.banner-arrow {

    top: 50%;

    width: 46px;
    height: 46px;

    border-radius: 50%;

    transform: translateY(-50%);
}


.banner-arrow:hover,
.banner-pause:hover {

    background: var(--navy);
}


.banner-arrow.prev {
    left: 24px;
}


.banner-arrow.next {
    right: 24px;
}


/* ============================================================
   13. INDICADORES DO CARROSSEL
   ============================================================ */

.banner-dots {

    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 18px;

    display: flex;

    gap: 8px;

    transform: translateX(-50%);
}


.banner-dots button {

    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 999px;

    background: #ffffff88;

    box-shadow:
        0 1px 4px #0005;

    cursor: pointer;

    transition: 0.25s;
}


.banner-dots button.active {

    width: 30px;

    background: #fff;
}


/* ============================================================
   14. BOTÃO PAUSAR CARROSSEL
   ============================================================ */

.banner-pause {

    right: 22px;
    bottom: 14px;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    font-size: 0.72rem;
}


/* ============================================================
   15. ACESSOS RÁPIDOS
   ============================================================ */

.quick-access {

    border-bottom: 1px solid var(--line);
}


.quick-grid {

    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));
}


.quick-grid > a {

    min-height: 118px;

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 20px;

    border-right: 1px solid var(--line);
}


.quick-grid > a:first-child {

    border-left: 1px solid var(--line);
}


/* ÍCONE */

.quick-grid > a > i {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    flex: none;

    border-radius: 12px;

    background: var(--sky);

    color: var(--blue);
}


.quick-grid b {

    margin-left: auto;
}


.quick-grid small {

    display: block;

    color: var(--muted);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


.quick-grid span {

    font-weight: 700;
}


.quick-grid > .quick-work {

    background: #fff8e9;

    color: var(--navy);

    border-right-color: #ead9ae;
}


.quick-grid > .quick-work > i {

    background: var(--gold);

    color: var(--navy);
}


.quick-grid > .quick-work small,
.quick-grid > .quick-work b {

    color: var(--blue);
}


/* ============================================================
   16. SEÇÕES
   ============================================================ */

.section {

    padding: 105px 0;
}


.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 42px;
}


.section-heading h2 {

    max-width: 700px;

    margin: 0;

    font-family: Manrope, sans-serif;

    font-size: clamp(
        2.1rem,
        4vw,
        3.35rem
    );

    line-height: 1.08;

    letter-spacing: -0.045em;
}


.section-heading > p {

    max-width: 380px;

    margin: 0;

    color: var(--muted);
}


/* ============================================================
   17. EYEBROW
   ============================================================ */

.eyebrow {

    margin: 0 0 12px;

    color: var(--blue);

    font-size: 0.73rem;

    font-weight: 800;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}


.eyebrow.light,
.light {

    color: #9bdcf7;
}


/* ============================================================
   18. PROGRAMAS / SEGMENTOS
   ============================================================ */

.programs,
.campuses {

    background: var(--paper);
}


/* GRID */

.program-grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;
}


/* CARD */

.program-card {

    position: relative;

    min-height: 0;
    height: 480px;

    overflow: hidden;

    border-radius: var(--r);
}


.program-card::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            0deg,
            #071f30ef,
            transparent 65%
        );
}


/* IMAGEM */

.program-card img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: 0.5s;
}


.program-card:nth-child(2) img {

    object-position: 58% center;
}


/* TEXTO */

.program-card > span {

    position: absolute;

    z-index: 1;

    left: 27px;
    right: 27px;
    bottom: 28px;

    color: #fff;
}


.program-card small,
.program-extras small {

    display: block;

    color: var(--muted);

    font-size: 0.68rem;

    text-transform: uppercase;

    letter-spacing: 0.06em;
}


.program-card small {

    color: #a8dff7;
}


.program-card strong {

    display: block;

    margin: 7px 0 14px;

    font-family: Manrope, sans-serif;

    font-size: 1.5rem;
}


.program-card b {

    font-size: 0.85rem;
}


/* EFEITO */

.program-card:hover img {

    transform: scale(1.04);
}


/* ============================================================
   19. PROGRAMAS EXTRAS
   ============================================================ */

.program-extras {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 18px;

    margin-top: 18px;
}


.program-extras a {

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 21px 23px;

    background: #fff;

    border: 1px solid var(--line);

    border-radius: 15px;

    font-weight: 700;
}


.program-extras a > i {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    background: var(--sky);

    color: var(--blue);

    border-radius: 11px;
}


.program-extras b {

    margin-left: auto;
}


/* ============================================================
   20. HISTÓRIA / LEGADO
   ============================================================ */

.legacy {

    background: var(--navy);

    color: #fff;
}


.legacy-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}


.legacy h2 {

    margin: 0 0 20px;

    font-family: Manrope, sans-serif;

    font-size: clamp(
        2.2rem,
        4vw,
        3.7rem
    );

    line-height: 1.07;

    letter-spacing: -0.045em;
}


.legacy p:not(.eyebrow) {

    color: #c6d6df;
}


.legacy .text-link {

    display: inline-block;

    margin-top: 14px;

    font-weight: 700;
}


/* ============================================================
   21. ESTATÍSTICAS
   ============================================================ */

.stats {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 1px;

    overflow: hidden;

    background: #ffffff22;

    border-radius: var(--r);
}


.stats div {

    min-height: 170px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 30px;

    background: #173c56;
}


.stats div:last-child {

    grid-column: 1 / -1;
}


.stats strong {

    color: var(--gold);

    font-family: Manrope, sans-serif;

    font-size: clamp(
        2.2rem,
        4vw,
        3.4rem
    );

    font-weight: 800;
}


/* ============================================================
   22. SUPORTE / SERVIÇOS
   ============================================================ */

.support-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}


.support-grid > a {

    padding: 32px;

    border: 1px solid var(--line);

    border-radius: var(--r);

    transition: 0.2s;
}


/* ÍCONE */

.support-grid > a > i {

    width: 52px;
    height: 52px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background: var(--sky);

    color: var(--blue);

    font-size: 1.25rem;
}


.support-grid a:hover {

    transform: translateY(-4px);

    box-shadow:
        0 18px 45px #102d4320;
}


.support-grid h3 {

    font-family: Manrope, sans-serif;

    font-size: 1.3rem;
}


.support-grid p {

    min-height: 70px;

    color: var(--muted);
}


.support-grid b,
.campus-grid a {

    color: var(--blue);
}


/* ============================================================
   23. UNIDADES
   ============================================================ */

.campus-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 22px;
}


.campus-grid article {

    display: grid;

    grid-template-columns:
        45% 55%;

    min-height: 335px;

    overflow: hidden;

    background: #fff;

    border-radius: var(--r);

    box-shadow:
        0 10px 30px #102d4314;
}


/* FOTO */

.campus-grid img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* INFORMAÇÕES */

.campus-grid article > div {

    padding: 32px 26px;
}


.campus-grid small {

    display: inline-block;

    padding: 5px 9px;

    border-radius: 99px;

    background: var(--sky);

    color: var(--blue);

    font-weight: 800;

    text-transform: uppercase;
}


.campus-grid h3 {

    font-family: Manrope, sans-serif;

    font-size: 1.35rem;
}


.campus-grid p {

    color: var(--muted);

    font-size: 0.88rem;
}


.campus-grid a {

    display: inline-block;

    margin-top: 10px;

    font-size: 0.87rem;

    font-weight: 700;
}


/* ============================================================
   24. CALL TO ACTION
   ============================================================ */

.cta {

    padding: 78px 0;

    background: var(--blue);

    color: #fff;
}


.cta > .container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;
}


.cta h2 {

    margin: 0;

    font-family: Manrope, sans-serif;

    font-size: clamp(
        2rem,
        4vw,
        3.25rem
    );

    letter-spacing: -0.045em;
}


.cta p:not(.eyebrow) {

    margin: 10px 0 0;

    color: #dceff9;
}


/* BOTÃO BRANCO */

.white {

    flex: none;

    background: #fff;

    color: var(--navy);
}


/* ============================================================
   25. FOOTER
   ============================================================ */

footer {

    padding: 75px 0 28px;

    background: #0a2233;

    color: #aac0cc;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr repeat(3, 1fr);

    gap: 50px;

    padding-bottom: 55px;
}


/* MARCA */

.footer-brand img {

    width: 225px;

    margin-bottom: 20px;
}


/* TÍTULOS */

.footer-grid h3 {

    color: #fff;

    font-family: Manrope, sans-serif;

    font-size: 0.85rem;

    text-transform: uppercase;

    letter-spacing: 0.08em;
}


/* LINKS */

.footer-grid > div:not(:first-child) a {

    display: block;

    margin: 10px 0;

    font-size: 0.88rem;
}


/* ============================================================
   26. REDES SOCIAIS
   ============================================================ */

.social {

    display: flex;

    gap: 10px;
}


.social a {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border: 1px solid #3d5362;

    border-radius: 50%;
}


/* ============================================================
   27. FOOTER BOTTOM
   ============================================================ */

.footer-bottom {

    display: flex;

    justify-content: space-between;

    padding-top: 24px;

    border-top: 1px solid #294151;

    font-size: 0.78rem;
}


/* ============================================================
   28. WHATSAPP FLUTUANTE
   ============================================================ */

.whatsapp {

    position: fixed;

    z-index: 40;

    right: 20px;
    bottom: 20px;

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    background: #25d366;

    color: #fff;

    box-shadow:
        0 9px 25px #0004;

    font-size: 1.65rem;
}


/* ============================================================
   ACONTECE NO NACIONAL
   ============================================================ */

.happenings {
    background: #fff;
}

.instagram-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(350px, .82fr);
    align-items: start;
    gap: 28px;
}

.instagram-side {
    display: grid;
    gap: 18px;
}

.instagram-card {
    min-width: 0;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #dce6ea;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 38px rgba(16,45,67,.08);
}

.instagram-featured {
    position: sticky;
    top: 138px;
    padding: clamp(22px, 3vw, 32px);
    border-top: 5px solid var(--gold);
}

.instagram-compact { padding: 16px; border-radius: 16px; }
.instagram-compact h3 { font-size: 1.05rem; }
.instagram-compact > p { margin-bottom: 12px; font-size: .88rem; }

.instagram-card h3 {
    margin: 0 0 7px;
    color: var(--navy);
    font-family: "Manrope", sans-serif;
    font-size: clamp(1.12rem, 2vw, 1.45rem);
    line-height: 1.25;
}

.instagram-card > p {
    margin: 0 0 18px;
    color: var(--muted);
}

.instagram-card .instagram-media {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 540px !important;
    margin: 0 auto !important;
}

@media (max-width: 900px) {
    .instagram-grid { grid-template-columns: 1fr; }
    .instagram-featured { position: static; }
}

@media (max-width: 700px) {
    .instagram-card { padding: 16px; }
}

@media (max-width: 380px) {
    .instagram-card { margin-inline: -6px; padding: 12px; }
}


/* ============================================================
   29. RESPONSIVIDADE
   ============================================================ */


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 1020px) {


    /* OCULTA BARRA DE CONTATO */

    .contact-bar,
    .topocontato {
        display: none;
    }


    /* HEADER */

    .main-nav {
        height: 72px;
    }


    /* BOTÃO MENU */

    .nav-toggle {
        display: block;
    }


    /* MENU MOBILE */

    .nav-panel {

        position: fixed;

        inset: 72px 0 auto;

        display: none;

        max-height:
            calc(100vh - 72px);

        overflow: auto;

        padding:
            15px 24px 28px;

        background: #fff;

        box-shadow:
            0 18px 35px #102d4322;
    }


    .nav-panel.open {
        display: block;
    }


    .nav-list {
        display: block;
    }


    .nav-list > li {

        border-bottom:
            1px solid var(--line);
    }


    .nav-list > li > a,
    .submenu-toggle {

        display: flex;

        width: 100%;

        justify-content: space-between;

        padding: 16px 2px;
    }


    .nav-list > li > .nav-work-link {

        justify-content: flex-start;

        margin: 10px 0;

        padding: 14px 16px;

        border-radius: 12px;

        background: var(--gold);

        color: var(--navy);

        font-size: 1rem;

        box-shadow: 0 8px 20px rgba(242, 184, 75, .22);
    }


    .nav-list > li > .nav-work-link i {

        color: var(--navy);
    }


    /* SUBMENU */

    .submenu {

        position: static;

        display: none;

        width: 100%;

        padding:
            0 0 10px 10px;

        border: 0;

        box-shadow: none;

        opacity: 1;

        visibility: visible;

        transform: none;
    }


    .has-submenu.open .submenu {
        display: block;
    }


    /* BOTÃO */

    .nav-panel > .button {

        width: 100%;

        margin-top: 18px;
    }


    /* ACESSOS */

    .quick-grid {

        grid-template-columns:
            1fr 1fr;
    }


    /* SEGMENTOS */

    .program-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    /* LEGADO */

    .legacy-grid {

        gap: 45px;
    }


    /* UNIDADES */

    .campus-grid article {

        grid-template-columns:
            1fr;
    }


    .campus-grid img {

        height: 220px;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1.4fr 1fr 1fr;
    }


    .footer-grid > div:last-child {

        grid-column:
            2 / 4;
    }

}


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

@media (max-width: 720px) {


    /* CONTAINER */

    .container {

        width:
            calc(100% - 28px);
    }


    /* CARROSSEL */

    .banner-carousel {

        aspect-ratio: 3 / 1;
    }


    .banner-arrow {

        width: 36px;
        height: 36px;

        font-size: 0.75rem;
    }


    .banner-arrow.prev {
        left: 10px;
    }


    .banner-arrow.next {
        right: 10px;
    }


    .banner-dots {

        bottom: 9px;

        gap: 6px;
    }


    .banner-dots button {

        width: 7px;
        height: 7px;
    }


    .banner-dots button.active {

        width: 20px;
    }


    .banner-pause {

        right: 8px;
        bottom: 6px;

        width: 28px;
        height: 28px;

        font-size: 0.6rem;
    }


    /* ACESSOS */

    .quick-access {

        padding: 10px 0;

        background: var(--paper);
    }


    .quick-grid {

        grid-template-columns: 1fr;

        gap: 7px;
    }


    .quick-grid > a,
    .quick-grid > a:first-child {

        min-height: 80px;

        border:
            1px solid var(--line);

        border-radius: 13px;

        background: #fff;
    }


    /* SEÇÕES */

    .section {

        padding: 70px 0;
    }


    .section-heading {

        display: block;
    }


    .section-heading h2 {

        font-size: 2.25rem;
    }


    .section-heading > p {

        margin-top: 18px;
    }


    /* GRIDS */

    .program-grid,
    .program-extras,
    .legacy-grid,
    .support-grid,
    .campus-grid {

        grid-template-columns: 1fr;
    }


    /* PROGRAMAS */

    .program-card {

        min-height: 0;
        height: 410px;
    }


    /* ESTATÍSTICAS */

    .stats div {

        min-height: 130px;
    }


    /* SUPORTE */

    .support-grid p {

        min-height: 0;
    }


    /* UNIDADES */

    .campus-grid article {

        grid-template-columns:
            42% 58%;
    }


    .campus-grid img {

        height: 100%;
    }


    .campus-grid article > div {

        padding:
            24px 19px;
    }


    /* CTA */

    .cta > .container {

        align-items: flex-start;

        flex-direction: column;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }


    .footer-brand {

        grid-column:
            1 / -1;
    }


    .footer-grid > div:last-child {

        grid-column: auto;
    }

}


/* ============================================================
   SMARTPHONE PEQUENO
   ============================================================ */

@media (max-width: 500px) {


    /* LOGO */

    .brand img {

        width: 290px;
    }


    /* BOTÕES */

    .button {

        width: 100%;
    }


    /* HERO / TEXTO */

    .hero .text-link {

        align-self: center;
    }


    /* ESTATÍSTICAS */

    .stats {

        grid-template-columns: 1fr;
    }


    .stats div:last-child {

        grid-column: auto;
    }


    /* UNIDADES */

    .campus-grid article {

        display: block;
    }


    .campus-grid img {

        height: 215px;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns: 1fr;
    }


    .footer-brand {

        grid-column: auto;
    }


    .footer-bottom {

        gap: 20px;

        flex-direction: column;
    }


    /* WHATSAPP */

    .whatsapp {

        width: 52px;
        height: 52px;

        right: 14px;
        bottom: 14px;
    }

}


/* ============================================================
   TELAS MUITO PEQUENAS
   ============================================================ */

@media (max-width: 420px) {

    .banner-arrow,
    .banner-pause {

        display: none;
    }

}


/* ============================================================
   ACESSIBILIDADE:
   REDUÇÃO DE MOVIMENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    * {
        transition: none !important;
    }

}
