/* Espace membre et pages légales : mêmes fonds, halos et pilules que la page de vente (site.css). */
[hidden] { display: none !important; }
.page-simple { min-height: 100vh; position: relative; overflow-x: hidden; isolation: isolate; }
.page-simple .aurore { position: fixed; height: 760px; opacity: 0.4; }
.nav-simple { display: flex; }
.nav-simple .nav-droite { display: flex; align-items: center; gap: 6px; }
.nav-simple .lien-discret { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--doux); text-decoration: none; background: none; border: 0; cursor: pointer; font-family: inherit; }
.nav-simple .lien-discret:hover { color: var(--texte); }

/* Formulaires (connexion, mot de passe) */
.centre-ecran { min-height: 100vh; display: grid; place-items: center; padding: 120px 16px 60px; }
.carte-form { width: min(420px, 100%); padding: 34px 30px 30px; border-radius: 26px; background: rgba(16, 17, 24, 0.72);
  backdrop-filter: blur(24px) saturate(1.3); -webkit-backdrop-filter: blur(24px) saturate(1.3);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 120px -40px rgba(77, 141, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.05); }
.carte-form h1 { font-size: 28px; letter-spacing: -0.035em; }
.carte-form .sous-titre { margin: 8px 0 26px; color: var(--doux); font-size: 15px; line-height: 1.5; }
.champ { display: grid; gap: 7px; margin-bottom: 16px; }
.champ label { font-size: 13px; font-weight: 500; color: var(--doux); }
.champ input { width: 100%; padding: 14px 16px; border: 0; border-radius: 14px; font: inherit; font-size: 16px; color: var(--texte);
  background: rgba(255, 255, 255, 0.06); outline: none; transition: background 0.2s, box-shadow 0.2s; }
.champ input:focus { background: rgba(255, 255, 255, 0.09); box-shadow: 0 0 0 2px rgba(77, 141, 255, 0.55); }
.champ input[readonly] { color: var(--doux); }
.carte-form .btn { width: 100%; margin-top: 6px; padding: 15px; font-size: 16px; }
.message { min-height: 22px; margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--doux); }
.message.erreur { color: #ff8a8a; }
.message.ok { color: #9ee6b0; }
.liens-form { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 14px; }
.liens-form a { color: var(--doux); }
.liens-form a:hover { color: var(--texte); }
.note-form { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.06); font-size: 13.5px; line-height: 1.55; color: var(--tres-doux); }
.note-form a { color: var(--doux); }

/* Attente (page merci) */
.roue { width: 34px; height: 34px; margin: 0 0 22px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.12); border-top-color: var(--bleu); animation: tourne 0.9s linear infinite; }
@keyframes tourne { to { transform: rotate(360deg); } }
.coche-ok { width: 46px; height: 46px; margin-bottom: 20px; border-radius: 50%; display: grid; place-items: center; background: rgba(74, 222, 128, 0.14); color: #9ee6b0; font-size: 22px; font-weight: 700; }

/* Espace : ses éditions */
.espace { max-width: var(--large); margin: 0 auto; padding: 140px 20px 120px; }
.espace-tete { margin-bottom: 44px; }
.espace-tete h1 { font-size: clamp(36px, 5vw, 56px); }
.espace-tete p { margin-top: 12px; color: var(--doux); }
.editions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.edition { display: grid; grid-template-columns: 150px 1fr; gap: 26px; padding: 26px; border-radius: 24px; background: var(--carte); align-items: start; }
.edition img { width: 150px; border-radius: 8px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, 0.9), 0 0 60px -20px rgba(77, 141, 255, 0.45); }
.edition h2 { font-size: 24px; letter-spacing: -0.03em; }
.edition .detail { margin: 6px 0 18px; color: var(--doux); font-size: 15px; }
.actions-edition { display: flex; flex-wrap: wrap; gap: 8px; }
.actions-edition .btn { padding: 11px 18px; font-size: 14px; }
.edition.large { grid-column: 1 / -1; }
.installer { margin-top: 26px; padding: 22px 24px; border-radius: 18px; background: rgba(255, 255, 255, 0.03); }
.installer h3 { font-size: 17px; margin-bottom: 12px; }
.installer ol { padding-left: 20px; display: grid; gap: 8px; color: var(--doux); font-size: 15px; }
.installer pre { margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); color: #dbe7ff; font: 13px/1.6 ui-monospace, 'SF Mono', Menlo, monospace; white-space: pre-wrap; }
.copier { margin-top: 8px; }
.aide { margin-top: 40px; color: var(--tres-doux); font-size: 14px; }
.aide a { color: var(--doux); }
.chargement { color: var(--doux); }

/* Pages légales */
.legal { max-width: 760px; margin: 0 auto; padding: 140px 20px 96px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 12px; }
.legal h2 { font-size: 22px; letter-spacing: -0.02em; margin: 40px 0 12px; }
.legal p, .legal li { color: #c4c4cc; margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .maj { color: var(--doux); font-size: 14px; }
.a-remplir { background: rgba(250, 204, 21, 0.15); color: #fde68a; padding: 0 4px; border-radius: 4px; }

@media (max-width: 920px) {
  .nav-simple .nav-droite { display: flex; }
  .editions { grid-template-columns: 1fr; }
  }
@media (max-width: 520px) {
  .edition { grid-template-columns: 1fr; }
  .edition img { width: 120px; }
  .carte-form { padding: 28px 22px 24px; }
}
