/* ════════════════════════════════════════════════════════════════════
   Page « Devenir créateur » (structure D, porteur 29/09/2026) : MISE EN PAGE seulement.
   Les composants viennent de l'atelier : bloc vedette (.feat), blocs (.sblk, et
   .sblk--inverse pour les engagements), lignes (.stp-row), tuiles d'icône (.srub-ic),
   étiquettes (.bdg), curseurs (.ex-range), cartes de chiffres (.statc), fenêtre (.upd).
   ════════════════════════════════════════════════════════════════════ */

.ds-app .bc { max-width: 1200px; display: flex; flex-direction: column; gap: 20px; }

/* Bannière : le bloc vedette avec la photo de la créatrice (comme la carte de Mon profil). */
.bc-banner { aspect-ratio: auto; min-height: 320px; justify-content: flex-end; }
.bc-banner .feat-bg { background-image: url(/assets/studio/hero.webp); background-position: 50% 30%; }
.bc-banner .feat-p { max-width: 62ch; }

/* Titres des blocs : l'icône devant le texte. */
.bc h3[data-ic] { display: flex; align-items: center; gap: 8px; }
.bc h3[data-ic] > svg { flex: none; color: var(--md-sys-color-primary); }

/* Les deux grands panneaux côte à côte ; empilés quand la place manque. */
.bc-duo > .sblk { display: flex; flex-direction: column; }
.bc-duo > .sblk > .sblk-body { flex: 1; }
.bc-chips { flex-wrap: wrap; gap: 8px; margin-top: auto; }
.bc-lnk { margin-top: 8px; }
.bc-resp { display: flex; align-items: flex-start; gap: 8px; margin-top: auto; }
.bc-resp > svg { flex: none; margin-top: 1px; }
.sblk--inverse .bc-inline { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Simulateur : les deux curseurs à gauche, les trois chiffres à droite. */
.bc-sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px 32px; align-items: center; }
.bc-sim-in { display: flex; flex-direction: column; gap: 8px; }

/* Titres de section et leur phrase. */
.bc-h2 { margin-top: 12px; }
.bc-lead { margin: -12px 0 0; font: var(--md-sys-typescale-body-medium); color: var(--md-sys-color-on-surface-variant); }

/* « Ta chaîne reste privée » : les deux états à droite de la ligne. */
.bc-states { flex: none; align-items: center; gap: 8px; }
.bc-arrow { display: inline-flex; color: var(--md-sys-color-on-surface-variant); }

/* « Et ensuite ? » : 4 étapes en ligne, 2 × 2 puis 1 colonne. */
.bc-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bc-steps .sblk-body { align-items: flex-start; gap: 10px; }

/* Le bouton final (ou la raison d'attendre), centré. */
.bc-final { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 8px 0 24px; text-align: center; }
.bc-final .alert { max-width: 640px; text-align: left; }

/* Fenêtre « Crée ta chaîne » : état du nom sous le champ, code centré. */
.bc-state { margin: -8px 0 0; display: flex; align-items: center; gap: 6px; }
.bc-state.is-ok { color: var(--md-sys-color-success); }
.bc-state.is-bad { color: var(--md-sys-color-error); }
.bc-code input { letter-spacing: .3em; font-weight: 600; font-variant-numeric: tabular-nums; }
.bc-code-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }

@media (max-width: 1100px) {
  .bc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc-sim-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .bc .sblk-two { grid-template-columns: minmax(0, 1fr); }
  .bc-banner { min-height: 240px; }
  .bc-private .stp-row { flex-wrap: wrap; }
  .bc-states { width: 100%; padding-left: 60px; }
}
@media (max-width: 520px) {
  .bc-steps { grid-template-columns: minmax(0, 1fr); }
}
