/* ===== Auth ===== */
.auth-split { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-showcase {
  background: var(--surface); padding: 8vh 6vw; display: flex; flex-direction: column;
  justify-content: center; gap: 18px; border-right: 1px solid var(--bordure);
}
.auth-baseline { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 4vw, 3rem); margin: 0; }
.auth-sub { color: var(--texte-2); max-width: 36ch; }
.showcase-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.showcase-pills span {
  border: 1px solid var(--bordure); border-radius: 999px; padding: 6px 14px; color: var(--texte-2);
}
.auth-form-zone { padding: 8vh 6vw; display: flex; flex-direction: column; justify-content: center; gap: 14px; max-width: 460px; }
.auth-form-zone .brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem; }
.auth-form-zone form { display: flex; flex-direction: column; gap: 12px; }
/* L'attribut hidden doit l'emporter sur le display:flex ci-dessus (sinon le 2e formulaire reste visible). */
.auth-form-zone form[hidden] { display: none; }
.auth-form-zone input[type=email], .auth-form-zone input[type=password] {
  background: var(--surface); border: 1px solid var(--bordure-champ); border-radius: var(--rayon);
  padding: 13px 15px; color: var(--texte); font-size: 1rem;
}
.btn-google {
  background: #fff; color: #1a1208; border: 0; border-radius: var(--rayon);
  padding: 13px; font-weight: 600; cursor: pointer;
}
.sep { display: flex; align-items: center; gap: 12px; color: var(--texte-2); font-size: .85rem; }
.sep::before, .sep::after { content: ''; flex: 1; height: 1px; background: var(--bordure); }
.consent { font-size: .85rem; color: var(--texte-2); display: flex; gap: 8px; align-items: flex-start; }
.bascule { font-size: .9rem; color: var(--texte-2); }
/* Titre de formulaire (page reset) */
.auth-titre { font-family: 'Space Grotesk', sans-serif; font-size: 1.4rem; margin: 8px 0 18px; }
/* Lien legal permanent (auth + reset) */
.auth-legal { font-size: .82rem; margin-top: 14px; }
.auth-legal a { color: var(--texte-2); }
.auth-legal a:hover { color: var(--accent-1); }
/* Bouton-lien (bascules connexion/inscription, mot de passe oublie) : semantique <button>, allure lien */
.lien-bascule { background: none; border: 0; color: var(--accent-1); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }
.lien-bascule:hover { color: var(--accent-2); }
.form-erreur { color: var(--erreur); font-size: .85rem; margin: 0; }
.form-info { color: var(--texte-2); font-size: .85rem; margin: 0; }
@media (max-width: 760px) {
  .auth-split { grid-template-columns: 1fr; }
  .auth-showcase { display: none; }
}

/* ===== Landing ===== */
.brand { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.3rem; }
.cta-sm { padding: 9px 16px; font-size: .9rem; text-decoration: none; display: inline-block; }
.landing-top { display: flex; justify-content: space-between; align-items: center; padding: 20px 6vw; max-width: var(--max-l); margin: 0 auto; }
.landing-hero { max-width: var(--max-l); margin: 0 auto; padding: 8vh 6vw; text-align: center; }
.landing-hero h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; margin: 0 0 18px; }
.lede { color: var(--texte-2); font-size: 1.15rem; max-width: 52ch; margin: 0 auto 28px; }
.hero-search { display: flex; gap: 10px; max-width: 560px; margin: 0 auto; flex-wrap: wrap; }
.hero-search input {
  flex: 1; min-width: 220px; background: var(--surface); border: 1px solid var(--bordure);
  border-radius: var(--rayon); padding: 15px 18px; color: var(--texte); font-size: 1rem;
}
.hero-note { color: var(--texte-2); font-size: .85rem; margin-top: 14px; }
.landing-preuve { max-width: var(--max-l); margin: 4vh auto; padding: 6vh 6vw; text-align: center; border-top: 1px solid var(--bordure); }
.landing-preuve h2 { font-family: 'Space Grotesk', sans-serif; }
.landing-preuve p { color: var(--texte-2); max-width: 48ch; margin: 0 auto; }
.landing-foot { text-align: center; padding: 30px; color: var(--texte-2); font-size: .85rem; }

/* ===== Page légale (mentions + confidentialité) — identité Charbon & Ambre ===== */
.legal-entete { display: flex; align-items: center; justify-content: space-between; padding: 18px 6vw; border-bottom: 1px solid var(--bordure); }
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 6vh 6vw; line-height: 1.6; }
.legal-wrap h1 { font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-wrap h2 { font-family: 'Space Grotesk', sans-serif; margin-top: 2.4rem; }
.legal-wrap p, .legal-wrap li { color: var(--texte-2); }
.legal-wrap a { color: var(--accent-1); }
.legal-wrap .acompleter {
  background: rgba(251,191,36,.12); border: 1px solid var(--bordure);
  border-radius: 8px; padding: 2px 8px; color: var(--texte);
}
.legal-pied { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 24px 6vw; border-top: 1px solid var(--bordure); }
.legal-pied-liens { display: flex; gap: 16px; flex-wrap: wrap; }
.legal-pied-liens a { color: var(--texte-2); font-size: .9rem; }
.legal-pied-liens a:hover { color: var(--accent-1); }
