/* ============================================================
   MALYA Capital — auth.css v2.0
   Design System v2.0 : or/bronze · Oswald (ADR-026) · thème clair par défaut
   Couvre : register · register_confirm · login · login_mfa
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */

:root {
  /* Marque or/bronze — stables entre les deux thèmes */
  --brand-gold-dark:   #B8811F;
  --brand-gold:        #C3973E;
  --brand-gold-cta:    #CEA31E;
  --brand-gold-focus:  #F5E993;
  --brand-navy:        #14243D;

  /* Sémantique */
  --semantic-positive: #1FA971;
  --semantic-negative: #E5484D;
  --semantic-warning:  #F59E0B;
  --semantic-info:     #3E63DD;

  /* Focus — famille marque, remplace le bleu Tailwind */
  --focus-ring:   var(--brand-gold-focus);
  --focus-border: var(--brand-gold-dark);

  /* Typographie */
  --font-heading: 'Oswald', sans-serif;
  --font-body:    'Oswald', 'Arial Narrow', sans-serif;  /* ADR-026 */
  --font-data:    'IBM Plex Mono', 'Roboto Mono', monospace;

  /* Rayon */
  --radius-card:    10px;
  --radius-control: 8px;
  --radius-pill:    999px;

  /* Ombres */
  --elevation-card:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --elevation-raised: 0 4px 12px rgba(0,0,0,.12);
  --elevation-button: 0 4px 6px -1px rgba(0,0,0,.10), 0 2px 4px -2px rgba(0,0,0,.10);

  /* Motion "small motion" */
  --motion-fast: 120ms;
  --motion-base: 200ms;
  --motion-slow: 240ms;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Thème clair — défaut ─────────────────────────────────── */

:root,
:root[data-theme="light"] {
  --bg-base:           #FAF9F6;
  --bg-surface:        #FFFFFF;
  --bg-surface-raised: #F5F3EF;
  --bg-border:         #E9E9E9;
  --bg-border-alt:     #E2E8F0;
  --text-primary:      #1d1d1d;
  --text-secondary:    #595959;
  --text-disabled:     #A3A3A3;
}

/* ── Thème sombre — secondaire togglable ──────────────────── */

:root[data-theme="dark"] {
  --bg-base:           #0B1220;
  --bg-surface:        #121B2E;
  --bg-surface-raised: #1A2740;
  --bg-border:         #24324D;
  --bg-border-alt:     #24324D;
  --text-primary:      #F5F7FA;
  --text-secondary:    #A3AEC2;
  --text-disabled:     #6B7690;
}

/* ── 2. RESET ─────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-base);
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
svg { display: block; flex-shrink: 0; }

/* ── 3. APP SHELL ─────────────────────────────────────────── */

.auth-shell {
  display: flex;
  min-height: 100vh;
}

/* ── 4. PANNEAU DE MARQUE (gauche) ────────────────────────── */

.brand-panel {
  width: 390px;
  flex-shrink: 0;
  background: linear-gradient(158deg, #070F1D 0%, #0E1E35 40%, #14243D 75%, #182D4A 100%);
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Motif de points or discret */
.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(206,163,30,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Liseré or en haut */
.brand-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-gold-cta) 0%, var(--brand-gold-dark) 100%);
}

/* Décoration : cercles concentriques évoquant les marchés */
.brand-deco {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(206,163,30,.07);
  pointer-events: none;
  z-index: 0;
}
.brand-deco::before {
  content: '';
  position: absolute;
  inset: 36px;
  border-radius: 50%;
  border: 1px solid rgba(206,163,30,.055);
}
.brand-deco::after {
  content: '';
  position: absolute;
  inset: 72px;
  border-radius: 50%;
  border: 1px solid rgba(206,163,30,.04);
}

/* ── Logo ── */

.brand-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
  margin-bottom: 4px;
}

.brand-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--brand-gold-cta);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #1d1d1d;
  flex-shrink: 0;
  letter-spacing: -1px;
}

.brand-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-logo-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.14em;
}

.brand-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.04em;
}

/* ── Contenu ── */

.brand-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.brand-headline {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

/* Accent or sous la première ligne du titre */
.brand-headline::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--brand-gold-cta);
  margin-top: 14px;
  opacity: 0.85;
}

.brand-subheadline {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.75;
  margin-bottom: 44px;
  margin-top: 6px;
}

.brand-trust {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,.68);
}

.trust-item svg {
  width: 15px;
  height: 15px;
  color: var(--brand-gold-cta);
  flex-shrink: 0;
}

/* ── Badge réglementaire ── */

.brand-badge {
  position: relative;
  z-index: 1;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.07);
}

.brand-badge-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: rgba(255,255,255,.28);
}

.brand-regulated {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,.48);
  letter-spacing: 0.09em;
}

.brand-regulated-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand-gold-cta);
  opacity: 0.55;
  flex-shrink: 0;
}

/* ── 5. ZONE FORMULAIRE (droite) ──────────────────────────── */

.form-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 24px;
  min-height: 100vh;
  background: var(--bg-base);
  min-width: 0;
}

/* ── 6. CARTE AUTH ────────────────────────────────────────── */

.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-top: 3px solid var(--brand-gold-cta);
  border-radius: var(--radius-card);
  padding: 44px 48px;
  box-shadow: var(--elevation-raised);
}

:root[data-theme="dark"] .auth-card {
  box-shadow: 0 4px 32px rgba(0,0,0,.42);
}

/* ── Logo mobile ── */

.card-logo {
  display: none;
  align-items: center;
  gap: 11px;
  margin-bottom: 26px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--bg-border);
}

.card-logo-mark {
  width: 33px;
  height: 33px;
  background: var(--brand-gold-cta);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d1d1d;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}

.card-logo-name {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.06em;
  display: block;
}

.card-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.66rem;
  color: var(--text-disabled);
  display: block;
}

/* ── 7. STEPS ─────────────────────────────────────────────── */

.step { display: none; }
.step.active { display: block; }

/* ── 8. EN-TÊTE DE CARTE ──────────────────────────────────── */

.card-header { margin-bottom: 30px; }

.card-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  margin-bottom: 10px;
  letter-spacing: 0.02em;
  line-height: 1.18;
}

:root[data-theme="dark"] .card-title {
  color: var(--brand-gold-focus);
}

.card-subtitle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 9. CHAMPS DE FORMULAIRE ──────────────────────────────── */

.field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
}

.label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0;
}

.field-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field-input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-control);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--motion-fast) var(--ease-in-out),
              box-shadow  var(--motion-fast) var(--ease-in-out);
}

.field-input::placeholder {
  color: var(--text-disabled);
  font-size: 0.9rem;
}

.field-input:focus {
  border-color: var(--focus-border);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

:root[data-theme="dark"] .field-input {
  background: var(--bg-surface-raised);
  border-color: var(--bg-border);
}

:root[data-theme="dark"] .field-input:focus {
  border-color: var(--brand-gold-dark);
  box-shadow: 0 0 0 3px rgba(245,233,147,.22);
}

.field-input.is-invalid {
  border-color: var(--semantic-negative);
  box-shadow: 0 0 0 3px rgba(229,72,77,.14);
}

.field-error {
  font-family: var(--font-body);
  font-size: 0.77rem;
  color: var(--semantic-negative);
  min-height: 1.1em;
}

/* Lien mot de passe oublié */
.forgot-link {
  font-family: var(--font-body);
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--brand-gold-dark);
  transition: opacity var(--motion-fast);
}
.forgot-link:hover { opacity: 0.7; }

:root[data-theme="dark"] .forgot-link { color: var(--brand-gold-focus); }

/* ── 10. MOT DE PASSE ─────────────────────────────────────── */

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.password-wrapper .field-input { padding-right: 48px; }

.eye-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-disabled);
  padding: 4px;
  display: flex;
  align-items: center;
  width: auto;
  margin: 0;
  transition: color var(--motion-fast);
}
.eye-toggle:hover { color: var(--brand-gold-dark); }
.eye-toggle svg { width: 17px; height: 17px; }

/* ── 11. BARRE DE FORCE DU MOT DE PASSE ──────────────────── */

.strength-bar {
  height: 3px;
  background: var(--bg-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}

.strength-fill {
  height: 100%;
  width: 0%;
  border-radius: 2px;
  transition: width  var(--motion-base) var(--ease-out),
              background var(--motion-base) var(--ease-in-out);
}
.strength-fill[data-level="1"] { width: 25%;  background: var(--semantic-negative); }
.strength-fill[data-level="2"] { width: 50%;  background: var(--semantic-warning);  }
.strength-fill[data-level="3"] { width: 75%;  background: var(--brand-gold);        }
.strength-fill[data-level="4"] { width: 100%; background: var(--semantic-positive); }

.strength-label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin-top: 5px;
  display: block;
  min-height: 1.1em;
}

/* ── 12. ALERTES ──────────────────────────────────────────── */

.alert {
  padding: 12px 16px;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: 0.8375rem;
  line-height: 1.55;
  margin-bottom: 18px;
}
.alert[hidden] { display: none; }

.alert-error {
  background: #FDF0EF;
  border: 1px solid #F1A9A2;
  color: #C0392B;
}
:root[data-theme="dark"] .alert-error {
  background: rgba(229,72,77,.1);
  border-color: rgba(229,72,77,.28);
  color: #FF8A8A;
}

.alert-success {
  background: #EDF7F3;
  border: 1px solid #A3D9C1;
  color: #1A7F5A;
}
:root[data-theme="dark"] .alert-success {
  background: rgba(31,169,113,.1);
  border-color: rgba(31,169,113,.28);
  color: #5DD4A3;
}

/* ── 13. BOUTONS ──────────────────────────────────────────── */

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  border-radius: var(--radius-control);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.025em;
  transition: background-color var(--motion-base) var(--ease-in-out),
              color         var(--motion-base) var(--ease-in-out),
              border-color  var(--motion-base) var(--ease-in-out);
}

/* Primaire : fond or → inversion sombre au survol */
.btn-primary {
  background: var(--brand-gold-cta);
  color: #1d1d1d;
  border: none;
  box-shadow: var(--elevation-button);
  margin-top: 8px;
}
.btn-primary:hover:not(:disabled) {
  background: #1d1d1d;
  color: #fff;
}
.btn-primary:active:not(:disabled) {
  background: #111;
  color: #fff;
}

/* Secondaire : contour or */
.btn-secondary {
  background: transparent;
  color: var(--brand-gold-dark);
  border: 1.5px solid var(--brand-gold-dark);
  margin-top: 12px;
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(184,129,31,.06);
}

:root[data-theme="dark"] .btn-secondary {
  color: var(--brand-gold-focus);
  border-color: rgba(245,233,147,.3);
}
:root[data-theme="dark"] .btn-secondary:hover:not(:disabled) {
  background: rgba(245,233,147,.06);
}

.btn-primary:disabled,
.btn-secondary:disabled { opacity: 0.55; cursor: not-allowed; }

/* Spinner */
.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(29,29,29,.25);
  border-top-color: #1d1d1d;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
.btn-primary:hover .btn-spinner { border-color: rgba(255,255,255,.3); border-top-color: #fff; }
.btn-secondary .btn-spinner {
  border-color: rgba(184,129,31,.3);
  border-top-color: var(--brand-gold-dark);
}
:root[data-theme="dark"] .btn-secondary .btn-spinner {
  border-color: rgba(245,233,147,.3);
  border-top-color: var(--brand-gold-focus);
}
button.loading .btn-spinner { display: block; }
button.loading .btn-label   { opacity: 0.75; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Bouton-lien */
.btn-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-top: 20px;
}

/* ── 14. ICÔNES STATUT ────────────────────────────────────── */

.status-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}
.status-icon svg { width: 28px; height: 28px; }

.status-icon.success {
  background: rgba(31,169,113,.12);
  border: 2px solid var(--semantic-positive);
  color: var(--semantic-positive);
}
.status-icon.error {
  background: rgba(229,72,77,.10);
  border: 2px solid var(--semantic-negative);
  color: var(--semantic-negative);
}
.status-icon.warning {
  background: rgba(245,158,11,.10);
  border: 2px solid var(--semantic-warning);
  color: var(--semantic-warning);
}

/* ── 15. OTP INPUT (login_mfa) ────────────────────────────── */

.otp-input {
  text-align: center;
  font-family: var(--font-data);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  padding: 16px 20px;
  color: var(--brand-gold-dark);
  font-variant-numeric: tabular-nums;
}
.otp-input::placeholder {
  font-size: 1.2rem;
  letter-spacing: 0.25em;
  color: var(--text-disabled);
  font-weight: 400;
}
.otp-input:focus {
  border-color: var(--focus-border);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

/* ── 16. TIMER MFA ────────────────────────────────────────── */

.mfa-timer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-data);
  margin-bottom: 14px;
}
.mfa-timer svg { width: 13px; height: 13px; flex-shrink: 0; }
.mfa-timer.urgent { color: var(--semantic-negative); }
.mfa-timer strong { font-variant-numeric: tabular-nums; }

/* ── 17. BADGE TENTATIVES ─────────────────────────────────── */

.attempts-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.28);
  border-radius: var(--radius-control);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--semantic-warning);
  margin-bottom: 14px;
}
.attempts-badge[hidden] { display: none; }

/* ── 18. LIEN PIED DE CARTE ───────────────────────────────── */

.footer-link {
  margin-top: 22px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.8375rem;
  color: var(--text-secondary);
}
.footer-link a {
  color: var(--brand-gold-dark);
  font-weight: 700;
}
.footer-link a:hover { text-decoration: underline; }

:root[data-theme="dark"] .footer-link a { color: var(--brand-gold-focus); }

/* ── 19. NOTE SUCCÈS ──────────────────────────────────────── */

.success-note {
  font-family: var(--font-body);
  font-size: 0.8375rem;
  color: var(--text-secondary);
  margin-top: 14px;
  text-align: center;
}
.success-note strong { color: var(--brand-gold-dark); }

:root[data-theme="dark"] .success-note strong { color: var(--brand-gold-focus); }

/* ── 20. FOOTER AUTH ──────────────────────────────────────── */

.auth-footer {
  margin-top: 24px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--text-disabled);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-wrap: wrap;
  letter-spacing: 0.02em;
}
.auth-footer svg { width: 10px; height: 10px; }

/* ── 21. RESPONSIVE — TABLETTE ────────────────────────────── */

@media (max-width: 960px) {
  .brand-panel   { width: 320px; padding: 36px 28px; }
  .brand-headline { font-size: 1.5rem; }
  .auth-card     { padding: 36px 36px; }
}

/* ── 22. RESPONSIVE — MOBILE ──────────────────────────────── */

@media (max-width: 720px) {
  .auth-shell { flex-direction: column; min-height: 100vh; }

  .brand-panel {
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 14px 20px;
    position: static;
    flex-shrink: 0;
  }
  .brand-panel::after { height: 2px; }
  .brand-deco,
  .brand-content,
  .brand-trust,
  .brand-badge { display: none; }

  .form-area {
    flex: 1;
    padding: 20px 16px 36px;
    justify-content: flex-start;
    min-height: auto;
  }

  .auth-card { padding: 26px 24px; max-width: 100%; }
  .card-logo { display: flex; }
  .card-title { font-size: 1.35rem; }
  .field-input { height: 52px; }
}

/* ── 23. REDUCED MOTION ───────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── 24. PANNEAU HÉROS — landing-hero (register) ─────────── */

.landing-hero {
  width: 44%;
  max-width: 580px;
  flex-shrink: 0;
  background: var(--bg-base);
  border-right: 1px solid var(--bg-border);
  padding: 44px 52px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* Cercles concentriques — ton clair, accents or */
.landing-hero .brand-deco {
  position: absolute;
  top: -8%;
  left: -18%;
  width: 78vh;
  height: 78vh;
  border-radius: 50%;
  border: 1px solid rgba(184,129,31,.1);
  background: none;
  pointer-events: none;
  z-index: 0;
}
.landing-hero .brand-deco::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid rgba(184,129,31,.07);
}
.landing-hero .brand-deco::after {
  content: '';
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1px solid rgba(184,129,31,.05);
}

/* Logo on fond clair */
.landing-hero .brand-logo { margin-bottom: 0; }
.landing-hero .brand-logo-name  { color: var(--text-primary); }
.landing-hero .brand-logo-tagline { color: var(--text-disabled); }

/* Contenu héros */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 4.25rem;
  font-weight: 700;
  line-height: 1.0;
  color: var(--brand-navy);
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

/* Liseré or après le titre */
.hero-headline::after {
  content: '';
  display: block;
  width: 52px;
  height: 3px;
  background: var(--brand-gold-cta);
  margin-top: 20px;
  margin-bottom: 24px;
}

.hero-subheadline {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 11px 28px;
  border: 1.5px solid var(--brand-gold-dark);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--brand-gold-dark);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: background-color var(--motion-base) var(--ease-in-out),
              color         var(--motion-base) var(--ease-in-out);
}
.btn-learn-more:hover {
  background: var(--brand-gold-dark);
  color: #fff;
}

/* Badge réglementaire sur fond clair */
.landing-hero .brand-badge {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--bg-border-alt);
}
.landing-hero .brand-badge-label { color: var(--text-disabled); }
.landing-hero .brand-regulated   { color: var(--text-secondary); }
.landing-hero .brand-regulated-dot { opacity: 0.75; }

/* ── 25. BOUTONS SOCIAUX ──────────────────────────────────── */

.social-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-control);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color var(--motion-fast) var(--ease-in-out),
              border-color    var(--motion-fast) var(--ease-in-out);
}
.btn-social:hover {
  background: var(--bg-surface-raised);
  border-color: var(--bg-border-alt);
}
.btn-social svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* ── 26. SÉPARATEUR ───────────────────────────────────────── */

.separator {
  display: flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.71rem;
  font-weight: 500;
  color: var(--text-disabled);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.separator::before,
.separator::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--bg-border);
}
.separator::before { margin-right: 12px; }
.separator::after  { margin-left:  12px; }

/* ── 27. RESPONSIVE — landing-hero ───────────────────────── */

@media (max-width: 960px) {
  .landing-hero  { width: 42%; padding: 36px 32px; }
  .hero-headline { font-size: 3.25rem; }
}

@media (max-width: 720px) {
  .landing-hero {
    width: 100%;
    height: auto;
    flex-direction: row;
    align-items: center;
    padding: 14px 20px;
    position: static;
    flex-shrink: 0;
    border-right: none;
    border-bottom: 1px solid var(--bg-border);
  }
  .landing-hero .brand-deco,
  .hero-content,
  .landing-hero .brand-badge { display: none; }
}
