.client-carousel-bg {
  width: 100%;
  background-color: #DADADA;
  padding: 80px 0; /* aumentamos altura da sessão */
  overflow: hidden;
}

.client-carousel {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
  position: relative;
}

.client-carousel-track {
  display: flex;
  gap: 20px;
  animation: scroll-carousel 40s linear infinite;
  width: max-content; /* 👈 isso garante que ela tenha o tamanho real da soma dos cards */
}

.client-carousel:hover .client-carousel-track {
  animation-play-state: paused;
}

.client-card {
  flex: 0 0 auto;
  width: 157px;
  height: 157px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.3s ease;
}

.client-card img {
  width: 80%;
  height: auto;
  transition: transform 0.3s ease;
}

.client-card button {
  display: none;
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c7f35;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 16px;
  border-radius: 20px;
  border: none;
  cursor: pointer;
}

.client-card:hover {
  transform: scale(1.4);
  z-index: 10;
}

.client-card:hover img {
  transform: scale(1.1);
}

.client-card:hover button {
  display: block;
}

@keyframes scroll-carousel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
