/* ============================================
   ALTERNATIVES SECTION - LP TruScale IaaS
   ============================================
   
   Mais controle, previsibilidade e valor frente às alternativas
*/

.alternatives {
  position: relative;
  background-color: var(--color-bg-pink-light);
  overflow: hidden;
  min-height: 513px;
}

.alternatives__container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 50% 1fr;
  align-items: center;
  min-height: 514px;
}

/* Conteúdo à esquerda */
.alternatives__content {
  padding: 75px 80px 75px 100px;
  position: relative;
  z-index: 2;
  max-height: 514px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.alternatives__title {
  font-family: var(--font-gotham-bold);
  font-size: var(--font-size-title);
  line-height: var(--line-height-title);
  color: #1D1616;
  margin-bottom: var(--margin-md);
}

.alternatives__intro {
  font-family: var(--font-gotham-book);
  font-size: 18px;
  font-style: normal;
  font-weight: 325;
  line-height: 27px;
  color: #1D1616;
  margin-bottom: var(--margin-md);
}

/* Lista */
.alternatives__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--margin-md) 0;
}

.alternatives__list-item {
  position: relative;
  padding-left: 27px;
  font-family: var(--font-gotham-book);
  font-size: 18px;
  font-style: normal;
  font-weight: 325;
  line-height: 27px;
  color: #1D1616;
  margin-bottom: 10px;
}

.alternatives__list-item:last-child {
  margin-bottom: 0;
}

.alternatives__list-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1D1616;
  font-size: 20px;
  line-height: 27px;
}

/* Botão CTA */
.alternatives__cta {
  margin-top: var(--margin-md);
}

.alternatives__cta-button {
  min-width: 427.56px;
  height: 40px;
}

/* Imagem à direita */
.alternatives__image-wrapper {
  position: relative;
  height: 514px;
  overflow: hidden;
}

.alternatives__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0% 50%;
}

/* Overlay gradiente */
.alternatives__image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay-right);
  z-index: 1;
}

/* Responsive */
@media (max-width: 1440px) {
  /* Em telas menores de desktop, usar colunas 50/50 para alinhar imagem e conteúdo
     e remover espaços em branco entre as imagens */
  .alternatives__container {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 0;
  }
  
  .alternatives__content {
    padding: 60px 40px 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .alternatives__image-wrapper {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    align-self: stretch;
  }
  
  .alternatives__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 1024px) {
  .alternatives {
    min-height: auto;
  }
  
  .alternatives__container {
    grid-template-columns: 1fr;
  }
  
  .alternatives__content {
    padding: 40px 24px;
    order: 1;
  }
  
  .alternatives__image-wrapper {
    height: 400px;
    order: 2;
  }
  
  .alternatives__title {
    font-size: 28px;
    max-width: 100%;
  }
  
  .alternatives__intro,
  .alternatives__list-item {
    font-size: var(--font-size-base);
  }
  
  .alternatives__list-item {
    padding-left: 40px;
  }
  
  .alternatives__list-item::before {
    left: 20px;
  }
  
  .alternatives__cta-button {
    min-width: 100%;
  }
}

@media (max-width: 768px) {
  .alternatives__image-wrapper {
    height: 300px;
  }
  
  .alternatives__content {
    padding: 32px 16px;
  }
  
  .alternatives__title {
    font-size: 24px;
    /* Reduzir espaçamento entre linhas no mobile */
    line-height: 1.08;
    margin-bottom: 12px;
  }
  
  .alternatives__intro,
  .alternatives__list-item {
    font-size: var(--font-size-small);
    line-height: 20px;
  }
  
  .alternatives__list-item {
    padding-left: 30px;
  }
  
  .alternatives__list-item::before {
    left: 10px;
  }
}

/* Forçar imagem para mostrar a parte direita em todas as resoluções */
.alternatives__image {
  object-position: 0% 50% !important;
}
