/* Estilos específicos para a seção de estatísticas */
.depoimentos-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  background: linear-gradient(135deg, #003366, #0055a4);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.depoimentos-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/photos/bg-pattern-stats.png');
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  min-width: 220px;
  transition: transform 0.4s ease, background-color 0.3s ease;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:hover {
  transform: translateY(-8px);
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ff6600;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #ff6600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
}

.stat-number::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: #ff6600;
  border-radius: 3px;
}

.stat-label {
  font-size: 1.1rem;
  color: white;
  font-weight: 500;
  line-height: 1.4;
}

.stats-title {
  width: 100%;
  text-align: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.stats-footer {
  width: 100%;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-top: 1.5rem;
  font-style: italic;
}

/* Animação de contagem para os números */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number.animate {
  animation: countUp 1.5s ease forwards;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
  .depoimentos-stats {
    padding: 1.5rem;
    flex-direction: column;
    align-items: center;
  }
  
  .stat-item {
    width: 100%;
    max-width: 280px;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 1rem;
  }
}
