/* account.ominimum.com : connexion, inscription et espace « Mon compte » (modèle : account.axazara.com). */
:root {
  --noir: #1D1D1F; --blanc: #FFFFFF; --page: #F5F5F7; --bleu: #007AFF; --gris: #8E8E93;
  --bord: #D9D9DE; --texte: #3A3A3C; --rouge: #E5484D; --desactive: #F0F0F3;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scrollbar-gutter: stable; }
body { background: var(--page); color: var(--noir); font-family: "Poppins", system-ui, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; }
a { color: var(--bleu); text-decoration: none; }
a:hover { text-decoration: underline; }
/* La carte reste centrée dans l'écran, sans défilement tant que la fenêtre est assez haute. */
.cadre { max-width: 680px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding: 32px 24px; display: flex; flex-direction: column; justify-content: center; }
.logo { display: flex; justify-content: center; align-items: center; gap: 8px; margin-bottom: 32px; color: var(--noir); }
.logo:hover { text-decoration: none; }
.carte { background: var(--blanc); border-radius: 24px; padding: 44px 56px 40px; }
h1 { font-size: 32px; font-weight: 700; text-align: center; margin: 0 0 14px; letter-spacing: -.01em; line-height: 1.2; }
.sous-titre { text-align: center; font-size: 16px; font-weight: 500; color: var(--texte); margin: 0 0 32px; line-height: 1.65; }
form { display: grid; gap: 16px; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { position: relative; display: block; }
.champ > svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.champ input { width: 100%; height: 56px; border: 1.5px solid var(--bord); border-radius: 12px; padding: 0 54px 0 64px; font: inherit; font-size: 16px; color: var(--noir); background: var(--blanc); outline: none; }
.champ input::placeholder { color: var(--gris); }
.champ input:focus { border-color: var(--bleu); box-shadow: 0 0 0 3px rgba(0, 122, 255, .12); }
.oeil { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; color: var(--texte); cursor: pointer; display: flex; }
.lien-oubli { font-size: 15px; font-weight: 500; margin-top: -4px; justify-self: start; }
.regles { list-style: none; margin: -4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--gris); }
.regles li::before { content: "○ "; }
.regles li.ok { color: #1E8E3E; }
.regles li.ok::before { content: "● "; }
.bouton { height: 60px; border: 0; border-radius: 12px; background: var(--bleu); color: var(--blanc); font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; margin-top: 12px; }
.bouton:hover:not(:disabled) { filter: brightness(1.06); }
.bouton:disabled { background: var(--desactive); color: #9A9AA0; cursor: default; }
.bouton.second { background: var(--page); color: var(--noir); margin-top: 0; }
.erreur { background: #FDECEC; color: #B42318; border-radius: 12px; padding: 14px 18px; font-size: 15px; font-weight: 500; margin: 0; }
.info { background: #E8F2FF; color: #0B4FA8; border-radius: 12px; padding: 14px 18px; font-size: 15px; font-weight: 500; margin: 0; }
.mentions { font-size: 13px; font-style: italic; color: var(--texte); text-align: center; line-height: 1.55; margin: 14px 0 0; }
.code input { text-align: center; letter-spacing: 14px; font-size: 26px; font-weight: 700; padding: 0 16px; }
.profil { display: grid; gap: 14px; margin: 0 0 40px; }
.profil div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; background: var(--page); border-radius: 12px; font-size: 16px; }
.profil dt { color: var(--gris); font-weight: 500; }
.profil dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .cadre { padding: 24px 16px; }
  .logo { margin-bottom: 24px; }
  .carte { padding: 32px 20px 28px; border-radius: 20px; }
  .cadre { padding: 14px 16px; }
  .logo { margin-bottom: 14px; }
  .carte { padding: 24px 18px 20px; }
  h1 { font-size: 24px; margin-bottom: 8px; }
  .sous-titre { font-size: 14px; margin-bottom: 18px; line-height: 1.5; }
  form, .duo { gap: 10px; }
  .champ input { height: 50px; padding-left: 56px; font-size: 16px; }
  .champ > svg { left: 14px; width: 24px; height: 24px; }
  .regles { font-size: 12px; gap: 2px 12px; }
  .bouton { height: 54px; margin-top: 4px; }
  .mentions { font-size: 12px; margin-top: 10px; }
  .duo { gap: 12px; }
}
/* Écrans peu hauts (portables) : tout reste visible sans défiler. */
@media (max-height: 860px) and (min-width: 641px) {
  .cadre { padding: 16px 24px; }
  .logo { margin-bottom: 18px; }
  .logo svg:first-child { width: 38px; height: 34px; }
  .logo svg:last-child { width: 128px; height: 30px; }
  .carte { padding: 30px 48px 26px; }
  h1 { font-size: 28px; margin-bottom: 10px; }
  .sous-titre { font-size: 15px; margin-bottom: 22px; line-height: 1.55; }
  form { gap: 12px; }
  .duo { gap: 12px; }
  .champ input { height: 50px; }
  .regles { gap: 4px 14px; font-size: 12px; }
  .bouton { height: 54px; margin-top: 6px; }
  .mentions { margin-top: 10px; }
}
/* Prénom et nom n'ont pas de bouton œil : pas besoin de place à droite. */
.duo .champ input { padding-right: 14px; }
@media (max-width: 640px) { .duo .champ input { padding-left: 46px; } .duo .champ > svg { left: 12px; } }
