/* Seção de recursos baseada no node Figma 1682:5075. */
.app-features-section {
  width: 100%;
  padding: 0 0 90px;
  background: #fafafa;
}

/* Shell desktop com a largura exata do frame do Figma. */
.app-features-shell {
  width: min(1377px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Cabeçalho central no topo da seção. */
.app-features-header {
  width: min(873px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 39px;
  text-align: center;
}

/* Título em gradiente azul-roxo com destaques em negrito. */
.app-features-title {
  width: 873px;
  max-width: 100%;
  margin: 0;
  font-family: "Muring Display", system-ui, sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  background: linear-gradient(164deg, #57d4ff 0%, #845cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-features-title strong {
  font-weight: 700;
}

/* Subtítulo central da seção. */
.app-features-description {
  width: 474px;
  max-width: 100%;
  margin: 0;
  color: #64748b;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

/* Grade 3x2 dos cards com espaçamento do Figma. */
.app-features-grid {
  width: 100%;
  margin-top: 63px;
  display: grid;
  grid-template-columns: repeat(3, 443px);
  gap: 24px;
}

/* Card branco baixo com cantos arredondados. */
.app-features-card {
  min-width: 0;
  height: 182px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  border-radius: 25px;
  background: #ffffff;
}

.app-features-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-features-card-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #f0e9ff;
}

.app-features-card-icon img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.app-features-card h3 {
  margin: 0;
  color: #64748b;
  font-family: "Muring Display", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.318;
}

.app-features-card p {
  width: 383px;
  max-width: 100%;
  margin: 0;
  color: #64748b;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
}

/* CTA central abaixo da grade. */
.app-features-cta {
  width: 328.612px;
  margin-top: 63px;
  justify-self: start;
}

.app-features-cta-label {
  width: 240px;
}

@media (max-width: 1180px) {
  .app-features-section {
    padding-bottom: 78px;
  }

  .app-features-shell {
    width: calc(100% - 48px);
  }

  .app-features-title {
    font-size: 34px;
  }

  .app-features-description {
    font-size: 18px;
  }

  .app-features-grid {
    width: min(100%, 910px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .app-features-card {
    height: auto;
    min-height: 182px;
  }
}

@media (max-width: 768px) {
  .app-features-section {
    padding-bottom: 64px;
  }

  .app-features-shell {
    width: calc(100% - 32px);
  }

  .app-features-header {
    gap: 22px;
  }

  .app-features-title {
    font-size: 30px;
    line-height: 1.18;
  }

  .app-features-title br {
    display: none;
  }

  .app-features-description {
    font-size: 17px;
  }

  .app-features-grid {
    margin-top: 42px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-features-card {
    min-height: 160px;
    padding: 24px;
    gap: 20px;
    border-radius: 20px;
  }

  .app-features-card h3 {
    font-size: 20px;
  }

  .app-features-card p {
    width: auto;
    font-size: 18px;
  }

  .app-features-cta {
    margin-top: 42px;
  }
}

@media (max-width: 480px) {
  .app-features-section {
    padding-bottom: 48px;
  }

  .app-features-title {
    font-size: 28px;
  }

  .app-features-description {
    font-size: 16px;
    line-height: 1.38;
  }

  .app-features-card {
    min-height: 150px;
    padding: 20px;
    gap: 18px;
  }

  .app-features-card-icon {
    width: 42px;
    height: 42px;
  }

  .app-features-card h3 {
    font-size: 18px;
  }

  .app-features-card p {
    font-size: 16px;
    line-height: 1.38;
  }

  .app-features-cta {
    width: var(--cta-mobile-width);
  }

  .app-features-cta-label {
    width: var(--cta-mobile-label-width);
  }
}
