/* 1. ESTILOS BASE E ACESSIBILIDADE */
body {
    background-color: #F8FAFC;
    color: #0F172A;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    color: #0F172A;
    font-weight: 800;
}

p, span, li {
    color: #334155;
    font-weight: 500;
}

/* 2. COMPONENTES DE UI (NAV, SEARCH, GRADIENTS) */
.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.glass-search {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.glass-search:focus-within {
    border-color: #0066FF;
}

.hero-gradient {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.4) 50%, rgba(15, 23, 42, 0.1) 100%);
}

.text-gradient {
    background: linear-gradient(to right, #0F172A, #0066FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3. ANIMAÇÕES E UTILITÁRIOS */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-spin {
    border: 3px solid rgba(0, 102, 255, 0.2);
    border-top-color: #0066FF;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 4. ESTILOS DO MAPA (LEAFLET) */
.leaflet-container {
    z-index: 10 !important;
    font-family: 'Inter', sans-serif;
    border-radius: 32px;
}

.leaflet-popup-content-wrapper {
    border-radius: 16px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
}

.leaflet-popup-content {
    margin: 12px;
}

.leaflet-tooltip.map-label {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: #0F172A;
    font-weight: 700;
    font-size: 11px;
    padding: 4px 8px;
    font-family: 'Inter', sans-serif;
}

.leaflet-tooltip-left.map-label::before,
.leaflet-tooltip-right.map-label::before,
.leaflet-tooltip-top.map-label::before,
.leaflet-tooltip-bottom.map-label::before {
    display: none !important;
}

.footer-link {
    color: #8997ac !important;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #0066FF !important;
}

.footer-link span {
    color: inherit !important;
}

.footer-link svg {
    flex-shrink: 0;
}
