/* =============================================
   SECTION - QUEM SOMOS
   ============================================= */

.quem-somos {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  background: var(--base-white);
}

.quem-somos__container {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 1320px;
  width: 100%;
}

/* ---------- Photo Gallery ---------- */
.quem-somos__gallery {
  position: relative;
  width: 350px;
  min-width: 350px;
  height: 998px;
  overflow: hidden;
  flex-shrink: 0;
}

.quem-somos__gallery-fade--top,
.quem-somos__gallery-fade--bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 2;
  pointer-events: none;
}

.quem-somos__gallery-fade--top {
  top: 0;
  background: linear-gradient(180deg, #F7F6F1 15%, transparent 87%);
}

.quem-somos__gallery-fade--bottom {
  bottom: 0;
  background: linear-gradient(0deg, #F7F6F1 15%, transparent 87%);
}

.quem-somos__gallery-scroll {
  display: flex;
  gap: 16px;
  height: 100%;
}

.quem-somos__gallery-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  animation: scroll-up 30s linear infinite;
}

.quem-somos__gallery-col:nth-child(2) {
  animation: scroll-down 30s linear infinite;
}

@keyframes scroll-up {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scroll-down {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.quem-somos__photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.quem-somos__gallery-col:nth-child(1) .quem-somos__photo {
  aspect-ratio: 159 / 279;
}

.quem-somos__gallery-col:nth-child(2) .quem-somos__photo {
  aspect-ratio: 159 / 187;
}

/* ---------- Text Content ---------- */
.quem-somos__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  flex: 1;
}

.quem-somos__text-header {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quem-somos__intro {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  color: var(--base-black);
}

.quem-somos__logo {
  width: 320px;
  height: auto;
}

.quem-somos__title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.2em;
  letter-spacing: 0.05em;
}

.quem-somos__body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.4em;
  letter-spacing: 0.05em;
  color: var(--base-black);
}

.quem-somos__text > .btn-ghost {
  align-self: flex-start;
}

/* ---------- CTA Block ---------- */
.quem-somos__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.quem-somos__helper {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.21em;
  color: rgba(0, 0, 0, 0.6);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .quem-somos__container {
    max-width: 1140px;
    padding: 0 20px;
  }
}

@media (max-width: 834px) {
  .quem-somos {
    padding: 64px 0;
  }

  .quem-somos__container {
    flex-direction: column;
    max-width: 720px;
    padding: 0 20px;
  }

  .quem-somos__gallery {
    display: none;
  }

  .quem-somos__text {
    align-items: center;
    text-align: center;
  }

  .quem-somos__title {
    font-size: 36px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .quem-somos__container {
    max-width: 350px;
  }

  .quem-somos__logo {
    width: 220px;
  }

  .quem-somos__title {
    font-size: 28px;
  }

  .quem-somos__body {
    font-size: 18px;
  }
}
