.intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 820px;
}

/* Fluxograma em moldura de inox */
.fluxograma {
  padding: 14px;
  margin-top: -40px;
}

.fluxograma img {
  width: 100%;
  border-radius: 4px;
}

/* =========================
   PASSOS (sequência real: 01 a 05)
========================= */

.passos {
  list-style: none;
  padding: 0;
  max-width: 820px;
  display: flex;
  flex-direction: column;
}

.passo {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 40px;
}

/* Fio que liga um passo ao próximo */
.passo:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 72px;
  bottom: 8px;
  width: 2px;
  background: var(--chapa-borda);
}

.passo-num {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--painel);
  color: var(--ambar);
  font-family: var(--f-lcd);
  font-size: 1.6rem;
  text-shadow: 0 0 7px rgba(255, 176, 32, 0.5);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.45);
}

.passo-corpo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 6px;
}

.passo-corpo p {
  color: var(--texto-suave);
  max-width: 64ch;
}

.terminal {
  margin-top: 8px;
  font-size: 1rem;
  max-width: 420px;
}

@media (max-width: 560px) {
  .fluxograma {
    margin-top: -24px;
    padding: 8px;
  }

  .passo {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
  }

  .passo-num {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }

  .passo:not(:last-child)::before {
    left: 23px;
    top: 56px;
  }
}
