/* 06-operacoes-impactadas · H06 · porte de .logo-cloud-section da V1.
   Faixa que passa sozinha (grupo duplicado, o clone com aria-hidden). Roda só em cena
   (#h06.is-motion-active), pausa no hover e no foco. Sem JS ou com movimento reduzido,
   a faixa para e os 15 logos quebram em linhas, todos visíveis. */
#h06.logo-cloud-section {
  position: relative;
  z-index: 2;
  padding: 5rem 0 clamp(4.5rem, 6vw, 6rem);
  overflow: hidden;
  background: var(--light);
}

#h06 .logo-cloud-section__header {
  width: min(100% - 3rem, 34rem);
  margin: 0 auto clamp(4rem, 6vw, 5.5rem);
  color: #161616;
  text-align: center;
}

#h06 .logo-cloud-section__eyebrow {
  margin: 0 0 clamp(0.5rem, calc(3vw - 1.5rem), 1.25rem);
  color: var(--orange-on-light);
  font-family: var(--font-serif);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-variation-settings: "wght" 400;
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.2;
}

#h06 h2 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(2.65rem, 4.2vw, 3.65rem);
  font-weight: 350;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

#h06 .logo-cloud-section__number {
  font-family: var(--font-serif);
  font-variation-settings: "wght" 400;
  font-weight: 400;
}

#h06 .logo-cloud-component {
  width: min(calc(100% - 3rem), 64rem);
  margin: 0 auto;
}

#h06 .logo-cloud-component__divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0%) 8%, rgb(255 255 255 / 92%) 20%, rgb(255 255 255 / 100%) 50%, rgb(255 255 255 / 92%) 80%, transparent);
  box-shadow: 0 1px 0 rgb(22 22 22 / 6%), 0 0 22px rgb(255 255 255 / 90%);
}

#h06 .logo-cloud-component__divider--top { width: 100%; margin: 0 auto 1.25rem; }
#h06 .logo-cloud-component__divider--bottom { margin-top: 1.25rem; }

#h06 .logo-cloud {
  overflow: hidden;
  padding: 1rem 0;
  border-radius: 0.5rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

#h06 .logo-cloud:focus-visible { outline-offset: 4px; }

#h06 .logo-cloud__track {
  display: flex;
  width: max-content;
  animation: h06-logo-cloud-slide 28s linear infinite reverse;
  animation-play-state: paused;
  will-change: transform;
}

#h06.is-motion-active .logo-cloud__track { animation-play-state: running; }
#h06 .logo-cloud:is(:hover, :focus-within) .logo-cloud__track { animation-play-state: paused; }

#h06 .logo-cloud__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 58px;
  padding-right: 58px;
}

#h06 .logo-cloud__logo {
  display: flex;
  width: auto;
  height: 2rem;
  flex: 0 0 auto;
}

#h06 .logo-cloud img {
  display: block;
  width: auto;
  max-width: none;
  height: 100%;
  opacity: 1;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: grayscale(1);
}

@keyframes h06-logo-cloud-slide {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@media (max-width: 640px) {
  #h06.logo-cloud-section { padding: 2.5rem 0; }
  #h06 .logo-cloud-section__header { margin-bottom: 3rem; }
  #h06 .logo-cloud-section__eyebrow { margin-bottom: 1.75rem; }
  #h06 h2 {
    font-size: clamp(2.25rem, 9.4vw, 2.7rem);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }
  #h06 .logo-cloud {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent);
  }
  #h06 .logo-cloud__track { animation-duration: 40s; }
  #h06 .logo-cloud__group { gap: 36px; padding-right: 36px; }
  #h06 .logo-cloud__logo { height: 1.55rem; }
}

/* Parada: sem JS ou com movimento reduzido, os logos quebram em linhas e o clone some. */
.no-js #h06 .logo-cloud,
#h06 .logo-cloud.is-parada { -webkit-mask-image: none; mask-image: none; }
.no-js #h06 .logo-cloud__track,
#h06 .logo-cloud.is-parada .logo-cloud__track { width: 100%; animation: none; transform: none; }
.no-js #h06 .logo-cloud__group,
#h06 .logo-cloud.is-parada .logo-cloud__group { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 1.75rem 2.75rem; padding-right: 0; }
.no-js #h06 .logo-cloud__group[aria-hidden="true"],
#h06 .logo-cloud.is-parada .logo-cloud__group[aria-hidden="true"] { display: none; }

@media (prefers-reduced-motion: reduce) {
  #h06 .logo-cloud { -webkit-mask-image: none; mask-image: none; }
  #h06 .logo-cloud__track { width: 100%; animation: none; transform: none; }
  #h06 .logo-cloud__group { flex: 1 1 100%; flex-wrap: wrap; justify-content: center; gap: 1.75rem 2.75rem; padding-right: 0; }
  #h06 .logo-cloud__group[aria-hidden="true"] { display: none; }
}
