/*
  Ajustes gerais da pagina inicial.
*/

#main-content {
  background: linear-gradient(180deg, #f8f8f8 0%, #f2f2f2 100%);
}

/*
  Barra de marcas abaixo do hero:
  - texto de prova social a esquerda
  - logos/nomes de parceiros em linha a direita
*/
.hero-brands-bar {
  margin-top: 0;
  background: #ffffff;
  border-top: 2px solid #2dc2a6e6;
  border-bottom: 2px solid #2dc2a6;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-brands-bar::before,
.hero-brands-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 160%;
  border-radius: 48% 52% 56% 44% / 52% 48% 52% 48%;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.hero-brands-bar::before {
  top: -28%;
  height: 56%;
  background:
    radial-gradient(75% 88% at 50% 42%, rgba(44, 195, 168, 0.22) 0%, rgba(44, 195, 168, 0.08) 48%, rgba(44, 195, 168, 0) 100%),
    linear-gradient(120deg, rgba(44, 195, 168, 0.22), rgba(255, 255, 255, 0.12) 65%, rgba(44, 195, 168, 0.18));
  filter: blur(4px);
  animation: partnersWaveTop 12s ease-in-out infinite alternate;
}

.hero-brands-bar::after {
  bottom: -34%;
  height: 62%;
  background:
    radial-gradient(78% 100% at 50% 52%, rgba(45, 194, 166, 0.18) 0%, rgba(45, 194, 166, 0.06) 52%, rgba(45, 194, 166, 0) 100%),
    linear-gradient(240deg, rgba(44, 195, 168, 0.14), rgba(255, 255, 255, 0.06) 55%, rgba(44, 195, 168, 0.2));
  filter: blur(3px);
  animation: partnersWaveBottom 16s ease-in-out infinite alternate;
}

.hero-brands-bar__inner {
  width: min(1840px, 99.2vw);
  margin: 0 auto;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.45rem 0.75rem 0.8rem;
  position: relative;
  z-index: 1;
}

.hero-brands-bar__title {
  margin: 0;
  margin-top: 150px;
  margin-bottom: 150px;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  text-align: center;
  font-size: 50px;
  font-weight: 800;
  line-height: 2.1;
  position: relative;
  animation: partnersTitleIn 2s ease both;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.hero-brands-bar__title:hover {
  transform: translateY(-2px) scale(1.02);
  filter: drop-shadow(0 0 10px rgba(44, 195, 168, 0.38));
}

.hero-brands-bar__title-dark {
  color: #000000;
}

.hero-brands-bar__title-accent {
  color: #2cc3a8;
}

.hero-brands-bar__title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: min(320px, 68vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(91deg, rgb(6 0 0 / 73%) 0%, #2cc3a8 100%);
}

.hero-brands-bar__marquee {
  width: min(1220px, 94vw);
  overflow: hidden;
  contain: layout paint;
}

.hero-brands-bar__track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: brandsScroll 40s linear infinite;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  contain: content;
}

.hero-brands-bar__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.3rem, 4vw, 2.6rem);
  width: max-content;
}

.hero-brands-bar__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 2.15rem 2.3rem;
  flex: 0 0 auto;
}

.hero-brands-bar__item img {
  display: block;
  height: clamp(100px, 2.9vw, 100px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none;
  pointer-events: auto;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Compensa logos com muito respiro interno para ficarem visualmente niveladas */
.hero-brands-bar__item.brand-powerbi img,
.hero-brands-bar__item.brand-android img,
.hero-brands-bar__item.brand-dell img,
.hero-brands-bar__item.brand-lenovo img,
.hero-brands-bar__item.brand-open-datacenter img,
.hero-brands-bar__item.brand-pulsus img,
.hero-brands-bar__item.brand-sms img {
  height: clamp(150px, 3.3vw, 160px);
}

@keyframes brandsScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes partnersTitleIn {
  from {
    opacity: 0;
    transform: translateY(12px);
    letter-spacing: 0.06em;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0;
  }
}

@keyframes partnersWaveTop {
  0% {
    transform: translate3d(-50%, 0, 0) scaleX(1);
    opacity: 0.82;
  }
  100% {
    transform: translate3d(-50%, 18px, 0) scaleX(1.04);
    opacity: 1;
  }
}

@keyframes partnersWaveBottom {
  0% {
    transform: translate3d(-50%, 0, 0) scaleX(1);
    opacity: 0.8;
  }
  100% {
    transform: translate3d(-50%, -16px, 0) scaleX(1.03);
    opacity: 0.96;
  }
}

@media (max-width: 1024px) {
  .hero-brands-bar::before {
    top: -24%;
    height: 46%;
    width: 180%;
  }

  .hero-brands-bar::after {
    bottom: -30%;
    height: 52%;
    width: 180%;
  }
}

@media (max-width: 768px) {
  .hero-brands-bar::before,
  .hero-brands-bar::after {
    width: 210%;
    filter: blur(2px);
  }

  .hero-brands-bar::before {
    top: -18%;
    height: 38%;
  }

  .hero-brands-bar::after {
    bottom: -22%;
    height: 42%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brands-bar::before,
  .hero-brands-bar::after {
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-brands-bar__track {
    animation: none;
  }
}
