html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    background: #f8fafc;
}

/* ================= MAPA ================= */

#map {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* ================= SIDEBAR ================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: #ffffff;
    padding: 25px;
    box-shadow: 4px 0 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
    z-index: 2000;
}

.sidebar.hidden {
    transform: translateX(-100%);
}

.sidebar h2 {
    margin: 0 0 30px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

/* ================= FILTROS ================= */

.filter-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 13px;
    margin-bottom: 6px;
    color: #6b7280;
}

.filter-group input,
.filter-group select {
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    background: #f9fafb;
}

/* ================= BOTÃO ================= */

.toggle-btn {
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 3000;
    background: #2563eb;
    border: none;
    color: white;
    font-size: 18px;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: 0.3s ease;
}

.toggle-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

/* ================= MOBILE ================= */

@media (max-width: 768px) {

    .sidebar {
        width: 85%;
        max-width: 320px;
    }
}
/* ================= MODAL PREMIUM ================= */

#infoModal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2147483647;
    padding: 20px;
}

#infoModal.active {
    display: flex;
}

.modal-box {
    position: relative;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 35px 30px;
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25);
    animation: modalIn 0.35s ease;
}

.modal-box h2 {
    margin-top: 0;
    font-size: 22px;
}

.modal-box p {
    font-size: 15px;
    line-height: 1.5;
    color: #374151;
}

.modal-btn {
    margin-top: 25px;
    padding: 12px 22px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    transition: 0.2s ease;
}

.modal-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* BOTÃO X */

.modal-close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #374151;
}

/* BOTÃO INFO */

.info-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    border: none;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 4000;
    display: none;
    transition: 0.2s ease;
}

.info-button:hover {
    transform: scale(1.1);
}

/* ANIMAÇÃO */

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* MOBILE */

@media (max-width: 500px) {

    .modal-box {
        padding: 25px 20px;
        border-radius: 18px;
    }

}
}