#mapa-cultural {
    width: 100%;
    height: 100%;
}
.rodapeMapa{
    width: 100%;
    max-height: 50px;
}
.logoMapa{
    width: 100%;
    max-height: 50px;
}

/* ======================================
📌 POPUP MAPA
====================================== */

.popup-mapa {
    text-align: center;
    width: 100%;
}

.popup-mapa img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 6px;
}

.popup-mapa strong {
    display: block;
    margin-bottom: 4px;
}

.popup-mapa a {
    display: inline-block;
    margin-top: 4px;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
}

/* Container do popup */
.leaflet-popup-content .popup-mapa {
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Título */
.leaflet-popup-content .popup-titulo {
    margin: 0 0 8px;
    font-size: 16px;
    color: #2c3e50;
}

/* Botão */
.leaflet-popup-content .popup-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #1e90ff;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
}

.leaflet-popup-content .popup-link:hover {
    background-color: #0d6efd;
}

/* Largura do popup */
.leaflet-popup-content {
    min-width: 200px;
    width: 220px;
}

.popup-titulo {
    font-size: 16px;
    margin: 6px 0;
    color: #2c3e50;
}

.popup-link {
    display: inline-block;
    padding: 6px 12px;
    background: #1e90ff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.popup-link:hover {
    background: #0d6efd;
}

/* ======================================
📌 BLOCO MAPA
====================================== */

.mapa-bloqueado {
    max-width: 1920px;
    margin: 40px auto;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    background: #fff;
}

.mapa-banner {
    width: 100%;
    height: auto;
    display: block;
}

.mapa-bloqueado-texto {
    padding: 25px;
}

.mapa-bloqueado-texto h3 {
    margin-bottom: 10px;
}

.mapa-bloqueado-texto p {
    margin-bottom: 15px;
    font-size: 16px;
}

.btn-login {
    display: inline-block;
    padding: 10px 22px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.btn-login:hover {
    background: #005f8d;
}

/* ======================================
📦 FILTROS
====================================== */

.mapa-filtros-box {
    max-width: 900px;
    margin: 0 auto 25px auto;
    padding: 20px;
    background: #ffffff;
    text-align: center;
}

/* 🧭 Título */
.mapa-filtros-titulo {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

/* 🔘 Área filtros */
.mapa-filtros {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 25px;
}

/* 🏷️ Labels */
.mapa-filtros label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 20px;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.mapa-filtros label:hover {
    background: #e9e9e9;
}

/* ✅ Checkbox */
.mapa-filtros input[type="checkbox"] {
    accent-color: #2a7ae4;
    cursor: pointer;
}

/* 📱 Mobile */
@media (max-width: 600px) {

    .mapa-filtros-box {
        padding: 15px;
    }

    .mapa-filtros label {
        font-size: 14px;
        padding: 5px 10px;
    }
}

/* ======================================
🎯 BANNER DO MAPA (RESPONSIVO DINÂMICO)
====================================== */

.mapa-toggle-box {

    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 16px;

    margin-bottom: 20px;

    min-height: 320px;

    display: flex;

    align-items: center;

    justify-content: center;

    background-repeat: no-repeat;

    background-position: center;

    background-size: cover;

    box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

/* 🌑 Overlay */
.mapa-toggle-box::before {

    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,.65),
        rgba(0,0,0,.20)
    );

    z-index: 1;
}

/* 🔘 Botão */
#toggle-mapa-box {

    position: relative;

    z-index: 2;

    background: #2a7ae4;

    color: #fff;

    border: none;

    padding: 14px 26px;

    font-size: 16px;

    font-weight: bold;

    border-radius: 8px;

    cursor: pointer;

    transition: all 0.3s ease;

    box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* ✨ Hover */
#toggle-mapa-box:hover {

    background: #1f5fc4;

    transform: scale(1.05);
}

/* 📱 Tablet */
@media (max-width: 992px) {

    .mapa-toggle-box {
        min-height: 260px;
    }
}

/* 📱 Mobile */
@media (max-width: 768px) {

    .mapa-toggle-box {

        min-height: 220px;

        border-radius: 12px;
    }

    #toggle-mapa-box {

        font-size: 14px;

        padding: 12px 20px;
    }
}

/* 📱 Mobile pequeno */
@media (max-width: 480px) {

    .mapa-toggle-box {

        min-height: 180px;
    }

    #toggle-mapa-box {

        width: 90%;
    }
}

/* ======================================
📦 CAIXA DO MAPA
====================================== */

/* ======================================
🗺️ MAPA FULLSCREEN
====================================== */

.mapa-box {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100vh;

    z-index: 999999;

    background: #fff;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: all .35s ease;
}

/* 🔒 Oculto */
.mapa-fechado {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}

/* 🔓 Visível */
.mapa-aberto {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

/* ======================================
🎯 BANNER LOGIN
====================================== */

.btn-banner-login {

    position: relative;

    display: block;

    max-width: 100%;

    margin: 40px auto;

    overflow: hidden;

    text-decoration: none;

    cursor: pointer;

    border-radius: 18px;

    box-shadow: 0 15px 40px rgba(0,0,0,.25);

    transform: translateY(30px);

    opacity: 0;
}

/* 🔥 Imagem */
.btn-banner-login img {

    width: 100%;

    height: auto;

    display: block;

    object-fit: cover;
}

/* 📱 Mobile */
@media (max-width: 768px) {

    .btn-banner-login {

        margin: 25px 15px;

        border-radius: 14px;
    }
}

/* ======================================
🌑 OVERLAY
====================================== */

.banner-overlay {

    position: absolute;

    inset: 0;

    z-index: 2;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.25)
    );

    color: #fff;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    padding: 28px;
}

/* ======================================
✍️ TEXTOS
====================================== */

.banner-overlay h3 {

    font-size: 26px;

    margin: 0 0 10px;
}

.banner-overlay p {

    font-size: 15px;

    margin-bottom: 18px;

    opacity: 0.9;
}

/* 📱 Mobile textos */
@media (max-width: 768px) {

    .banner-overlay h3 {
        font-size: 20px;
    }

    .banner-overlay p {
        font-size: 14px;
    }
}

/* ======================================
🔘 BOTÃO CTA
====================================== */

.banner-cta {

    align-self: center;

    background: #2a7ae4;

    padding: 10px 22px;

    border-radius: 5px;

    font-weight: bold;

    font-size: 14px;

    transition: transform 0.3s ease;
}

.btn-banner-login:hover .banner-cta {

    transform: scale(1.05);
}

/* ======================================
✨ GLOW
====================================== */

.btn-banner-login:hover {

    box-shadow: 0 0 30px rgba(42,122,228,0.8);
}

/* ======================================
💧 RIPPLE
====================================== */

.btn-banner-login .ripple {

    position: absolute;

    border-radius: 50%;

    transform: scale(0);

    background: rgba(255,255,255,0.5);

    animation: ripple 600ms linear;

    pointer-events: none;

    z-index: 3;
}

@keyframes ripple {

    to {
        transform: scale(8);
        opacity: 0;
    }
}

/* ======================================
✨ SCROLL REVEAL
====================================== */

.reveal {

    opacity: 0;

    transform: translateY(30px);
}

.reveal.active {

    opacity: 1;

    transform: translateY(0);

    transition: all 0.7s ease;
}

/* ======================================
🗺️ MODAL FULLSCREEN MAPA
====================================== */

#mapa-modal {

    position: fixed;

    inset: 0;

    width: 100%;

    height: 100vh;

    background: rgba(0,0,0,.82);

    backdrop-filter: blur(6px);

    z-index: 999999;

    display: flex;

    flex-direction: column;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition: all .35s ease;
}

/* ABERTO */
#mapa-modal.mapa-modal-aberto {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}

/* ======================================
📌 TOPO
====================================== */

.mapa-topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 16px 24px;

    background: rgba(15,15,15,.92);

    border-bottom: 1px solid rgba(255,255,255,.08);

    flex-wrap: wrap;
}

/* TÍTULO */
.mapa-topbar h3 {

    color: #fff;

    margin: 0;

    font-size: 22px;
}

/* ======================================
🎛️ FILTROS
====================================== */

.mapa-topbar .mapa-filtros {

    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}

/* ======================================
❌ BOTÃO FECHAR
====================================== */

#fechar-mapa {

    position: absolute;

    top: 20px;

    right: 20px;

    z-index: 99999;

    border: none;

    background: #e63946;

    color: #fff;

    padding: 12px 18px;

    border-radius: 4px;

    font-weight: bold;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0,0,0,.2);

    transition: all .25s ease;
}

#fechar-mapa:hover {

    background: #c1121f;

    transform: scale(1.05);
}