/* ============================
   HOME
============================ */

.logo-strip {
  overflow: hidden;
  background: var(--dark);
  color: white;
  border-top: 1px solid rgba(255,255,255,0.12);
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 34s linear infinite;
}

.logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 72px;
  padding: 0 26px;
  white-space: nowrap;
  color: rgba(255,255,255,0.86);
}

.logo-item img {
  display: block;
  width: 116px;
  height: 42px;
  max-width: none;
  object-fit: contain;
  filter: grayscale(1) brightness(4.4);
  opacity: 0.92;
}

.logo-item img.logo-img-lg {
  width: 348px;
  height: 126px;
}

.logo-item img.logo-img-xl {
  width: 162px;
  height: 59px;
}

.logo-item img.logo-img-poste {
  width: 296px;
  height: 107px;
}

.logo-item img.logo-img-total {
  width: 133px;
  height: 48px;
}

.logo-item img.logo-img-n26 {
  width: 348px;
  height: 126px;
}

.logo-item::after {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin-left: 28px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.28);
}

@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.filter {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 850;
}

.filter.active {
  background: var(--dark);
  color: white;
}

.avatar-showcase-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.72fr;
  gap: 24px;
}

.avatar-horizontal-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
}

.avatar-horizontal-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 34px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.avatar-horizontal-video {
  min-height: 100%;
}

.avatar-horizontal-video video {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.avatar-horizontal-content {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.avatar-horizontal-content span,
.avatar-ugc-content span {
  color: var(--orange);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.avatar-horizontal-content p,
.avatar-ugc-content p {
  font-size: 15px;
  line-height: 1.6;
}

.avatar-ugc-card {
  display: grid;
  grid-template-rows: 1fr auto;
  border-radius: 34px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.avatar-ugc-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1080 / 1350;
}

.avatar-ugc-content {
  padding: 28px;
}

.avatar-horizontal-card,
.avatar-ugc-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avatar-horizontal-card:hover,
.avatar-ugc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 95px rgba(16, 16, 16, 0.14);
}

.bubble-process-section {
  overflow: hidden;
}

.bubble-process {
  position: relative;
  min-height: 560px;
  margin-top: 54px;
}

.bubble-process-line {
  position: absolute;
  inset: 72px 0 0;
  width: 100%;
  height: 390px;
  z-index: 0;
  pointer-events: none;
}

.bubble-process-line path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 12 16;
  opacity: 0.62;
}

.bubble-process-line path.flowing {
  animation: dashFlow 1.8s linear infinite;
}

.bubble-1 {
  left: 0;
  top: 185px;
  --bubble-rot: -3deg;
}

.bubble-2 {
  left: 23%;
  top: 58px;
  --bubble-rot: 2deg;
}

.bubble-3 {
  left: 42%;
  top: 225px;
  --bubble-rot: -1deg;
}

.bubble-4 {
  left: 60%;
  top: 50px;
  --bubble-rot: 2deg;
}

.bubble-5 {
  right: 0;
  top: 200px;
  --bubble-rot: -2deg;
}

@media (max-width: 1100px) {
  .avatar-showcase-layout {
    grid-template-columns: 1fr;
  }

  .avatar-ugc-card {
    max-width: 560px;
  }

  .bubble-process {
    min-height: auto;
    display: grid;
    gap: 20px;
  }

  .bubble-process-line {
    display: none;
  }

  .process-bubble {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: 100%;
    height: auto;
    min-height: 180px;
    border-radius: 30px;
    transform: none !important;
    text-align: left;
    align-items: flex-start;
    opacity: 1 !important;
  }

  .process-bubble::after {
    border-radius: 24px;
  }

  .bubble-keys {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .avatar-horizontal-card {
    grid-template-columns: 1fr;
  }

  .avatar-horizontal-video video {
    aspect-ratio: 16 / 9;
  }

  .avatar-ugc-card {
    max-width: none;
  }
}
