/*------------------------------------------
  CLIENTES SECTION               
------------------------------------------*/
.clientes-section {
  background: var(--white-color);
  padding: 100px 0;
  position: relative;
}

.clientes-section h2 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 2.5rem;
}

.clientes-section p {
  color: var(--p-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Cliente Cards */
.cliente-card {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.cliente-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--secondary-color);
}

.cliente-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 202, 240, 0.05), rgba(255, 107, 53, 0.05));
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.cliente-card:hover::before {
  opacity: 1;
}

.cliente-logo-wrapper {
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cliente-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(100%) brightness(0.8);
}

.cliente-card:hover .cliente-logo {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.05);
}

.cliente-info {
  position: relative;
  z-index: 2;
}

.cliente-info h5 {
  color: var(--dark-color);
  font-size: var(--h6-font-size);
  margin-bottom: 8px;
  font-weight: var(--font-weight-semibold);
}

.cliente-info p {
  color: var(--p-color);
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

/* Clientes Stats */
.clientes-stats {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: var(--border-radius-large);
  padding: 50px 30px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.clientes-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.stat-item {
  position: relative;
  z-index: 2;
  color: var(--white-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 10px;
  background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.8));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Clientes CTA */
.clientes-cta {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 50px 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(13, 202, 240, 0.1);
}

.clientes-cta h4 {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.8rem;
}

.clientes-cta p {
  color: var(--p-color);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 991px) {
  .clientes-section {
    padding: 80px 0;
  }
  
  .clientes-section h2 {
    font-size: 2.2rem;
  }
  
  .cliente-logo-wrapper {
    height: 100px;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .clientes-stats {
    padding: 40px 20px;
  }
  
  .clientes-cta {
    padding: 40px 20px;
  }
}

@media (max-width: 767px) {
  .clientes-section {
    padding: 60px 0;
  }
  
  .clientes-section h2 {
    font-size: 2rem;
  }
  
  .cliente-card {
    padding: 25px 15px;
    margin-bottom: 20px;
  }
  
  .cliente-logo-wrapper {
    height: 80px;
    margin-bottom: 15px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  .clientes-stats {
    padding: 30px 15px;
  }
  
  .clientes-cta {
    padding: 30px 15px;
  }
  
  .clientes-cta h4 {
    font-size: 1.5rem;
  }
}

/* Animation for counter */
@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-number {
  animation: countUp 0.6s ease-out;
}

/* Hover effects for stats */
.stat-item:hover .stat-number {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
  color: var(--white-color);
  transition: all 0.3s ease;
}
