/* ==========================================================================
   RESET E CONFIGURAÇÕES GERAIS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cor-principal: #495e4f; 
    --cor-secundaria: #ffffff;
    --cor-terceira-escura: #1f2122;
    --cor-destaque: #c5a059;
    
    --fonte-padrao: 'Roboto', sans-serif;
    --fonte-principal: 'Raleway', sans-serif;
    --fonte-secundaria: 'Open Sans', sans-serif;

    /* Fallback para o script de altura caso o JS demore a carregar */
    --vh: 1vh; 
}

html, body {
    /* Uso da variável calculada pelo Script JS */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    width: 100%;
    background-color: var(--cor-principal);
    font-family: var(--fonte-padrao);
    color: var(--cor-secundaria);
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
}

/* O wrapper e a seção respeitam o cálculo dinâmico */
.wrapper, .sect_uni {
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
    height: auto;
}

.h1_zero {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   LAYOUT E ESTRUTURA
   ========================================================================== */
.sect_uni {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('../assets/img_fundo_pg_constru.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Distribuição equilibrada */
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1200px;
    padding: 20px 10px;
    min-height: 100vh;
    min-height: calc(var(--vh, 1vh) * 100);
}

.div_lg img {
    max-height: 70px;
    width: auto;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
    margin: 20px 0;
}

/* ==========================================================================
   CONTEÚDO PRINCIPAL (MAIN)
   ========================================================================== */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

.p-breve {
    font-family: var(--fonte-secundaria);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #9572FC, #43E7AD, #E2D45C);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.p-melhores {
    font-family: var(--fonte-principal);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 4px 10px rgba(0,0,0,0.5);
    margin-bottom: 25px;
}

.p-descricao {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 15px auto 0;
}

.p-agenda {
    margin-top: 30px;
    font-size: 1.3rem;
    font-weight: 500;
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
}

.contact-item {
    margin-bottom: 8px;
}

.tel-link {
    font-size: 1.5rem;
}

.mail-link {
    font-size: 1.1rem;
}

a, button {
    -webkit-tap-highlight-color: transparent;
}

.social_icons a, .contact-item a, #open_preferences_center {
    color: var(--cor-secundaria) !important;
    text-decoration: none;
    opacity: 0.75;
    transition: 0.2s ease;
    outline: none;
}

@media (hover: hover) { 
    .contact-item a:hover, .social_icons a:hover {
        opacity: 1 !important;
    }
}

.social_icons {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social_icons a {
    font-size: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 10px;
}

.footer-copy { 
    font-size: 0.8em; 
    opacity: 0.8;
    margin-bottom: 5px;
}

.lgpd-link a {
    opacity: 0.6 !important;
    font-size: 0.8rem;
}

/* ==========================================================================
   RESPONSIVIDADE (MOBILE UNIFICADA)
   ========================================================================== */
@media (max-width: 768px) {
    
    .container {
        justify-content: space-between;
        padding: 10px;
    }
    
    .div_lg img {
        max-height: 45px;
        margin: 10px 0;
    }
    
    .p-breve { 
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .p-melhores {
        font-size: 1.7rem;
        margin-bottom: 10px;
    }
    
    .p-descricao {
        font-size: 0.95rem;
        margin-top: 5px;
    }

    .p-vapor {
        margin-top: 15px;
    }
    
    .p-agenda {
        margin-top: 30px;
        font-size: 1rem;
    }

    footer {
        align-items: center;
        gap: 15px;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 15px; }
    
    .contact_info {
        text-align: center;
    }
}


@media screen and (max-width: 380px) {
    
    .p-agenda i {
        display: none;
    }
}


@media screen and (max-height: 670px) {
    
    .p-melhores {
        font-size: 1.4rem;
    }
    
    .p-vapor {
        display: none;
    }
    
    .p-agenda {
        margin: 25px 0 10px 0;
        font-size: 0.9rem;
    }
}


/* Banner TermsFeed */
#termsfeed-com---nb {
    bottom: 0 !important;
    top: auto !important;
}