/* Carrossel de Clientes - Minimalista e Profissional */

.carousel-section {
  width: 100%;
  padding: 40px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.carousel-label {
  text-align: center;
  color: #6b7280;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  margin-bottom: 25px;
  margin-top: 0;
}

.carousel-wrapper {
  max-width: 100%;
  overflow: hidden;
  background-color: transparent;
}

.carousel-track {
  display: flex;
  gap: 30px;
  animation: scroll-infinite 80s linear infinite;
  will-change: transform;
  padding: 20px 0;
}

.carousel-logo {
  min-width: 160px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.carousel-logo:hover {
  opacity: 1;
}

.carousel-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Fundo azul para Neurokind */
.carousel-logo[data-client="neurokind"] {
  background-color: #667eea;
  border-radius: 8px;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-160px * 15 - 30px * 14));
  }
}

/* Fade nas extremidades */
.carousel-wrapper {
  position: relative;
  padding: 0 20px;
}

.carousel-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, white, transparent);
  z-index: 10;
  pointer-events: none;
}

.carousel-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to left, white, transparent);
  z-index: 10;
  pointer-events: none;
}

/* Responsivo */
@media (max-width: 768px) {
  .carousel-section {
    padding: 30px 0;
  }

  .carousel-label {
    margin-bottom: 20px;
    font-size: 0.7rem;
  }

  .carousel-track {
    gap: 25px;
    padding: 15px 0;
  }

  .carousel-logo {
    min-width: 130px;
    height: 55px;
  }

  .carousel-wrapper {
    padding: 0 15px;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 60px;
  }

  @keyframes scroll-infinite {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-130px * 15 - 25px * 14));
    }
  }
}

@media (max-width: 480px) {
  .carousel-section {
    padding: 25px 0;
  }

  .carousel-label {
    font-size: 0.65rem;
    margin-bottom: 15px;
  }

  .carousel-track {
    gap: 20px;
    padding: 10px 0;
  }

  .carousel-logo {
    min-width: 110px;
    height: 45px;
  }

  .carousel-wrapper {
    padding: 0 10px;
  }

  .carousel-wrapper::before,
  .carousel-wrapper::after {
    width: 50px;
  }

  @keyframes scroll-infinite {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-110px * 15 - 20px * 14));
    }
  }
}
