/* --- CONFIGURAÇÃO GLOBAL --- */
html { scroll-behavior: smooth; }
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Arial, sans-serif; }

/* Cores do Sistema - LUXO */
:root {
    --verde-escuro: #0a2f10;
    --dourado: #c5a059;
    --preto-transparente: rgba(0, 0, 0, 0.85);
    --branco: #ffffff;
    --cinza-claro: #f4f4f4;
    --transicao: all 0.4s ease;
}

body { background: var(--branco); color: #333; overflow-x: hidden; }

/* --- NAVBAR FIXA --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 5%; height: 80px; background: var(--branco);
    position: fixed; top: 0; width: 100%; z-index: 2000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--verde-escuro);
}
.logo { color: var(--verde-escuro); font-weight: bold; font-size: 22px; }
.logo span { color: var(--dourado); font-size: 14px; margin-left: 5px; }
.nav-links a {
    text-decoration: none; color: var(--verde-escuro); margin-left: 30px;
    font-weight: 600; font-size: 16px; transition: 0.3s;
    padding-bottom: 5px;
}
.nav-links a:hover, .nav-links a.active { color: var(--dourado); border-bottom: 2px solid var(--dourado); }

/* --- BANNER PRINCIPAL (TELA CHEIA CORRIGIDO) --- */
.hero-section { 
    margin-top: 80px; /* Compensa a altura da navbar */
    width: 100%; 
    height: calc(100vh - 80px); /* Ocupa exatamente o resto da tela */
    display: flex; 
    justify-content: center; 
    align-items: center;
    background: #000; 
    overflow: hidden;
}
.hero-container { width: 100%; height: 100%; }
.hero-img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Faz a imagem preencher sem achatar */
    display: block; 
}

/* --- SEÇÃO VERDE ESCURO (RESUMO) --- */
.summary-section { 
    padding: 100px 5%; 
    background: var(--verde-escuro); 
    color: var(--dourado); /* Letra Dourada */
    text-align: center; 
    border-top: 4px solid var(--dourado);
}
.container-small { max-width: 800px; margin: 0 auto; }
.summary-section h2 { color: var(--dourado); margin-bottom: 25px; font-size: 36px; }
.summary-section p { font-size: 20px; line-height: 1.8; color: #fff; }

/* --- SEÇÃO HISTÓRIA (RESTAURADA) --- */
.history-section { padding: 100px 10%; background: #fff; scroll-margin-top: 100px; }
.container-history { max-width: 900px; margin: 0 auto; text-align: center; }
.main-title { color: var(--verde-escuro); font-size: 38px; margin-bottom: 20px; }
.divider { width: 80px; height: 4px; background: var(--dourado); margin: 0 auto 40px; }
.text-content p { text-align: justify; font-size: 19px; line-height: 1.8; margin-bottom: 25px; color: #444; }

/* --- BOTÃO WHATSAPP (AJUSTADO E SEM BUG) --- */
.whatsapp-float {
    position: fixed;
    width: 60px; height: 60px;
    bottom: 40px; right: 40px;
    background-color: var(--verde-escuro);
    color: var(--dourado);
    border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 3000;
    transition: var(--transicao);
    border: 2px solid var(--dourado);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.whatsapp-float:hover {
    background-color: var(--dourado);
    color: var(--verde-escuro);
    transform: scale(1.1);
}

/* Tooltip corrigido para não vazar texto */
.tooltip-whatsapp {
    visibility: hidden;
    white-space: nowrap; /* Impede quebra de linha bugada */
    background-color: #333;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    position: absolute;
    right: 125%;
    font-size: 14px;
    opacity: 0;
    transition: 0.3s;
    border: 1px solid var(--dourado);
}

.whatsapp-float:hover .tooltip-whatsapp { visibility: visible; opacity: 1; }

/* --- SEÇÃO VISITE-NOS --- */
.visit-us-section { padding: 80px 0; background-color: #f9f7f2; }
.visit-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 5%; }
.map-frame { border: 8px solid #fff; box-shadow: 0 15px 45px rgba(0,0,0,0.1); border-radius: 4px; overflow: hidden; }
.info-card-luxury { padding: 20px; }
.info-item h3 { color: var(--verde-escuro); margin-bottom: 5px; font-size: 1.3rem; }
.hours-list li { display: flex; justify-content: space-between; border-bottom: 1px dotted #ccc; padding: 8px 0; }

/* Estilos adicionais para Contato e Trabalhos permanecem abaixo conforme o seu padrão... */

/* =========================================
   NOVO DESIGN DA PÁGINA DE CONTATO
========================================= */

/* Fundo da página de contato para dar contraste */
.contact-page-body {
    background-color: #1a1a1a; /* Fundo escuro para a página toda */
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(46, 46, 46, 0.9)), url('banner-principal.jpg'); /* Opcional: usa a imagem de fundo com filtro verde */
    background-size: cover;
    background-attachment: fixed;
}

.page-container { padding-top: 120px; padding-bottom: 80px; min-height: 100vh; }

/* Cabeçalho da seção de contato */
.contact-hero.dark-mode { text-align: center; margin-bottom: 40px; }
.tagline-gold { color: var(--dourado); text-transform: uppercase; letter-spacing: 3px; font-weight: bold; }
.title-gold { color: var(--dourado); font-size: 42px; margin: 15px 0; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.divider-gold { width: 80px; height: 3px; background: var(--dourado); margin: 0 auto 30px; }
.text-light { color: #e0e0e0; font-size: 18px; }

/* CONTATO */
.container-form-luxury {
    max-width: 750px; margin: 0 auto;
    
    /* AQUI ESTÁ O QUE VOCÊ PEDIU: */
    background: var(--preto-transparente); /* Fundo preto quase transparente */
    border: 3px solid var(--verde-escuro); /* Borda verde escura */
    border-radius: 15px;
    padding: 50px;
    
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 0 20px rgba(10, 47, 16, 0.2);
    backdrop-filter: blur(5px); /* Efeito de vidro fosco chique */
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.input-group { margin-bottom: 30px; }
.label-gold { display: block; font-size: 15px; font-weight: 600; color: var(--dourado); margin-bottom: 10px; letter-spacing: 1px; }

/* Campos de Input Escuros */
.input-field-dark { position: relative; display: flex; align-items: center; }
.icon-gold { position: absolute; left: 15px; color: var(--dourado); font-size: 18px; z-index: 10; }
.textarea-icon { top: 15px; }

.input-field-dark input, .input-field-dark textarea {
    width: 100%;
    padding: 15px 15px 15px 50px; /* Espaço para o ícone */
    
    background: rgba(255, 255, 255, 0.1); /* Fundo do input levemente claro */
    border: 2px solid var(--verde-escuro); /* Borda do input verde */
    color: var(--dourado); /* Texto dourado ao digitar */
    
    border-radius: 8px; font-size: 16px; transition: 0.4s;
}
.input-field-dark textarea { resize: none; height: 150px; }

/* Efeito ao clicar no input */
.input-field-dark input:focus, .input-field-dark textarea:focus {
    border-color: var(--dourado);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.3);
    outline: none;
}
/* Cor do placeholder */
::placeholder { color: rgba(197, 160, 89, 0.5); }

/* Checkbox e Botão */
.privacy-check-light { margin-bottom: 30px; display: flex; align-items: center; gap: 10px; color: #ccc; font-size: 14px; accent-color: var(--dourado); }

.btn-submit-gold {
    width: 100%; padding: 20px;
    background: linear-gradient(45deg, var(--verde-escuro), #0f4d1a);
    color: var(--dourado);
    border: 2px solid var(--dourado);
    border-radius: 8px;
    font-size: 18px; font-weight: bold; letter-spacing: 1px;
    cursor: pointer; display: flex; justify-content: center; align-items: center; gap: 15px;
    transition: 0.5s; text-transform: uppercase;
}

.btn-submit-gold:hover {
    background: var(--dourado); color: var(--verde-escuro);
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.6);
    transform: translateY(-3px);
}

.status-msg-light { margin-top: 25px; text-align: center; font-weight: bold; color: var(--dourado); display: none; }

.error-msg-gold {
    color: #ff4444;
    font-size: 12px;
    display: block;
    margin-top: 5px;
    font-style: italic;
    min-height: 15px;
}

/* Responsivo */
@media (max-width: 768px) {
    .navbar { flex-direction: column; height: auto; padding: 15px; }
    .nav-links { margin-top: 15px; } .nav-links a { margin: 0 10px; }
    .form-row { grid-template-columns: 1fr; }
    .container-form-luxury { padding: 30px 20px; }
}

/* --- ESTILOS TRABALHOS E VISITANTES --- */

/* Versão Mais Clara do Fundo */
.dark-page {
    background-color: #2a2a2a; /* Cor de fundo base um pouco mais clara */
    
    /* O segredo está aqui: mudei de 0.85/0.95 para 0.50/0.80 */
    /* Isso significa menos preto por cima da imagem, deixando-a mais visível e clara */
    background-image: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.80)), url('d-principal.jpg');
    
    background-attachment: fixed;
    background-size: cover;
}

/* O resto do CSS continua igual... */
.page-header {
    /* ... */
}

/* --- AJUSTE PARA CENTRALIZAR TÍTULO PRINCIPAL --- */
.page-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* Garante que tudo dentro do header alinhe ao centro */
    text-align: center;
    padding: 80px 5% 40px;
}

.title-gold {
    text-align: center;
    width: 100%;
}

/* --- AJUSTE PARA CENTRALIZAR OS SUBTÍTULOS (IPEN, VISITANTES, ETC) --- */
.work-content {
    text-align: center; /* Centraliza o texto do bloco */
}

.work-content h2 {
    font-size: 28px;
    margin-bottom: 25px;
    padding: 0;
    border-left: none; /* Removemos a borda lateral para centralizar perfeitamente */
    display: inline-block; /* Permite que a borda de baixo acompanhe o tamanho do texto */
    border-bottom: 2px solid var(--dourado); /* Adicionamos um detalhe embaixo para manter o luxo */
    padding-bottom: 10px;
    text-align: center;
}

.work-content p {
    text-align: center; /* Centraliza a descrição para combinar com o título */
    max-width: 800px; /* Mantém o parágrafo com uma largura boa para leitura */
    margin: 0 auto 15px; /* Centraliza o bloco do parágrafo */
}

.luxury-box {
    max-width: 1100px;
    margin: 40px auto;
    background: var(--preto-transparente);
    border: 2px solid var(--verde-escuro);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
}

.work-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
}

.work-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    border-left: 4px solid var(--dourado);
    padding-left: 15px;
}

.work-content p {
    color: #e0e0e0;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

/* GALERIAS */
.work-gallery {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.single {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.img-zoom {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Mantém a proporção sem cortar rostos */
    border-radius: 8px;
    border: 1px solid var(--verde-escuro);
    transition: 0.4s;
    cursor: pointer;
}

.img-zoom:hover {
    transform: scale(1.03);
    border-color: var(--dourado);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

/* Responsividade para celulares */
@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .luxury-box {
        padding: 20px;
        margin: 20px;
    }
}

.simple-footer {
    text-align: center;
    padding: 40px;
    color: var(--dourado);
    font-size: 14px;
    opacity: 0.7;
}

/* --- PÁGINA DE TERMOS --- */
.terms-page {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)), url('GLOBO.jpeg');
    background-size: cover;
    background-attachment: fixed;
    color: #e0e0e0;
}

.luxury-box-clear {
    max-width: 900px;
    margin: 40px auto;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid var(--verde-escuro);
    border-radius: 10px;
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.terms-header { text-align: center; margin-bottom: 50px; }
.subtitle-light { color: #aaa; margin-top: 10px; font-style: italic; }

.terms-content { line-height: 1.8; font-size: 16px; text-align: justify; }
.terms-section { margin-bottom: 35px; }
.terms-section h3 { color: var(--dourado); margin-bottom: 15px; font-size: 20px; border-bottom: 1px solid rgba(197, 160, 89, 0.3); display: inline-block; }
.terms-section p { margin-bottom: 15px; color: #ccc; }
.terms-section ul { list-style: none; padding-left: 20px; color: #ccc; }
.terms-section li { margin-bottom: 10px; }

.highlight { background: rgba(197, 160, 89, 0.1); padding: 15px; border-radius: 5px; border-left: 3px solid var(--dourado); }
.update-date { margin-top: 50px; text-align: right; font-weight: bold; color: var(--dourado); }

/* --- TRANSFORMANDO O TEXTO EM BOTÃO INLINE --- */

.text-inline-button {
    display: inline-block;
    padding: 3px 12px;
    margin: 0 5px;
    
    /* Cores e Bordas Douradas */
    color: var(--dourado) !important;
    border: 1px solid var(--dourado);
    border-radius: 4px;
    background: rgba(197, 160, 89, 0.05);
    
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: 0.3s all ease;
    cursor: pointer;
}

.text-inline-button:hover {
    background: var(--dourado);
    color: var(--verde-escuro) !important;
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.4);
    transform: translateY(-1px);
}

/* Garante que o checkbox e o texto fiquem alinhados verticalmente */
.privacy-check-light {
    display: flex;
    align-items: center;
    justify-content: center; /* Centraliza a linha toda se preferir */
    gap: 10px;
    margin-bottom: 30px;
    color: #ccc;
    line-height: 1.5;
}

.privacy-check-light label {
    cursor: pointer;

    /* Ajuste para que os botões inline fiquem perfeitos no celular */
@media (max-width: 600px) {
    .privacy-check-light {
        flex-direction: column; /* No celular, eles empilham para não quebrar o layout */
        text-align: center;
    }
    .text-inline-button {
        margin: 5px 0;
        display: inline-block;
    }
}
}

/* --- BOTÃO WHATSAPP FLUTUANTE --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: var(--verde-escuro); /* Fundo Verde da Instituição */
    color: var(--dourado); /* Ícone Dourado */
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--dourado);
}

.whatsapp-float:hover {
    background-color: var(--dourado);
    color: var(--verde-escuro);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--dourado);
}

/* Tooltip (balão de texto) que aparece ao passar o mouse */
.tooltip-whatsapp {
    visibility: hidden;
    width: 160px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    right: 125%; /* Aparece à esquerda do botão */
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.whatsapp-float:hover .tooltip-whatsapp {
    visibility: visible;
    opacity: 1;
}

/* Efeito de pulso para chamar atenção sutilmente */
.whatsapp-float::after {
    content: '';
    width: 60px;
    height: 60px;
    background: var(--dourado);
    border-radius: 50%;
    position: absolute;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
}

/* --- SEÇÃO VISITE-NOS --- */
.visit-us-section {
    padding: 80px 0;
    background-color: #f9f7f2; /* Fundo levemente creme para contrastar com o branco */
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr; /* Mapa maior que o texto */
    gap: 50px;
    align-items: center;
}

/* Moldura do Mapa */
.map-frame {
    border: 8px solid #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border-radius: 4px;
    overflow: hidden;
    line-height: 0;
}

/* Card de Informações */
.info-card-luxury {
    padding: 20px;
}

.divider-gold-short {
    width: 60px;
    height: 3px;
    background-color: var(--dourado);
    margin: 20px 0 35px 0;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.info-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--verde-escuro);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.info-item p, .hours-list li {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Lista de Horários Organizada */
.hours-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dotted #ccc;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.closed {
    color: #a0a0a0;
    font-style: italic;
}

/* Botão de Direções */
.btn-outline-gold {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    border: 1px solid var(--dourado);
    color: var(--dourado);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
}

.btn-outline-gold:hover {
    background-color: var(--dourado);
    color: #fff;
}

/* Responsividade */
@media (max-width: 992px) {
    .visit-grid {
        grid-template-columns: 1fr;
    }
    .map-frame {
        order: 2; /* Mapa vai para baixo no celular */
    }
}

/* Garante que o container ocupe a visão total */
.hero-section {
    width: 100%;
    height: 100vh; /* 100% da altura da tela */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-container {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Faz a imagem preencher todo o espaço sem distorcer */
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Isso faz a imagem cobrir a tela como um papel de parede */
    display: block;
}

/* --- AJUSTES DA SEÇÃO VISITE-NOS (SEM MAPA) --- */

.container-luxury-centered {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    padding: 60px 40px;
    border: 1px solid rgba(197, 160, 89, 0.2); /* Borda dourada sutil */
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Organiza os 3 itens (Endereço, Hora, Tel) lado a lado */
.info-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin: 50px 0;
    text-align: center;
}

.info-item-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.icon-gold-large {
    color: var(--dourado);
    font-size: 2.5rem; /* Ícones maiores para destaque */
    margin-bottom: 10px;
}

.info-item-center h3 {
    font-family: 'Playfair Display', serif;
    color: var(--verde-escuro);
    font-size: 1.4rem;
    margin: 0;
}

.info-item-center p {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Botão maior e mais chamativo */
.btn-large {
    padding: 18px 50px;
    font-size: 1.1rem;
    margin-top: 20px;
    display: inline-block;
}

/* Responsividade para Celular */
@media (max-width: 768px) {
    .info-grid-row {
        grid-template-columns: 1fr; /* Um em cima do outro no celular */
        gap: 50px;
    }
    
    .container-luxury-centered {
        padding: 40px 20px;
    }
}
