/* ==========================================================================
   ELETRICALISTO - Estilos Customizados e Otimizações de Design
   ========================================================================== */

:root {
    --primary-blue: #0f172a;
    --brand-blue: #1e3a8a;
    --accent-yellow: #f59e0b;
    --accent-yellow-light: #fef08a;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-dark);
}

/* Background Gradients */
.hero-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 58, 138, 0.88) 100%), 
                url('../img/eletricista-perfil.jpg') center/cover no-repeat,
                url('/img/eletricista-perfil.jpg') center/cover no-repeat;
}

.hero-alt-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.90) 100%), 
                url('../img/quadro-eletrico.jpg') center/cover no-repeat,
                url('/img/quadro-eletrico.jpg') center/cover no-repeat;
}

.hero-urgente-gradient {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(185, 28, 28, 0.85) 100%), 
                url('../img/eletricista-foco.jpg') center/cover no-repeat,
                url('/img/eletricista-foco.jpg') center/cover no-repeat;
}

/* Glow & Shadows */
.glow-yellow {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
}

.glow-blue {
    box-shadow: 0 0 30px rgba(30, 58, 138, 0.4);
}

.text-shadow-strong {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   Menu Dropdown Serviços (Estilo Imagem 3)
   ========================================================================== */
.nav-dropdown-wrapper {
    position: relative;
}

.nav-dropdown-card {
    position: absolute;
    left: 0;
    top: 100%;
    width: 18.5rem; /* ~296px */
    background: #ffffff;
    border-radius: 0 0 1.25rem 1.25rem;
    border-top: 4px solid #f59e0b;
    border-left: 1px solid #f1f5f9;
    border-right: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.22);
    padding: 0.5rem 0;
    z-index: 100;
}

/* Rotação suave do chevron no hover */
.group:hover .chevron-icon,
.nav-dropdown-wrapper:hover .chevron-icon {
    transform: rotate(180deg);
}

/* Floating Action Bar on Mobile */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
}

/* Pulse Animation */
@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.05);
    }
}

.pulse-badge {
    animation: pulseGlow 2.5s infinite;
}

/* Dropdown Active para toque/mobile */
.nav-dropdown-card.dropdown-active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Espaçamento inferior no mobile para a barra fixa de ação */
@media (max-width: 767px) {
    body {
        padding-bottom: 4.5rem;
    }
}

