/* V5 · BIENVENUE (PC, js/bienvenue.js) : après la création du compte, choisir un forfait puis l'activer sur WhatsApp.
   Écran plein cadre, même grammaire que la connexion : une barre de progression fine en haut qui avance à chaque étape,
   un grand titre, des cartes à filet (16 px) avec leur tableau de caractéristiques, des boutons d'action à 8 px ; le violet
   n'est que la progression et l'action principale (jamais un fond de conteneur). Jetons V5 uniquement. Le téléphone a sa
   version dans css/13-mobile-glass.css (ancienne architecture, inchangée par la V5). */
.bv{
  position: fixed; inset: 0; z-index: 450; display: grid; justify-items: center; align-content: start; overflow: auto; padding: 0 20px 28px;
  background: var(--v5-fond); color: var(--v5-texte); font-family: var(--v5-police);
  animation: v5-fondu 200ms ease-out both;
}
/* barre de progression : fixe en haut, le remplissage avance avec les étapes */
.bv-progres{ position: sticky; top: 0; z-index: 1; width: 100%; max-width: 1180px; height: 3px; margin: 14px 0 0; border-radius: var(--v5-r-presse); background: var(--v5-separateur); overflow: hidden; }
.bv-progres i{ display: block; height: 100%; border-radius: var(--v5-r-presse); background: var(--v5-violet); transition: width 700ms var(--v5-courbe); }
.bv-cadre{ width: 100%; max-width: 1180px; margin: 0; padding-top: 28px; display: grid; gap: 28px; }

/* ---- en-tête et pied */
.bv-haut{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bv-marque{ font-size: var(--v5-t-17); font-weight: var(--v5-g-gras); letter-spacing: -.01em; color: var(--v5-violet); }
.bv-pas{ font-size: var(--v5-t-13); color: var(--v5-texte-3); }
.bv-bas{ display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bv-lien{ height: var(--v5-ctrl-h); padding: 0 4px; border: 0; background: none; color: var(--v5-texte-2); font: var(--v5-g-fort) var(--v5-t-13)/16px var(--v5-police); cursor: default; }
.bv-lien:hover{ color: var(--v5-texte); text-decoration: underline; }
.bv-lien:focus-visible, .bv .primary:focus-visible, .bv .ghost:focus-visible{ outline: var(--v5-focus-l) solid var(--v5-focus); outline-offset: 1px; border-radius: var(--v5-r-action); }

/* ---- introduction : Pixy, grand titre, une phrase */
.bv-corps{ display: grid; gap: 24px; animation: v5-fondu 260ms ease-out both; }
.bv-intro{ display: flex; align-items: center; gap: 18px; }
.bv-pixy{ flex: none; width: 64px; height: 64px; display: grid; place-items: center; }
html.v5 .bv-pixy .as-mascotte{ width: 64px; height: 64px; margin: 0; }   /* plus précis que « html.v5 .as-mascotte » (88 px, assistant.css) : sinon elle déborde sur le titre */
.bv-intro h1{ margin: 0 0 6px; font-size: var(--v5-t-26); line-height: var(--v5-i-26); font-weight: var(--v5-g-gras); letter-spacing: -.02em; outline: none; }
.bv-intro p{ margin: 0; max-width: 62ch; font-size: var(--v5-t-15); line-height: var(--v5-i-15); color: var(--v5-texte-2); }
.bv-intro p b{ color: var(--v5-texte); font-weight: var(--v5-g-fort); }

/* ---- forfaits : une carte par formule, le tableau dessous */
.bv-grille{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.bv-carte{
  display: grid; align-content: start; gap: 6px; padding: 20px; border: 1px solid var(--v5-separateur); border-radius: var(--v5-r-groupe); background: var(--v5-fond-groupe);
}
.bv-reco{ background: var(--v5-surface-elevee); border-color: var(--v5-separateur-fort); }
.bv-carte-tete{ display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.bv-carte-tete h2{ margin: 0; font-size: var(--v5-t-17); line-height: var(--v5-i-17); font-weight: var(--v5-g-gras); letter-spacing: -.01em; }
.bv-pastille{ display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--v5-r-presse); background: var(--v5-violet-doux); color: var(--v5-violet-texte); font-size: var(--v5-t-12); font-weight: var(--v5-g-fort); }
.bv-accroche{ margin: 0 0 18px; min-height: 32px; font-size: var(--v5-t-13); line-height: var(--v5-i-13); color: var(--v5-texte-2); }
.bv-prix{ display: flex; align-items: baseline; gap: 6px; }
.bv-prix b{ font-size: var(--v5-t-26); line-height: var(--v5-i-26); font-weight: var(--v5-g-gras); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bv-prix small{ font-size: var(--v5-t-13); color: var(--v5-texte-3); }
.bv-fact{ margin: 0 0 16px; font-size: var(--v5-t-12); color: var(--v5-texte-3); }
.bv-lignes{ display: grid; gap: 11px; margin: 14px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--v5-separateur-fort); }
.bv-ligne{ display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--v5-t-13); line-height: var(--v5-i-13); }
.bv-ligne dt{ margin: 0; color: var(--v5-texte-2); }
.bv-ligne dd{ margin: 0; display: inline-flex; align-items: center; color: var(--v5-texte); font-weight: var(--v5-g-fort); font-variant-numeric: tabular-nums; text-align: right; }
.bv-ligne-off dt, .bv-ligne-off dd{ color: var(--v5-texte-3); font-weight: var(--v5-g-normal); }
.bv-oui{ display: inline-flex; color: var(--v5-texte); }

/* ---- boutons */
.bv .primary, .bv .ghost{
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; box-sizing: border-box; width: auto; height: var(--v5-ctrl-l); padding: 0 18px; margin: 0; border: 0; border-radius: var(--v5-r-action);
  font: var(--v5-g-fort) var(--v5-t-13)/16px var(--v5-police); text-decoration: none; cursor: default;
}
.bv .bv-choisir{ width: 100%; }
.bv .primary{ background: var(--v5-violet); color: var(--v5-sur-violet); }
.bv .primary:hover{ background: var(--v5-violet-survol); }
.bv .primary:active{ background: var(--v5-violet-presse); }
.bv .primary:disabled{ background: var(--v5-bouton-inactif); color: var(--v5-texte-inactif); }
.bv .ghost{ background: var(--v5-bouton); color: var(--v5-texte); }
.bv .ghost:hover{ background: var(--v5-bouton-presse); }
.bv .ghost:disabled{ background: var(--v5-bouton-inactif); color: var(--v5-texte-inactif); }
.bv-aide{ margin: 0; max-width: 62ch; font-size: var(--v5-t-13); line-height: var(--v5-i-13); color: var(--v5-texte-3); }
.bv-erreur{ margin: -8px 0 0; font-size: var(--v5-t-13); color: var(--v5-rouge); }
.bv-erreur[hidden]{ display: none; }

/* ---- étape WhatsApp */
.bv-message{ display: grid; gap: 8px; max-width: 640px; }
.bv-message-lib{ font-size: var(--v5-t-12); font-weight: var(--v5-g-fort); color: var(--v5-texte-3); }
.bv-bulle{ margin: 0; padding: 16px 18px; border: 1px solid var(--v5-separateur); border-radius: var(--v5-r-groupe); background: var(--v5-surface-elevee); font-size: var(--v5-t-15); line-height: var(--v5-i-15); white-space: pre-wrap; }
.bv-actions{ display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.bv-attente{ display: flex; align-items: center; gap: 10px; margin: 0; font-size: var(--v5-t-13); color: var(--v5-texte-2); }
.bv-point{ flex: none; width: 8px; height: 8px; border-radius: var(--v5-r-presse); background: var(--v5-violet); animation: bv-pouls 1.6s ease-in-out infinite; }
@keyframes bv-pouls{ 0%, 100%{ transform: scale(.7); } 50%{ transform: scale(1); } }

/* ---- forfait actif */
.bv-fin{ display: grid; justify-items: center; gap: 12px; padding: 40px 0; text-align: center; }
.bv-grand-rond{ display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--v5-r-presse); background: var(--v5-violet-doux); color: var(--v5-violet-texte); }
.bv-grand-rond svg{ width: 26px; height: 26px; }
.bv-fin h1{ margin: 8px 0 0; font-size: var(--v5-t-26); line-height: var(--v5-i-26); font-weight: var(--v5-g-gras); letter-spacing: -.02em; outline: none; }
.bv-fin p{ margin: 0 0 12px; font-size: var(--v5-t-15); color: var(--v5-texte-2); }

/* ---- fenêtre peu large (≥ 768 px) : les cartes s'empilent */
@media (max-width: 1000px){
  .bv-grille{ grid-template-columns: 1fr; }
  .bv-accroche{ min-height: 0; margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce){
  .bv, .bv-corps, .bv-point{ animation: none; }
  .bv-progres i{ transition: none; }
}

/* ================================================================== 30/10 : façon Notion — formules et message d'exemple en aplats doux,
   sans contour ; la formule conseillée garde un trait violet fin pour se distinguer. */
.bv-carte:not(#_){ border: 0; background: var(--v5-rempli-3); }
.bv-reco:not(#_){ background: var(--v5-rempli-3); box-shadow: inset 0 0 0 1.5px var(--v5-violet); }
.bv-bulle:not(#_){ border: 0; background: var(--v5-rempli-3); }
