/* =========================================================
   PRETTIEST - page Mon compte (connexion / inscription)
   ========================================================= */
.auth { padding: calc(var(--nav-h) + clamp(40px, 6vw, 80px)) 0 var(--section); }
.auth__inner { max-width: 520px; display: flex; flex-direction: column; gap: 24px; }
.auth .eyebrow a { border-bottom: 1px solid currentColor; }

.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--charcoal); }
.auth-tab {
  padding: 14px 10px; background: none; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: var(--text-ui); font-weight: 500;
  letter-spacing: 0.067em; text-transform: uppercase; color: var(--charcoal);
  transition: background .25s, color .25s;
}
.auth-tab:hover { background: var(--ash); }
.auth-tab.is-active { background: var(--charcoal); color: var(--white); }

.auth-panel { display: flex; flex-direction: column; gap: 16px; }
.auth__title {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.05; text-transform: uppercase;
}
.auth__lead { letter-spacing: 0.04em; line-height: 1.7; color: #5a4f48; }
.auth__hint { text-transform: none; letter-spacing: 0.02em; opacity: .65; }
.auth__msg { padding: 12px 14px; background: #f8ece8; border-left: 3px solid var(--rose); font-size: var(--text-small); line-height: 1.6; }
.auth__submit { width: 100%; margin-top: 4px; }
.auth__submit:disabled { opacity: .5; cursor: wait; }
.auth__link {
  align-self: flex-start; padding: 0 0 2px; background: none; border: 0; border-bottom: 1px solid currentColor;
  font-family: var(--mono); font-size: var(--text-small); letter-spacing: 0.06em; text-transform: uppercase;
  color: inherit; cursor: pointer;
}
.auth__link:hover { color: var(--rose); }
.auth__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.auth__ghost { border-color: var(--charcoal); color: var(--charcoal); }
.auth__ghost::before { background: var(--charcoal); }
.auth__ghost:hover { color: var(--white); }

/* =========================================================
   TYPOGRAPHIE v2 - serif (titres) + sans douce (texte)
   ========================================================= */
.auth__title {
  font-family: var(--display); font-stretch: normal; font-weight: 600;
  font-size: clamp(32px, 4vw, 48px); line-height: 1.08; text-transform: none; letter-spacing: 0.005em;
}
.auth__lead { letter-spacing: 0.005em; line-height: 1.7; }
.auth__hint { font-size: 13.5px; letter-spacing: 0.01em; opacity: .8; }
.auth__msg { font-size: 14px; }
.auth-tab { font-family: var(--ui); font-size: 13px; letter-spacing: 0.1em; }
.auth__link { font-family: var(--ui); font-size: 13px; letter-spacing: 0.08em; }

/* Connexion avec Google */
.auth__google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 14px 18px; margin-top: 8px; border: 1px solid #d9d2cc; background: #fff; color: #1f1f1f; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.auth__google:hover { border-color: var(--black); background: #faf8f7; }
.auth__google:disabled { opacity: .6; cursor: wait; }
.auth__google[hidden], .auth__or[hidden] { display: none; }
.auth__or { display: flex; align-items: center; gap: 12px; margin: 18px 0 4px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8a7b72; }
.auth__or::before, .auth__or::after { content: ''; flex: 1; height: 1px; background: #e6dfda; }

/* ---------- WhatsApp ---------- */
.auth__wa { margin-top: 10px; }
.auth__wa[hidden], .auth__or[data-alt][hidden] { display: none; }
.auth__phone { display: flex; gap: 8px; }
.auth__phone select { flex: 0 0 auto; width: auto; padding: 0 10px; border: 1px solid #d9d2cc; background: #fff; font: inherit; font-size: 15px; }
.auth__phone input { flex: 1; min-width: 0; }
.auth__code { font-size: 26px !important; letter-spacing: .5em; text-align: center; }
.auth__link:disabled { opacity: .5; cursor: default; }
