/* =========================================================
   ELO18 — V24
   Sessão 01 centralizada com grade de 5 itens e números grandes
   ========================================================= */

.problem-intro.problem-section__header {
  width: min(88vw, 1180px);
  margin-inline: auto;
  text-align: center;
}

.problem-intro .section-number,
.problem-intro .eyebrow {
  text-align: center;
}

.problem-intro .section-number {
  margin-bottom: 1.2rem;
}

.problem-intro .eyebrow {
  max-width: 52ch;
  margin-inline: auto;
}

.problem-section__main.problem-section__main--centered {
  width: min(88vw, 1280px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.6rem, 3vh, 2.6rem);
}

.problem-heading.problem-heading--centered {
  width: min(100%, 980px);
  max-width: 980px;
  text-align: center;
}

.problem-heading.problem-heading--centered .display-title {
  max-width: none;
  text-align: center;
  font-size: clamp(3.2rem, 6vw, 6.5rem);
  line-height: .9;
  margin-inline: auto;
}

.problem-details.problem-details--centered {
  max-width: min(100%, 1240px);
  align-items: center;
}

.problem-details.problem-details--centered .problem-lead {
  max-width: 44ch;
  text-align: center;
  border-bottom: 0;
  margin-bottom: .4rem;
  padding-bottom: 0;
}

.symptom-list.symptom-list--visual {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
  margin-top: 1.2rem;
  padding: 0;
  list-style: none;
  border: 0;
}

.symptom-list--visual .symptom-item {
  position: relative;
  min-height: 220px;
  padding: 1.3rem 1.15rem 1.2rem;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    radial-gradient(circle at 20% 18%, rgba(72,169,166,.12), transparent 32%),
    rgba(255,255,255,.015);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 42px rgba(3,12,20,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}

.symptom-list--visual .symptom-item:nth-child(2),
.symptom-list--visual .symptom-item:nth-child(4) {
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.018)),
    radial-gradient(circle at 80% 18%, rgba(216,92,50,.10), transparent 34%),
    rgba(255,255,255,.015);
}

.symptom-list--visual .symptom-item:hover,
.symptom-list--visual .symptom-item:focus-within {
  transform: translateY(-5px);
  border-color: rgba(141,212,207,.28);
  box-shadow: inset 0 0 0 1px rgba(141,212,207,.06), 0 24px 56px rgba(3,12,20,.20);
}

.symptom-list--visual .symptom-item::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 92px;
  width: 38px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(141,212,207,.78), transparent);
  opacity: .76;
}

.symptom-list--visual .symptom-index {
  display: block;
  margin-bottom: 2.15rem;
  font-family: var(--font-display);
  font-size: clamp(3.9rem, 4.8vw, 5.4rem);
  line-height: .86;
  letter-spacing: -.06em;
  color: rgba(183,235,231,.92);
}

.symptom-list--visual .symptom-index::after {
  display: none;
}

.symptom-list--visual .symptom-item:nth-child(2) .symptom-index,
.symptom-list--visual .symptom-item:nth-child(4) .symptom-index {
  color: rgba(240,163,126,.92);
}

.symptom-list--visual .symptom-item p {
  margin: 0;
  font-size: clamp(.95rem, .94vw, 1rem);
  line-height: 1.52;
  color: rgba(255,255,255,.90);
  text-wrap: balance;
}

@media (max-width: 1180px) {
  .symptom-list.symptom-list--visual {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .problem-heading.problem-heading--centered .display-title {
    font-size: clamp(3.2rem, 8vw, 5.4rem);
  }

  .symptom-list.symptom-list--visual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .problem-section__main.problem-section__main--centered {
    width: min(92vw, 1280px);
  }

  .problem-details.problem-details--centered .problem-lead {
    max-width: 100%;
    font-size: 1rem;
  }

  .symptom-list.symptom-list--visual {
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .symptom-list--visual .symptom-item {
    min-height: auto;
    padding: 1.15rem 1rem 1rem;
  }

  .symptom-list--visual .symptom-index {
    margin-bottom: 1.55rem;
    font-size: clamp(3.15rem, 12vw, 4rem);
  }

  .symptom-list--visual .symptom-item::after {
    top: 80px;
  }
}
