/* -------- Steps (Progress) -------- */
.steps {
  display: flex;
  justify-content: space-between;
  margin: 30px 0; /* mais respiro em cima/baixo */
  font-family: 'Poppins', sans-serif;
  gap: 10px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 80px;
}

.step .circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ccc; /* padrão = cinza */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 4px; /* bolinha mais próxima da legenda */
}

.step .label {
  font-size: 12px;       /* um pouco menor */
  text-align: center;
  white-space: nowrap;   /* impede quebra de linha */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Etapas anteriores e atual → laranja */
.step.active .circle,
.step.done .circle {
  background: #005E9E;
}

/* Destacar legenda da etapa ativa */
.step.active .label {
  color: #005E9E;
  font-weight: bold;
}


/* ----- Mobile (até 480px) ----- */
@media (max-width: 480px) {
  .steps {
    overflow-x: auto; /* permite scroll horizontal se necessário */
    padding-bottom: 5px;
    gap: 4px; /* reduzimos o espaçamento entre bolinhas */
  }

  .step {
    flex: 0 0 auto; /* evita que flex tente encolher demais */
    min-width: 50px; /* largura mínima de cada bolinha */
    margin-bottom: 0;
  }

  .step .circle {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }

  .step .label {
    display: none; /* oculta legenda de todas as etapas */
  }

  .step.active .label {
    display: block; /* só legenda da etapa ativa */
    font-size: 11px;
    margin-top: 4px;
    white-space: normal; /* permite quebra se necessário */
  }
}
