:root {
    --font-BaksoSapi: "Bakso Sapi";
    --font-Gibson: "canada-type-gibson", sans-serif;
    --font-Inter: "Inter", sans-serif;
    --font-Museo: "museo", serif;
}

body {
    font-family: var(--font-Gibson);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ========================================= PAGE LOADER ========================================= */
#menu-logo {
    opacity: 0;
    transition: opacity 0.35s ease;
}

#menu-logo.loader-done {
    opacity: 1;
}

#page-loader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 99998;
    pointer-events: all;
    transition: opacity 0.5s ease;
}

#page-loader.loader-hidden {
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}

#loader-ui {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    z-index: 99999;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

#loader-ui.loader-ui-hidden {
    opacity: 0;
    z-index: -1;
}

#loader-logo {
    height: 48px;
    width: auto;
    display: block;
}

.loader-bar {
    width: 160px;
    height: 3px;
    background: #e8e8e8;
    border-radius: 99px;
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.loader-bar.bar-hide {
    transform: translateY(14px);
    opacity: 0;
}

.loader-bar-fill {
    position: absolute;
    inset: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent 0%, #e63331 30%, #944b96 60%, transparent 100%);
    background-size: 200% 100%;
    animation: loaderShimmer 1.2s linear infinite;
}

@keyframes loaderShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

.b-lazy,
.swiper-lazy {
    opacity: 0;
}

.b-loaded,
.swiper-lazy-loaded {
    opacity: 1;
    filter: none;
}

.swiper-lazy-loaded+.loader {
    display: none;
}

@keyframes swiper-preloader-spin {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* HTML: <div class="loader"></div> */
.loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    background: linear-gradient(to bottom right, #0000 calc(40%), #fff 50%, #0000 calc(60%)) bottom right/calc(250%) calc(250%) rgba(0, 0, 0, 0.15);
    animation: l8 1.5s infinite;
}

.loader.--dark {
    background: linear-gradient(to bottom right, #0000 calc(40%), #353535 50%, #0000 calc(60%)) bottom right/calc(250%) calc(250%) rgba(30, 30, 30, 1);
}

@keyframes l8 {
    100% {
        background-position: top left
    }
}

.b-loaded+.loader {
    opacity: 0;
    z-index: -9999;
}

/* Noticias */
/* Noticias */
.noticias-divisor-top {
    display: block;
    width: 100%;
    background-color: #eeedf9;
}

[data-page="matricula-online"] .noticias-divisor-top {
    background-color: #944B96;
}

#noticias {
    position: relative;
    z-index: 1;
    margin-top: -75px;
}

#noticias .content {
    position: relative;
    overflow: hidden;
}

#noticias .content::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    width: 300%;
    height: 20px;
    background-image: radial-gradient(circle, #E63331 4px, transparent 4px);
    background-size: 30px 20px;
    background-repeat: repeat-x;
    background-position: 0 center;
    pointer-events: none;
    z-index: 0;
    animation: bolinhasSlide 25s linear infinite;
}

@keyframes bolinhasSlide {
    0% {
        transform: translateY(-50%) translateX(0);
    }

    100% {
        transform: translateY(-50%) translateX(calc(100% / 3));
    }
}

#noticias .section-titulo {
    color: #0058A5;
    font-family: var(--font-Museo);
    font-size: 40px;
    font-weight: 900;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 50px 0;
}

#noticias .swiperNoticias {
    border-radius: 30px;
}

#noticias .card-noticia {
    display: block;
    width: 100%;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

#noticias .card-noticia .image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}

#noticias .card-noticia .image::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, .75) 85%);
}

#noticias .card-noticia .image img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#noticias .card-noticia .titulo {
    position: absolute;
    left: 15px;
    right: 15px;
    bottom: 15px;
    color: #fff;
    font-size: 20px;
    text-align: center;
    margin: 0;
}

/* Footer */
footer {
    position: relative;
    padding: 400px 0 0px 0;
    z-index: 0;
}

footer .bg {
    display: block;
    position: absolute;
    top: 0%;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: -1;
}

[data-page="home"] footer .bg {
    top: -20%;
    height: 120%;
}

footer .bg::before {
    content: '';
    display: flex;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, transparent 0%, #fff 100%);
    z-index: 2;
}

footer video {
    display: block;
    width: auto;
    min-width: 100%;
    height: auto;
    min-height: 100%;
}

footer .footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer .footer-wrapper .footer-content {
    width: 33.333%;
}

footer .footer-wrapper .--links .logo {
    margin: 0 0 50px 0;
}

footer .footer-wrapper .--links .logo img {
    display: block;
    width: auto;
    height: 75px;
    object-fit: contain;
}

footer .footer-wrapper .--links .contatos {
    margin: 0 0 50px 0;
    padding: 0;
    list-style: none;
}

footer .footer-wrapper .--links .contatos li:not(:last-child) {
    margin: 0 0 15px 0;
}

footer .footer-wrapper .--links .contatos li a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

footer .footer-wrapper .--links .contatos li a .icon {
    display: block;
    fill: #fff;
    width: 30px;
    height: 30px;
}

footer .footer-wrapper .--links .contatos li a span {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

footer .footer-wrapper .--links .redes .conheca {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

footer .footer-wrapper .--links .redes .lista-redes {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer .footer-wrapper .--links .redes .lista-redes a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    padding: 10px;
}

footer .footer-wrapper .--links .redes .lista-redes svg {
    display: block;
    fill: #fff;
    width: 100%;
    height: 100%;
}

footer .footer-wrapper .--links .acesse {
    margin: 50px 0 0 0;
    padding: 0;
    list-style: none;
}

footer .footer-wrapper .--links .acesse li span,
footer .footer-wrapper .--links .acesse li a {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    text-decoration: none;
    margin: 0;
}

footer .footer-wrapper .--links .acesse li a:hover {
    opacity: .75;
}

footer .footer-wrapper .--app .icon-app {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 20px;
    margin: 0 auto 10px auto;
}

footer .footer-wrapper .--app .icon-app img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center center;
}

footer .footer-wrapper .--app .nome-app {
    color: #fff;
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    margin: 0 0 15px 0;
}

footer .footer-wrapper .--app .botao {
    display: block;
    width: fit-content;
    padding: 10px 60px;
    background-color: #E63331;
    border-radius: 50px;
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, .2) 0 5px 10px;
    line-height: inherit;
    margin: 0 auto;
    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}

footer .footer-wrapper .--app .botao:hover {
    background-color: #E63331;
    text-shadow: none;
    transform: scale(1.05);
}

footer .footer-wrapper .--app .download-container {
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

footer .footer-wrapper .--app .download-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 250px;
    background-color: #fff;
    border-radius: 20px;
    padding: 15px;
    box-shadow: rgba(0, 0, 0, .15) 0 15px 30px;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -moz-transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -ms-transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -o-transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
}

footer .footer-wrapper .--app .download-container.--active .download-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

footer .footer-wrapper .--app .download-menu .download-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    margin-bottom: 10px;
    background-color: #000;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    text-align: left;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

footer .footer-wrapper .--app .download-menu .download-option:last-child {
    margin-bottom: 0;
}

footer .footer-wrapper .--app .download-menu .download-option:hover {
    background-color: #333;
}

footer .footer-wrapper .--app .download-menu .download-option .icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
}

footer .footer-wrapper .--app .download-menu .download-option .text {
    display: flex;
    flex-direction: column;
}

footer .footer-wrapper .--app .download-menu .download-option .text span {
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

footer .footer-wrapper .--app .download-menu .download-option .text strong {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

footer .footer-wrapper .--mindy {
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .footer-wrapper .--mindy .bubble {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin-bottom: 20px;
}

footer .footer-wrapper .--mindy .bubble svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

footer .footer-wrapper .--mindy .bubble p {
    position: absolute;
    top: 40%;
    left: 48%;
    transform: translate(-50%, -50%);
    width: 80%;
    margin: 0;
    color: #1d1d1b;
    font-family: var(--font-Gibson);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
    margin-top: -20px;
}


footer .footer-wrapper .--mindy .bubble .botao {
    position: absolute;
    bottom: 25%;
    left: 40%;
    transform: translate(-50%, calc(50% - 20px));

    display: block;
    width: fit-content;
    padding: 10px 60px;
    background-color: #E63331;
    border-radius: 50px;
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, .2) 0 5px 10px;
    line-height: inherit;
    margin: 0 auto;

    z-index: 2;

    -webkit-transition: all .15s ease-in-out;
    -moz-transition: all .15s ease-in-out;
    -ms-transition: all .15s ease-in-out;
    -o-transition: all .15s ease-in-out;
    transition: all .15s ease-in-out;
}
footer .footer-wrapper .--mindy .bubble .botao:hover {
    background-color: #E63331;
    text-shadow: none;
    transform: translate(-50%, calc(50% - 20px)) scale(1.05);
}

footer .footer-wrapper .--mindy .render-mindy {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-left: auto;
    pointer-events: none;
    user-select: none;
    animation: floatMindy 3s ease-in-out infinite;
}
@keyframes floatMindy {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}


footer .base {
    padding: 100px 0 20px 0;
}
footer .base p {
    color: #fff;
    font-size: 16px;
    font-weight: 300;
    text-align: center;
    margin: 0;
}

/* Responsivo Mobile */
@media (max-width: 992px) {
    #noticias .section-titulo {
        font-size: 32px;
        margin: 100px 0 25px 0;
    }

    footer {
        padding: 50px 0;
    }

    footer video {
        margin-top: -400px;
        min-height: calc(100% + 400px);
    }

    footer .bg::before {
        height: 100px;
    }

    footer .footer-wrapper {
        flex-direction: column;
    }

    footer .footer-wrapper .footer-content {
        width: 100%;
    }

    footer .footer-wrapper .--links .logo {
        display: flex;
        justify-content: center;
        margin: 0 0 25px 0;
    }

    footer .footer-wrapper .--links .contatos {
        margin: 0 0 25px 0;
    }

    footer .footer-wrapper .--links .contatos li a {
        width: 100%;
        justify-content: center;
    }

    footer .footer-wrapper .--links .redes .conheca {
        display: block;
        width: 100%;
        text-align: center;
    }

    footer .footer-wrapper .--links .redes .lista-redes {
        justify-content: center;
    }

    footer .footer-wrapper .--links .acesse li span,
    footer .footer-wrapper .--links .acesse li a {
        display: block;
        width: 100%;
        text-align: center;
    }

    footer .footer-wrapper .--app {
        margin: 50px 0 0 0;
    }

    footer .footer-wrapper .--mindy {
        margin: 50px 0 0 0;
        align-items: center;
    }

    footer .footer-wrapper .--mindy .bubble {
        margin-left: auto;
        margin-right: auto;
    }

    footer .footer-wrapper .--mindy .render-mindy {
        margin: 0 auto;
    }
}

/* Botoes */
/* ============================================= HEADER ============================================= */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 900;
    background: #fff;
    box-shadow: 0 5px 30px rgba(255, 255, 255, 1);
}

[data-scroll="true"] #site-header {
    box-shadow: none;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Botão hamburger */
.header-menu-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 48px;
    height: 48px;
}

.header-menu-btn img {
    display: block;
    width: 32px;
    height: auto;
    transition: opacity 0.2s ease, transform 0.3s ease;
}

.header-menu-btn .icon-menu-open {
    opacity: 1;
    position: relative;
}

.header-menu-btn .icon-menu-close {
    opacity: 0;
    position: absolute;
    width: 28px;
}

body.menu-open .header-menu-btn .icon-menu-open {
    opacity: 0;
}

body.menu-open .header-menu-btn .icon-menu-close {
    opacity: 1;
}

/* Logo */
.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-logo a {
    display: block;
    line-height: 0;
}

.header-logo img {
    display: block;
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Redes sociais */
.header-social {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.header-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 0;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.header-social a:hover {
    opacity: 0.7;
    transform: scale(1.15);
}

.header-social svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #1B3C6B;
}

/* ============================================= ESPAÇO DO HEADER ============================================= */
body>main,
body>footer {
    margin-top: 0;
}

/* Compensação do header fixo — só aplicar onde necessário via JS ou globalmente */
#site-header~main {
    padding-top: 80px;
}

/* ============================================= NAV OVERLAY ============================================= */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 950;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    cursor: pointer;
}

body.menu-open .nav-overlay {
    opacity: 1;
    visibility: visible;
}

/* ============================================= NAV PANEL (card azul) ============================================= */
.nav-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.92);
    z-index: 960;
    width: min(460px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    background: rgba(0, 88, 165, 0.9);
    border-radius: 32px;
    padding: 32px 24px 48px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-panel::-webkit-scrollbar {
    display: none;
}

body.menu-open .nav-panel {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Botão fechar dentro do panel */
.nav-panel .nav-panel-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    width: 54px;
    height: 54px;
    cursor: pointer;
    margin-bottom: 32px;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-close-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.08);
}

.nav-close-btn img {
    display: block;
    width: 28px;
    height: 28px;
}

/* Menu list */
.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* Gradiente sumindo embaixo */
/* .nav-panel::after {
     content: '';
     display: block;
     position: sticky;
     bottom: -48px;
     left: 0;
     width: 100%;
     height: 80px;
     margin-top: -80px;
     background: linear-gradient(to top, rgba(0, 88, 165, 0.95) 0%, transparent 100%);
     pointer-events: none;
     border-radius: 0 0 32px 32px;
     flex-shrink: 0;
}
 */
.nav-menu>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu>li:last-child {
    border-bottom: none;
}

.nav-menu>li>a {
    display: block;
    padding: 18px 12px;
    color: #fff;
    text-decoration: none;
    font-family: var(--font-Inter);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: opacity 0.2s ease;
}

.nav-menu>li>a:hover {
    opacity: 0.75;
}

/* Submenu */
.nav-submenu {
    list-style: none;
    margin: 0 0 12px 0;
    padding: 0;
}

.nav-submenu li a {
    display: block;
    padding: 6px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: opacity 0.2s ease;
}

.nav-submenu li a:hover {
    opacity: 0.65;
}

/* ============================================= BODY — bloqueio de scroll quando menu aberto ============================================= */
body.menu-open {
    overflow: hidden;
}

/* ============================================= RESPONSIVO ============================================= */
@media (max-width: 768px) {
    .header-inner {
        padding: 0;
        height: 68px;
    }

    .header-logo img {
        height: 30px;
    }

    .header-social {
        gap: 10px;
    }

    .header-social a {
        width: 18px;
        height: 18px;
    }

    #site-header~main {
        padding-top: 68px;
    }

    .nav-panel {
        width: calc(100vw - 24px);
        padding: 24px 16px 48px;
    }

    .nav-menu>li>a {
        font-size: 18px;
        padding: 14px 8px;
    }
}