:root {
    --fonte-base: 'Din-Pro Regular', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    font-family: var(--fonte-base);
    font-weight: bold;
    color: hsl(220, 60%, 31%);
    background-color: #000;
}

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

 #camera-info {
        position: absolute;

        top: 10px;
        right: 50%;
        background-color: rgba(193, 0, 0, 0);
        color: white;
        padding: 10px;
        font-family: monospace;
        font-size: large;
        z-index: 10;
    }


#menu {
    position: absolute;
    top: 10px;
    left: 0;
    width: 20%;
    max-width: 353px;
    min-width: 200px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#logo {
    width: 95%;
    border-radius: 0 10vmin 0 0;
    background: #203e80;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
    padding: 10% 0 8% 5%;
}

#logo img {
    width: 50%;
    height: auto;
    display: block;
    padding-left: 20%;
}

#Voltar {
    width: 90%;
    background-color: rgba(255, 255, 255, 0);
    color: #203e80;
    padding: 8px 10px 10px 0;
    border-radius: 0 0 50px 0;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateX(-120%);
    transition: transform 0.5s ease, opacity 0.5s ease, background-color 0.3s ease;
    pointer-events: none;
}

#Voltar:hover {
    background-color: #a5b3cf;
}

#Voltar.aparece {
    opacity: 1;
    transform: translateX(0px);
    pointer-events: auto;
}

#info-panel {
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: right 0.6s ease;
    z-index: 992;
    display: flex;
    flex-direction: column;
}

#info-panel.aberto {
    right: 0;
}

#info-content {
    flex: 1;
    overflow-y: auto;
}

#info-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

#info-popup-E {
    position: absolute;
    top: 15%;
    right: -100%;
    width: 20vmax;
    min-width: 280px;
    background: #bebebe;
    transition: right 0.6s ease;
    z-index: 50;
    border-radius: 2vmin;
}

#info-popup-E.aberto {
    right: 5%;
}

#info-popup-content h2 {
    margin: 0 0 0 5%;
    padding: 0;
}

#info-popup-content p {
    margin: 5%;
}

#container-botoes-previsual {
    display: flex;
    padding: 0 5% 5% 5%;
    gap: 10px;
}

.btn-camada {
    flex: 1;
    background-color: #203e80;
    color: #bebebe;
    border: none;
    padding: 15px 10px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 1vmin;
    transition: background-color 0.3s ease;
}

#map-back-button {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background-color: rgba(32, 62, 128, 0.8);
    color: white;
    border: 1px solid white;
    border-radius: 4px;
    padding: 8px 12px;
    font-family: var(--fonte-base);
    font-weight: bold;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}

#map-back-button.visible {
    display: block;
}

#map-back-button:hover {
    background-color: rgba(50, 85, 150, 0.9);
}



/* ========================================================= */
/* ESTILOS DO PROOF-BUTTON (APLICADO PRIMEIRO NO DESKTOP) */
/* ========================================================= */

#proof-button {
    width: 95%; 
    margin-top: 0px;
    align-self: flex-start;
    padding: 15px 25px;
    background-color: #ffffff;
    color: #203e80;
    border: none;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 40px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    transition: all 0.3s ease;
}

#proof-button:hover {
    background-color: #040f25;
    color: #ffffff;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
}
/* ADICIONE ESTE CÓDIGO AO SEU ARQUIVO style.css */



/* ========================================================= */
/* ESTILOS UNIFICADOS PARA DISPOSITIVOS MÓVEIS (ATÉ 768PX) */
/* ========================================================= */
@media (max-width: 768px) {

    /* --- Ajusta o menu lateral esquerdo --- */
    #menu {
        width: 45%; 
        min-width: 0;
        top: 16px;
        max-height: 85vh;
        overflow-y: auto;
    }

    #logo {
        padding: 8% 0% 6% 5%;
    }

    #logo img {
        padding-left: 15%; 
        width: 60%;
    }

    /* --- Ajusta o pop-up de informações --- */
    #info-popup-E.aberto {
        width: 90%;
        right: 5%;
    }
    
    #info-popup-content {
        padding-top: 20px; 
    }

    .btn-camada {
        font-size: 14px;
        padding: 12px 8px;
    }

    /* --- Centraliza o display de coordenadas --- */
    #camera-info {
        left: 10px;
        right: auto;
        transform: none;
        font-size: medium;
    }
    
    /* --- Estilo do Botão Principal no Mobile --- */
    #proof-button {
        display: none;
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 450px;
        padding: 15px;
        font-size: 16px;
        border-radius: 30px;
    }

} /* FIM DA MEDIA QUERY UNIFICADA */
/* ADICIONE ESTE BLOCO CORRETO */
/* Esta classe será usada pelo JavaScript para MOSTRAR o botão */
#proof-button.is-visible {
    display: block;
}

