html {
    scroll-behavior: smooth;
}

#vereador-img {
    animation: fadeIn 1.5s ease-in-out;
    width: 100%;
    height: 100vh;
    /* Ocupa toda a altura da tela */
    max-height: 100vh;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
    z-index: 0;
    /* Garante que a imagem não seja cortada */
}

/* Responsividade para dispositivos menores */
@media (max-width: 768px) {
    #vereador-img {
        width: 75%;
        height: auto;
        max-height: 100vh;
    }

    .bg-fixed {
        max-height: 100vh;

    }
}

@media (max-width: 510px) {
    #vereador-img {
        width: 85%;
        height: auto;
        max-height: 100vh;
    }

    .bg-fixed {
        max-height: 90vh;

    }
}

@media (max-width: 433px) {
    #vereador-img {
        width: 85%;
        height: auto;
        max-height: 100vh;
    }

    .bg-fixed {
        max-height: 80vh;

    }
}

@media (max-width: 414px) {
    #vereador-img {
        width: 100%;
        height: auto;
        max-height: 100vh;
    }

    .bg-fixed {
        max-height: 72vh;

    }
}

@media (max-width: 399px) {
    #vereador-img {
        width: 100%;
        height: auto;
        max-height: 100vh;
    }

    .bg-fixed {
        max-height: 75vh;

    }
}

/* Animação de Entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

#menu-toggle {
    z-index: 100000;
}

/* Menu Mobile - Inicialmente Oculto */
#mobile-menu {
    position: fixed;
    top: 150;
    left: 0;
    width: 100%;
    background: rgba(0, 128, 0, 0.95);
    /* Verde escuro com transparência */
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 65px 0 20px;
    z-index: 10;
    transform: translateY(-100%);
    /* Esconde fora da tela */
    transition: transform 0.2s ease-in-out;
    /* Animação mais rápida */
}

#mobile-menu a {
    width: 100%;
    text-align: center;
}

#mobile-menu a:hover {
    width: 100%;
    text-align: center;
    background-color: green;
    padding: 8px;
    text-color: white
}

/* Quando o menu estiver visível */
#mobile-menu.show {
    transform: translateY(0);
    /* Desliza rapidamente */
}

/* Ajuste do container do carrossel */
.requerimentos-swiper {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
    /* Aumentando o espaço abaixo do carrossel */
}

/* Estilização global para todas as paginações */
.swiper-pagination {
    position: relative !important;
    bottom: -40px;
    text-align: center;
    margin-top: 15px;
}

/* Bolinhas de paginação - Verde para todas */
.swiper-pagination-bullet {
    background-color: #047857 !important;
    /* Verde */
    width: 14px !important;
    height: 14px !important;
    opacity: 0.6;
    transition: 0.3s;
    margin: 5px;
}

/* Bolinha ativa - Verde mais forte e maior */
.swiper-pagination-bullet-active {
    background-color: #047857 !important;
    /* Verde mais forte */
    opacity: 1;
    transform: scale(1.4);
}


/* Ajuste do container do carrossel de notícias */
.noticias-swiper {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
    /* Espaço extra para a paginação */
}

/* Estilização das bolinhas de paginação */
.swiper-pagination {
    position: relative !important;
    bottom: -40px;
    text-align: center;
}

/* Bolinhas de paginação */
.swiper-pagination-bullet {
    background-color: #047857;
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: 0.3s;
    margin: 5px;
}

/* Bolinha ativa */
.swiper-pagination-bullet-active {
    background-color: #047857;
    opacity: 1;
    transform: scale(1.3);
}

/* Estilo da galeria */
.galeria-container {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 60px;
}

/* Paginação única da galeria */
.galeria-container .swiper-pagination {
    position: relative !important;
    bottom: -40px;
    text-align: center;
}

/* Bolinhas de paginação */
.galeria-container .swiper-pagination-bullet {
    background-color: #047857;
    width: 12px;
    height: 12px;
    opacity: 0.4;
    transition: 0.3s;
    margin: 5px;
}

/* Bolinha ativa */
.galeria-container .swiper-pagination-bullet-active {
    background-color: #047857;
    opacity: 1;
    transform: scale(1.3);
}

/* Layout em Grid para Desktop */
@media (min-width: 1024px) {
    .galeria-swiper {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .galeria-swiper .swiper-wrapper {
        display: contents;
        /* Permite que os slides respeitem a grade */
    }

    .galeria-swiper .swiper-slide {
        width: 100% !important;
    }

    .galeria-container .swiper-pagination {
        display: none;
        /* Esconde a paginação no desktop */
    }
}

/* Estilo da linha divisória */
.hr-divider {
    width: 80%;
    /* Define a largura da linha */
    max-width: 1200px;
    /* Evita que fique muito extensa em telas grandes */
    height: 0px;
    /* Espessura da linha */
    background: linear-gradient(to right, #047857, transparent);
    /* Efeito gradiente */
    border: none;
    /* Remove a borda padrão */
    margin: 20px auto;
    /* Espaçamento entre seções */
    border-radius: 4px;
    /* Borda arredondada */
    opacity: 0.8;
    /* Transparência leve */
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .hr-divider {
        width: 90%;
        /* Aumenta a largura para melhor adaptação */
        height: 3px;
        /* Linha mais fina */
    }
}

/* CSS */
.button-3 {
    appearance: none;
    background-color: #2ea44f;
    border: 1px solid rgba(27, 31, 35, .15);
    border-radius: 6px;
    box-shadow: rgba(27, 31, 35, .1) 0 1px 0;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    padding: 6px 16px;
    position: relative;
    text-align: center;
    text-decoration: none;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
}

.button-3:focus:not(:focus-visible):not(.focus-visible) {
    box-shadow: none;
    outline: none;
}

.button-3:hover {
    background-color: #2c974b;
}

.button-3:focus {
    box-shadow: rgba(46, 164, 79, .4) 0 0 0 3px;
    outline: none;
}

.button-3:disabled {
    background-color: #94d3a2;
    border-color: rgba(27, 31, 35, .1);
    color: rgba(255, 255, 255, .8);
    cursor: default;
}

.button-3:active {
    background-color: #298e46;
    box-shadow: rgba(20, 70, 32, .2) 0 1px 0 inset;
}

.logo {
    width: 150px
}