input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Para navegadores baseados em WebKit (Chrome, Safari, Opera) */
    margin: 0; /* Remove o espaço que as setas ocupavam */
}

input[type="number"] {
    -moz-appearance: textfield; /* Para navegadores baseados em Mozilla (Firefox) */
    appearance: none; /* Propriedade padrão para navegadores modernos */
}

* {
    font-family: Arial, Helvetica, sans-serif;
}


.container,
.container-fluid,
main {
    margin: 0;
    width: 100%;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding: 0;
}

/* ==========================================
   PALETA DE CORES E VARIÁVEIS
   ========================================== */
:root {
    --brand-blue: #0d6efd; /* Azul moderno */
    --brand-green: #198754; /* Verde vibrante */
    --glass-bg: rgba(255, 255, 255, 0.85); /* Fundo branco leitoso */
    --glass-bgdark: rgba(0, 0, 0, 0.85); /* Fundo branco leitoso */
}

/* ==========================================
   EFEITO GRADIENTE NA LOGO
   ========================================== */
/* ==========================================
   EFEITO GRADIENTE ANIMADO NA LOGO
   ========================================== */

/* ==========================================
   VARIÁVEIS DE TEMA E CORES DA MARCA
   ========================================== */
:root {
    --brand-blue: #0984e3;
    --brand-green: #00b894;
    --glass-bg-light: rgba(255, 255, 255, 0.85);
    --glass-border-light: rgba(255, 255, 255, 0.4);
    --search-pill-bg-light: rgba(0, 0, 0, 0.04);
    --text-muted-custom: #636e72;
}

/* Exemplo de gatilho para o seu Dark Mode */
[data-bs-theme="dark"] body {
    --brand-blue: #74b9ff;
    --brand-green: #55efc4;
    --glass-bg-light: rgba(0, 0, 0, 0.85);
    --glass-border-light: rgba(255, 255, 255, 0.05);
    --search-pill-bg-light: rgba(255, 255, 255, 0.05);
    --text-muted-custom: #b2bec3;
}

/* ==========================================
   TEXTO GRADIENTE ANIMADO
   ========================================== */
.brand-text-gradient {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-green), var(--brand-blue));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: -0.5px;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
main {

    padding-top: 70px !important; /* Ajuste esse valor de acordo com a altura do seu header */

}
/* ==========================================
   1. HEADER DA PÁGINA INICIAL (Botão Flutuante)
   ========================================== */
.header-inicio {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    margin-top: 5vh;

    /* Responsividade Inteligente */
    width: 90%;
    max-width: 600px; /* Não fica bizarro em telas ultrawide */
    display: flex;

    animation: floatDown 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.navbar-inicio {
    border-radius: 60px;
    background-color: var(--glass-bg-light);
    height: 64px; /* Um pouco mais alto para respiro */
    cursor: pointer;

    /* Glassmorphism Premium */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border-light);

    /* Sombra em camadas (Layered Shadow) - O segredo do visual premium */
    box-shadow:
            0 4px 6px rgba(0, 0, 0, 0.02),
            0 10px 24px rgba(0, 0, 0, 0.06),
            inset 0 0 0 1px rgba(255, 255, 255, 0.1); /* Brilho interno */

    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.navbar-inicio:hover
{
    transform: translateY(-3px) scale(1.01);
    background-color: var(--glass-bg-light);
    box-shadow:
            0 12px 16px rgba(0, 0, 0, 0.04),
            0 24px 32px rgba(13, 110, 253, 0.05),
            inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

/* A pílula de pesquisa interna */
.search-pill {
    background-color: var(--search-pill-bg-light);
    padding: 8px 16px;
    border-radius: 40px;
    color: var(--text-muted-custom);
    transition: all 0.3s ease;
}

.navbar-inicio:hover .search-pill {
    background-color: rgba(0, 184, 148, 0.1); /* Fundo verdinho no hover */
    color: var(--brand-green);
}

.search-icon {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-inicio:hover .search-icon {
    transform: scale(1.15) rotate(10deg);
}

/* ==========================================
   2. HEADER DAS OUTRAS PÁGINAS (Fixed Top)
   ========================================== */
.header-padrao {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: var(--glass-bg-light);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid var(--glass-border-light);

    /* Linha colorida inferior sutil */
    animation: slideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-padrao::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-blue), var(--brand-green));
    opacity: 0.8;
}
a[rel="noopener"] {
    display: none !important;; /* Estiliza links com rel="nofollow" */
}

.gmnoprint, .gm-style-cc{
    display: none;
}
.navbar-padrao {
    background-color: transparent !important;
}

/* ==========================================
   3. KEYFRAMES & UTILITÁRIOS
   ========================================== */
@keyframes floatDown {
    from { opacity: 0; transform: translate(-50%, -30px) scale(0.95); }
    to { opacity: 1; transform: translate(-50%, 0) scale(1); }
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.logoHeader {
    height: 38px; /* Levemente maior para dar presença */
    width: auto;
    object-fit: contain;
}
footer {
    background-color: aliceblue;
    display: flex;
    position: initial;
    justify-self: center;
    flex-direction: row;
    align-items: center;
    z-index: initial;
    border-radius: initial;
    width: 100%;
    justify-content: center;
    height: max-content;
    gap: 1vw;
    padding: 0.5vw;
}

footer a:hover {
    text-decoration: none;
    transition: 0.5s;
    color: gray;
    transform: scale(1.05);
}

footer a {
    text-decoration: underline;
    transition: 0.5s;
}

#map {
    width: 100%;
    height: 100dvh;
}


body,
html {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scrollbar-color: #1a538f transparent;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

/* Fundo suave global */
body {
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* Usamos um seletor mais forte para ganhar do Bootstrap */
button.btn-outline-secondary,
.btn-outline-secondary {
    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 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);
    }
}

.navbar-brand b {
    font-size: 1.3rem;
    letter-spacing: -1px;
    color: #222;
}

.brand-i {
    color: #8aaf6a;
}

/* Verde */
.brand-b {
    color: #4c7cac;
}


/* Remove padding extra apenas na Home para o mapa ser full-screen */
.container-full-map {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

/* --- BOTÕES FLUTUANTES GLOBAIS --- */

/* 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: 1040;
    /* 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.15);
    color: #0d6efd !important;
    border-color: #0d6efd !important;
}


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

.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;
}

@media (max-width: 650px) {
    #txt-search {
        display: none;
    }
}

/* Camada que cobre a tela */
.transition-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: transparent; /* 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;
}

.btn-back-home {
    position: fixed;
    top: 60px;
    left: 20px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 8px 16px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back-home:hover {
    background: #fff;
    transform: translateX(-5px);
    color: #0d6efd;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.rich-editor .toolbar {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.rich-editor .toolbar button {
    border: none;
    background: #f1f1f1;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.rich-editor .toolbar button:hover {
    background: #ddd;
}

.rich-editor .toolbar button.active {
    background: #dbeafe;
    border-color: #60a5fa;
}

.rich-editor .toolbar {
    display: flex;
    gap: 5px;
    margin-bottom: 8px;
}

.rich-editor .toolbar button {
    border: none;
    background: #f1f1f1;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.rich-editor .toolbar button:hover {
    background: #ddd;
}
