/* =============================================================
   B-COCKPIT 360° — Page Conseil (/banque/conseil.html)
   Stepper Parcours : horizontal desktop / vertical mobile (spec UX §5).
   Frise décorative (aria-hidden sur les numéros) — le texte des phases
   est lisible nativement indépendamment du stepper.
   ============================================================= */

.bq-stepper {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 900px;
}

.bq-phase {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: var(--spacing-6);
  align-items: start;
  position: relative;
  padding-bottom: var(--spacing-10);
}
.bq-phase:last-child { padding-bottom: 0; }

/* Trait de liaison vertical */
.bq-phase:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 43px;
  top: 88px;
  bottom: 0;
  width: 2px;
  background: var(--bq-navy-100);
}

/* Pastille numérotée — Playfair sur fond navy cerclé (spec UX §5) */
.bq-phase-num {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bq-navy-800);
  color: var(--bq-white);
  font-family: var(--bq-font-display);
  font-size: var(--font-size-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.bq-phase-content h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-3);
}
.bq-phase-content p {
  color: var(--bq-ink-muted);
  font-size: var(--font-size-lg);
  max-width: 62ch;
}

.bq-conseil-cta {
  text-align: center;
  margin-top: var(--spacing-12);
}

/* ---------- Desktop : frise horizontale, 3 colonnes ---------- */
@media (min-width: 1024px) {
  .bq-stepper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
    max-width: 1080px;
    position: relative;
  }
  /* Ligne horizontale reliant les centres des 3 pastilles (décoratif) */
  .bq-stepper::before {
    content: "";
    position: absolute;
    top: 43px;               /* centre des pastilles 88px */
    left: calc(100% / 6);    /* centres des colonnes 1 et 3 */
    right: calc(100% / 6);
    height: 2px;
    background: var(--bq-navy-100);
  }
  .bq-phase {
    display: block;
    text-align: center;
    padding-bottom: 0;
  }
  .bq-phase:not(:last-child)::before { display: none; }
  .bq-phase-num { margin: 0 auto var(--spacing-4); position: relative; }
}
