/**
 * Section - Base Atualizada e Quem usa
 * Fundo branco; textos à esquerda (2 blocos); imagem à direita com fade no rodapé
 *
 * @package SeedDigital
 * @since 1.0.0
 */

.section-updated-base-who-uses {
  box-sizing: border-box;
  width: 100%;
  background-color: #fff;
  padding: 64px 0;
}

.updated-base-who-uses__wrapper {
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.updated-base-who-uses__content {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 640px;
}

@media (min-width: 768px) {
  .updated-base-who-uses__content {
    margin: 0 auto;
  }
}

.updated-base-who-uses__block {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.updated-base-who-uses__title {
  font-family: "Be Vietnam Pro", "Be Vietnam", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  color: #1b1a1a;
  margin: 0;
  text-align: center;
}

.updated-base-who-uses__intro,
.updated-base-who-uses__conclusion {
  font-family: "Be Vietnam Pro", "Be Vietnam", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.updated-base-who-uses__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .updated-base-who-uses__title {
    font-size: 28px;
  }

  .updated-base-who-uses__intro,
  .updated-base-who-uses__conclusion {
    text-align: center;
  }

  .updated-base-who-uses__list {
    max-width: 520px;
    margin: 0 auto;
  }
}

.updated-base-who-uses__list-item {
  font-family: "Be Vietnam Pro", "Be Vietnam", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.updated-base-who-uses__list-item::before {
  content: "•";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #0086c9;
}

.updated-base-who-uses__asset {
  position: sticky;
  top: 24px;
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.updated-base-who-uses__image {
  width: 100%;
  height: auto;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
  display: block;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

/* Responsive */
@media (max-width: 900px) {
  .updated-base-who-uses__wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }

  .updated-base-who-uses__asset {
    order: -1;
    min-height: unset;
    position: relative;
    top: 0;
  }

  .updated-base-who-uses__image {
    max-height: 420px;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
  }

  .section-updated-base-who-uses {
    padding: 80px 0 40px;
  }
}

@media (max-width: 480px) {
  .updated-base-who-uses__wrapper {
    padding: 0 16px;
    gap: 32px;
  }

  .updated-base-who-uses__content {
    gap: 36px;
  }

  .updated-base-who-uses__intro,
  .updated-base-who-uses__conclusion,
  .updated-base-who-uses__list-item {
    font-size: 14px;
  }

  .updated-base-who-uses__image {
    max-height: 320px;
  }
}

/* Layout desktop – a partir de 1024px (conteúdo centralizado, duas colunas ~50/50) */
@media (min-width: 1024px) {
  .section-updated-base-who-uses {
    padding: 64px 0;
  }

  .updated-base-who-uses__wrapper {
    margin: 0 auto;
    padding: 0 32px;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    padding-left: 117px;
  }

  .updated-base-who-uses__block {
    width: 100%;
    max-width: 477px;
  }

  .updated-base-who-uses__content {
    max-width: unset;
    margin: 0;
    gap: 48px;
    width: 100%;
    grid-column: 1/4;
    flex-direction: row;
  }

  .updated-base-who-uses__title {
    font-size: 40px;
    text-align: left;
  }

  .updated-base-who-uses__intro,
  .updated-base-who-uses__conclusion {
    text-align: left;
  }

  .updated-base-who-uses__list {
    max-width: 100%;
    margin: 0;
  }

  .updated-base-who-uses__asset {
    min-height: unset;
  }

  .updated-base-who-uses__list-item {
    font-size: 18px;
  }
}

@media (min-width: 1920px) {
  .updated-base-who-uses__wrapper {
    row-gap: 130px;
  }

  .updated-base-who-uses__content {
    gap: 315px;
  }
}
