/* ==================================================================
   ESTILO DEFINITIVO E CORRIGIDO - CRISTÃO PARÁ
   (Substitua todo o seu arquivo style.css por este código)
   ================================================================== */

:root {
    /* Paleta de Cores Oficial */
    --primary-color: #0a4064; /* Azul Profundo */
    --primary-dark: #062a42;  /* Azul Mais Escuro (Hover) */
    --accent-color: #ffed00;  /* Amarelo Ouro */
    --text-color: #333;       /* Texto Padrão */
    --text-light: #666;       /* Texto Suave */
    --bg-light: #f4f6f8;      /* Fundo do Site */
    --border-color: #e1e1e1;
}

/* --- RESET BÁSICO --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    /* Removemos o display:flex do body que estava jogando tudo para a esquerda */
    display: block; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* --- CONTAINER CENTRAL (CORREÇÃO DE ALINHAMENTO) --- */
.container {
    width: 100%;
    max-width: 1200px;  /* Largura máxima no PC */
    margin: 0 auto;     /* ISSO CENTRALIZA O SITE */
    padding: 0 20px;    /* Margem de segurança nas laterais */
}

/* =========================================
   1. CABEÇALHO (HEADER)
   ========================================= */
header {
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    width: 100%;
}

/* Barra Superior (Data e Redes) */
.top-bar {
    background-color: #051f30;
    color: #ccc;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-top a { color: #ccc; margin-left: 15px; font-size: 1rem; }
.social-top a:hover { color: var(--accent-color); }

/* Área da Logo e Menu */
.navbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.logo-img {
    max-height: 110px; /* Tamanho controlado */
    width: auto;
    margin-bottom: 15px;
}

/* MENU DESKTOP */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

.nav-links a {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    padding: 8px 15px;
    border-radius: 4px;
}

.nav-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* Ícone Mobile (Escondido no PC) */
.mobile-menu-icon { display: none; }


/* =========================================
   2. LAYOUT PRINCIPAL (GRID)
   ========================================= */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Notícias (66%) | Sidebar (33%) */
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Títulos de Seção */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 2px solid #ddd;
    margin-bottom: 25px;
    padding-bottom: 5px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    margin-bottom: -7px;
    padding-bottom: 5px;
    display: inline-block;
    font-weight: 800;
}

/* =========================================
   3. NOTÍCIAS (CARDS)
   ========================================= */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas no PC */
    gap: 25px;
}

.news-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* IMAGEM DA NOTÍCIA (Correção de Tamanho) */
.news-img {
    width: 100%;
    height: 180px;      /* Altura fixa */
    object-fit: cover;  /* Corta sem esticar */
    background-color: #eee;
    display: block;
}

.news-content { padding: 15px; flex-grow: 1; }

.news-meta {
    font-size: 0.75rem; color: #888;
    text-transform: uppercase; font-weight: 700;
    margin-bottom: 8px; display: block;
}

.news-title {
    font-size: 1.1rem; line-height: 1.3;
    margin: 0; font-weight: 700;
}
.news-title a { color: #333; }
.news-title a:hover { color: var(--primary-color); }

/* Notícia Destaque (se usada) */
.news-card.destaque .news-img { height: 300px; }


/* =========================================
   4. EVENTOS (AGENDA GOSPEL)
   ========================================= */
/* Sobrescreve estilo inline do PHP para corrigir altura */
.evento-img-container div[style] {
    height: 100% !important;
}

.evento-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative;
    border: 1px solid #f0f0f0;
    height: auto;
    display: flex;
    flex-direction: column;
}

.evento-img-container {
    width: 100%;
    height: 200px; /* Altura fixa para manter alinhamento */
    background: #eee;
    position: relative;
    overflow: hidden;
}

.evento-img-container img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Data Flutuante */
.evento-data {
    position: absolute; top: 10px; right: 10px;
    background: #fff; padding: 5px 10px; border-radius: 6px;
    text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.3); z-index: 5;
}
.evento-data .dia { display: block; font-weight: 800; font-size: 1.2rem; color: var(--primary-color); line-height: 1; }
.evento-data .mes { display: block; font-size: 0.7rem; text-transform: uppercase; color: #555; }

.evento-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }

.evento-info h3 {
    font-size: 1.1rem; margin-bottom: 10px; color: #333;
    /* Limita a 2 linhas */
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

.btn-evento {
    margin-top: auto; background: var(--primary-color); color: #fff;
    text-align: center; padding: 10px; border-radius: 4px; font-weight: bold;
    display: block;
}
.btn-evento:hover { background: var(--accent-color); color: var(--primary-color); }


/* =========================================
   5. MUNDO DA MÚSICA (VÍDEO)
   ========================================= */
.section-musica {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.video-background {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}
.video-background video { width: 100%; height: 100%; object-fit: cover; }
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 2; /* Película escura */
}

/* Ajustes de texto sobre o vídeo */
.section-musica .content-wrapper { position: relative; z-index: 3; padding: 20px; }
.section-musica .section-title, 
.section-musica .news-title a { color: #fff !important; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.section-musica .section-header { border-color: rgba(255,255,255,0.3); }
.section-musica .news-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}


/* =========================================
   6. SIDEBAR & FOOTER
   ========================================= */
.widget {
    background: #fff; padding: 20px; border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 25px;
    border: 1px solid #eee;
}
.widget-title {
    color: var(--primary-color); border-bottom: 2px solid var(--primary-color);
    margin-bottom: 15px; font-weight: 700; text-transform: uppercase;
}

/* Footer Principal */
.main-footer {
    background-color: var(--primary-color); color: #fff;
    padding: 50px 0 20px; margin-top: auto;
    border-top: 5px solid var(--accent-color);
}
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }

.footer-widget h4 {
    color: var(--accent-color); border-left: 4px solid var(--accent-color);
    padding-left: 15px; margin-bottom: 20px; text-transform: uppercase;
}
.footer-links a { color: #ddd; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }

/* Ícones Sociais Footer */
.footer-social { display: flex; gap: 10px; margin-top: 15px; }
.footer-social a {
    display: flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; background: #fff; color: var(--primary-color);
    border-radius: 50%;
}
.footer-social a:hover { background: var(--accent-color); color: #fff; }

.copyright {
    text-align: center; margin-top: 40px; padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; color: #aaa;
}


/* =========================================
   7. BOTÃO DE ORAÇÃO
   ========================================= */
#btn-oracao-float {
    position: fixed; bottom: 30px; right: 30px;
    background-color: #25d366; color: #fff; border: none;
    padding: 12px 25px; border-radius: 50px;
    font-size: 1rem; font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer; z-index: 9999;
    display: flex; align-items: center; gap: 10px;
}
#btn-oracao-float:hover { transform: scale(1.05); background-color: #128c7e; }

/* Modal */
.modal-oracao-popup {
    display: none; position: fixed; bottom: 100px; right: 30px;
    width: 320px; background: #fff; border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2); z-index: 10000;
    flex-direction: column;
}
.modal-oracao-popup.show { display: flex; animation: slideUp 0.3s; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.modal-header-oracao { background: var(--primary-color); color: #fff; padding: 15px; display: flex; justify-content: space-between; }
.modal-body-oracao { padding: 15px; }
.input-oracao, .textarea-oracao { width: 100%; padding: 10px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px; }
.btn-enviar-oracao { width: 100%; padding: 10px; background: var(--primary-color); color: #fff; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; }


/* ==================================================================
   CORREÇÃO DE CELULAR (FORÇADA)
   Cole isso no FINAL do seu style.css
   ================================================================== */

@media screen and (max-width: 900px) {
    
    /* 1. DESATIVA O GRID E FORÇA BLOCO (Um embaixo do outro) */
    .main-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin-top: 20px !important;
        gap: 40px !important;
    }

    .grid-3, .footer-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    /* 2. FORÇA A LARGURA PARA NÃO ESTOURAR A TELA */
    .container, body, html {
        width: 100% !important;
        max-width: 100vw !important; /* Não deixa passar da largura da tela */
        overflow-x: hidden !important; /* Corta o que sobrar na lateral */
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    /* 3. IMAGENS DAS NOTÍCIAS (Correção do "Gigante") */
    .news-card .news-img {
        height: 200px !important; /* Altura fixa */
        width: 100% !important;
        object-fit: cover !important;
    }
    
    /* Notícia destaque também fica pequena no celular */
    .news-card.destaque .news-img {
        height: 200px !important; 
    }

    /* 4. SIDEBAR E WIDGETS */
    aside {
        width: 100% !important;
        margin-top: 20px;
    }
    
    /* Garante que nada na sidebar estoure a largura (vídeos, iframes) */
    .widget iframe, .widget video, .widget img {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* 5. MENU HAMBÚRGUER (Ajuste Fino) */
    .mobile-menu-icon {
        display: block !important;
        font-size: 2rem;
        color: #fff;
        padding: 10px;
    }
    
    .nav-links {
        width: 100% !important;
        left: 0 !important;
    }

    /* 6. CORREÇÃO DA SESSÃO DE EVENTOS */
    .section-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    /* 7. BOTÃO DE ORAÇÃO */
    #btn-oracao-float {
        bottom: 15px !important;
        right: 15px !important;
        padding: 10px 15px !important;
        font-size: 0.9rem !important;
    }
}

/* ==================================================================
   NOVOS ESTILOS: BOTÕES, NEWSLETTER E COOKIES
   (Cole isso no final do arquivo style.css)
   ================================================================== */

/* --- 1. BOTÃO "VER MAIS" (Geral e Notícias) --- */
.btn-ver-mais, 
.btn-padrao {
    display: inline-block;
    background-color: var(--primary-color); /* Azul */
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-ver-mais:hover, 
.btn-padrao:hover {
    background-color: var(--accent-color); /* Amarelo */
    color: var(--primary-color); /* Texto Azul */
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Centralizar botão se estiver solto na página */
.btn-container-center {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
}


/* --- 2. WIDGET DE NEWSLETTER (Inscrever-se) --- */
.newsletter-widget {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    font-family: inherit;
}

.btn-inscrever {
    background-color: var(--accent-color); /* Amarelo chama atenção */
    color: var(--primary-color);
    border: none;
    padding: 12px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-inscrever:hover {
    background-color: #e6d600; /* Amarelo mais escuro */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


/* --- 3. CARD DE COOKIES (LGPD) --- */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px; /* Ocupa largura com margem */
    max-width: 1200px; /* Não fica gigante em telas largas */
    margin: 0 auto; /* Centraliza */
    background-color: #fff;
    padding: 20px 25px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 99999; /* Fica acima de tudo */
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 5px solid var(--accent-color); /* Detalhe amarelo */
    animation: slideUpFade 0.5s ease-out;
}

/* Texto do Cookie */
.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

/* Botão Aceitar Cookies */
.btn-cookie-accept {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap; /* Não quebra linha */
    margin-left: 20px;
    transition: 0.3s;
}

.btn-cookie-accept:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

/* ANIMAÇÃO DE ENTRADA */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- AJUSTE MOBILE PARA OS NOVOS ITENS --- */
@media (max-width: 768px) {
    
    /* 0. GARANTIR QUE O HEADER PERMITA O MENU SAIR (Não cortar) */
    header, .navbar {
        overflow: visible !important;
        position: relative !important;
        z-index: 1000 !important;
    }
    
    /* 1. CONTAINER E ESTRUTURA GERAL */
    .container { width: 100%; padding: 0 15px; }
    .main-grid { grid-template-columns: 1fr !important; gap: 30px; margin-top: 20px; }
    .grid-3 { grid-template-columns: 1fr !important; gap: 20px; }

    /* 2. MENU MOBILE (Consertado) */
    .navbar {
        flex-direction: row; 
        justify-content: space-between; 
        align-items: center;
        padding: 10px 0;
    }
    
    .logo-img { max-height: 50px; margin-bottom: 0; }
    
    .mobile-menu-icon {
        display: block !important; 
        font-size: 2rem; 
        color: #fff; 
        cursor: pointer;
        padding: 10px;
        z-index: 1001; /* Fica acima do próprio menu */
    }

    /* O Menu em si (Escondido por padrão) */
    .nav-links {
        display: none; /* Começa Oculto */
        position: absolute;
        top: 100%; /* Logo abaixo da barra azul */
        left: 0;
        width: 100%;
        background-color: #ffffff !important; /* FUNDO BRANCO OBRIGATÓRIO */
        flex-direction: column;
        padding: 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        z-index: 99999 !important; /* GARANTE QUE FIQUE NA FRENTE DE TUDO */
        border-top: 4px solid var(--accent-color);
    }

    /* Classe que o JavaScript adiciona para MOSTRAR */
    .nav-links.active {
        display: flex !important;
    }

    .nav-links a {
        color: #333 !important; /* TEXTO PRETO OBRIGATÓRIO */
        background-color: #fff !important;
        border-bottom: 1px solid #eee;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
        font-size: 1rem;
        font-weight: bold;
        display: block;
    }
    
    .nav-links a:hover {
        background-color: #f0f0f0 !important;
        color: var(--primary-color) !important;
    }

    /* 3. CORREÇÃO DO BOTÃO "VER MAIS" (Mundo da Música) */
    /* Empurramos o botão para o final absoluto da sessão */
    .section-musica {
        position: relative;
        padding-bottom: 80px; /* Espaço extra no fundo para o botão caber */
    }

    .section-musica .section-header {
        justify-content: center; /* Centraliza apenas o título */
    }

    /* O botão sai do topo e vai para o rodapé da sessão */
    .section-musica .btn-musica {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%); /* Centraliza perfeitamente */
        width: auto;
        z-index: 10;
        white-space: nowrap;
    }

    /* 4. NOTÍCIAS (Imagens Ajustadas) */
    .news-card .news-img, 
    .news-card.destaque .news-img {
        height: 200px !important;
        width: 100%;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    /* 5. FOOTER CENTRALIZADO */
    .footer-grid {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .footer-widget h4 {
        border-left: none;
        border-bottom: 3px solid var(--accent-color);
        display: inline-block;
        padding-left: 0;
        padding-bottom: 5px;
    }

    .footer-social {
        justify-content: center;
    }
    
    .footer-widget ul li {
        justify-content: center;
    }

    /* 6. BOTÃO DE ORAÇÃO E OUTROS */
    #btn-oracao-float { bottom: 20px; right: 15px; padding: 10px 15px; font-size: 0.9rem; }
    .modal-oracao-popup { width: 90%; right: 5%; left: 5%; bottom: 80px; }
}

/* --- BOTÃO MUNDO DA MÚSICA --- */
.btn-musica {
    background-color: #fff !important;
    color: #000 !important; /* Texto Preto */
    padding: 8px 20px !important;
    border-radius: 50px; /* Redondo */
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); /* Sombra forte para destacar do vídeo */
    display: inline-block;
    border: 2px solid #fff;
    transition: transform 0.3s;
}

.btn-musica:hover {
    background-color: var(--accent-color) !important; /* Amarelo */
    border-color: var(--accent-color);
    color: #000 !important;
    transform: scale(1.1); /* Cresce um pouquinho */
}

/* --- CORREÇÕES ESPECÍFICAS PARA O FOOTER E MÚSICA --- */

/* 1. Logo do Footer (Centralizada no Mobile, Esquerda no PC) */
.footer-logo {
    max-width: 180px;
    display: block;
    margin-bottom: 20px;
}

/* 2. Botão "Ver Mais" do Mundo da Música */
.btn-musica {
    background-color: #fff !important;
    color: #000 !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    display: inline-block;
    border: 2px solid #fff;
    transition: transform 0.3s;
}

/* --- REGRAS MOBILE (Celular) --- */
@media (max-width: 768px) {
    
    /* Centraliza Logo do Footer */
    .footer-logo {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Centraliza Texto do Footer */
    .footer-widget p {
        text-align: center;
    }

    /* Posiciona o botão de Música no final da sessão (para não cobrir texto) */
    .section-musica {
        position: relative;
        padding-bottom: 70px; /* Espaço para o botão */
    }
    
    .section-musica .btn-musica {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%); /* Centraliza Horizontalmente */
        z-index: 10;
        white-space: nowrap;
    }
}

/* ==================================================================
   PÁGINA DE CONTATO (ESTILO NOVO)
   ================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr; /* Coluna da esq menor, dir maior */
    gap: 40px;
    margin-bottom: 40px;
}

/* --- BOX DE INFORMAÇÕES (ESQUERDA) --- */
.contact-info-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    height: 100%;
}

.contact-info-box h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-info-box p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}
.info-item:last-child { border-bottom: none; }

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: rgba(10, 64, 100, 0.1); /* Azul bem clarinho */
    width: 50px; height: 50px;
    display: flex; justify-content: center; align-items: center;
    border-radius: 50%;
}

.info-item strong { display: block; color: #333; font-size: 1rem; }
.info-item span { display: block; color: #666; font-size: 0.9rem; }

/* Redes Sociais no Contato */
.social-contact { display: flex; gap: 10px; margin-top: 15px; }
.social-contact a {
    width: 40px; height: 40px;
    background: var(--primary-color); color: #fff;
    display: flex; justify-content: center; align-items: center;
    border-radius: 5px; transition: 0.3s;
}
.social-contact a:hover { background: var(--accent-color); color: var(--primary-color); }


/* --- BOX DO FORMULÁRIO (DIREITA) --- */
.contact-form-box {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.contact-form-box h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: #444;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: 0.3s;
    background-color: #fcfcfc;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(10, 64, 100, 0.1);
}

.btn-enviar-contato {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 15px;
    width: 100%;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    display: flex; justify-content: center; align-items: center; gap: 10px;
}

.btn-enviar-contato:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Mensagens de Erro/Sucesso */
.msg-alert { padding: 15px; border-radius: 6px; margin-bottom: 20px; font-weight: bold; text-align: center; }
.msg-alert.sucesso { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.msg-alert.erro { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Mapa */
.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
    border: 1px solid #eee;
}

/* --- RESPONSIVIDADE (MOBILE) --- */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Empilha tudo em 1 coluna */
        gap: 30px;
    }
    
    .contact-info-box, .contact-form-box {
        padding: 20px;
    }
}

/* ==================================================================
   PÁGINA DE EVENTOS (ESTILO NOVO)
   ================================================================== */

/* 1. GRADE DE EVENTOS */
.grid-eventos-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Colunas no PC */
    gap: 30px;
    margin-top: 20px;
}

/* 2. CARD DO EVENTO */
.evento-page-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column; /* Garante que o botão vá para o fundo */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.evento-page-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    border-color: var(--accent-color); /* Borda amarela no hover */
}

/* 3. ÁREA DA IMAGEM E DATA */
.evento-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px; /* Altura fixa da imagem */
    overflow: hidden;
    background-color: #f0f0f0;
}

.evento-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Preenche sem esticar */
    transition: transform 0.5s ease;
}

/* Zoom suave na imagem ao passar o mouse */
.evento-page-card:hover .evento-img-wrapper img {
    transform: scale(1.1);
}

/* Badge de Data Flutuante */
.evento-data-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
    min-width: 60px;
}

.evento-data-badge .dia {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.evento-data-badge .mes {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #666;
}

/* 4. CONTEÚDO DO TEXTO */
.evento-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Ocupa o espaço restante */
}

/* Data e Hora (Texto pequeno acima do título) */
.evento-content div[style*="text-transform: uppercase"] {
    color: var(--accent-color) !important; /* Amarelo escuro/Dourado */
    font-size: 0.8rem !important;
    letter-spacing: 0.5px;
    margin-bottom: 8px !important;
}

.evento-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.evento-local {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.evento-local i {
    color: var(--accent-color);
}

/* 5. BOTÃO DE INGRESSO/SAIBA MAIS */
.btn-ingresso {
    margin-top: auto; /* Empurra para o final do card */
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.btn-ingresso:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==================================================================
   RESPONSIVIDADE (ESPECÍFICO PARA PÁGINA DE EVENTOS)
   ================================================================== */

/* Tablets (2 Colunas) */
@media (max-width: 991px) {
    .grid-eventos-page {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Celulares (1 Coluna) */
@media (max-width: 768px) {
    .grid-eventos-page {
        grid-template-columns: 1fr; /* Um evento por linha */
        gap: 25px;
    }

    .evento-img-wrapper {
        height: 200px; /* Altura boa para celular */
    }

    .evento-title {
        font-size: 1.15rem;
    }
    
    /* Ajuste para o header da página não ficar colado */
    .section-header {
        margin-bottom: 20px;
    }
}

/* ==================================================================
   PÁGINA VER NOTÍCIA (SINGLE POST)
   ================================================================== */

.single-post-card {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.single-post-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.single-post-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin: 20px 0 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.conteudo-texto {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
}

/* --- CORREÇÃO DE VÍDEOS E INCORPORAÇÕES (RESPONSIVO) --- */
/* Isso faz o vídeo do YouTube se adaptar e não cortar */
.conteudo-texto iframe,
.conteudo-texto video,
.conteudo-texto embed,
.conteudo-texto object {
    width: 100%;           /* Ocupa toda a largura disponível */
    max-width: 100%;       /* Não deixa estourar a tela */
    height: auto;          /* Altura automática */
    aspect-ratio: 16 / 9;  /* Mantém a proporção de TV/Cinema (Widescreen) */
    display: block;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Botão de Voltar */
.btn-voltar {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #f0f0f0;
    color: #555;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}
.btn-voltar:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* Banner de Publicidade Interno */
.ad-banner-box {
    background: #f4f4f4;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #999;
    font-weight: bold;
    border: 1px dashed #ccc;
}

/* Ajustes Mobile */
@media (max-width: 768px) {
    .single-post-card { padding: 20px; }
    .single-post-title { font-size: 1.5rem; }
    .single-post-img { max-height: 250px; }
}