/* Cores personalizadas baseadas no site */
:root {
    --place-navy: #18375f;
    --place-yellow: #f4b740;
    --place-yellow-dark: #e09620;
}

.bg-place-navy {
    background-color: var(--place-navy);
}

.text-place-navy {
    color: var(--place-navy);
}

.bg-place-yellow {
    background-color: var(--place-yellow);
}

.text-place-yellow {
    color: var(--place-yellow);
}

/* Topbar com informações de contato */
#topbar {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    backdrop-filter: blur(10px);
    display: block; /* Mostrar por padrão */
}

#topbar.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Menu principal */
#mainNav {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    background-color: rgba(255, 255, 255, 0.95);
    top: 44px; /* Desktop: abaixo da topbar */
}

#mainNav.scrolled {
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.15);
}

/* Animações modernas nos botões do menu */
.nav-link {
    position: relative;
    padding: 8px 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Efeito de fundo animado */
.nav-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.nav-link:hover::before {
    width: 150%;
    height: 200px;
}

/* Linha animada moderna */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--place-yellow) 0%, var(--place-yellow-dark) 100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(244, 183, 64, 0.4);
}

.nav-link:hover::after {
    width: 100%;
}



/* Botão de matrícula ultra moderno */
.btn-matricula {
    background: linear-gradient(135deg, var(--place-yellow) 0%, var(--place-yellow-dark) 100%);
    color: var(--place-navy);
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(244, 183, 64, 0.3);
}

.btn-matricula::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn-matricula:hover::before {
    width: 300px;
    height: 300px;
}



.btn-matricula:active {
    transform: translateY(-2px) scale(1.02);
}

/* Ícones de redes sociais com animação suave */
.social-icon {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
}

.social-icon:hover::before {
    opacity: 0.2;
    transform: scale(1);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.15);
    filter: brightness(1.1);
}

/* Efeito de glassmorphism no menu ao rolar */
#mainNav.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(244, 183, 64, 0.2);
}

/* Animação de entrada da logo */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

#mainNav img:hover {
    animation: logoFloat 1s ease-in-out infinite;
}

/* Scroll suave APENAS para links internos do menu, não para todo o documento */
.nav-link {
    scroll-behavior: smooth;
}

/* Desabilitar scroll-behavior do HTML */
html {
    scroll-behavior: auto;
}

/* Prevenir qualquer comportamento de scroll no banner */
#home,
#home *,
.swiper,
.swiper * {
    scroll-behavior: auto !important;
}


/* Menu Mobile - CORRIGIDO DEFINITIVO */

#mobileMenu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    z-index: 30;
    transition: max-height 0.4s ease-in-out;
}

/* Media query mobile */
@media (max-width: 1023px) {
    /* Esconder topbar SOMENTE no mobile */
    #topbar {
        display: none !important;
    }
    
    /* Menu principal no topo no mobile */
    #mainNav {
        top: 0 !important;
    }
    
    /* Menu dropdown mobile */
    #mobileMenu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        z-index: 30;
    }
    
    #mobileMenu.open {
    max-height: calc(100vh - 80px) !important;
    overflow-y: auto;
}
}

/* Desktop: mostrar topbar e esconder menu mobile */
@media (min-width: 1024px) {
    #topbar {
        display: block !important;
    }
    
    #mainNav {
        top: 44px !important;
    }
    
    /* Esconder menu mobile no desktop */
    #mobileMenu {
        display: none !important;
    }
}



/* Ajuste do espaçamento do menu */
body {
    margin: 0;
    padding: 0;
}

#menuSpacer {
    height: 140px;
    transition: height 0.3s ease;
}

/* Banner logo abaixo do menu */
#home {
    margin: 0;
    padding: 0;
    width: 100%;
}

.banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.banner-container img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
}

/* Ajuste dinâmico quando o topbar desaparece */
#mainNav.scrolled ~ #menuSpacer {
    height: 96px; /* Altura apenas do menu principal */
}


/* Prevenir scroll ao clicar no Swiper */
.swiper-button-next,
.swiper-button-prev,
.swiper-pagination-bullet {
    cursor: pointer;
}

.swiper-button-next:focus,
.swiper-button-prev:focus,
.swiper-pagination-bullet:focus {
    outline: none;
}

/* Remover smooth scroll apenas do banner */
#home * {
    scroll-behavior: auto !important;
}

/* Manter smooth scroll apenas para links de navegação */
a[href^="#"]:not(.swiper-button-next):not(.swiper-button-prev) {
    scroll-behavior: smooth;
}


/* SOLUÇÃO DEFINITIVA - Bloquear scroll no banner */
.swiper,
.swiper-wrapper,
.swiper-slide {
    touch-action: pan-y !important;
}

.swiper-button-next,
.swiper-button-prev,
.swiper-pagination,
.swiper-pagination-bullet {
    pointer-events: auto !important;
    user-select: none !important;
}

/* Forçar hash vazio para elementos do Swiper */
.swiper-button-next::before,
.swiper-button-prev::before,
.swiper-pagination-bullet::before {
    content: none !important;
}


/* Seção Pilares de Excelência */
#pilares {
    position: relative;
}

/* Efeito hover suave nos cards */
#pilares .group {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#pilares .group:hover {
    transform: translateY(-8px);
}

/* Animação de fade suave no hover dos cards */
#pilares .group > div {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sombra personalizada para hover */
.hover\:shadow-3xl:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Ajuste da altura dos cards */
#pilares .group {
    min-height: 12rem;
}

/* Responsividade */
@media (max-width: 768px) {
    #pilares h2 {
        font-size: 2rem;
    }
    
    #pilares h3 {
        font-size: 1.75rem;
    }
    
    #pilares .group {
        min-height: 10rem;
    }
}


/* Seção Segmentos - Animações e Efeitos */

/* Animação blob para elementos de fundo */
@keyframes blob {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Efeito de brilho nos cards ao hover */
#segmentos .group:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FCC130, #f4b740, #FCC130);
    border-radius: 1.5rem;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

/* Animação suave para badges */
#segmentos .group:hover span {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

/* Efeito de pulso nos ícones */
@keyframes pulse-icon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

#segmentos .group:hover i.fa-baby,
#segmentos .group:hover i.fa-child,
#segmentos .group:hover i.fa-book-reader,
#segmentos .group:hover i.fa-user-graduate {
    animation: pulse-icon 1.5s ease-in-out infinite;
}

/* Transição suave para todos os elementos interativos */
#segmentos button,
#segmentos .group > div {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Responsividade adicional */
@media (max-width: 768px) {
    #segmentos h2 {
        font-size: 2.5rem;
    }
    
    #segmentos .grid {
        gap: 1.5rem;
    }
}

/* Efeito de sombra dinâmica */
#segmentos .group:hover > div {
    box-shadow: 0 30px 60px -12px rgba(252, 193, 48, 0.3), 
                0 18px 36px -18px rgba(0, 0, 0, 0.2);
}


@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}


@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}


.shapedividers_com-8071{
overflow:hidden;
position:relative;
}
.shapedividers_com-8071::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 0%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23ffffff"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-8071::before{
background-size: 100% calc(2vw + 90px);
}
}
 



.shapedividers_com-5571{
overflow:hidden;
position:relative;
}
.shapedividers_com-5571::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 0%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23e09006"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-5571::before{
background-size: 100% calc(2vw + 90px);
}
}
 


.shapedividers_com-2482{
overflow:hidden;
position:relative;
}
.shapedividers_com-2482::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 0%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%2318375f"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-2482::before{
background-size: 100% calc(2vw + 90px);
}
}
 


.shapedividers_com-6835{
overflow:hidden;
position:relative;
}
.shapedividers_com-6835::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 100%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%2318375f"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-6835::before{
background-size: 100% calc(2vw + 90px);
}
}
 


.shapedividers_com-5666{
overflow:hidden;
position:relative;
}
.shapedividers_com-5666::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 0%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23152541"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-5666::before{
background-size: 100% calc(2vw + 90px);
}
}
 

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}



/* Animação do ícone do menu */
#menuIcon {
    transition: transform 0.3s ease;
}

#menuIcon.fa-times {
    transform: rotate(90deg);
}


/* Menu Mobile Sidebar - NOVO */
#mobileMenuOverlay.active {
    opacity: 1;
    visibility: visible;
    backdrop-filter: blur(4px);
    background-color: rgba(0, 0, 0, 0.5);
}

#mobileMenuSidebar.active {
    transform: translateX(0);
}

/* Animação dos links */
.mobile-menu-link {
    transform-origin: left center;
}

/* Prevenir scroll do body quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}



.shapedividers_com-8892{
overflow:hidden;
position:relative;
}
.shapedividers_com-8892::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 100%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M35.28 1.16c-3.17-.8-7.3.4-10.04.56-2.76.17-9.25-1.47-12.68-1.3-3.42.16-4.64.84-7.04.86C3.12 1.31 0 .4 0 .4v1.77h35.28z" fill="%23ffffff"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-8892::before{
background-size: 100% calc(2vw + 90px);
}
}
 


.shapedividers_com-7128{
overflow:hidden;
position:relative;
}
.shapedividers_com-7128::before{ 
content:'';
font-family:'shape divider from ShapeDividers.com';
position: absolute;
z-index: 3;
pointer-events: none;
background-repeat: no-repeat;
bottom: -0.1vw;
left: -0.1vw;
right: -0.1vw;
top: -0.1vw; 
background-size: 100% 90px;
background-position: 50% 0%;  background-image: url('data:image/svg+xml;charset=utf8, <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 35.28 2.17" preserveAspectRatio="none"><path d="M0 1c3.17.8 7.29-.38 10.04-.55 2.75-.17 9.25 1.47 12.67 1.3 3.43-.17 4.65-.84 7.05-.87 2.4-.02 5.52.88 5.52.88V0H0z" fill="%23264276"/></svg>'); 
}

@media (min-width:2100px){
.shapedividers_com-7128::before{
background-size: 100% calc(2vw + 90px);
}
}
 