
html,body{
    scroll-behavior: smooth;
    scrollbar-color: #1a538f transparent;
    scrollbar-width: thin;
}

body {
    font-family: 'Inter', sans-serif;
    /* Gradiente fluido de Azul Profundo para Verde Esmeralda acompanhando a página toda */
    background: linear-gradient(to bottom, #4070a0 0%, #155848 50%, #155848 100%);
    color: white !important;
}

/* Classes auxiliares para a animação do Intersection Observer */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    width: 40px;
    height: 40px;
}

/* Glassmorphism customizado para legibilidade corporativa */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.transition-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffffff;
    /* Cor da transição */
    z-index: 9999;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    opacity: 1;
}

/* Estado quando a página carregou (sai da tela) */
.transition-layer.is-hidden {
    opacity: 0;
    transition: 0.5s;
}

/* Estado de saída (entra na tela vindo de baixo) */
.transition-layer.is-leaving {
    opacity: 1;
    transition: 0.5s;
}

/* Botão Menu (Inferior Esquerdo - Branco) */
.menupop {
    position: fixed;
    bottom: 25px;
    left: 25px;
    width: 55px;
    height: 55px;
    background: #ffffff;
    color: #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    /* Acima do mapa */
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.menupop:hover {
    transform: scale(1.1);
    color: #0d6efd;
    border-color: #0d6efd;
}


/* --- MENU LATERAL (DRAWER) --- */
.menu-drawer {
    border-radius: 0 24px 24px 0;
    border: none;
    width: 300px !important;
}

/* Usamos um seletor mais forte para ganhar do Bootstrap */
button.btn-outline-secondary,
.btn-outline-secondary {
    color: black;
    animation: pulseBorder 4s infinite !important;
    transition: 0.5s; !important;
}
button.btn-outline-secondary:hover,
.btn-outline-secondary:hover{

    animation: none !important;
    transition: 0.5s; !important;
}

@keyframes rodarLuz {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulseBorder {
    0% {
        box-shadow: 0 0 0 0px rgba(105, 105, 105, 0);
    }
    50% {
        box-shadow: 0 0 0 2px rgba(105, 105, 105, 0.5);
    }
    100% {
        box-shadow: 0 0 0 0px rgba(105, 105, 105, 0);
    }
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    color: #444;
    text-decoration: none;
    transition: 0.2s;
    font-weight: 500;
    background: transparent;
    border: none;
    width: 100%;
    text-align: left;
}

.menu-item:hover {
    background-color: #f1f5f9;
    color: #0d6efd;
}

.menu-item i {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

.user-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

    

.btn-primary-a:hover {
    transition: 0.5s;
    color: whitesmoke !important;
    background-color: #48bd44 !important;
}

.btn-primary-a {
    /* Estilo Principal */
    padding: 15px 35px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: white !important; /* Texto branco para contraste no azul */
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #1a73e8 !important; /* Azul principal */

    /* Sombra para destacar no fundo branco da página */
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3) !important;
    transition: transform 0.5s ease !important;
}

/* Efeito de clique */
.btn-primary-a:active {
    transform: scale(0.96);
}


/* O "Rastro de Luz" Branco que gira */
.btn-primary-a::before {
    content: '';
    position: absolute;
    z-index: -2;
    left: -50%;
    top: -50%;
    width: 200%;
    height: 200%;
    /* Gradiente: Azul de base com uma "fatia" branca brilhante */
    background-image: conic-gradient(
            #1a73e8,
            #48bd44,
            white,
            #1a73e8 25%
    );
    animation: rodarLuz 3s linear infinite;
}

/* A máscara interna (Corpo do botão) */
.btn-primary-a::after {
    content: '';
    position: absolute;
    z-index: -1;
    left: 3px; /* Grossura da borda iluminada */
    top: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    background: #1a73e8; /* Mesma cor do azul principal */
    border-radius: 10px;
}
