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

/* ===== SEÇÃO CLIENTELA ===== */
.about-clientela {
  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;
}

/* ===== IMAGEM COM BADGE ===== */
.foto-clientela {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
}

.foto-clientela:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.foto-clientela img {
  width: 100%;
  height: auto;
  min-height: 400px;
  object-fit: cover;
  transition: all 0.4s ease;
}

.foto-clientela:hover img {
  transform: scale(1.03);
}

.foto-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.foto-badge .icone {
  font-size: 1.5rem;
  color: #FF6B9D;
}

.foto-badge .texto {
  font-size: 1rem;
  color: #1a3a5c;
  font-weight: 600;
  line-height: 1.3;
}

/* ===== TEXTO ===== */
.texto-clientela p {
  font-size: 1.25rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 20px;
}

.texto-clientela p strong {
  color: #1a3a5c;
  font-weight: 700;
}

/* ===== CARDS DE IMPACTO ===== */
.area-card {
  background: #fff;
  border: 2px solid #eee;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FFDC00, #FF9C2C);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.1);
  border-color: #FF9C2C;
}

.area-card:hover::before {
  transform: scaleX(1);
}

.area-icone {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.6rem;
  color: #fff;
  transition: all 0.3s ease;
}

.area-card:hover .area-icone {
  transform: scale(1.1) rotate(-5deg);
}

.area-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 8px;
}

.area-card p {
  font-size: 0.95rem;
  color: #777;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Cores dos ícones */
.ic-educacao      { background: linear-gradient(135deg, #0074D9, #0056b3); }
.ic-comportamento { background: linear-gradient(135deg, #FF6B9D, #e91e63); }
.ic-habitos       { background: linear-gradient(135deg, #2ECC40, #1e8449); }
.ic-inclusao      { background: linear-gradient(135deg, #FFDC00, #FF9C2C); }
.ic-perspectiva   { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.ic-resultados    { background: linear-gradient(135deg, #FF851B, #e67e22); }

/* ===== BANNER DE MÉTRICAS OECA ===== */
.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;
}

/* ===== CTA PADRONIZADO ===== */
.form-voluntario-card {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border: 2px solid #eee;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.form-voluntario-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: #FF9C2C;
}

.form-titulo {
  font-family: 'Righteous', cursive;
  font-size: 1.8rem;
  color: #1a3a5c;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-titulo i {
  color: #FF9C2C;
  font-size: 1.5rem;
}

.form-voluntario-card > p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
}

.btn-voluntario-enviar {
  background: linear-gradient(135deg, #FF9C2C, #ffad33);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 40px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255,156,44,0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.btn-voluntario-enviar:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255,156,44,0.4);
  color: #fff;
}

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

/* ===== RESPONSIVO ===== */
@media (max-width: 991.98px) {
  .about-clientela { 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; }
  .foto-clientela img { min-height: 300px; }
  .texto-clientela p { font-size: 1.1rem; }
  .area-card { padding: 20px 16px; }
  .area-card h4 { font-size: 1rem; }
  .area-card p { font-size: 0.85rem; }
  .area-icone { width: 48px; height: 48px; font-size: 1.4rem; }
  .stats-voluntario { padding: 30px 20px; }
  .stat-numero { font-size: 2.2rem; }
  .stat-label { font-size: 0.85rem; }
  .form-titulo { font-size: 1.5rem; }
}

@media (max-width: 575.98px) {
  .titulo-oeca h2 { font-size: 1.8rem; flex-direction: column; gap: 8px; }
  .foto-clientela img { min-height: 220px; }
  .foto-badge { padding: 8px 14px; bottom: 12px; left: 12px; }
  .texto-clientela p { font-size: 1rem; }
  .area-card { padding: 16px 12px; }
  .area-icone { width: 42px; height: 42px; font-size: 1.2rem; }
  .area-card h4 { font-size: 0.95rem; }
  .area-card p { font-size: 0.8rem; }
  .stats-voluntario { padding: 25px 15px; border-radius: 16px; }
  .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; }
  .form-voluntario-card { padding: 30px 20px; }
  .form-titulo { font-size: 1.3rem; flex-direction: column; gap: 6px; }
  .btn-voluntario-enviar { width: 100%; justify-content: center; }
}