/* ============================================
   STEPS SECTION - LP TruScale IaaS
   ============================================
   
   3 passos simples para entregar infraestrutura como serviço
*/

.steps {
  position: relative;
  background-color: var(--color-white);
  padding: 106px 0;
}

.steps__container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 var(--padding-xl);
}

/* Título */
.steps__title {
  font-family: var(--font-gotham-bold);
  font-size: var(--font-size-subtitle);
  line-height: 1.2;
  text-align: center;
  color: var(--color-text-primary);
  margin-bottom: 66px;
  max-width: 957px;
  margin-left: auto;
  margin-right: auto;
}

/* Grid de cards */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-2xl);
  margin-bottom: var(--margin-2xl);
}

/* Card individual */
.steps__card {
  position: relative;
  border: var(--border-width-md) solid var(--border-color-light);
  border-radius: var(--border-radius-lg);
  padding: 60px 24px 32px;
  text-align: center;
  background-color: var(--color-white);
  min-height: 333px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Badge número */
.steps__card-number {
  position: absolute;
  top: 90px;
  left: -27px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.steps__card-number img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ícone */
.steps__card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--margin-lg);
}

.steps__card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Conteúdo do card */
.steps__card-content {
  max-width: 262px;
}

.steps__card-title {
  font-family: var(--font-gotham-bold);
  font-size: var(--font-size-body);
  line-height: var(--line-height-body);
  color: var(--color-text-primary);
  margin-bottom: var(--margin-lg);
}

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

/* Botão CTA */
.steps__cta {
  text-align: center;
  margin-top: var(--margin-xl);
}

.steps__cta-button {
  min-width: 298px;
  height: 40px;
}

/* Responsive */
@media (max-width: 1024px) {
  .steps {
    padding: 60px 0;
  }
  
  .steps__container {
    padding: 0 var(--padding-lg);
  }
  
  .steps__title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .steps__grid {
    grid-template-columns: 1fr;
    gap: var(--gap-xl);
  }
  
  .steps__card {
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .steps {
    padding: 40px 0;
  }
  
  .steps__container {
    padding: 0 var(--padding-md);
  }
  
  .steps__title {
    font-size: 24px;
  }
  
  .steps__card {
    padding: 80px 20px 24px;
    min-height: auto;
  }
  
  .steps__card-number {
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    font-size: 32px;
  }
  
  .steps__card-title,
  .steps__card-description {
    font-size: var(--font-size-base);
  }
  
  .steps__cta-button {
    min-width: 100%;
  }
}
