/* ═══════════════════════════════════════════════════════════════════════════
   ÁGUA & GÁS BRASIL — Custom Styles (custom.css)
   Estilos específicos complementares ao Tailwind CSS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Variáveis e Suporte a Fontes */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Classes */
.glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.glass-dark {
    background: rgba(26, 28, 30, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Efeito de Elevação Suave com Tint Brand nos Cards */
.card-brand-shadow {
    box-shadow: 0 4px 20px -2px rgba(0, 89, 139, 0.06), 0 2px 6px -1px rgba(0, 89, 139, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-brand-shadow:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -4px rgba(0, 89, 139, 0.12), 0 4px 12px -2px rgba(0, 89, 139, 0.08);
}

/* Botões Hover Micro-animações */
.btn-micro-anim {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-micro-anim:active {
    transform: scale(0.97);
}

/* Customização dos Inputs focados */
.input-brand-focus:focus {
    outline: none;
    border-color: #00598b;
    box-shadow: 0 0 0 3px rgba(0, 89, 139, 0.15);
}

/* Efeito de Gradiente Suave */
.bg-gradient-brand {
    background: linear-gradient(135deg, #00598b 0%, #001d32 100%);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #ff6f2c 0%, #ff8a50 100%);
}

/* Customizações do Leaflet Map para combinar com o design system */
.leaflet-container {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    border-radius: 0.75rem;
}

.leaflet-bar a {
    background-color: #ffffff !important;
    color: #1a1c1e !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 0.375rem !important;
    transition: all 0.2s;
}

.leaflet-bar a:hover {
    background-color: #f3f3f6 !important;
    color: #00598b !important;
}

/* Ajustes de scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f9f9fc;
}

::-webkit-scrollbar-thumb {
    background: #dadadc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c0c7d1;
}
