/* ==========================================================
   V30 — CARROSSEL DE CLIENTES
   Todos os clientes em movimento horizontal lento e contínuo.
   A ordem é embaralhada no carregamento, sem ramos iguais lado a lado.
   ========================================================== */

.clients-carousel-shell {
  position: relative;
  margin: clamp(30px, 4vw, 52px) calc(50% - 50vw) 0;
  overflow: hidden;
  padding: 8px 0 12px;
  isolation: isolate;
}

.clients-carousel-shell::before,
.clients-carousel-shell::after {
  content: "";
  position: absolute;
  z-index: 3;
  top: 0;
  bottom: 0;
  width: clamp(30px, 7vw, 120px);
  pointer-events: none;
}

.clients-carousel-shell::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink) 5%, rgba(25,22,20,.92) 28%, transparent 100%);
}

.clients-carousel-shell::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink) 5%, rgba(25,22,20,.92) 28%, transparent 100%);
}

.clients-carousel-viewport {
  overflow: hidden;
  width: 100%;
  cursor: default;
}

.clients-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: max-content;
  padding: 0 18px;
  will-change: transform;
}

.client-showcase-card {
  flex: 0 0 clamp(238px, 20vw, 305px);
  min-height: 310px;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid rgba(245,242,236,.16);
  background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.018));
  box-shadow: inset 0 1px rgba(255,255,255,.02);
}

.client-logo-frame {
  height: 172px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  overflow: hidden;
  background: #f4f0e9;
  border: 1px solid rgba(245,242,236,.08);
}

.client-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}


.client-logo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #15110e;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  text-align: center;
}

.client-showcase-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 20px;
}

.client-showcase-copy h3 {
  margin: 0 0 8px;
  color: var(--paper);
  font-size: clamp(1.38rem, 1.7vw, 1.7rem);
  line-height: 1.05;
}

.client-showcase-copy p {
  margin: 0;
  color: var(--brass);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.clients-carousel-hint {
  width: min(var(--container), calc(100% - 40px));
  margin: 12px auto 0;
  color: rgba(245,242,236,.46);
  font-size: .72rem;
  letter-spacing: .05em;
}

@media (max-width: 680px) {
  .clients-carousel-shell {
    margin-top: 24px;
  }

  .clients-carousel-shell::before,
  .clients-carousel-shell::after {
    width: 30px;
  }

  .client-showcase-card {
    flex-basis: min(78vw, 285px);
    min-height: 292px;
    padding: 14px;
  }

  .client-logo-frame {
    height: 158px;
    padding: 13px;
  }

  
.client-logo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 12px;
  color: #15110e;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.05;
  text-align: center;
}

.client-showcase-copy {
    padding-top: 17px;
  }

  .client-showcase-copy h3 {
    font-size: 1.45rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clients-carousel-viewport {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .clients-carousel-shell::before,
  .clients-carousel-shell::after {
    display: none;
  }
}
