/* ============================================================
   LISTAR GALERIAS - CSS Exclusivo
   Mesmo padrao do clientela.css e historia.css
   ============================================================ */

/* ===== SECAO GALERIAS ===== */
.about-galerias {
  background: linear-gradient(180deg, #fff 0%, #f8f9fa 50%, #fff 100%);
  padding: 60px 0 80px;
  position: relative;
}

/* ===== TITULO PADRAO 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;
}

/* ===== CARDS DE GALERIA ===== */
.galeria-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.galeria-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.galeria-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.galeria-card:hover img {
  transform: scale(1.05);
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2rem;
}

.galeria-card:hover .galeria-overlay {
  opacity: 1;
}

.galeria-info {
  padding: 1.25rem;
  background: white;
}

.galeria-titulo {
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.galeria-meta {
  color: #6c757d;
  font-size: 0.85rem;
}

.badge-fotos {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255,102,0,0.9);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

/* ===== ANIMACOES ===== */
@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; }

/* ===== RESPONSIVO ===== */
@media (max-width: 991.98px) {
  .about-galerias { 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; }
  .galeria-card img { height: 240px; }
}

@media (max-width: 575.98px) {
  .titulo-oeca h2 { font-size: 1.8rem; flex-direction: column; gap: 8px; }
  .galeria-card img { height: 200px; }
}

/* ===== 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; }
}