/* Installer : mini-scène « je veux… » qui oriente vers le bon produit. */

.in-hero {
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 55% 65% at 75% 45%, rgba(244, 81, 30, 0.28), transparent 66%),
    var(--ps-ember);
}

.in-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.in-hero-copy {
  display: flex;
  flex: 1 1 420px;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
}

.in-h1 {
  max-width: 11em;
  color: #fff;
  font-size: clamp(46px, 5.8vw, 96px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
}

.in-lead {
  max-width: 34em;
  color: var(--ps-muted-dark);
  font-size: 20px;
  line-height: 1.5;
}

.in-pick {
  flex: 1 1 540px;
  min-width: 0;
}

/* Mini-scène : choix (boutons à bascule) et fiche du produit retenu. */
.in-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}

.in-o {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px;
  border: 1.5px solid rgba(255, 211, 189, 0.3);
  border-radius: 14px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 19px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.in-o:hover {
  border-color: var(--ps-orange-light);
}

.in-o[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  color: var(--ps-ink);
}

.in-o[hidden],
.in-r[hidden] {
  display: none;
}

.in-o-pre {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.7;
}

.in-results {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.in-r {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  color: var(--ps-ink);
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.7);
}

/* Statut du produit : pastille teintée, droite. */
.in-r-status {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--ps-radius-pill);
  background: rgba(244, 81, 30, 0.12);
  color: var(--ps-orange-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.in-r-status--free {
  background: rgba(4, 120, 87, 0.12);
  color: #047857;
}

.ps-page main .in-r-name {
  margin: 0;
  color: var(--ps-ink);
  font-family: var(--ps-font-sans);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.in-r-text {
  color: var(--ps-muted-light);
  font-size: var(--ps-lead-size);
  line-height: 1.55;
}

.in-r-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

.ps-page main .in-r .ps-link {
  color: var(--ps-ink);
}

.ps-page main .in-r .ps-link:hover {
  color: var(--ps-orange-dark);
}

/* Parcours type : trois étapes dans l'ordre. */
.in-head {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.in-head .f-lead {
  max-width: 34em;
  margin: 0;
  color: var(--ps-muted-light);
}

.in-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.in-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--ps-line-light);
  border-radius: var(--ps-radius-card);
  background: #fff;
}

.in-step-number {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 81, 30, 0.12);
  color: var(--ps-orange-dark);
  font-size: 16px;
  font-weight: 800;
}

.in-step-title {
  color: var(--ps-ink);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.in-step-text {
  color: var(--ps-muted-light);
  font-size: var(--ps-lead-size);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .in-hero-inner {
    padding-top: 32px;
  }

  .in-h1 {
    font-size: clamp(42px, 12.5vw, 64px);
  }

  .in-pick,
  .in-hero-copy {
    flex-basis: 100%;
  }

  .in-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .in-o {
    font-size: 17px;
  }

}

@media (prefers-reduced-motion: reduce) {
  .in-o {
    transition: none;
  }
}
