/* Estilos específicos para páginas ou seções grandes */

/* --- Menu Dropdown --- */
.main-nav .dropdown {
  position: relative;
}
.main-nav .dropdown-toggle i {
  font-size: 0.7em;
  margin-left: 5px;
  transition: transform 0.3s ease;
}
.main-nav .dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}
.main-nav .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--cor-primaria);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  list-style: none;
  min-width: 200px;
  z-index: 1000;
}
.main-nav .dropdown:hover .dropdown-menu {
  display: block;
}
.main-nav .dropdown-menu a {
  padding: 12px 20px;
  display: block;
  white-space: nowrap;
}
.main-nav .dropdown-menu a:hover {
  background-color: rgba(0, 0, 0, 0.2);
}

/* --- Página Principal (Home) --- */
#hero-main {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../imagens/banner.jpg") no-repeat center center/cover;
}
.hero-content {
  max-width: 800px;
}
.hero-content h1 {
  font-family: var(--fonte-titulos);
  font-size: 4rem;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}
#hero-title::after {
  content: "|";
  animation: blink 1s infinite;
}

/* --- Página Lanchonete --- */
/* ==========================================================================
   PÁGINA LANCHONETE (VERSÃO REFINADA)
   ========================================================================== */
.lanchonete-header {
  text-align: center;
  margin-bottom: 40px;
}

.status-notice {
  text-align: center;
  margin: 30px auto;
  padding: 20px;
  border-radius: 8px;
  max-width: 800px;
}
.status-notice h2 {
  font-family: var(--fonte-titulos);
  font-size: 2rem;
  padding: 15px;
  color: white;
  border-radius: 5px;
  margin: 0;
  text-transform: uppercase;
}
.status-notice .status-aberto {
  background-color: #27ae60;
}
.status-notice .status-fechado {
  background-color: #e74c3c;
}
.status-notice p {
  margin-top: 10px;
  color: #555;
}

.availability-notice {
  background-color: #fffbe6;
  border: 1px solid #ffe58f;
  border-radius: 8px;
  padding: 15px 20px;
  margin: 20px auto;
  text-align: center;
  max-width: 800px;
}
.availability-notice p {
  margin: 0;
  color: #856404;
}

.lanchonete-container {
  display: grid;
  grid-template-columns: 1fr; /* Começa com uma coluna por padrão */
  gap: 40px;
  align-items: flex-start;
}

/* Ativa o layout de 2 colunas apenas em telas maiores */
@media (min-width: 992px) {
  .lanchonete-container {
    grid-template-columns: 1fr 340px; /* Grid principal com a sidebar fixa */
  }
}

/* (O CSS de .product-grid, .product-card, #carrinho-sidebar, etc. que já temos pode ser mantido ou ajustado se necessário) */
.product-grid {
  flex-grow: 1;
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.category-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background-color: #f1f1f1;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 10px 25px;
  font-weight: bold;
  cursor: pointer;
}
.filter-btn.active {
  background-color: var(--cor-primaria);
  color: white;
}

/* Em pages.css, substitua os estilos da página de login */

/* ==========================================================================
   PÁGINA DE LOGIN (VERSÃO TELA CHEIA)
   ========================================================================== */

.login-page-body {
  /* Impede a rolagem na página de login */
  overflow: hidden;
}

.login-page-container {
  display: flex;
  height: 100vh; /* Ocupa 100% da altura da tela */
  width: 100vw; /* Ocupa 100% da largura da tela */
}

.login-welcome-panel {
  flex: 1;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../imagens/banner-interno.jpg") no-repeat center center/cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  position: relative;
}

.back-to-home {
  position: absolute;
  top: 30px;
  left: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.back-to-home:hover {
  opacity: 1;
}

.login-welcome-content h2 {
  font-family: var(--fonte-titulos);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.login-welcome-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 400px;
}

.login-form-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #fff;
}

.login-form-panel .form-container {
  width: 100%;
  max-width: 400px;
  box-shadow: none;
  background: none;
  padding: 0;
  margin: 0;
}
/* --- Dashboard Membro --- */
.dashboard-hero {
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("../imagens/banner-interno.jpg") no-repeat center center/cover;
  padding: 80px 0;
  text-align: center;
}
.avisos-section {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  margin: 40px 0;
}
.cursos-carousel {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 20px 5px;
}
.cursos-carousel::-webkit-scrollbar {
  display: none;
}
.concluido-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(39, 174, 96, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}
.curso-card:hover .concluido-overlay {
  opacity: 1;
}

/* --- Página Ver Curso --- */
.course-view-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 8px;
  color: #f1f1f1;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.comments-section,
.course-actions,
.course-description {
  margin-top: 30px;
}

/* --- Dashboard Admin --- */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.chart-container {
  position: relative;
  height: 320px;
  width: 100%;
}

/* --- Páginas Admin (Usuários, Eventos) --- */
.user-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}
.profile-edit-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}
.category-title {
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
}

/* --- Calendário --- */
.light-theme .page-header {
  background: transparent;
  box-shadow: none;
  border: none;
  text-align: center;
}
.light-theme .page-header h1 {
  color: var(--cor-primaria);
}
.light-theme .page-header p {
  color: #6c757d;
}
.light-theme #calendar {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Escala de Adoração --- */
.table-responsive {
  overflow-x: auto;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}
.escala-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1200px;
  color: #333;
}
.slot-meu {
  background-color: #d4edda;
}
.slot-ocupado {
  background-color: #f1f1f1;
}

/* ==========================================================================
   PÁGINA DE LISTAGEM DO BLOG
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px; /* Aumenta o espaçamento */
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); /* Sombra mais suave */
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.blog-card__image-link img {
  width: 100%;
  height: 220px; /* Aumenta a altura da imagem */
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image-link img {
  transform: scale(1.05);
}

.blog-card__content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__title a {
  text-decoration: none;
  color: var(--cor-primaria);
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
}

.blog-card__meta {
  font-size: 0.8rem;
  color: #777;
  margin: 5px 0 15px 0;
}

.blog-card__excerpt {
  color: #555;
  flex-grow: 1; /* Empurra o botão "Leia Mais" para baixo */
  line-height: 1.7;
}

.blog-card__readmore {
  margin-top: 20px;
  font-weight: bold;
  color: var(--cor-primaria);
  text-decoration: none;
  align-self: flex-start; /* Alinha o botão à esquerda */
}

.blog-card__readmore:hover {
  text-decoration: underline;
}

/* --- Campanha Oásis --- */
/* Em pages.css, substitua os estilos da campanha */

.campaign-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px; /* Aumenta o espaçamento */
  align-items: flex-start;
}

.campaign-description h2,
.campaign-description h3 {
  font-family: var(--fonte-titulos);
  color: var(--cor-primaria);
  margin-top: 20px;
  margin-bottom: 15px;
}

.campaign-description p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
}

.campaign-description ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.campaign-description li {
  display: flex;
  align-items: center;
  gap: 15px; /* Aumenta o espaçamento */
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.campaign-description li i {
  color: #27ae60;
  font-size: 1.2rem; /* Aumenta o ícone */
}

.campaign-donation-card {
  background-color: #fff; /* Fundo branco para mais destaque */
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07); /* Sombra mais pronunciada */
  position: sticky;
  top: 120px;
  transition: box-shadow 0.3s ease; /* Efeito de transição */
}
.campaign-donation-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.campaign-donation-card h3 {
  font-family: var(--fonte-titulos);
  margin-bottom: 10px;
  text-align: center;
}

.donation-info {
  margin: 20px 0;
  font-size: 0.9rem;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.donation-plan {
  text-align: center;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 5px;
  margin: 25px 0;
}

.donation-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--cor-primaria);
  margin: 5px 0;
}

/* --- Portal da Transparência --- */
.transparency-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 25px;
}
.transparency-details {
  background-color: #fdfdfd;
  border-top: 1px solid #e9ecef;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* --- Nova Seção 'Sobre Nós' e Pilares --- */
#sobre-nos .intro-text {
  font-size: 1.2rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.8;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.pillar-card {
  background: #f9f9f9;
  padding: 40px 30px;
  text-align: center;
  border-radius: 8px;
  border-bottom: 5px solid var(--cor-primaria);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.pillar-card i {
  font-size: 3rem;
  color: var(--cor-primaria);
  margin-bottom: 20px;
}
.pillar-card h3 {
  font-family: var(--fonte-titulos);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

/* --- Banner de Citação/Destaque --- */
#quote-banner {
  background-color: #f4f4f4;
  padding: 70px 20px;
  text-align: center;
}
#quote-banner h2 {
  font-family: var(--fonte-titulos);
  font-size: 2.5rem;
  color: var(--cor-texto);
  max-width: 900px;
  margin: 0 auto 15px auto;
  line-height: 1.4;
}
#quote-banner p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: #666;
}

#quote-banner .adoration-info-box {
  margin-top: 25px;
  background-color: #ffffff; /* Fundo branco sólido */
  border: 1px solid #e0e0e0; /* Borda sutil */
  border-radius: 8px;
  padding: 20px 30px; /* Mais preenchimento interno */
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Sombra suave para destacar */
}

#quote-banner .adoration-info-box p {
  margin: 5px 0;
  color: #555; /* Cor de texto escura para bom contraste */
  font-size: 1.1rem;
}

#quote-banner .adoration-info-box p strong {
  color: var(--cor-primaria); /* Cor de destaque para a informação principal */
}

/* ==========================================================================
   PÁGINA 'NOSSA HISTÓRIA'
   ========================================================================== */

/* --- Estilos Aprimorados da Timeline --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto 60px auto; /* Aumenta a margem inferior */
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 40px;
  height: 100%;
  width: 4px;
  background: #e9ecef; /* Cor mais suave para a linha */
  border-radius: 2px;
}

.timeline-item {
  padding-left: 100px; /* Aumenta o espaço para o ano */
  position: relative;
  margin-bottom: 40px;
}
.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: 0;
  top: 5px;
  font-family: var(--fonte-titulos);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--cor-primaria);
  width: 80px;
  text-align: center;
}

.timeline-content {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #e9ecef;
  position: relative;
}

.timeline-content h3 {
  margin-bottom: 10px;
  color: var(--cor-primaria);
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
}

.timeline-content p {
  line-height: 1.8;
  color: #555;
}

/* --- Estilos dos Baluartes --- */
/* --- Estilos para o Carrossel de Baluartes --- */
.baluartes-carousel {
  display: flex;
  overflow-x: auto; /* A mágica da rolagem horizontal */
  gap: 20px;
  padding: 20px 10px;
  -webkit-overflow-scrolling: touch; /* Melhora a rolagem em iOS */
  scrollbar-width: thin; /* Para Firefox */
  scrollbar-color: var(--cor-primaria) #f1f1f1;
}

/* Estilizando a barra de rolagem para navegadores WebKit (Chrome, Safari) */
.baluartes-carousel::-webkit-scrollbar {
  height: 8px;
}
.baluartes-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.baluartes-carousel::-webkit-scrollbar-thumb {
  background: var(--cor-primaria);
  border-radius: 4px;
}
.baluartes-carousel::-webkit-scrollbar-thumb:hover {
  background: #c0392b;
} /* (Substitua o bloco de estilos do carrossel em pages.css) */

/* --- Estilos para o Carrossel de Baluartes (Versão Card com Imagem de Fundo) --- */
.baluartes-carousel {
  display: flex;
  overflow-x: auto;
  gap: 30px; /* Aumenta o espaço entre os cards */
  padding: 20px 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cor-primaria) #f1f1f1;
}
/* Estilos da barra de rolagem */
.baluartes-carousel::-webkit-scrollbar {
  height: 8px;
}
.baluartes-carousel::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}
.baluartes-carousel::-webkit-scrollbar-thumb {
  background: var(--cor-primaria);
  border-radius: 4px;
}
.baluartes-carousel::-webkit-scrollbar-thumb:hover {
  background: #c0392b;
}

.baluarte-card-novo {
  flex: 0 0 250px; /* Largura fixa de 250px */
  height: 350px; /* Altura fixa de 350px */
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* Alinha o conteúdo na base */
  padding: 20px;
  transition: transform 0.4s ease;
  background-size: cover;
  background-position: center;
}

.baluarte-card-novo:hover {
  transform: scale(1.05);
}

/* Gradiente para garantir a legibilidade do texto */
.baluarte-card-novo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 10%, transparent 50%);
  z-index: 1;
}

.baluarte-card-content {
  position: relative;
  z-index: 2;
  color: white;
  width: 100%;
  text-align: center;
}

.baluarte-card-content h3 {
  font-family: var(--fonte-titulos);
  font-size: 1.6rem;
  text-transform: uppercase;
}

/* Em static/css/pages.css, substitua os estilos de .baluarte-item */
.baluarte-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
  width: 200px;
}
.baluarte-item:hover {
  transform: translateY(-5px);
}
.baluarte-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #eee;
}
.baluarte-item span {
  font-weight: 600;
  text-align: center;
}
/* (Cole no final de static/css/pages.css) */

/* ==========================================================================
   PÁGINA 'NOSSA IDENTIDADE'
   ========================================================================== */

.spirituality-banner {
  background-color: #f8f9fa;
  border-left: 5px solid var(--cor-primaria);
  padding: 30px 40px;
  margin: 60px 0;
  border-radius: 0 8px 8px 0;
}
.spirituality-banner h3 {
  font-family: var(--fonte-titulos);
  color: var(--cor-primaria);
  margin: 0 0 10px 0;
}
.spirituality-banner p {
  margin: 0;
  font-size: 1.1rem;
  color: #555;
}

#vocational-path {
  margin-top: 60px;
}

.path-steps {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}

.path-step {
  position: relative;
  padding: 20px 20px 20px 60px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
}

.path-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--cor-primaria);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: var(--fonte-titulos);
}

.path-step h4 {
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
  color: var(--cor-primaria);
}

body {
  counter-reset: step-counter;
}

/* ==========================================================================
   PÁGINA 'QUEM SOMOS'
   ========================================================================== */

.elos-section {
  margin: 60px 0;
}
.elos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.elo-card {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
}
.elo-card h3 {
  font-family: var(--fonte-titulos);
  color: var(--cor-primaria);
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.elo-card p {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.team-card {
  height: 400px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 25px;
  transition: transform 0.4s ease;
  background-size: cover;
  background-position: center;
  color: white;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 20%, transparent 70%);
  z-index: 1;
}

.team-card-content {
  position: relative;
  z-index: 2;
}
.team-card-content h3 {
  font-family: var(--fonte-titulos);
  font-size: 1.8rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.team-card-content span {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: var(--cor-destaque);
  margin-bottom: 15px;
}
.team-card-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.9;
}
/* --- Página de Acompanhamento de Pedido --- */
.status-tracker-container {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.status-tracker-container h2 {
  text-align: center;
  margin-bottom: 30px;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}
.status-bar::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  height: 4px;
  background-color: #e9ecef;
  z-index: 1;
}
.status-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100px;
}
.status-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #e9ecef;
  border: 3px solid #fff;
  margin: 0 auto;
}
.status-label {
  font-size: 0.9em;
  margin-top: 10px;
  font-weight: bold;
  color: #6c757d;
}
.status-step.completed .status-dot {
  background-color: #27ae60;
}
.status-step.active .status-dot {
  background-color: var(--cor-primaria);
  transform: scale(1.2);
}
.status-step.active .status-label {
  color: var(--cor-primaria);
}
.order-details {
  margin-top: 20px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}
/* ==========================================================================
   PÁGINA ACOMPANHAR PEDIDO (VERSÃO REFINADA)
   ========================================================================== */

.status-tracker-container {
  background: #fff;
  padding: 40px;
  border-radius: 8px;
  margin-top: 40px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}
.status-tracker-container h2 {
  text-align: center;
  margin-bottom: 40px;
  font-family: var(--fonte-titulos);
  font-size: 1.8rem;
}
.status-bar {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 auto 50px auto;
  max-width: 700px;
}
.status-bar::before {
  content: "";
  position: absolute;
  top: 12px; /* Metade da altura do ponto */
  left: 10%;
  width: 80%;
  height: 4px;
  background-color: #e9ecef;
  z-index: 1;
}
.status-step {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 120px;
}
.status-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  border: 3px solid #e9ecef;
  margin: 0 auto;
  transition: all 0.3s ease;
}
.status-label {
  font-size: 0.9em;
  margin-top: 10px;
  font-weight: bold;
  color: #6c757d;
}

/* Estilos de progresso */
.status-step.completed .status-dot {
  background-color: #27ae60;
  border-color: #27ae60;
}
.status-step.active .status-dot {
  background-color: var(--cor-primaria);
  border-color: var(--cor-primaria);
  transform: scale(1.3);
}
.status-step.active .status-label {
  color: var(--cor-primaria);
}

.order-details {
  margin-top: 30px;
  border-top: 1px solid #eee;
  padding-top: 30px;
  text-align: center;
}
.order-details h4 {
  margin-bottom: 15px;
}
.order-details ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

/* ==========================================================================
   PÁGINA 'PEDIDO DE ORAÇÃO'
   ========================================================================== */

.prayer-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr; /* Coluna do form menor que a do mural */
  gap: 50px;
  align-items: flex-start;
}

.prayer-form-container .styled-form {
  margin: 0; /* Remove margens padrão */
  position: sticky;
  top: 120px; /* Faz o formulário acompanhar a rolagem */
}

.prayer-wall-container {
  padding-left: 20px;
  border-left: 1px solid #eee;
}

.prayer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.prayer-card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border-left: 4px solid var(--cor-destaque);
}

.prayer-text {
  font-style: italic;
  color: #555;
  margin: 0 0 15px 0;
  font-size: 1.1rem;
}

.prayer-author {
  font-weight: bold;
  font-size: 0.9rem;
  color: #777;
  text-align: right;
  display: block;
}

/* Responsividade para a página de oração */
@media (max-width: 992px) {
  .prayer-layout {
    grid-template-columns: 1fr; /* Empilha as colunas em telas menores */
  }
  .prayer-form-container .styled-form {
    position: static; /* Remove o efeito sticky */
    margin-bottom: 50px;
  }
  .prayer-wall-container {
    border-left: none;
    padding-left: 0;
  }
}

/* ==========================================================================
   PÁGINA 'SEJA UM BENFEITOR'
   ========================================================================== */
.donation-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.donation-appeal h4 {
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
  color: var(--cor-primaria);
  margin-top: 30px;
  margin-bottom: 15px;
}

.donation-appeal ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.donation-appeal li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.donation-appeal li i {
  color: var(--cor-destaque);
  font-size: 1.2rem;
}

.donation-form-container .styled-form {
  margin: 0;
  position: sticky;
  top: 120px;
}

.pix-result {
  margin-top: 25px;
  border-top: 1px solid #eee;
  padding-top: 25px;
  text-align: center;
}

.pix-result img {
  max-width: 250px;
  margin: 0 auto 20px auto;
  display: block;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.pix-code-area {
  font-family: monospace;
  font-size: 0.9rem;
  background-color: #e9ecef;
  cursor: text;
  margin-bottom: 10px;
}

#btn-copy-pix {
  width: 100%;
}

@media (max-width: 992px) {
  .donation-layout {
    grid-template-columns: 1fr;
  }
  .donation-form-container .styled-form {
    position: static;
    margin-top: 40px;
  }
}

/* ==========================================================================
   PÁGINA 'CONTATO'
   ========================================================================== */
.contact-container {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.contact-form {
  flex: 1.5; /* Faz o formulário ser um pouco maior */
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #eee;
}

.contact-form h3 {
  font-family: var(--fonte-titulos);
  color: var(--cor-primaria);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.contact-info {
  flex: 1;
  background: var(--cor-primaria);
  color: white;
  padding: 30px;
  border-radius: 8px;
}

.contact-info h3 {
  font-family: var(--fonte-titulos);
  margin-bottom: 25px;
  font-size: 1.8rem;
  color: white;
}

.contact-list {
  list-style: none;
  padding: 0;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  gap: 15px;
}

.contact-list li i {
  font-size: 1.5rem;
  color: var(--cor-destaque);
  margin-top: 5px;
  min-width: 25px;
  text-align: center;
}

.contact-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-list p {
  margin: 0;
  line-height: 1.5;
  opacity: 0.9;
}

.blog-post-header {
  height: 50vh; /* Aumenta a altura do banner */
  min-height: 350px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
}
.blog-post-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.3)
  ); /* Gradiente mais suave */
}
.blog-post-header .container {
  position: relative;
  z-index: 2;
}
.blog-post-header h1 {
  font-family: var(--fonte-titulos);
  font-size: 3.5rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}
.blog-post-header .meta {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 10px;
}

.blog-post-full article.container {
  padding: 60px 15px;
}

/* Títulos para posts sem imagem de destaque */
.no-image-title {
  font-family: var(--fonte-titulos);
  font-size: 3.5rem;
  color: var(--cor-primaria);
  margin-top: 40px;
  text-align: center;
}
.no-image-meta {
  font-size: 1rem;
  color: #777;
  margin-bottom: 40px;
  text-align: center;
}

/* Estilos para o conteúdo do post */
.blog-content {
  max-width: 750px; /* Largura ideal para leitura */
  margin: 0 auto;
  line-height: 1.9; /* Maior espaçamento entre linhas */
  font-size: 1.1rem;
  color: #444;
}
.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  font-family: var(--fonte-titulos);
  margin: 40px 0 20px 0;
  color: var(--cor-primaria);
  line-height: 1.4;
}
.blog-content p {
  margin-bottom: 25px;
}
.blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px 0;
}
.blog-content blockquote {
  border-left: 4px solid var(--cor-destaque);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: #666;
}
.blog-content ul,
.blog-content ol {
  margin-bottom: 20px;
  padding-left: 30px;
}

/* ==========================================================================
   DASHBOARD DE MEMBROS (VERSÃO REFINADA)
   ========================================================================== */

.member-dashboard .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.welcome-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url("../imagens/banner-interno.jpg") no-repeat center center/cover;
  padding: 40px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.welcome-text h1 {
  font-family: var(--fonte-titulos);
  font-size: 2.5rem;
  margin: 0 0 10px 0;
}
.welcome-text p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.avisos-section {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.avisos-section h3 {
  color: var(--cor-destaque);
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avisos-section p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.8;
}

.main-section-title {
  font-family: var(--fonte-titulos);
  font-size: 2.2rem;
  color: #ffffff;
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cor-primaria);
}

.trilha-section h3 {
  color: #eaeaea;
  font-size: 1.5rem;
  margin-bottom: 15px;
  border-left: 4px solid var(--cor-destaque);
  padding-left: 10px;
}

.empty-state {
  text-align: center;
  margin-top: 60px;
  color: #777;
}
.empty-state i {
  font-size: 4rem;
  margin-bottom: 20px;
}

/* Responsividade para o card de boas-vindas */
@media (max-width: 992px) {
  .welcome-card {
    grid-template-columns: 1fr;
  }
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* ==========================================================================
   DASHBOARD ADMIN (VERSÃO REFINADA)
   ========================================================================== */
.dashboard-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Coluna principal maior */
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  border: 1px solid #e0e0e0;
  height: 100%;
}
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e0e0e0;
  background-color: #f8f9fc;
}
.card-header h6 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--cor-primaria);
}
.card-body {
  padding: 1.5rem;
}

.chart-container {
  position: relative;
  height: 400px; /* Altura fixa para o gráfico */
  width: 100%;
}

.dashboard-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.action-link {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: all 0.2s ease;
}
.action-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.action-link h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cor-texto);
  margin: 0 0 8px 0;
}
.action-link p {
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0;
}
.report-buttons,
.action-link > .btn {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Responsividade do Dashboard Admin */
@media (max-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PÁGINA DE CONFIGURAÇÕES DO ADMIN
   ========================================================================== */
.config-section {
  margin-bottom: 25px;
  padding-bottom: 25px;
}
.card-body hr {
  border-top: 1px solid #e9ecef;
  margin: 2rem 0;
}
.config-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}
.config-section .text-muted {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 15px;
}
.status-buttons {
  display: flex;
  gap: 10px;
}

/* Estilo base para os botões de status */
.status-buttons .btn {
  font-size: 1rem;
  padding: 10px 25px;
  border: 2px solid #ddd; /* Adiciona uma borda */
  background-color: #f8f9fa; /* Fundo cinza claro */
  color: #dc3545; /* Texto cinza */
  box-shadow: none;
  opacity: 1; /* Garante que a opacidade padrão seja total */
  transition: all 0.3s ease;
}

/* Estilo para o botão ATIVO */
.status-buttons .btn.active {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

/* Cores específicas para Aberto e Fechado QUANDO ATIVOS */
.status-buttons .btn.btn--success.active {
  background-color: #28a745; /* Verde quando 'Aberto' está ativo */
  border-color: #28a745;
  color: white;
}

.status-buttons .btn.btn--danger.active {
  background-color: #dc3545; /* Vermelho quando 'Fechado' está ativo */
  border-color: #dc3545;
  color: white;
}

/* ==========================================================================
   PÁGINA 'GERENCIAR USUÁRIOS' (ADMIN)
   ========================================================================== */

.admin-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.search-container {
  flex-grow: 1;
  min-width: 250px;
}
.search-container form {
  display: flex;
  gap: 10px;
  margin: 0;
}
.search-container input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.category-section {
  margin-bottom: 40px;
}

.category-title {
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
  color: #333;
  padding-bottom: 10px;
  border-bottom: 2px solid #e0e0e0;
  margin-bottom: 20px;
}

.user-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.user-card-admin {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.user-card-header {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0f0f0;
}

.user-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid var(--cor-primaria);
}

.user-info .user-name {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.user-info .user-username {
  margin: 0;
  font-size: 0.9rem;
  color: #777;
}

.user-card-body {
  padding: 20px;
  flex-grow: 1;
}

.user-card-body p {
  font-size: 0.9em;
  margin-bottom: 8px;
}

.user-tags {
  margin-top: 15px;
}

.user-card-actions {
  padding: 15px 20px;
  background-color: #f8f9fc;
  border-top: 1px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* --- Componentes Específicos do Admin --- */

.info-box {
  background: #e9f5ff; /* Fundo azul claro */
  border-left: 5px solid #007bff; /* Borda azul */
  padding: 20px;
  margin: 30px 0;
  border-radius: 0 8px 8px 0;
}

.info-box h4 {
  margin-top: 0;
  color: #004085;
  font-family: var(--fonte-titulos);
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
  margin: 15px 0 0 0;
}

.info-box li {
  margin-bottom: 8px;
  color: #555;
}

.info-box p {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #555;
}

/* --- APRIMORAMENTOS DASHBOARD MEMBRO (Adicionar em pages.css) --- */

/* 1. Barra de Busca mais moderna e destacada */
.busca-container {
  position: relative;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

#caixa-busca {
  width: 100%;
  padding: 18px 25px;
  padding-left: 50px; /* Espaço para ícone imaginário via background ou HTML */
  font-size: 1.1rem;
  border-radius: 50px; /* Arredondado estilo 'Capsule' */
  border: 2px solid #444;
  background-color: #2a2a2a;
  color: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#caixa-busca:focus {
  border-color: var(--cor-destaque);
  background-color: #333;
  outline: none;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2); /* Glow Dourado */
}

#caixa-busca::placeholder {
  color: #888;
}

/* 2. Seção de Avisos com mais destaque visual */
.avisos-section {
  background: linear-gradient(
    to right,
    rgba(212, 175, 55, 0.1),
    rgba(255, 255, 255, 0.02)
  );
  padding: 25px 30px;
  border-radius: 12px;
  margin: 40px 0;
  border-left: 5px solid var(--cor-destaque);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.avisos-section h3 {
  color: var(--cor-destaque);
  margin-bottom: 15px;
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 3. Cards de Cursos estilo "Netflix" */
.curso-card {
  flex: 0 0 240px; /* Um pouco mais largo */
  width: 240px;
  border-radius: 12px;
  background-color: #222;
  border: 1px solid #333;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico suave */
}

.curso-card:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  border-color: var(--cor-destaque);
  z-index: 2;
}

.curso-card img {
  height: 320px; /* Formato poster */
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.curso-card:hover img {
  opacity: 1;
}

.curso-card h4 {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.8) 50%,
    rgba(0, 0, 0, 0) 100%
  );
  padding: 40px 15px 15px 15px;
  font-size: 1.1rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Badge de Concluído mais bonito */
.concluido-overlay {
  background-color: rgba(0, 0, 0, 0.85); /* Fundo mais escuro para contraste */
  backdrop-filter: blur(3px); /* Efeito de vidro */
}

.concluido-overlay i {
  color: #27ae60;
  font-size: 3rem;
  margin-bottom: 15px;
  filter: drop-shadow(0 0 10px rgba(39, 174, 96, 0.6));
}

/* --- APRIMORAMENTOS VER CURSO (Adicionar em pages.css) --- */

/* 1. Container do Vídeo "Cinema Mode" */
.course-view-container {
  max-width: 1100px; /* Mais largo para o vídeo ficar maior */
  background-color: #1e1e1e; /* Um pouco mais escuro que o fundo */
  padding: 40px;
  border: 1px solid #333;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.course-title {
  text-align: left; /* Título alinhado à esquerda fica mais moderno */
  font-size: 2.8rem;
  margin-bottom: 25px;
  background: -webkit-linear-gradient(#fff, #aaa); /* Gradiente no texto */
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.video-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5); /* Sombra ao redor do vídeo */
  border: 1px solid #333;
}

/* 2. Barra de Ações (Botões) */
.course-actions {
  background-color: #252525;
  border: 1px solid #333;
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* Botão de Progresso Interativo */
.botao-progresso {
  padding: 12px 30px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.botao-progresso:hover {
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.botao-progresso.concluido {
  background-color: rgba(39, 174, 96, 0.15); /* Fundo verde transparente */
  border-color: #27ae60;
  color: #2ecc71;
}

.botao-progresso.concluido:hover {
  background-color: #27ae60;
  color: white;
  box-shadow: 0 0 15px rgba(39, 174, 96, 0.6);
}

/* 3. Área de Descrição */
.course-description {
  background-color: rgba(255, 255, 255, 0.03);
  padding: 30px;
  border-radius: 8px;
  line-height: 1.9;
  color: #ccc;
  font-size: 1.05rem;
}

.course-description h2 {
  color: #fff;
  border-bottom: 1px solid #444;
  padding-bottom: 15px;
  margin-bottom: 20px;
}

/* 4. Comentários Modernos */
.comment-item {
  background-color: #252525;
  border: none;
  border-left: 4px solid #444; /* Borda padrão */
  padding: 20px 25px;
  transition: background-color 0.3s;
  margin-bottom: 20px;
}

.comment-item:hover {
  background-color: #2a2a2a;
  border-left-color: var(--cor-destaque); /* Borda fica dourada no hover */
}

.comment-header {
  border-bottom: 1px solid #333;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.comment-author {
  color: var(--cor-destaque);
  font-size: 1.1rem;
}

.comment-date {
  font-style: italic;
  font-size: 0.85rem;
}

/* Área de digitar comentário */
.comment-form textarea {
  background-color: #1a1a1a;
  border: 1px solid #444;
  color: white;
  padding: 15px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.comment-form textarea:focus {
  border-color: var(--cor-destaque);
  outline: none;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 10px; /* Espaço entre os botões */
  margin-top: 15px;
  justify-content: flex-end; /* Alinha à direita */
}

/* Resetando o estilo padrão do botão e criando a base */
.comment-action-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: var(--fonte-principal);
}

/* Estilo Específico: EDITAR (Azul) */
.comment-action-btn.edit-btn {
  color: #3498db;
  border-color: rgba(52, 152, 219, 0.2);
}

.comment-action-btn.edit-btn:hover {
  background-color: rgba(52, 152, 219, 0.1);
  border-color: #3498db;
  color: #5dade2;
  transform: translateY(-2px);
}

/* Estilo Específico: EXCLUIR (Vermelho) */
.comment-action-btn.delete-btn {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.2);
}

.comment-action-btn.delete-btn:hover {
  background-color: rgba(231, 76, 60, 0.1);
  border-color: #e74c3c;
  color: #ff6b6b;
  transform: translateY(-2px);
}

/* Estilo Específico: SALVAR (Verde - para o modo de edição) */
.comment-action-btn.save-btn {
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.2);
}
.comment-action-btn.save-btn:hover {
  background-color: rgba(46, 204, 113, 0.1);
  border-color: #2ecc71;
}

/* Estilo Específico: CANCELAR (Cinza - para o modo de edição) */
.comment-action-btn.cancel-btn {
  color: #95a5a6;
  border-color: rgba(149, 165, 166, 0.2);
}
.comment-action-btn.cancel-btn:hover {
  background-color: rgba(149, 165, 166, 0.1);
  border-color: #bdc3c7;
  color: white;
}

/* Correção para o formulário não quebrar o layout flex */
.comment-actions form {
  margin: 0;
  padding: 0;
  display: inline-block;
}

/* Espaçamento Geral */
.section-divider {
  margin: 60px 0;
  border: 0;
  border-top: 1px solid #eee;
}

/* Grid de Elos */
.elos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.elo-card {
  padding: 30px;
  background: #f9f9f9;
  border-radius: 10px;
  text-align: center;
}

/* Layout dos Fundadores */
.founders-container {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 40px;
}

.founder-detail {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Inverte a ordem no desktop para o efeito zigue-zague */
.founder-detail.inverse {
  flex-direction: row-reverse;
}

.founder-image {
  flex: 0 0 300px;
  height: 400px;
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.founder-info {
  flex: 1;
}

.founder-role {
  display: block;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.founder-bio p {
  margin-bottom: 15px;
  line-height: 1.6;
  color: #444;
}

/* RESPONSIVIDADE (Mobile) */
@media (max-width: 768px) {
  .founder-detail,
  .founder-detail.inverse {
    flex-direction: column; /* Empilha no mobile */
    text-align: center;
    gap: 20px;
  }

  .founder-image {
    flex: 0 0 250px;
    width: 100%;
    height: 300px;
  }
}

/* Divisor e Títulos */
.section-divider {
  margin: 80px 0;
  border: 0;
  border-top: 1px solid #eee;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.2rem;
  color: #2c3e50;
}

/* Elos */
.elos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.elo-card {
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.elo-card:hover {
  transform: translateY(-5px);
}

.elo-icon {
  font-size: 2.5rem;
  color: #a12b2b; /* Cor de exemplo, ajuste para a cor do seu carisma */
  margin-bottom: 20px;
}

/* Grid de Fundadores (Zigue-Zague) */
.founder-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 100px;
}

.founder-row.reverse {
  flex-direction: row-reverse;
}

.founder-image-container {
  flex: 0 0 400px;
}

.founder-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 20px 20px 0px #f4f4f4; /* Detalhe visual de moldura */
}

.founder-text {
  flex: 1;
}

.founder-badge {
  background: #a12b2b;
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: bold;
}

.founder-text h3 {
  font-size: 2rem;
  margin: 15px 0;
  color: #2c3e50;
}

.founder-bio p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #555;
  font-size: 1.05rem;
}

/* Responsividade Mobile */
@media (max-width: 992px) {
  .founder-row,
  .founder-row.reverse {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .founder-image-container {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }

  .founder-img {
    height: 400px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }
}

/* Grid de Eventos */
.eventos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

/* Card 1x1 (Quadrado) */
.evento-card-1x1 {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantém proporção quadrada */
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.evento-card-1x1:hover {
  transform: translateY(-5px);
}

/* Overlay Centralizado */
.evento-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Escurece a imagem para ler o texto */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: white;
}

.evento-info-center h3 {
  font-family: var(--fonte-titulos);
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #fff;
  text-transform: uppercase;
}

.evento-info-center p {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.evento-info-center .botao-interesse {
  margin-top: 15px;
  display: inline-block;
  background-color: var(--cor-primaria);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.evento-info-center .botao-interesse:hover {
  background-color: var(--cor-destaque);
}

/* Ajuste Responsivo */
@media (max-width: 480px) {
  .eventos-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
           1. ESTILOS DOS BALUARTES (Responsivo)
           ========================================= */
.baluartes-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.baluarte-card-novo {
  height: 350px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Película escura no fundo da imagem para ler bem o nome do Santo */
.baluarte-card-novo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    transparent 100%
  );
  z-index: 1;
}

.baluarte-card-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  width: 100%;
  text-align: center;
}

.baluarte-card-content h3 {
  color: #fff;
  margin: 0;
  font-family: var(--fonte-titulos);
  font-size: 1.5rem;
  text-transform: uppercase;
}

/* =========================================
           2. ESTILOS DA GALERIA
           ========================================= */
.divider-suave {
  margin: 60px 0;
  border: 0;
  border-top: 1px solid #eee;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  padding-bottom: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  height: 200px;
}

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

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

/* =========================================
           3. ESTILOS DO MODAL (Fundo Preto da Foto)
           ========================================= */
.modal-galeria {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-galeria-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  border-radius: 5px;
  animation: zoomIn 0.3s;
}

#legendaGaleria {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-family: var(--fonte-titulos);
  font-size: 1.2rem;
}

.close-galeria {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.close-galeria:hover {
  color: var(--cor-destaque);
}

@keyframes zoomIn {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

@media (max-width: 700px) {
  .modal-galeria-content {
    width: 95%;
  }
}

/* 1. Faz o formulário e a caixa de info empilharem no telemóvel */
.contact-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
}

/* No computador (ecrãs maiores), volta a ficar lado a lado */
@media (min-width: 768px) {
  .contact-container {
    flex-direction: row;
    align-items: flex-start;
  }
  .contact-form {
    flex: 1; /* Ocupa o espaço maior */
    padding-right: 20px;
  }
  .contact-info {
    width: 350px; /* Largura fixa para a caixa vermelha */
    flex-shrink: 0; /* Impede que a caixa encolha */
  }
}

/* 2. Garante o visual da caixa vermelha de informações */
.contact-info {
  background-color: var(--cor-primaria, #a42424);
  color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  box-sizing: border-box; /* Garante que o padding não aumenta a largura */
}

.contact-info h3 {
  color: white;
  margin-bottom: 20px;
  font-family: var(--fonte-titulos);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

/* 3. O Segredo do Mapa: Força a adaptação ao telemóvel */
.contact-list li:last-child {
  display: block; /* Remove o flexbox apenas no item do mapa */
}

.map-container {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  margin-top: 10px;
}

.map-container iframe {
  width: 100% !important;
  max-width: 100%;
  display: block;
}
