/* ============================================================
   agenda.css - Estilos exclusivos para agenda.php
   Modernizado com padrão OECA (cards + stats + CTA)
   ============================================================ */

/* ===== SEÇÃO AGENDA ===== */
.about-agenda {
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 50%, #fff 100%);
  padding: 60px 0 80px;
  position: relative;
}

/* ===== TÍTULO PADRÃO OECA ===== */
.titulo-oeca {
  text-align: center;
  margin-bottom: 50px;
}

.titulo-oeca h2 {
  font-family: 'Righteous', cursive;
  font-size: 3.5rem;
  color: #FF9C2C;
  text-shadow: 2px 2px 6px rgba(255,156,44,0.25);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-transform: uppercase;
}

.titulo-oeca h2 i {
  font-size: 2.4rem;
  color: #FF9C2C;
}

.titulo-oeca .linha {
  width: 180px;
  height: 4px;
  background: linear-gradient(90deg, #FFDC00, #FF9C2C);
  border-radius: 2px;
  margin: 0 auto 18px;
}

.titulo-oeca p {
  font-size: 1.5rem;
  color: #777;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== GRID DE EVENTOS ===== */
.grid-agenda {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

/* ===== CARD DE EVENTO ===== */
.card-evento {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  border: 2px solid transparent;
}

.card-evento:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-color: #FF9C2C;
}

/* Imagem do evento */
.evento-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

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

.card-evento:hover .evento-img {
  transform: scale(1.08);
}

/* Placeholder quando não tem imagem */
.evento-img-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 1rem;
  gap: 8px;
}

.evento-img-placeholder i {
  font-size: 3rem;
  color: #ccc;
}

/* Informações do evento */
.evento-info {
  padding: 20px;
  position: relative;
}

/* Data destacada */
.evento-data {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.dia-destaque {
  font-family: 'Righteous', cursive;
  font-size: 2.5rem;
  color: #FF9C2C;
  line-height: 1;
  min-width: 45px;
  text-align: center;
}

.mes-destaque {
  font-size: 0.85rem;
  font-weight: 700;
  color: #FF9C2C;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ano-destaque {
  font-size: 0.8rem;
  color: #888;
}

/* Horário */
.evento-horario {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.evento-horario i {
  color: #FF9C2C;
  font-size: 1rem;
}

/* Título do evento */
.evento-titulo {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 12px;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.card-evento:hover .evento-titulo {
  color: #FF9C2C;
}

/* Local */
.evento-local {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 8px;
}

.evento-local i {
  color: #e74c3c;
  font-size: 1rem;
}

/* Valor */
.evento-valor {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #28a745;
  font-weight: 600;
}

.evento-valor i {
  color: #28a745;
  font-size: 1rem;
}

/* Badge de status (ativo/encerrado) */
.evento-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.evento-badge.ativo {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: #fff;
}

.evento-badge.encerrado {
  background: linear-gradient(135deg, #6c757d, #adb5bd);
  color: #fff;
}

/* ===== MENSAGEM VAZIA ===== */
.vazio {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #888;
  font-size: 1.2rem;
}

.vazio i {
  font-size: 3rem;
  color: #ccc;
  display: block;
  margin-bottom: 15px;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 991.98px) {
  .about-agenda { padding: 50px 0 60px; }
  .titulo-oeca h2 { font-size: 2.6rem; }
  .titulo-oeca h2 i { font-size: 1.8rem; }
  .titulo-oeca p { font-size: 1.2rem; }
  .grid-agenda { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
  .evento-img-wrapper, .evento-img-placeholder { height: 180px; }
}

@media (max-width: 575.98px) {
  .titulo-oeca h2 { font-size: 1.8rem; flex-direction: column; gap: 8px; }
  .grid-agenda { grid-template-columns: 1fr; gap: 15px; }
  .evento-img-wrapper, .evento-img-placeholder { height: 160px; }
  .evento-info { padding: 15px; }
  .dia-destaque { font-size: 2rem; }
  .evento-titulo { font-size: 1rem; }
  .evento-horario, .evento-local, .evento-valor { font-size: 0.85rem; }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

/* ===== BANNER DE MÉTRICAS OECA (padrão historia.css / clientela.css) ===== */
.stats-voluntario {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8f 50%, #1a3a5c 100%);
  border-radius: 20px;
  padding: 40px 30px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(26, 58, 92, 0.3);
}

.stats-voluntario::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.stat-box {
  position: relative;
  z-index: 1;
  padding: 10px 5px;
}

.stat-numero {
  font-size: 2.8rem;
  font-weight: 900;
  color: #FFDC00;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-numero small {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  margin-left: 2px;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

.stat-barra {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.stat-progresso {
  height: 100%;
  background: linear-gradient(90deg, #FFDC00, #FF9C2C);
  border-radius: 3px;
  transition: width 1s ease;
}

.stat-box.atingida .stat-progresso {
  background: linear-gradient(90deg, #2ECC40, #1e8449);
}

.stat-pct {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(46, 204, 64, 0.2);
  color: #2ECC40;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid rgba(46, 204, 64, 0.3);
}

.stat-badge i {
  font-size: 1rem;
}

.stat-ajude {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #FF9C2C, #ffad33);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 156, 44, 0.3);
}

.stat-ajude:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 156, 44, 0.4);
  color: #fff;
}

.stat-ajude i {
  font-size: 1rem;
}

.stat-box.fixo .stat-numero {
  font-size: 2.4rem;
  letter-spacing: 2px;
}

.stat-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 8px;
}

/* Responsivo do banner */
@media (max-width: 991.98px) {
  .stats-voluntario { padding: 30px 20px; margin-top: 40px; }
  .stat-numero { font-size: 2.2rem; }
  .stat-numero small { font-size: 1rem; }
  .stat-label { font-size: 0.85rem; }
}

@media (max-width: 767.98px) {
  .stat-box { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-box:last-child { border-bottom: none; padding-bottom: 0; }
}

@media (max-width: 575.98px) {
  .stats-voluntario { padding: 25px 15px; border-radius: 16px; margin-top: 30px; }
  .stat-numero { font-size: 1.8rem; }
  .stat-numero small { font-size: 0.85rem; }
  .stat-label { font-size: 0.75rem; letter-spacing: 1px; }
  .stat-barra { height: 5px; }
  .stat-pct { font-size: 0.75rem; }
  .stat-badge { font-size: 0.75rem; padding: 4px 10px; }
  .stat-ajude { font-size: 0.8rem; padding: 6px 14px; }
  .stat-box.fixo .stat-numero { font-size: 1.6rem; }
}