/* Reset e Configurações Básicas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ajustando paleta de cores para combinar com a logo da igreja */
:root {
  /* Cores principais da logo */
  --primary-color: #2b2d6e; /* Azul marinho da logo */
  --secondary-color: #1f2159; /* Azul marinho mais escuro */
  --accent-color: #3a3d8f; /* Azul marinho mais claro */
  --gold-color: #d4a017; /* Dourado da faixa da logo */

  /* Cores neutras */
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --lighter-bg: #fafbfc;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --border-color: #e0e0e0;

  /* Sombras */
  --shadow: 0 2px 10px rgba(43, 45, 110, 0.1);
  --shadow-lg: 0 10px 30px rgba(43, 45, 110, 0.15);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header com fundo branco e logo visível */
.header {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  border-bottom: 3px solid var(--gold-color);
}

.header-content {
  display: flex;
  /* justify-content: space-between; */ /* <- Removemos esta linha */
  align-items: center;
}

/* Logo agora usa a imagem real */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo img {
  height: 60px;
  width: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-text .main {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.logo-text .sub {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--gold-color);
}

/* Menu com cores ajustadas para fundo branco */
.nav {
  display: flex;
  gap: 1.8rem; /* <-- MUDANÇA: Reduzido de 2rem */
  margin-left: auto; 
}

.nav-link {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-color);
  border-bottom-color: var(--gold-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --- INÍCIO: Estilos do Submenu (Dropdown) --- */

/* Container para o item do menu que terá um dropdown */
.nav-item-dropdown {
  position: relative; /* Necessário para posicionar o submenu */
}

/* O link principal "Sobre" */
.nav-item-dropdown .nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Adiciona um ícone de seta para baixo */
.nav-item-dropdown .nav-link::after {
  content: '\f078'; /* Ícone de seta para baixo do Font Awesome */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  transition: transform 0.3s;
}

/* Gira a seta quando o menu está ativo (hover) */
.nav-item-dropdown:hover .nav-link::after {
  transform: rotate(180deg);
}

/* O menu dropdown (inicia escondido) */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  border-radius: 5px;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  list-style: none;
  z-index: 1001;
  border-top: 3px solid var(--gold-color);
  overflow: hidden; /* Para garantir os cantos arredondados */
}

/* Links dentro do dropdown */
.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s;
}

.dropdown-menu a:hover {
  background-color: var(--light-bg);
  color: var(--gold-color);
}

/* Mostra o dropdown no hover (apenas em telas de desktop) */
@media (min-width: 969px) {
  .nav-item-dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* --- FIM: Estilos do Submenu --- */

/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
}

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

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.carousel-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.carousel-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border: none;
  padding: 1rem;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.3s;
  z-index: 3;
}

.carousel-btn:hover {
  background-color: rgba(212, 160, 23, 0.8);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

.indicator.active {
  background-color: var(--gold-color);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--gold-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #b88c15;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-light:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* About Preview */
.about-preview {
  padding: 80px 0;
  background-color: var(--white);
}

.about-preview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-text {
  padding-right: 20px;
}

.section-label {
  display: inline-block;
  color: var(--gold-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.about-preview-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-preview-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.about-preview-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* Stats Section */
.stats-section {
  padding: 60px 0;
  /* background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); */
  background-color: var(--light-bg); /* MUDANÇA: Fundo claro para criar contraste */
  /* color: var(--white); */
  color: var(--text-dark); /* MUDANÇA: Cor de texto padrão para fundo claro */
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.stat-card {
  text-align: center;
  padding: 30px;
}

.stat-card i {
  font-size: 3rem;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--primary-color); /* MUDANÇA: Adicionada cor para destaque no fundo claro */
}

.stat-label {
  font-size: 1.2rem;
  /* opacity: 0.9; */ /* MUDANÇA: Removida opacidade desnecessária */
  color: var(--text-light); /* MUDANÇA: Cor de texto secundária */
}

/* Banners Section (MODIFICADA) */
.banners-section {
  padding: 80px 0;
  background-color: var(--white);
}

.banners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.banner-card {
  /* Esta é a tag <a> */
  display: block; /* Garante que a tag <a> se comporte como um bloco */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.banner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.banner-card img {
  width: 100%;
  height: auto; /* Permite que a altura se ajuste à proporção da imagem */
  display: block; /* Remove qualquer espaço extra abaixo da imagem */
}
/* Fim da Seção Modificada */


/* Adicionando estilos para seção de Cultos ao Vivo */
/* Live Worship Section */
.live-worship-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.live-worship-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.live-worship-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--white);
}

.live-worship-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.95;
}

.live-worship-text .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Estilos para o novo banner de Cultos ao Vivo */
.live-worship-banner {
  /* Mantemos o mesmo arredondamento e sombra do vídeo anterior */
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  overflow: hidden; /* Essencial para que a imagem respeite as bordas arredondadas */
  
  /* Garante que o link <a> se comporte como um bloco */
  display: block; 
  line-height: 0; /* Remove qualquer espaçamento de linha indesejado */
}

.live-worship-banner img {
  width: 100%;    /* Faz a imagem ocupar 100% da largura do contêiner */
  height: auto;   /* Mantém a proporção correta da imagem */
  display: block; /* Remove qualquer espaço extra que a imagem possa ter por padrão */
}

/* Adicionando estilos para seção da Web Rádio */
/* Web Radio Section */
/* Redesenhando seção da Web Rádio com fundo branco e card estilizado */
.web-radio-section {
  padding: 80px 0;
  background-color: var(--white);
}

.web-radio-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  padding: 50px 60px;
  border-radius: 15px;
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.web-radio-logo img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  background-color: var(--white);
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.web-radio-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--white);
}

.web-radio-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.95;
}

.web-radio-button .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  font-size: 1.1rem;
  background-color: var(--white);
  color: var(--primary-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.web-radio-button .btn:hover {
  background-color: var(--gold-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* About Section */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.about-content.reverse {
  direction: rtl;
}

.about-content.reverse > * {
  direction: ltr;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
}

/* --- INÍCIO: Seção Trajetória (Linha do Tempo) --- */
.timeline-section {
    padding: 60px 0;
    background-color: var(--white); /* Fundo branco padrão */
}

/* Container da Linha do Tempo */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* A linha vertical central */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color); /* Usa sua variável de cor de borda */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
}

/* Container de cada item da linha do tempo */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    z-index: 2;
}

/* O círculo na linha do tempo */
.timeline-item::before {
    content: ' ';
    position: absolute;
    width: 18px;
    height: 18px;
    right: -9px;
    background-color: var(--white);
    border: 4px solid var(--primary-color); /* Usa sua cor primária */
    top: 28px;
    border-radius: 50%;
    z-index: 2;
}

/* Itens da direita */
.timeline-item.right {
    left: 50%;
}

/* Círculo para itens da direita */
.timeline-item.right::before {
    left: -9px;
}

/* O card de conteúdo */
.timeline-content {
    padding: 20px 30px;
    background-color: var(--light-bg); /* Usa seu fundo claro */
    position: relative;
    border-radius: 8px;
    box-shadow: var(--shadow); /* Usa sua sombra padrão */
    border: 1px solid var(--border-color); /* Usa sua cor de borda */
}

/* A seta (triângulo) apontando para a linha */
.timeline-content::after {
    content: ' ';
    position: absolute;
    top: 28px;
    right: -15px;
    border: 8px solid transparent;
    border-left-color: var(--light-bg); /* Cor de fundo do card */
}

/* Seta para itens da direita */
.timeline-item.right .timeline-content::after {
    left: -15px;
    border-left-color: transparent;
    border-right-color: var(--light-bg); /* Cor de fundo do card */
}

.timeline-content h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--primary-color); /* Usa sua cor primária */
}

.timeline-content p {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: justify;
    color: var(--text-light); /* Usa sua cor de texto clara */
}

.timeline-content ul {
    padding-left: 20px;
    margin-top: 10px;
    text-align: left;
    color: var(--text-light); /* Usa sua cor de texto clara */
}

.timeline-content li {
     margin-bottom: 5px;
     font-size: 0.9rem;
}

/* Media Query para telas pequenas (responsividade) */
@media screen and (max-width: 768px) {
    /* Coloca a linha à esquerda */
    .timeline::after {
        left: 30px;
    }

    /* Itens ocupam 100% e são empurrados para a direita */
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Todos os itens se comportam como itens da "direita" */
    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left::before,
    .timeline-item.right::before {
        left: 21px; /* Posiciona o círculo na linha */
        right: auto;
    }
    
    /* Todas as setas apontam para a esquerda */
    .timeline-content::after,
    .timeline-item.right .timeline-content::after {
        left: -15px;
        border-right-color: var(--light-bg);
        border-left-color: transparent;
    }
}
/* --- FIM: Seção Trajetória (Linha do Tempo) --- */

/* --- INÍCIO: Seção de Continuação (Texto Pós-Linha do Tempo) --- */
.continuation-text-section {
    /* Padding-top de 60px para separar da linha do tempo.
      Padding-bottom de 0px porque a seção "Values" (Nossos Valores)
      que vem logo abaixo já tem um padding-top de 80px.
    */
    padding: 60px 0 0;
    background-color: var(--white);
}

.continuation-text-body {
    max-width: 900px; /* Mesma largura da linha do tempo para consistência */
    margin: 0 auto;   /* Centraliza o bloco de texto na página */
}

.continuation-text-body p {
    font-size: 1.1rem;         /* Um bom tamanho de fonte para leitura */
    color: var(--text-light);  /* Sua variável de cor de texto */
    line-height: 1.8;
    margin-bottom: 20px;       /* Espaço entre os parágrafos */
    text-align: justify;       /* Alinhamento justificado, como no resto da página */
}

.continuation-text-body p:last-child {
    margin-bottom: 0; /* Remove a margem do último parágrafo */
}
/* --- FIM: Seção de Continuação --- */

/* Values Section */
.values-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.value-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-card i {
  font-size: 3rem;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.value-card p {
  color: var(--text-light);
}

/* --- INÍCIO: Estilo para Imagem da Diretoria (NOVA CLASSE) --- */
.value-card-img {
  width: 120px;           /* Largura fixa */
  height: 120px;          /* Altura fixa */
  /* Removido: border-radius: 50%; */
  object-fit: cover;      /* Garante que a imagem cubra o espaço sem distorcer */
  margin-bottom: 20px;    /* Mesma margem inferior do ícone */
  /* Removido: border: 4px solid var(--gold-color); */
  box-shadow: var(--shadow); /* Sombra sutil */
  background-color: var(--light-bg); /* Cor de fundo caso a imagem falhe */
}
/* --- FIM: Estilo para Imagem da Diretoria --- */

/* Offering Section */
.offering-section {
  padding: 80px 0;
}

.offering-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.offering-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.intro-text {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.bible-verse {
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--lighter-bg) 100%);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  border-left: 4px solid var(--gold-color);
}

.bible-verse i {
  font-size: 2rem;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.bible-verse p {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.8;
}

.bible-verse span {
  color: var(--gold-color);
  font-weight: 600;
}

.offering-methods h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.method-card {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

.method-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.method-card i {
  font-size: 3rem;
  color: var(--gold-color);
  margin-bottom: 20px;
}

.method-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.bank-info,
.pix-info,
.presencial-info {
  text-align: left;
}

.bank-info p,
.presencial-info p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.pix-key {
  background-color: var(--light-bg);
  padding: 15px;
  border-radius: 5px;
  font-family: monospace;
  font-size: 1.1rem;
  margin: 15px 0;
  word-break: break-all;
  border: 2px dashed var(--gold-color);
}

.offering-purpose h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.purpose-item {
  text-align: center;
  padding: 30px;
}

.purpose-item i {
  font-size: 2.5rem;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.purpose-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.purpose-item p {
  color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-intro h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.section-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold-color);
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.testimonial-header img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold-color);
}

.testimonial-header h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-header span {
  color: var(--text-light);
  font-size: 0.9rem;
}

.testimonial-content i {
  color: var(--gold-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.testimonial-content p {
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

.share-testimony {
  text-align: center;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--lighter-bg) 100%);
  padding: 60px;
  border-radius: 10px;
}

.share-testimony h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.share-testimony p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Adicionando estilos para seção de Notícias com carrossel */
/* News Section */
/* Ajustando cores da seção de notícias para cinza claro */
.news-section {
  padding: 80px 0;
  background-color: var(--light-bg);
}

.news-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.news-section .section-header h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

.news-carousel-wrapper {
  position: relative;
  padding: 0 60px;
  overflow: hidden;
}

.news-carousel-container {
  display: flex;
  gap: 30px;
  transition: transform 0.4s ease;
}

.news-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 0 0 calc(33.333% - 20px);
  min-width: calc(33.333% - 20px);
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.news-content {
  padding: 25px;
}

.news-content h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  line-height: 1.4;
}

.news-content p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

.news-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--gold-color);
  color: var(--white);
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-carousel-btn:hover {
  background-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.news-prev {
  left: 0;
}

.news-next {
  right: 0;
}

.news-button-container {
  text-align: center;
  margin-top: 50px;
}

/* Media Section */
.media-section {
  padding: 80px 0;
}

.media-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.tab-btn {
  padding: 15px 40px;
  background-color: var(--light-bg);
  border: 2px solid transparent;
  border-radius: 5px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}

.tab-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.tab-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--gold-color);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  height: 300px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(43, 45, 110, 0.85);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: var(--white);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--gold-color);
}

.gallery-overlay span {
  font-size: 1.1rem;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.video-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  cursor: pointer; /* ADICIONADO: Indica que é clicável */
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: rgba(212, 160, 23, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.play-button:hover {
  background-color: var(--gold-color);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
  color: var(--white);
  font-size: 1.5rem;
  margin-left: 3px;
}

.video-info {
  padding: 20px;
}

.video-info h3 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.video-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Lightbox de Imagem */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background-color: rgba(212, 160, 23, 0.3);
  color: var(--white);
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  transition: background-color 0.3s;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background-color: rgba(212, 160, 23, 0.6);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 40px;
}

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

.contact-item i {
  font-size: 1.5rem;
  color: var(--gold-color);
  margin-top: 5px;
}

.contact-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-item p {
  color: var(--text-light);
  line-height: 1.6;
}

.social-links-large {
  display: flex;
  gap: 15px;
}

.social-links-large a {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-links-large a:hover {
  background-color: var(--gold-color);
  transform: translateY(-3px);
}

.contact-form-container {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-dark);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold-color);
}

.form-group textarea {
  resize: vertical;
}

.map-container h2 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.map-placeholder {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* Footer com cores ajustadas */
.footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-bottom p a {
  color: #F2A900; /* Cor dourada principal */
  text-decoration: none; /* Opcional: remove o sublinhado */
}

/* Garante que a cor não mude depois de clicado */
.footer-bottom p a:visited {
  color: #F2A900;
}

/* Opcional: faz o link ficar um pouco mais claro ao passar o mouse */
.footer-bottom p a:hover {
  color: #ffbe26; /* Um dourado um pouco mais claro */
  text-decoration: underline; /* Opcional: adiciona sublinhado ao passar o mouse */
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--gold-color);
}

.footer-section p {
  line-height: 1.8;
  opacity: 0.9;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  opacity: 0.9;
}

.footer-links a:hover {
  color: var(--gold-color);
  opacity: 1;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-contact i {
  color: var(--gold-color);
  margin-top: 3px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--gold-color);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 968px) {

  /* --- INÍCIO: Ajuste Submenu Mobile --- */

/* Dentro de @media (max-width: 968px) */

.nav-item-dropdown {
  /* No mobile, não usamos position: relative */
}

.nav-item-dropdown .nav-link {
  /* Garante que o link principal e a seta fiquem alinhados */
  justify-content: space-between;
}

.nav-item-dropdown .nav-link::after {
  /* Deixa a seta um pouco maior no mobile */
  font-size: 1rem;
}

/* Gira a seta quando o submenu está ativo (pela classe .active-dropdown) */
.nav-item-dropdown.active-dropdown .nav-link::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  /* Reseta os estilos de desktop */
  position: static;
  display: none; /* Inicia escondido */
  box-shadow: none;
  border-radius: 0;
  min-width: auto;
  border-top: none;
  padding-left: 20px; /* Indentação para os sub-links */
  margin-top: 5px;
  overflow: visible;
  background-color: transparent;
}

/* Classe que será adicionada via JS para mostrar o menu */
.dropdown-menu.active {
  display: block;
}

.dropdown-menu a {
  padding: 10px 0;
  font-size: 0.95rem;
  color: var(--text-light); /* Cor mais suave para sub-link */
}

.dropdown-menu a:hover,
.dropdown-menu a.active {
  color: var(--gold-color);
  background-color: transparent;
}

/* --- FIM: Ajuste Submenu Mobile --- */



  .nav {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s;
    gap: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav.active {
    left: 0;
  }

  .mobile-menu-btn {
    display: block;
  }

  .carousel-content h1 {
    font-size: 2rem;
  }

  .carousel-content p {
    font-size: 1.2rem;
  }

  .about-preview-content,
  .about-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content.reverse {
    direction: ltr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .banners-grid,
  .testimonials-grid,
  .gallery-grid,
  .videos-grid {
    grid-template-columns: 1fr;
  }

  .values-grid,
  .methods-grid,
  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .live-worship-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  /* Ajustando responsividade da seção da rádio */
  .web-radio-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
    padding: 40px 30px;
  }

  .web-radio-logo {
    justify-self: center;
  }

  .web-radio-logo img {
    width: 140px;
    height: 140px;
  }

  .web-radio-button {
    justify-self: center;
  }

  .news-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .news-carousel-wrapper {
    padding: 0 50px;
  }
}

@media (max-width: 576px) {
  .logo img {
    height: 50px;
  }

  .logo-text .main {
    font-size: 1.1rem;
  }

  .logo-text .sub {
    font-size: 0.75rem;
  }

  .hero-carousel {
    height: 400px;
  }

  .carousel-content h1 {
    font-size: 1.5rem;
  }

  .carousel-content p {
    font-size: 1rem;
  }

  .values-grid,
  .methods-grid,
  .purpose-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-header h2,
  .about-text h2,
  .offering-intro h2 {
    font-size: 1.8rem;
  }

  .live-worship-text h2 {
    font-size: 1.8rem;
  }

  /* Ajustando responsividade da seção da rádio */
  .web-radio-content {
    padding: 30px 20px;
  }

  .web-radio-text h2 {
    font-size: 1.5rem;
  }

  .web-radio-logo img {
    width: 120px;
    height: 120px;
    padding: 15px;
  }

  .news-carousel-wrapper {
    padding: 0 40px;
  }

  .news-carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}

/* --- INÍCIO: Filtro de Congregações --- */
.filter-container {
  display: flex;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap; /* Para responsividade em telas menores */
}

.filter-group {
  flex: 1; /* Faz os dois campos dividirem o espaço */
  min-width: 250px; /* Largura mínima antes de quebrar a linha */
}

.filter-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--primary-color);
}

.filter-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
}

.filter-group input:focus {
  outline: none;
  border-color: var(--gold-color);
}

/* --- FIM: Filtro de Congregações --- */


/* --- INÍCIO: Estilos dos Cards de Congregação --- */

/* Ajusta o .value-card para alinhar à esquerda */
.value-card.congregation-card {
  text-align: left;
}

/* Estilo para o selo da Região */
.congregation-region {
  display: inline-block;
  background-color: var(--gold-color);
  color: var(--white);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 15px;
}

/* Ajusta o H3 do card */
.value-card.congregation-card h3 {
  font-size: 1.3rem;
  margin-bottom: 20px; /* Mais espaço */
}

/* Ajusta os parágrafos de info (endereço, pastor) */
.value-card.congregation-card p {
  display: flex;
  align-items: center;
  gap: 10px; /* Espaço entre ícone e texto */
  font-size: 0.95rem;
  margin-bottom: 8px;
}

/* Ajusta o ícone dentro do card */
.value-card.congregation-card p i {
  font-size: 1.1rem;
  color: var(--gold-color);
  margin-bottom: 0; /* Remove o margin-bottom padrão */
  width: 20px; /* Largura fixa para alinhamento */
  text-align: center;
}

/* --- FIM: Estilos dos Cards de Congregação --- */

/* [styles.css] - Adicione este código ao final */

/* Ajusta a logo no rodapé */
.footer .logo {
    margin-bottom: 20px; /* Adiciona um espaço abaixo da logo, antes do parágrafo */
}

/* Sobrescreve a cor do texto principal do logo 
  (que por padrão é azul escuro) para BRANCO 
*/
.footer .logo-text .main {
    color: var(--white);
}

/* Garante que o subtítulo (Ribeirão Preto) continue dourado 
  (ele já era dourado, mas é bom garantir) 
*/
.footer .logo-text .sub {
    color: var(--gold-color);
}

/* --- INÍCIO: Player da Web Rádio --- */
.radio-player-bar {
  display: flex; /* Mudança: de 'none' para 'flex' */
  align-items: center;
  justify-content: space-between; /* Empurra o (container+player) para um lado e o (botão X) para o outro */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 0; /* Padding vertical, o horizontal será no botão e container */
  z-index: 1001;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);

  /* --- INÍCIO: Animação --- */
  transform: translateY(100%); /* Começa 100% para baixo (escondido) */
  transition: transform 0.4s ease-in-out; /* Duração da animação */
  /* --- FIM: Animação --- */
}

/* NOVA CLASSE: .active controla a animação */
.radio-player-bar.active {
  transform: translateY(0); /* Posição final (visível) */
}

.radio-player-content {
  /* Esta classe está no .container. Vamos apenas alinhar seu conteúdo */
  display: flex;
  align-items: center;
  /* Removemos o justify-content daqui */
  gap: 20px;
  
  /* Adiciona o padding do container que foi removido da barra */
  padding: 0 20px; 

  position: relative;
  z-index: 2;
  background-color: var(--primary-color); /* ADICIONADO: Oculta as ondas atrás */
}

.radio-player-main {
  display: flex;
  align-items: center;
  gap: 20px;
}

.radio-info {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.radio-info span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.radio-info strong {
  font-size: 1rem;
}

.radio-player audio {
  height: 40px;
  max-width: 400px;
}

audio::-webkit-media-controls-panel {
    margin: 0;
}

.radio-close-btn {
  /* background: none; <-- REMOVIDO */
  background-color: var(--primary-color); /* ADICIONADO: Oculta as ondas atrás */
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  flex-shrink: 0;
  
  /* Adiciona padding para afastar o 'X' da borda da tela */
  padding: 0 30px; 

  position: relative;
  z-index: 2;
}

.radio-close-btn:hover {
  opacity: 1;
}

/* Responsividade do Player */
@media (max-width: 768px) {
  .radio-player-bar {
     justify-content: center;
     position: relative;
     /* MUDANÇA: Adiciona padding vertical para a barra ter altura */
     padding: 10px 0; 
  }
  
  .radio-player-content {
    flex-direction: column;
    gap: 10px; /* MUDANÇA: Reduzido o gap */
    align-items: center;
  }
  
  .radio-player-main {
      flex-direction: column; 
      gap: 10px;
      width: 100%;
  }

  .radio-info {
    text-align: center;
  }
 
  /* --- ADICIONE ESTA REGRA --- */
  .radio-current-song {
      max-width: 90%; /* Limita no mobile */
      margin-left: auto;
      margin-right: auto;
  }

  /* MUDANÇA: Adicionada regra para .radio-player */
  .radio-player {
     width: 100%; /* Garante que o container do player ocupe a largura */
     padding: 0 15px; /* Adiciona um respiro para o player não colar nas bordas */
  }

  .radio-player audio {
    max-width: 100%;
    width: 100%;
    height: 40px; /* MUDANÇA: Garante a altura no mobile */
  }

  .radio-close-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0px;
    padding: 0 20px;
  }
}
/* --- FIM: Player da Web Rádio --- */

.radio-info strong {
  font-size: 1rem;
}

/* --- ADICIONE ESTE BLOCO --- */
.radio-current-song {
  font-size: 0.9rem;
  color: var(--gold-color); /* Destaque em dourado */
  font-weight: 500;
  margin-top: 3px;
  line-height: 1.2;
  
  /* Para nomes de músicas longos */
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 300px; /* Limita a largura no desktop */
}

/* --- INÍCIO: Video Lightbox (NOVO) --- */
.video-lightbox {
  display: none; /* Escondido por padrão */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 10000; /* Acima de tudo */
  justify-content: center;
  align-items: center;
}

.video-lightbox.active {
  display: flex; /* Mostra quando ativo */
}

.video-lightbox-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  background-color: #000;
}

.video-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  font-weight: bold;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.video-lightbox-close:hover {
  opacity: 1;
}

.video-embed-container {
  position: relative;
  padding-bottom: 56.25%; /* Proporção 16:9 */
  height: 0;
  overflow: hidden;
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Ajuste para mobile */
@media (max-width: 768px) {
    .video-lightbox-close {
        top: -30px;
        right: 10px;
        font-size: 2rem;
        color: var(--white);
    }
}
/* --- FIM: Video Lightbox --- */

/* --- INÍCIO: Estilos Logo Player Rádio (NOVO) --- */
.radio-logo-player {
  flex-shrink: 0; /* Impede que a logo encolha */
}

.radio-logo-player img {
  height: 40px;  /* Mesma altura do <audio> player */
  width: 40px;   /* Largura quadrada */
  object-fit: contain; /* Garante que a imagem caiba sem distorcer */
  border-radius: 4px; /* Bordas suaves */
  background-color: var(--white); /* Fundo branco para a logo (caso seja transparente) */
  padding: 4px; /* Pequeno preenchimento interno */
  display: block; /* Remove espaço extra que algumas imagens têm */
}
/* --- FIM: Estilos Logo Player Rádio (NOVO) --- */

/* --- INÍCIO: Animação Ondas Rádio (NOVO) --- */

/* 1. O contêiner das barras */
.radio-equalizer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Alinha as barras */
  display: flex;
  justify-content: space-between; /* Espalha as barras por toda a largura */
  align-items: flex-end; /* Alinha as barras na base */
  
  padding: 0 20px; /* Um respiro nas laterais */
  overflow: hidden;
  
  /* Coloca o overlay atrás do conteúdo (z-index: 2) mas acima do fundo (z-index: 1) */
  z-index: 1; 
  
  /* Efeito sutil para não poluir */
  opacity: 0.25; 
}

/* 2. As barras individuais */
.radio-equalizer-overlay span {
  width: 3px; /* Largura da barra */
  height: 100%; /* Altura inicial (parado) - VAI MUDAR */
  background-color: var(--gold-color); /* Cor da barra */
  
  /* Estado "parado": altura mínima */
  height: 4px;
  transition: height 0.3s ease-out; /* Transição suave ao parar */
}

/* 3. A animação */
@keyframes wave-animation {
  0%   { height: 4px; }
  50%  { height: 50px; } /* Altura máxima da onda */
  100% { height: 4px; }
}

/* 4. Ativa a animação QUANDO a barra tiver a classe 'is-playing' */
.radio-player-bar.is-playing .radio-equalizer-overlay span {
  /* Aplica a animação */
  animation-name: wave-animation;
  animation-duration: 1.2s; /* Duração total da onda */
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

/* 5. Faz a animação parecer aleatória (mágica do CSS) */
.radio-player-bar.is-playing .radio-equalizer-overlay span:nth-child(2n) {
  animation-duration: 0.8s;
  animation-delay: 0.2s;
}
.radio-player-bar.is-playing .radio-equalizer-overlay span:nth-child(3n) {
  animation-duration: 1s;
  animation-delay: 0.5s;
}
.radio-player-bar.is-playing .radio-equalizer-overlay span:nth-child(4n) {
  animation-duration: 0.6s;
  animation-delay: 0.3s;
}
.radio-player-bar.is-playing .radio-equalizer-overlay span:nth-child(5n) {
  animation-duration: 1.4s;
  animation-delay: 0.1s;
}

/* --- FIM: Animação Ondas Rádio --- */

/* ===== INÍCIO: NOVOS ESTILOS PARA O QR CODE PIX ===== */

.method-card .pix-qrcode {
  width: 180px; /* Tamanho fixo para o QR Code */
  height: 180px;
  margin: 0 auto 20px auto; /* Centraliza e adiciona espaço abaixo */
  padding: 10px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
}

.method-card .pix-qrcode img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 4px; /* Borda leve na imagem interna */
}

.method-card .pix-info {
  text-align: center; /* Centraliza a chave e o botão */
}

.method-card .pix-key {
  text-align: center; /* Garante que o texto da chave esteja centralizado */
  margin-top: 5px; /* Ajuste de espaço */
}
/* ===== FIM: NOVOS ESTILOS PARA O QR CODE PIX ===== */

/* --- INÍCIO: Tabela de Missionários (NOVO) --- */
.missions-table-section {
    padding: 80px 0;
    background-color: var(--light-bg); /* Fundo cinza claro */
}

.missions-table-container {
    max-width: 800px; /* Largura máxima para a tabela */
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden; /* Para o radius funcionar no <table> */
}

.missions-table {
    width: 100%;
    border-collapse: collapse; /* Remove espaço entre células */
}

.missions-table th,
.missions-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.missions-table th {
    background-color: var(--lighter-bg); /* Um cinza bem leve no cabeçalho */
    font-size: 1.1rem;
    color: var(--primary-color);
}

.missions-table td {
    color: var(--text-light);
}

/* Alinha a coluna de número à direita */
.missions-table th:last-child,
.missions-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--text-dark);
}

.missions-table tr:last-child td {
     border-bottom: none; /* Remove a borda do último item */
}

.missions-table-footer {
    padding: 20px;
    background-color: var(--lighter-bg);
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.missions-table-footer strong {
    color: var(--text-dark);
}
/* --- FIM: Tabela de Missionários (NOVO) --- */

/* --- INÍCIO: Estilos do Submenu de 2º Nível (NOVO) --- */

/* O <li> que contém o submenu "Departamentos" */
.dropdown-submenu {
  position: relative;
}

/* O link "Departamentos" (nível 2) */
.dropdown-submenu > .nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    /* Aplica o mesmo estilo de um item de dropdown normal */
    padding: 12px 20px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s;
}

/* Adiciona a seta para a direita (desktop) */
.dropdown-submenu > .nav-link::after {
    content: '\f054'; /* Seta para a direita */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.7rem;
    transition: none; /* Remove a transição de giro */
    transform: none;  /* Remove a transição de giro */
}

/* Hover no link "Departamentos" (desktop) */
.dropdown-submenu:hover > .nav-link {
    background-color: var(--light-bg);
    color: var(--gold-color);
}

/* O submenu aninhado (nível 3) - Posição Desktop */
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -3px; /* Ajuste fino para alinhar com a borda */
}

/* --- FIM: Estilos do Submenu de 2º Nível --- */


/* --- AJUSTE: Responsividade Mobile (Submenu 2º Nível) --- */

@media (max-width: 968px) {
    /* A seta no link "Departamentos" deve ser para baixo (mobile) */
    .dropdown-submenu > .nav-link::after {
        content: '\f078'; /* Seta para baixo */
        /* A rotação já é aplicada pelo JS (pois tem a classe .nav-item-dropdown) */
    }

    /* O submenu (nível 3) no mobile */
    .dropdown-submenu .dropdown-menu {
        padding-left: 30px; /* Aumenta a indentação */
    }
    
    /* Links do 3º nível (Jovens, Infantil...) */
    .dropdown-submenu .dropdown-menu a {
        font-size: 0.9rem; /* Fonte um pouco menor */
        color: var(--text-light); /* Cor mais suave */
    }
}