/* ===== VARIÁVEIS GLOBAIS ===== */
/* :root - Define variáveis CSS globais para facilitar a manutenção das cores */
:root {
    --vermelho: #6d1217;        /* Cor principal - vermelho vinho */
    --preto: #0e192d;           /* Azul escuro quase preto */
    --branco: #ffffff;          /* Branco puro */
    --destaque: #d9232d;        /* Vermelho mais vivo para hover/destaques */
    --transparencia: rgba(0, 0, 0, 0.85); /* Overlay preto transparente */
    --cinza-claro: #f4f4f4;     /* Fundo cinza claro */
    --sombra: rgba(0, 0, 0, 0.1); /* Sombra suave */
    --sombra-forte: rgba(0, 0, 0, 0.15); /* Sombra mais intensa */
    --dourado: #ffd392;         /* Dourado suave para detalhes */
    --cinza-suave: #f8f9fa;     /* Cinza muito claro para fundos alternativos */
}

/* ===== RESET E CONFIGURAÇÕES BASE ===== */
/* Remove margens/paddings padrão e define box-sizing border-box para todos elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif; /* Fonte padrão do site */
}

/* ===== BARRA DE SCROLL PERSONALIZADA ===== */
/* WebKit (Chrome, Safari, Edge) - scrollbar personalizada */
::-webkit-scrollbar {
    width: 10px;  /* Largura da scrollbar vertical */
    height: 10px; /* Altura da scrollbar horizontal */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;        /* Cor do trilho */
    border-radius: 10px;         /* Bordas arredondadas */
}

::-webkit-scrollbar-thumb {
    background: var(--vermelho); /* Cor do "polegar" da scrollbar */
    border-radius: 10px;
    border: 2px solid #f1f1f1;   /* Espaço ao redor para efeito "flutuante" */
}

::-webkit-scrollbar-thumb:hover {
    background: var(--destaque); /* Cor ao passar o mouse */
}

/* Fallback para Firefox */
* {
    scrollbar-width: thin;              /* Largura fina da scrollbar */
    scrollbar-color: var(--vermelho) #f1f1f1; /* Cor do polegar e do trilho */
}

/* ===== CONFIGURAÇÕES DO BODY ===== */
body {
    background-color: var(--cinza-claro);
    line-height: 1.6;            /* Altura da linha para melhor legibilidade */
    scroll-behavior: smooth;     /* Rolagem suave para âncoras */
}

/* ===== CONTAINER PRINCIPAL ===== */
/* Centraliza o conteúdo com largura máxima de 1200px */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;             /* Padding lateral para não colar nas bordas */
}

/* ===== HEADER ===== */
/* Header transparente posicionado absolutamente sobre o hero */
header {
    background: transparent;
    padding: 10px 0;
    position: absolute;          /* Posicionamento absoluto */
    width: 100%;                 /* Ocupa toda largura */
    z-index: 1000;               /* Fica acima de outros elementos */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Linha sutil */
}

/* Container flex para logo e menu */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* ===== LOGO ===== */
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;       /* Remove sublinhado */
}

.logo img {
    height: 45px;
    margin-right: 12px;
    transition: transform 0.3s ease; /* Transição suave no hover */
}

.logo img:hover {
    transform: scale(1.05);      /* Leve aumento no hover */
}

.logo-text {
    color: var(--branco);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -1px;        /* Ajuste de espaçamento */
}

/* ===== MENU DE NAVEGAÇÃO ===== */
.nav-links {
    display: flex;
    list-style: none;            /* Remove marcadores de lista */
    align-items: center;
}

.nav-links > li {
    position: relative;          /* Para posicionamento do dropdown */
}

/* Links e botões do menu */
.nav-links a,
.nav-links button {
    color: var(--branco);
    text-decoration: none;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;   /* Texto em maiúsculas */
    transition: all 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

/* Efeito hover nos links do menu */
.nav-links a:hover,
.nav-links button:hover {
    color: var(--destaque);
}

/* Seta indicadora de dropdown */
.dropdown-arrow {
    font-size: 0.8em;
    margin-left: 5px;
}

/* ===== DROPDOWN MENU ===== */
/* Conteúdo do dropdown (inicialmente escondido) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--branco);
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    top: 100%;                   /* Posiciona abaixo do item pai */
    left: 0;
    border-radius: 4px;
    overflow: hidden;
    list-style: none;
    z-index: 1000;
}

/* Itens do dropdown */
.dropdown-content li a {
    color: #333;
    padding: 12px 20px;
    display: block;
    text-transform: none;        /* Remove maiúsculas */
    font-size: 14px;
    border-bottom: 1px solid #eee;
    text-align: left;
}

/* Remove borda do último item */
.dropdown-content li:last-child a {
    border-bottom: none;
}

/* Hover nos itens do dropdown */
.dropdown-content li a:hover {
    background-color: #f8f8f8;
    color: var(--vermelho);
    padding-left: 25px;          /* Deslocamento para efeito visual */
}

/* Mostra dropdown no hover */
.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease; /* Animação de entrada */
}

/* Animação fadeIn */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== MENU HAMBÚRGUER (MOBILE) ===== */
.menu-toggle {
    display: none;               /* Escondido em desktop */
    background: none;
    border: none;
    color: var(--branco);
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

/* ===== BOTÃO DONATE ===== */
.btn-donate {
    background: var(--vermelho);
    color: var(--branco);
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

/* Hover do botão donate - efeito de elevação */
.btn-donate:hover {
    background: var(--destaque);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 35, 45, 0.3);
}

/* ===== SEÇÃO HERO ===== */
.hero {
    background: url('https://admret.neocities.org/imagens/lendoabiblia.jpg') center/cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--branco);
    position: relative;
    min-height: 100vh;           /* Altura mínima = 100% da viewport */
    padding: 100px 0 80px;
}

/* Overlay escuro para melhor legibilidade do texto */
.hero-overlay {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(14, 25, 45, 0.85), 
        rgba(14, 25, 45, 0.7));
}

/* Conteúdo do hero (acima do overlay) */
.hero-content {
    position: relative;
    z-index: 2;                  /* Acima do overlay */
    max-width: 850px;
    padding: 0 20px;
}

/* Ícone da cruz com animação pulse */
.cross-icon { 
    font-size: 45px; 
    margin-bottom: 20px; 
    color: var(--dourado);
    animation: pulse 2s infinite; /* Animação infinita */
}

/* Animação pulse (crescimento suave) */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Subtítulo */
.subtitle {
    color: var(--destaque);
    letter-spacing: 3px;         /* Espaçamento entre letras */
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 14px;
}

/* Título principal */
.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3); /* Sombra no texto */
}

/* Descrição */
.description {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Container dos botões */
.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;             /* Quebra em mobile */
}

/* ===== BOTÕES ===== */
/* Botão primário (vermelho) */
.btn-primary {
    background: var(--vermelho);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    border: 2px solid var(--vermelho);
}

.btn-primary:hover {
    background: var(--branco);
    color: var(--vermelho);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Botão secundário (borda branca) */
.btn-secondary {
    border: 2px solid var(--branco);
    color: white;
    padding: 14px 40px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    display: inline-block;
    transition: 0.3s;
    background: transparent;
}

.btn-secondary:hover {
    background: var(--destaque);
    border-color: var(--destaque);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===== TÍTULOS DAS SEÇÕES ===== */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--vermelho);
    margin-bottom: 50px;
    position: relative;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Linha decorativa abaixo do título */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--dourado);
    margin: 15px auto;
    border-radius: 2px;
}

/* ===== SEÇÃO "QUEM SOMOS" ===== */
.quem-somos {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

/* Wrapper do carrossel (para as setas laterais) */
.carrossel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;            /* Espaço para as setas */
}

/* Container dos cards (scroll horizontal) */
.carrossel-artigos {
    display: flex;
    overflow-x: auto;            /* Scroll horizontal */
    gap: 30px;
    margin: 40px 0;
    padding: 20px 10px;
    scrollbar-width: thin;       /* Firefox - scroll fina */
    scrollbar-color: var(--vermelho) #f1f1f1;
    scroll-behavior: smooth;     /* Scroll suave */
}

/* Scrollbar do carrossel (WebKit) */
.carrossel-artigos::-webkit-scrollbar {
    height: 8px;
}

.carrossel-artigos::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.carrossel-artigos::-webkit-scrollbar-thumb {
    background: var(--vermelho);
    border-radius: 10px;
}

/* Card de artigo */
.cartao-artigo {
    flex: 0 0 calc(33.333% - 20px); /* 3 cards por linha em desktop */
    min-width: 300px;
    background: var(--branco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.cartao-artigo:hover {
    transform: translateY(-10px);    /* Elevação no hover */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Container da imagem */
.imagem-artigo {
    height: 200px;
    overflow: hidden;            /* Esconde excesso da imagem */
}

.imagem-artigo img {
    width: 100%;
    height: 100%;
    object-fit: cover;           /* Cobre o espaço sem distorcer */
    transition: transform 0.5s ease;
}

/* Zoom na imagem ao passar mouse no card */
.cartao-artigo:hover .imagem-artigo img {
    transform: scale(1.05);
}

/* Conteúdo do card */
.conteudo-artigo {
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conteudo-artigo h3 {
    color: var(--preto);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-align: center;
}

.descricao-artigo {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;            /* Altura mínima para alinhamento */
}

/* Botão "Saiba Mais" */
.btn-saiba-mais {
    display: inline-block;
    background: var(--vermelho);
    color: var(--branco);
    padding: 10px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid var(--vermelho);
    margin: 0 auto;
}

.btn-saiba-mais:hover {
    background: transparent;
    color: var(--vermelho);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(109, 18, 23, 0.2);
}

/* ===== SETAS DO CARROSSEL ===== */
.carrossel-anterior,
.carrossel-proximo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--vermelho);
    background: var(--branco);
    color: var(--vermelho);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Sugestão de aria-label para acessibilidade */
/* No HTML: <button class="carrossel-anterior" aria-label="Artigo anterior"> */

.carrossel-anterior {
    left: 0;
}

.carrossel-proximo {
    right: 0;
}

.carrossel-anterior:hover,
.carrossel-proximo:hover {
    background: var(--vermelho);
    color: var(--branco);
    transform: translateY(-50%) scale(1.1); /* Cresce e mantém centralizado */
    box-shadow: 0 5px 15px rgba(109, 18, 23, 0.3);
}

/* Botões desabilitados */
.carrossel-anterior:disabled,
.carrossel-proximo:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* ===== SEÇÃO "CAUSAS APOIADAS" ===== */
.causas-apoiadas {
    padding: 80px 0;
    background: linear-gradient(to bottom, #0e192d, #0a1221); /* Gradiente escuro */
    color: var(--branco);
}

/* Ajuste do título para fundo escuro */
.causas-apoiadas .section-title {
    color: var(--branco);
}

/* Grid de logos */
.grid-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsivo automático */
    gap: 30px;
    margin-top: 40px;
}

/* Link da causa */
.logo-causa {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

/* Sugestão de aria-label */
/* No HTML: <a href="#" class="logo-causa" aria-label="Conheça a causa [nome da causa]"> */

/* Item de logo */
.logo-item {
    background: transparent;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    box-shadow: none;
}

/* Hover no item */
.logo-causa:hover .logo-item {
    border-color: var(--dourado);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Imagem do logo */
.logo-item img {
    width: 200px;
    height: 200px;
    object-fit: contain;        /* Mantém proporção */
    margin-bottom: 0px;
    padding: 0;
    background: transparent;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5)); /* Sombra suave */
}

/* Título da causa */
.logo-item h3 {
    color: var(--dourado);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Descrição da causa */
.descricao-causa {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Hover na descrição */
.logo-causa:hover .descricao-causa {
    color: var(--branco);
}

/* ===== SEÇÃO "LOCALIZAÇÃO E CALENDÁRIO" ===== */
.localizacao-evento {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Layout de duas colunas */
.layout-duas-colunas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
    align-items: stretch;       /* Colunas com mesma altura */
}

/* Ajuste dos títulos das colunas */
.coluna-mapa .section-title, 
.coluna-calendario .section-title {
    margin-top: 0;
    margin-bottom: 25px;
    text-align: center;
    font-size: 2rem;
}

.coluna-mapa .section-title::after,
.coluna-calendario .section-title::after {
    margin: 15px auto;
}

/* ===== COLUNA DO MAPA ===== */
.coluna-mapa {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Container do mapa */
.mapa-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--sombra-forte);
    background: var(--branco);
    height: 350px;
    margin-top: -30px;
}

/* Iframe do mapa */
.mapa-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Sugestão de título para acessibilidade */
/* No HTML: <iframe title="Mapa da localização da igreja" ...> */

/* ===== COLUNA DO CALENDÁRIO ===== */
.coluna-calendario {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: stretch;
    margin-top: 0 !important;   
    padding-top: 0 !important;  
}

/* Container da tabela */
.tabela-agenda-container {
    background: var(--branco);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;  
    min-height: 440px;
    display: flex;
    flex-direction: column;
}

/* Tabela de agenda */
.tabela-agenda {
    width: 100%;
    border-collapse: separate;   /* Permite bordas arredondadas */
    border-spacing: 0 5px;       /* Espaço entre linhas */
    background: var(--branco);
    flex-grow: 1;
}

/* Cabeçalho da tabela */
.tabela-agenda th {
    background-color: var(--vermelho);
    color: #ffffff;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Bordas arredondadas no cabeçalho */
.tabela-agenda th:first-child { border-radius: 10px 0 0 10px; }
.tabela-agenda th:last-child { border-radius: 0 10px 10px 0; }

/* Células dos dias da semana */
.tabela-agenda .dia-semana {
    background-color: var(--vermelho);
    color: #ffffff !important;
    font-weight: 600;
    text-align: left;
    padding-left: 20px;
    border-radius: 10px 0 0 10px;
}

/* Células normais */
.tabela-agenda td {
    padding: 12px;
    text-align: center;
    vertical-align: middle;
    color: var(--preto);
    font-weight: 500;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Células com evento */
.tabela-agenda td:not(.dia-semana):not(:empty) {
    background-color: #f8f9fa;
    border-radius: 0; 
    color: var(--preto);
    font-weight: 600;
}

/* Arredondamento no final da linha */
.tabela-agenda td:last-child {
    border-radius: 0 10px 10px 0;
}

/* Dia atual em destaque */
.tabela-agenda .dia-atual .dia-semana {
    background-color: #a3161b;
    color: #ffffff !important;
}

.tabela-agenda .dia-atual .dia-semana::after {
    content: '•';
    color: #ffffff;
    margin-left: 8px;
}

/* ===== OBSERVAÇÕES ===== */
.observacoes-content {
    padding: 20px 0 0 0;
    text-align: left;
}

.observacoes-content h4 {
    color: var(--preto);
    font-size: 1rem;
    font-weight: 700;
}

.observacoes-lista li {
    padding: 6px 0 6px 20px;
    color: #444;
    font-size: 0.85rem;
}

.observacoes-lista li::before {
    color: var(--vermelho);      /* Bolinha vermelha */
}

/* ===== TIMER ===== */
.timer-container {
    background: var(--branco);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.timer-container h3 {
    color: var(--preto);
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

/* Display flex para os números */
.timer-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    margin-top: 30px;
}

/* Cada unidade de tempo */
.timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

/* Valor numérico */
.timer-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--vermelho);
    line-height: 1;
    background: #f9f9f9;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 70px;
    text-align: center;
}

/* Label (dias, horas, etc) */
.timer-label {
    font-size: 0.75rem;
    color: var(--preto);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Separador entre números */
.timer-separator {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--preto);
    margin-bottom: 20px;
    margin-top: 10px;
}

/* Informações do evento */
.evento-info {
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 15px;
}

.evento-info p {
    color: var(--preto);
    font-size: 0.95rem;
    line-height: 1.4;
}

.evento-info strong {
    color: var(--vermelho);
}

/* ===== FOOTER ===== */
footer {
    background: var(--vermelho);
    color: var(--branco);
    padding: 3rem 0 1rem;
    margin-top: 80px;
}

/* Grid do footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Títulos das seções */
.footer-section h3 {
    color: var(--dourado);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

/* Linha decorativa */
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--dourado);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section a {
    color: var(--branco);
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--dourado);
    padding-left: 5px;
}

.footer-section i {
    width: 20px;
    text-align: center;
}

/* Ícones sociais */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--branco);
    text-decoration: none;
}

/* Sugestão de aria-label */
/* No HTML: <a href="#" aria-label="Facebook" class="social-icon"> */

.social-icons a:hover {
    background: var(--branco);
    color: var(--vermelho);
    transform: translateY(-3px);
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--branco);
    opacity: 0.8;
    font-size: 0.9rem;
}

.copyright p:first-child {
    margin-bottom: 10px;
}

/* ===== BOTÕES FLUTUANTES ===== */
/* Estilos base para todos botões flutuantes */
#backToTop, 
.accessibility-toggle,
.language-dropdown {
    position: fixed;
    right: 30px;
    background: var(--vermelho);
    color: var(--branco);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Botão toggle do idioma (dentro do dropdown) */
.lang-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--vermelho);
    color: var(--branco);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.lang-toggle:hover {
    background: var(--destaque);
    transform: scale(1.05);
}

/* Container do dropdown */
.language-dropdown {
    position: fixed;
    right: 30px;
    bottom: 90px;  /* Posição igual ao antigo lang-switcher */
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999;
}

/* Menu de idiomas (escondido por padrão) */
.lang-menu {
    display: none;
    position: absolute;
    bottom: 60px; /* Fica acima do botão */
    right: 0;
    background: var(--branco);
    min-width: 180px;
    border-radius: 12px;
    padding: 8px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    list-style: none;
    margin: 0;
    border: 1px solid rgba(0,0,0,0.08);
    animation: fadeIn 0.3s ease;
}

/* Mostra o menu no hover (desktop) ou com classe active (mobile) */
.language-dropdown:hover .lang-menu,
.language-dropdown.active .lang-menu {
    display: block;
}

/* Itens do menu de idiomas */
.lang-menu li {
    margin: 0;
    padding: 0;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    color: var(--preto);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #f8f9fa;
    color: var(--vermelho);
    padding-left: 25px;
}

/* Sugestões de aria-label */
/* 
<button id="backToTop" aria-label="Voltar ao topo da página">↑</button>
<button class="lang-toggle" aria-label="Selecionar idioma">🌐</button>
<button class="accessibility-toggle" aria-label="Abrir menu de acessibilidade">♿</button>
*/

/* Posicionamento vertical */
#backToTop {
    bottom: 30px;                /* Base */
    display: none;               /* Controlado por JS */
}

.accessibility-toggle {
    bottom: 150px;               /* Acima do seletor de idiomas */
}

/* Hover nos botões flutuantes */
#backToTop:hover, 
.accessibility-toggle:hover {
    background: var(--destaque);
    color: var(--branco);
    transform: translateY(-5px);
}

/* ===== ANIMAÇÕES ===== */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplica animação slideIn nas seções */
.quem-somos,
.causas-apoiadas,
.localizacao-evento {
    animation: slideIn 0.6s ease-out;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ===== ACESSIBILIDADE ===== */
/* Outline para foco por teclado */
.calendar-day:focus,
.btn-saiba-mais:focus,
.logo-causa:focus,
.carrossel-anterior:focus,
.carrossel-proximo:focus,
.lang-toggle:focus,
.lang-option:focus {
    outline: 3px solid var(--destaque);
    outline-offset: 2px;
}

/* ===== RESPONSIVIDADE ===== */
/* Ajuste global preventivo */
html, body {
    overflow-x: hidden;          /* Remove scroll horizontal */
    width: 100%;
}

/* Tablet (até 1024px) */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.8rem; }
    .description { font-size: 1.1rem; }
    
    .cartao-artigo {
        flex: 0 0 calc(50% - 20px); /* 2 cards por linha */
        min-width: 280px;
    }
    
    .timer-value {
        font-size: 1.8rem;
        width: 60px;
    }
    
    .tabela-agenda-container {
        height: auto;
        min-height: 400px;
    }
}

/* Mobile grande (até 768px) */
@media (max-width: 768px) {
    /* ===== MENU MOBILE - VERSÃO COMPLETA ===== */
    .menu-toggle { 
        display: block !important;
        z-index: 1001;
    }
    
    .nav-links {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: var(--preto) !important;
        flex-direction: column !important;
        padding: 80px 30px 30px 30px !important;
        z-index: 1000 !important;
        width: 100% !important;
        height: 100vh !important;
        overflow-y: auto !important;
        gap: 0 !important;
        margin: 0 !important;
    }
    
    .nav-links.active { 
        display: flex !important;
    }
    
    .nav-links li {
        width: 100% !important;
        list-style: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .nav-links li:last-child {
        border-bottom: none !important;
    }
    
    .nav-links a,
    .nav-links .dropbtn {
        display: block !important;
        width: 100% !important;
        padding: 15px 20px !important;
        color: var(--branco) !important;
        text-align: left !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-transform: none !important;
        border: none !important;
        background: none !important;
        cursor: pointer !important;
    }
    
    .nav-links a:hover,
    .nav-links .dropbtn:hover {
        color: var(--dourado) !important;
        background: rgba(255,255,255,0.05) !important;
    }
    
    /* ===== DROPDOWNS NO MOBILE - CORRIGIDO ===== */
    .nav-links .dropdown {
        width: 100% !important;
        position: relative !important;
    }
    
    .nav-links .dropdown-content {
        position: static !important;
        background: rgba(255,255,255,0.08) !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        margin: 0 !important;
        padding: 5px 0 !important;
        width: 100% !important;
        display: none !important;
        border-left: 3px solid var(--dourado) !important;
    }
    
    .nav-links .dropdown-content.open,
    .nav-links .dropdown-content[style*="display: block"] {
        display: block !important;
    }
    
    .nav-links .dropdown-content li {
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    }
    
    .nav-links .dropdown-content li:last-child {
        border-bottom: none !important;
    }
    
    .nav-links .dropdown-content li a {
        color: var(--branco) !important;
        padding: 12px 20px 12px 40px !important;
        border-bottom: none !important;
        font-size: 14px !important;
        background: none !important;
        opacity: 0.9 !important;
    }
    
    .nav-links .dropdown-content li a:hover {
        background: rgba(255,255,255,0.1) !important;
        color: var(--dourado) !important;
        padding-left: 50px !important;
        opacity: 1 !important;
    }
    
    /* Seta do dropdown no mobile */
    .dropdown-arrow {
        float: right !important;
        transition: transform 0.3s ease !important;
    }
    
    .dropdown.open .dropdown-arrow {
        transform: rotate(180deg) !important;
    }
    
    /* Botão Donate no mobile */
    .btn-donate {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 10px !important;
        padding: 15px !important;
    }
    
    .nav-right {
        margin-left: auto;
        margin-right: 15px;
    }
    
    /* HERO */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 { font-size: 2.2rem; }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* CARROSSEL */
    .carrossel-wrapper {
        padding: 0 20px;
    }
    
    .carrossel-artigos {
        gap: 15px;
        padding-bottom: 20px;
    }
    
    .cartao-artigo {
        flex: 0 0 85%;
        min-width: 260px;
    }
    
    /* LAYOUT DUAS COLUNAS */
    .layout-duas-colunas {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .mapa-container {
        height: 250px;
        margin-top: 0;
    }
    
    /* TABELA DE AGENDA */
    .tabela-agenda-container {
        padding: 15px;
        overflow-x: auto;
    }
    
    .tabela-agenda {
        min-width: 400px;
    }

    /* Botões flutuantes menores */
    #backToTop, 
    .accessibility-toggle,
    .lang-toggle {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .language-dropdown {
        right: 15px;
        bottom: 85px;
    }

    #backToTop {
        right: 15px;
    }

    .accessibility-toggle {
        right: 15px;
    }
}

/* Mobile pequeno (até 480px) */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.8rem; }
    .description { font-size: 0.95rem; }
    .section-title { font-size: 1.8rem; }
    
    .grid-logos {
        grid-template-columns: 1fr; /* Uma coluna */
        padding: 0 10px;
    }

    .logo-item img {
        width: 150px;
        height: 150px;
    }
    
    .timer-display {
        gap: 8px;
        justify-content: center;
    }
    
    .timer-value {
        font-size: 1.2rem;
        width: 45px;
        padding: 8px 4px;
    }
    
    .timer-unit { min-width: 45px; }

    /* Botões flutuantes menores ainda */
    #backToTop, 
    .accessibility-toggle,
    .lang-toggle {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .language-dropdown {
        right: 10px;
        bottom: 80px;
    }

    .lang-menu {
        min-width: 150px;
        right: 0;
        bottom: 50px;
    }

    .lang-option {
        font-size: 13px;
        padding: 8px 15px;
    }
}

/* ===== AJUSTES PARA ELIMINAR CORTE LATERAL ===== */
@media (max-width: 768px) {
    /* Remove margens negativas do mapa */
    .mapa-container {
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        height: 250px;
    }

    /* Colunas em flex column */
    .layout-duas-colunas {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;
        padding: 0;
    }

    /* Timer sem quebra de linha */
    .timer-display {
        display: flex;
        justify-content: center;
        gap: 5px;
        flex-wrap: nowrap;
    }

    .timer-unit {
        min-width: 60px;
    }

    .timer-value {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Tabela com scroll */
    .tabela-agenda-container {
        width: 100%;
        padding: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
    }

    .tabela-agenda {
        min-width: 450px;
    }

    /* Container principal com overflow hidden */
    .container {
        width: 100% !important;
        max-width: 100vw !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin: 0 auto !important;
        overflow: hidden;
    }
}

/* Ajuste extra para telas muito pequenas (iPhone SE, etc) */
@media (max-width: 380px) {
    .timer-value {
        width: 45px;
        font-size: 1rem;
    }
    .timer-unit {
        min-width: 50px;
    }
}

/* ===== FORÇA BRUTA PARA O MENU MOBILE ===== */
/* Garante que o menu funcione em qualquer situação */
.nav-links.active {
    display: flex !important;
}

@media (max-width: 768px) {
    .nav-links.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: #0e192d !important;
        flex-direction: column !important;
        padding: 80px 20px 20px 20px !important;
        z-index: 9999 !important;
        width: 100% !important;
        height: 100vh !important;
        overflow-y: auto !important;
    }
}