/* =========================================
   1. CONFIGURAÇÕES GERAIS (RESET)
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

/* =========================================
   2. MENU SUPERIOR
   ========================================= */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 30px 50px;
    background: transparent;
    z-index: 50;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}

.links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.7;
    transition: 0.3s;
}

.links a:hover, .links a.ativo {
    opacity: 1;
}

/* =========================================
   3. GALERIA (HOME)
   ========================================= */
.galeria {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow-x: auto;
    align-items: center;
    scrollbar-width: none;
}
.galeria::-webkit-scrollbar { display: none; }

.item {
    min-width: 400px;
    height: 60vh;
    margin-left: 50px;
    padding-left: 50px;
}

.item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.5s;
}

.item img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* =========================================
   4. RODAPÉ PADRÃO (PRETO - PARA O SITE)
   ========================================= */
.rodape {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: black; /* Fundo preto */
    border-top: 1px solid #222;
    padding: 15px 0;
    z-index: 100;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.5px;
    color: #888;
}

.linha-rodape {
    margin-bottom: 6px;
    width: 100%;
    padding: 0 20px;
}

.rodape a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}
.rodape a:hover { color: white; }

.separador {
    margin: 0 10px;
    color: #333;
}

.link-politicas {
    color: white !important;
    font-weight: bold;
}

/* =========================================
   5. PÁGINA DE CONTATO
   ========================================= */
body.pagina-contato {
    overflow-y: auto;
    background-color: black;
}

.container-contato {
    min-height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 140px 20px; 
}

.cartao-contato {
    max-width: 700px;
    width: 100%;
    text-align: center;
    animation: fadeIn 1s;
}

.cartao-contato h1 {
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 10px;
    color: white;
}

.cartao-contato .intro {
    color: #666;
    margin-bottom: 40px;
    font-size: 13px;
}

.info-grupo {
    margin-bottom: 40px;
}

.info-grupo h2 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    margin-bottom: 20px;
    border-bottom: 1px solid #222;
    display: inline-block;
    padding-bottom: 5px;
}

.botao-link {
    display: block;
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 8px 0;
    transition: 0.3s;
}
.botao-link:hover { color: #ccc; letter-spacing: 1px; }

.endereco p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.ver-mapa {
    font-size: 11px;
    color: #666;
    text-decoration: none;
    border: 1px solid #333;
    padding: 10px 20px;
    text-transform: uppercase;
    transition: 0.3s;
}
.ver-mapa:hover { background: white; color: black; }

/* =========================================
   6. PÁGINA DE POLÍTICAS (FORMATADA)
   ========================================= */
body.pagina-branca {
    background-color: #ffffff !important;
    color: #333333 !important;
    overflow-y: auto;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.documento {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px 40px 140px 40px; /* Padding extra para o rodapé */
}

/* Título */
.documento h1 {
    font-size: 28px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: center;
    color: #000;
    letter-spacing: 2px;
}

/* Subtítulos */
.documento h2 {
    font-size: 16px;
    margin-top: 40px;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #111;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    letter-spacing: 1px;
    font-weight: bold;
}

/* Textos */
.documento p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
    color: #444;
}

.documento ul {
    margin-bottom: 30px;
    padding-left: 40px;
}

.documento li {
    font-size: 16px;
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   7. AJUSTE: RODAPÉ CLARO (SÓ PARA PÁGINA BRANCA)
   ========================================= */
/* Quando o rodapé estiver dentro de body.pagina-branca, ele muda de cor */
body.pagina-branca .rodape {
    background-color: #f9f9f9; /* Cinza quase branco */
    border-top: 1px solid #ddd; /* Borda suave */
    color: #555; /* Texto cinza escuro */
}

body.pagina-branca .rodape a {
    color: #333; /* Links escuros */
}

body.pagina-branca .rodape a:hover {
    color: #000;
    text-decoration: underline;
}

body.pagina-branca .separador {
    color: #bbb; /* Separador cinza claro */
}

body.pagina-branca .link-politicas {
    color: black !important; /* Destaque preto */
}

/* =========================================
   8. RESPONSIVIDADE (CELULAR)
   ========================================= */
@media (max-width: 768px) {
    .rodape { position: relative; background: #050505; padding-bottom: 30px;}
    
    /* Ajuste para rodapé claro no celular */
    body.pagina-branca .rodape { background: #f9f9f9; }

    .linha-rodape { display: flex; flex-direction: column; gap: 5px; margin-bottom: 15px; }
    .separador { display: none; }
    
    .item { min-width: 85vw; margin-left: 20px; padding: 0; }
    .documento { padding: 20px 20px 50px 20px; }
    .documento h1 { font-size: 22px; }
}
