/* 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);
}

/* ============================================
   ANIMAÇÕES DOS BOTÕES DE TEMA
   ============================================ */
@keyframes pulse-santa {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes spin-christmas {
    0% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(10deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-10deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

@keyframes pulse-carnival {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.15) rotate(10deg); }
}

/* ============ FLOCOS DE NEVE ============ */
.snowflake {
    position: absolute;
    top: -10%;
    color: white;
    text-shadow: 0 0 5px rgba(255,255,255,0.8);
    animation: fall linear infinite;
    pointer-events: none;
}

@keyframes fall {
    to { transform: translateY(110vh); }
}

/* ============ LUZES PISCANTES ============ */
.light-string {
    position: absolute;
    display: flex;
    pointer-events: none;
}

.light {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.9); }
}

/* ============ TRENÓ PAPAI NOEL ============ */
.santa-sleigh-big {
    position: fixed;
    top: 15%;
    left: -450px;
    z-index: 10000;
    animation: fly-across 12s linear;
    pointer-events: none;
}

@keyframes fly-across {
    to { left: 110%; }
}

.reindeer-jump {
    animation: jump 0.6s ease-in-out infinite;
}

@keyframes jump {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ============ MORCEGOS VOANDO ALEATORIAMENTE ============ */
.bat-flying {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    font-size: 35px;
    animation: bat-random-fly linear;
}

@keyframes bat-random-fly {
    0% { transform: translate(0, 0) scaleX(1); }
    25% { transform: translate(var(--x1), var(--y1)) scaleX(-1); }
    50% { transform: translate(var(--x2), var(--y2)) scaleX(1); }
    75% { transform: translate(var(--x3), var(--y3)) scaleX(-1); }
    100% { transform: translate(var(--x4), var(--y4)) scaleX(1); }
}

/* ============ VAMPIRO APARECENDO ============ */
.vampire-appear {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
}

.vampire-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    animation: vampire-jump-scare 3s ease-out;
}

@keyframes vampire-jump-scare {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    10% { transform: translate(-50%, -50%) scale(1.3); opacity: 1; }
    20% { transform: translate(-50%, -50%) scale(1.1); }
    30% { transform: translate(-50%, -50%) scale(1.2); }
    80% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
}

/* ============ BOLA INDO PARA O GOL ============ */
.soccer-ball {
    position: fixed;
    font-size: 60px;
    z-index: 10000;
    pointer-events: none;
}

.ball-shoot {
    bottom: 10%;
    left: 10%;
    animation: ball-to-goal 2s ease-in;
}

@keyframes ball-to-goal {
    0% {
        bottom: 10%;
        left: 10%;
        transform: rotate(0deg) scale(1);
    }
    100% {
        bottom: 50%;
        left: 80%;
        transform: rotate(720deg) scale(0.5);
    }
}

/* ============ GOL APARECENDO ============ */
.goal-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 10001;
    pointer-events: none;
    font-size: 120px;
    font-weight: bold;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.8),
        0 0 40px rgba(255,223,0,0.6),
        5px 5px 10px rgba(0,0,0,0.5);
    animation: goal-appear 3s ease-out;
}

@keyframes goal-appear {
    0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 0; }
    20% { transform: translate(-50%, -50%) scale(1.4) rotate(5deg); opacity: 1; }
    40% { transform: translate(-50%, -50%) scale(1.2) rotate(-3deg); }
    60% { transform: translate(-50%, -50%) scale(1.3) rotate(2deg); }
    80% { transform: translate(-50%, -50%) scale(1.25) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0) rotate(10deg); opacity: 0; }
}

/* ============ FOGOS DE ARTIFÍCIO ============ */
.firework {
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

.firework-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

@keyframes explode {
    0% { transform: translate(0, 0); opacity: 1; }
    100% { transform: translate(var(--tx), var(--ty)); opacity: 0; }
}

/* ============ CONFETES BRASIL ============ */
.confetti-brasil {
    position: absolute;
    width: 12px;
    height: 12px;
    top: -5%;
    opacity: 0.9;
    animation: confetti-brasil-fall linear infinite;
    pointer-events: none;
}

@keyframes confetti-brasil-fall {
    to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ============ FOGUEIRA JUNINA ============ */
.bonfire {
    position: fixed;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    animation: flameFlicker 1.2s infinite ease-in-out;
    pointer-events: none;
}

@keyframes flameFlicker {
    0%, 100% { transform: translateX(-50%) scale(1) translateY(0); filter: brightness(1); }
    25% { transform: translateX(-50%) scale(1.05) translateY(-3px); filter: brightness(1.1); }
    50% { transform: translateX(-50%) scale(1.1) translateY(-6px); filter: brightness(1.2); }
    75% { transform: translateX(-50%) scale(1.05) translateY(-3px); filter: brightness(1.1); }
}

/* ============ CONFETES CARNAVAL ============ */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10%;
    opacity: 0.8;
    animation: confetti-fall linear infinite;
}

@keyframes confetti-fall {
    to { transform: translateY(110vh) rotate(720deg); opacity: 0; }
}

/* ============ CÍRCULOS VERDE E AMARELO ============ */
.circle-particle {
    position: absolute;
    border-radius: 50%;
    top: -5%;
    opacity: 0.7;
    animation: circle-fall linear infinite;
    pointer-events: none;
}

@keyframes circle-fall {
    to { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ============ CONTROLE DE ÁUDIO ============ */
.audio-control {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: none;
}

.audio-control:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

/* 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 {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    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 */
#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: 60px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
        z-index: 30;
    }
    
    #mobileMenu.open {
        max-height: calc(100vh - 60px) !important;
        overflow-y: auto;
    }
}

/* Desktop: mostrar topbar e esconder menu mobile */
@media (min-width: 1024px) {
  #topbar {
    display: block !important;
  }

  /* estado normal: abaixo do topbar */
  #mainNav {
    top: 44px;
  }

  /* ao rolar: cola no topo */
  #mainNav.scrolled {
    top: 0 !important;
  }

  /* LOGO: tamanho normal e no scroll */
  #mainNav .main-logo {
    transition: height .25s ease, max-height .25s ease;
  }

  #mainNav.scrolled .main-logo {
    height: 250px;         /* AUMENTA AQUI */
   }

  #mobileMenu {
    display: none !important;
  }
}



/* Ajuste do espaçamento do menu */
body {
    margin: 0;
    padding: 0;
}

/* 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);
}

/* Shape Dividers */
.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);
    }
}

/* Animação do ícone do menu */
#menuIcon {
    transition: transform 0.3s ease;
}

#menuIcon.fa-times {
    transform: rotate(90deg);
}

/* Menu Mobile Sidebar */
#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;
}

/* Logo Sizing */
.main-logo {
    height: 218px;
    width: auto;
    object-fit: contain;
    display: block;
}

.mobile-logo {
    height: 82px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* ============================= */
/* NOTEBOOK / DESKTOP MÉDIO */
/* ============================= */
@media (min-width: 1024px) and (max-width: 1440px) {

    /* Altura do menu menor */
    #mainNav {
        padding-top: 4px;
        padding-bottom: 4px;
    }

    /* Logo menor no notebook */
    #mainNav img,
    .main-logo {
        height: 96px;          
        max-height: 96px;
    }

}

/* ============================= */
/* MENU NORMAL (TOPO DA PÁGINA) */
/* ============================= */
#mainNav {
    padding-top: 8px;
    padding-bottom: 8px;
}

#mainNav img,
.main-logo {
    height: 128px;
    transition: height 0.35s ease;
}

/* ============================= */
/* MENU STICKY (APÓS SCROLL) */
/* ============================= */
#mainNav.scrolled {
    padding-top: 2px;
    padding-bottom: 2px;
}

#mainNav.scrolled img,
#mainNav.scrolled .main-logo {
    height: 72px;
    max-height: 72px;
}

html { scroll-behavior: smooth; }
#contato { scroll-margin-top: 140px; }

/* ============================================
   MOBILE RESPONSIVE - ANIMAÇÕES E BOTÕES
   ============================================ */
@media (max-width: 768px) {
    .santa-sleigh-big svg { width: 300px; height: 150px; }
    .vampire-appear svg { width: 280px; height: 320px; }
    .soccer-ball { font-size: 40px; }
    .goal-text { font-size: 80px; }
    .bat-flying { font-size: 25px; }

    .bonfire { font-size: 100px !important; bottom: 15%; }

    #themeButtons {
        bottom: 80px !important;
        right: 10px !important;
        gap: 8px !important;
    }

    .theme-button {
        width: 50px !important;
        height: 50px !important;
        font-size: 24px !important;
    }

    .audio-control {
        top: 10px;
        right: 10px;
        font-size: 20px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .santa-sleigh-big svg { width: 200px; height: 100px; }
    .vampire-appear svg { width: 200px; height: 240px; }
    .soccer-ball { font-size: 35px; }
    .goal-text { font-size: 60px; }
    .bat-flying { font-size: 20px; }
    .bonfire { font-size: 70px !important; }
}

/* Garantia: botões de tema sempre em coluna (evita quebra na migração) */
#themeButtons{display:flex;flex-direction:column !important;align-items:center;}

#sobre {
  scroll-margin-top: 140px;
}

/* SHAPE DIVIDER 8892 - Ondulação para Seção Sobre (Quem Somos) */
/* Adicionar no final do style.css */

.shapedividerscom-8892 {
  overflow: hidden;
  position: relative;
}

.shapedividerscom-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%; /* Ondulação na parte de BAIXO da seção */
  /* SVG de onda branca para contrastar com fundo azul escuro #1A2C45 */
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 35.28 2.17' preserveAspectRatio='none'%3E%3Cpath 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'/%3E%3C/svg%3E");
}

@media (min-width: 2100px) {
  .shapedividerscom-8892::before {
    background-size: 100% calc(2vw + 90px);
  }
}

