/* ETHNOS R893 — corrections ciblées du parcours d’inscription.
   Périmètre : profile-ready, values-ready, CTAs alternatifs de validation. */

/* A2 — PROFIL PRÊT : la base R59 impose height:100%; R893 revient au bloc
   compact documenté dans R775 (1040px) et laisse la hauteur au contenu. */
body[data-etnos-build="r776"] .joinPage .joinCard[data-current-view="profile-ready"] .joinView[data-view="profile-ready"]:not([hidden]){
  box-sizing:border-box !important;
  width:100% !important;
  min-height:100% !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px clamp(20px,3vw,54px) !important;
}
body[data-etnos-build="r776"] .joinPage .joinCard[data-current-view="profile-ready"] .profileReadyPanel{
  box-sizing:border-box !important;
  width:min(1040px,92%) !important;
  max-width:1040px !important;
  min-height:0 !important;
  height:auto !important;
  max-height:none !important;
  margin:auto !important;
  padding:clamp(34px,4vw,64px) !important;
  flex:0 0 auto !important;
}

/* A3 — ENGAGEMENT VALIDÉ : .joinView est historiquement un bloc 100% haut;
   les marges auto ne centrent donc pas verticalement. R893 rend seulement
   cette vue flex et centre le panneau dans la surface utile. */
body[data-etnos-build="r776"] .joinPage .joinCard[data-current-view="values-ready"] .joinView[data-view="values-ready"]:not([hidden]){
  box-sizing:border-box !important;
  width:100% !important;
  min-height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  padding:22px clamp(20px,3vw,54px) !important;
}
body[data-etnos-build="r776"] .joinPage .joinCard[data-current-view="values-ready"] .valuesReadyPanel{
  margin:auto !important;
  flex:0 0 auto !important;
}

/* A6 — les anciens styles de .emailValidatedCta imposent display:flex!important,
   ce qui neutralise l’attribut HTML hidden. Les CTAs crypto restent disponibles
   quand le JS retire hidden, mais disparaissent réellement pendant une offre active. */
body[data-etnos-build="r776"] .joinPage [data-open-web3][hidden],
body[data-etnos-build="r776"] .joinPage [data-open-btcpay][hidden]{
  display:none !important;
}

@media (max-width:1100px){
  body[data-etnos-build="r776"] .joinPage .joinCard[data-current-view="profile-ready"] .profileReadyPanel{
    width:min(94%,900px) !important;
    padding:34px 24px !important;
  }
}
