/**
 * C13 — Onboarding OF action-first
 * Tokens alignés sur assets/css/learnifi-blog-public.css (blog learnifi.fr/blog)
 */
.lf-ofw,
.lf-dem-v3,
.lf-org-page--demarrage {
  --lf-p: #8710d8;
  --lf-p2: #a435f0;
  --lf-p-dark: #7c3aed;
  --lf-p-soft: #faf5ff;
  --lf-p-border: #e9d5ff;
  --lf-ink: #1c1d1f;
  --lf-mut: #6a6f73;
  --lf-bg: #f7f8fa;
  --lf-card: #fff;
  --lf-line: #e5e7eb;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--lf-ink);
}

.lf-ofw .lf-ofw-q,
.lf-dem-v3 h1,
.lf-dem-v3 .h4 {
  font-weight: 900 !important;
  letter-spacing: -0.02em;
  color: var(--lf-ink);
}

.lf-ofw .lf-ofw-lead,
.lf-dem-v3 .text-muted,
.lf-dem-v3-body {
  color: var(--lf-mut) !important;
}

.lf-ofw .lf-ofw-btn--primary,
.lf-dem-v3 .btn-primary {
  background: linear-gradient(135deg, #a435f0, #7c3aed) !important;
  border: none !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 10px rgba(164, 53, 240, 0.25) !important;
  border-radius: 10px !important;
}

.lf-ofw .lf-ofw-card,
.lf-dem-v3-card {
  border: 1.5px solid var(--lf-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06) !important;
}

.lf-ofw .lf-ofw-chip,
.lf-dem-credits-pill {
  background: var(--lf-p-soft) !important;
  border: 1px solid var(--lf-p-border) !important;
  color: var(--lf-p-dark) !important;
  font-weight: 700 !important;
}

/* Trust bar : ne plus masquer Continuer / checkboxes */
.lf-ofw-trust {
  position: sticky;
  bottom: 0;
  z-index: 2;
  pointer-events: none;
}
.lf-ofw-trust-inner {
  pointer-events: auto;
}
.lf-ofw-footer {
  position: relative;
  z-index: 5;
  padding-bottom: 12px;
  margin-bottom: 8px;
  background: linear-gradient(180deg, transparent, #fff 28%);
}
.lf-ofw-panels {
  padding-bottom: 24px;
}

.lf-ofw-action-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--lf-p-soft);
  border: 1px solid var(--lf-p-border);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lf-p-dark);
}

/* Page standalone sans Bootstrap : [hidden] doit être forcé */
.lf-ofw [hidden] {
  display: none !important;
}

/* ——— Mode action legacy (carte centrée) ——— */
body:has(.lf-ofw--action):not(.lf-ofw-action-body) {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(1200px 600px at 10% -10%, #ede9fe 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #e0e7ff 0%, transparent 50%),
    #f7f8fa;
}

.lf-ofw--action:not(.lf-ofw--action-shell) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 16px 48px;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-body {
  display: block !important;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  padding: 0 !important;
  grid-template-columns: none !important;
}

.lf-ofw--action .lf-ofw-hero,
.lf-ofw--action .lf-ofw-topbar,
.lf-ofw--action .lf-ofw-trust,
.lf-ofw--action .lf-ofw-stepper {
  display: none !important;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-main {
  width: 100%;
  max-width: none;
  padding: 0 !important;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-card {
  padding: 28px 28px 24px !important;
  background: #fff;
}

.lf-ofw--action .lf-ofw-action-brand {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lf-p-dark);
}

.lf-ofw--action .lf-ofw-panel[data-step="2"].is-active {
  display: block !important;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-q {
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  margin: 0 0 8px !important;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-lead {
  margin: 0 0 20px !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-field {
  margin-bottom: 14px;
}

.lf-ofw--action .lf-ofw-footer--action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 8px;
  padding-bottom: 0;
  background: none;
}

.lf-ofw--action:not(.lf-ofw--action-shell) .lf-ofw-footer--action #lf-ofw-next {
  width: 100%;
  justify-content: center;
  padding: 14px 18px !important;
  font-size: 15px !important;
}

.lf-ofw--action .lf-ofw-action-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--lf-mut);
}

.lf-ofw--action #lf-ofw-back {
  display: none !important;
}

/* ——— Mode action shell : charte login/signup Learnifi (split) ——— */
body.lf-ofw-action-body {
  margin: 0;
  min-height: 100vh;
  background: #f0eef6;
}

.lf-ofw--action-shell.lf-login-landing {
  min-height: 100vh;
  padding: 0;
  display: block;
  justify-content: unset;
}

.lf-ofw--action-shell .lf-ofw-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.lf-ofw--action-shell .lf-ofw-action-hero,
.lf-ofw--action-shell .lf-ofw-action-panel {
  flex: 1 1 100%;
  width: 100%;
  max-width: 100%;
}

.lf-ofw--action-shell.lf-login-landing .lf-login-container {
  max-width: 1280px;
  width: 100%;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 992px) {
  .lf-ofw--action-shell .lf-ofw-action-row {
    flex-wrap: nowrap;
    min-height: calc(100vh - 2rem);
  }
  .lf-ofw--action-shell .lf-ofw-action-hero {
    order: 0 !important;
    flex: 0 0 42% !important;
    width: 42% !important;
    max-width: 42% !important;
  }
  .lf-ofw--action-shell .lf-ofw-action-panel {
    order: 1 !important;
    flex: 0 0 58% !important;
    width: 58% !important;
    max-width: 58% !important;
    padding: 1.75rem 2rem 1.5rem !important;
  }
}

.lf-ofw--action-shell .lf-ofw-card--bare {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.lf-ofw--action-shell .lf-ofw-panels {
  padding-bottom: 0;
}

.lf-ofw--action-shell .lf-ofw-fields {
  display: grid;
  gap: 0.55rem;
}

.lf-ofw--action-shell .lf-ofw-field {
  margin-bottom: 0;
  min-width: 0;
}

.lf-ofw--action-shell .lf-ofw-field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  min-width: 0;
}

.lf-ofw--action-shell .lf-ofw-fields .form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #1c1d1f;
  margin: 0 0 0.3rem;
  line-height: 1.3;
}

.lf-ofw--action-shell .lf-ofw-fields .form-control {
  width: 100%;
  height: 40px;
  min-height: 40px;
  font-size: 15px;
  line-height: 1.3;
  border-radius: 8px;
  padding-left: 0.85rem;
  padding-right: 0.85rem;
  box-sizing: border-box;
  border: 1px solid #e5e7eb;
  background: #fff;
  box-shadow: none;
}

.lf-ofw--action-shell #lf-ofw-password {
  padding-right: 2.5rem;
}

.lf-ofw--action-shell .lf-ofw-field-hint {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #5c5c6a;
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 360px) {
  .lf-ofw--action-shell .lf-ofw-field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.lf-ofw--action-shell .lf-ofw-footer--action {
  margin-top: 6px;
  gap: 6px;
}

.lf-ofw--action-shell #lf-ofw-next.lf-login-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.lf-ofw--action-shell .lf-ofw-alert[hidden] {
  display: none !important;
}

.lf-ofw--action-shell .lf-ofw-alert:not([hidden]) {
  margin-bottom: 14px;
}

.lf-ofw--action-shell .mb-3 {
  margin-bottom: 0.5rem !important;
}

.lf-req {
  color: #dc2626;
  font-weight: 700;
}

.lf-ofw-opt {
  color: #6b7280;
  font-weight: 500;
  font-size: 0.85em;
}

.lf-ofw-action-space-hint {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #5c5c6a;
  font-weight: 500;
}

.lf-ofw-action-space-hint strong {
  color: #4c1d95;
  font-weight: 700;
}

/* Mobile / tablette : formulaire AU-DESSUS du fold (hero après) */
@media (max-width: 991.98px) {
  .lf-ofw--action-shell .lf-login-container {
    padding: 0.45rem 0.5rem 0.85rem;
  }
  .lf-ofw--action-shell .lf-ofw-action-row {
    display: flex;
    flex-direction: column;
  }
  .lf-ofw--action-shell .lf-ofw-action-panel,
  .lf-ofw--action-shell .lf-login-panel {
    order: -1 !important;
    padding: 0.85rem 0.9rem 0.95rem !important;
  }
  .lf-ofw--action-shell .lf-ofw-action-hero,
  .lf-ofw--action-shell .lf-login-hero {
    order: 2 !important;
    padding: 1rem 0.9rem 1.1rem !important;
    justify-content: flex-start;
  }
  /* Compact hero sous le form : moins de scroll inutile avant les champs */
  .lf-ofw--action-shell .lf-login-features,
  .lf-ofw--action-shell .lf-login-stats {
    display: none !important;
  }
  .lf-ofw--action-shell .lf-login-hero h1 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }
  .lf-ofw--action-shell .lf-login-hero .lead {
    font-size: 0.8125rem;
    margin-bottom: 0;
  }
  .lf-ofw--action-shell .lf-login-back {
    margin-bottom: 0.35rem;
  }
  .lf-ofw--action-shell .lf-login-card-title {
    font-size: 1.4rem;
    line-height: 1.18;
    margin-bottom: 0.35rem;
  }
  .lf-ofw--action-shell .lf-login-card-sub {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.85rem;
  }
  .lf-ofw--action-shell .lf-ofw-fields {
    gap: 0.45rem;
  }
  .lf-ofw--action-shell .lf-ofw-field-row {
    gap: 0.45rem;
  }
  .lf-ofw--action-shell .lf-ofw-fields .form-control {
    height: 40px;
    min-height: 40px;
    font-size: 16px; /* iOS zoom-safe */
  }
  .lf-ofw--action-shell .lf-ofw-action-trust {
    gap: 4px 8px;
    font-size: 10.5px;
  }
  .lf-ofw--action-shell .lf-login-row {
    border-radius: 14px;
  }
}

@media (max-width: 575.98px) {
  .lf-ofw--action-shell .lf-ofw-action-panel,
  .lf-ofw--action-shell .lf-login-panel {
    padding: 0.75rem 0.8rem 0.85rem !important;
  }
}

.lf-opt {
  color: #6b7280;
  font-weight: 500;
  font-size: 0.85em;
}

.lf-ofw-espace-hint {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  color: #5c5c6a;
  font-weight: 500;
  line-height: 1.3;
}
.lf-ofw-espace-hint strong { color: #4c1d95; font-weight: 700; }
.lf-ofw-espace-hint a {
  margin-left: 0.35rem;
  color: #7c3aed;
  font-weight: 600;
  text-decoration: underline;
}

.lf-ofw-google-wrap {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}
.lf-ofw-google-wrap .lf-google-btn-host {
  display: flex;
  justify-content: center;
}
.lf-ofw-google-ok {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #166534;
  text-align: center;
}
.lf-ofw-or {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lf-ofw-or::before,
.lf-ofw-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e5e7eb;
}

/* CTA sticky mobile — bouton toujours visible */
@media (max-width: 991.98px) {
  .lf-ofw--action-shell .lf-ofw-footer--sticky-mobile {
    position: sticky;
    bottom: 0;
    z-index: 20;
    margin: 0 -0.25rem;
    padding: 0.65rem 0.25rem 0.85rem;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff 28%);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
  }
  .lf-ofw--action-shell .lf-ofw-footer--sticky-mobile .lf-login-submit {
    width: 100%;
  }
  .lf-ofw-action-body--compact .lf-login-hero {
    display: none;
  }
}

.lf-ofw-email-sent {
  font-weight: 700;
  color: #1c1d1f;
  margin: 0 0 16px;
  word-break: break-all;
}
.lf-ofw-freemail[hidden],
.lf-ofw-freemail-ack[hidden] {
  display: none !important;
}
.lf-ofw-freemail {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid #ce0500;
  background: #fff5f5;
  font-size: 13px;
  line-height: 1.45;
  color: #1c1d1f;
}
.lf-ofw-freemail p { margin: 0 0 10px; }
.lf-ofw-freemail strong { display: block; color: #ce0500; margin-bottom: 4px; }
.lf-ofw-freemail__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.lf-ofw-freemail__keep,
.lf-ofw-freemail__change {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.lf-ofw-freemail__keep {
  border: 0;
  background: #ce0500;
  color: #fff;
}
.lf-ofw-freemail__change {
  border: 1.5px solid #e5e7eb;
  background: #fff;
  color: #5c5c6a;
}
.lf-ofw-freemail-ack {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: #5c5c6a;
}
.lf-ofw-alert {
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 600;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}
.lf-ofw-alert--error {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.lf-ofw-code-form {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.lf-ofw-code-input {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  font-size: clamp(1.25rem, 6vw, 1.75rem) !important;
  font-weight: 800 !important;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.32em !important;
  text-align: center !important;
  padding: 14px 10px !important;
  border-radius: 12px !important;
  border: 1.5px solid #e9d5ff !important;
  margin-bottom: 16px !important;
  background: #fdfcff;
  min-height: 56px;
}
.lf-signup-v2 .lf-ofw-code-form .lf-ofw-code-input,
.lf-ofw-code-form .lf-ofw-code-input {
  padding-left: 10px !important;
  padding-right: 10px !important;
}
.lf-ofw-code-form .lf-login-submit {
  width: 100%;
  margin-top: 0;
}
.lf-ofw-code-nav {
  display: flex;
  justify-content: flex-end;
}
.lf-ofw-code-foot {
  margin-top: 1rem;
  padding: 0 0.15rem;
}
.lf-ofw-code-foot .lf-login-trust {
  display: block;
  text-align: center;
  line-height: 1.55;
  font-size: 0.8125rem;
  margin-top: 0.65rem;
}
.lf-ofw-code-foot .lf-login-trust:first-child {
  margin-top: 0;
}
.lf-ofw-code-foot-sign {
  margin-top: 0.85rem !important;
  font-size: 0.75rem !important;
  opacity: 0.85;
}

/* Page code e-mail — mobile maîtrisé (safe-area, pas de bords collés) */
body.lf-ofw-email-code-body {
  overflow-x: hidden;
}
.lf-ofw--email-code.lf-login-landing {
  overflow-x: clip;
}
.lf-ofw--email-code .lf-login-container {
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1rem, env(safe-area-inset-right, 0px));
}
.lf-ofw-email-code-panel {
  min-width: 0;
  max-width: 100%;
}
.lf-ofw--email-code .lf-ofw-email-sent {
  word-break: break-word;
  overflow-wrap: anywhere;
  font-size: 0.9375rem;
  line-height: 1.4;
  padding: 0 0.1rem;
}
.lf-ofw--email-code .lf-ofw-freemail {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 991.98px) {
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-login-container {
    padding-top: max(0.85rem, env(safe-area-inset-top, 0px));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    padding-left: max(1rem, env(safe-area-inset-left, 0px));
    padding-right: max(1rem, env(safe-area-inset-right, 0px));
  }
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-ofw-action-panel,
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-login-panel {
    padding: 1.35rem 1.2rem 1.45rem !important;
  }
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-ofw-action-hero,
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-login-hero {
    padding: 1.15rem 1.2rem 1.35rem !important;
  }
  body.lf-ofw-email-code-body .lf-ofw-code-input {
    letter-spacing: 0.24em !important;
    min-height: 52px;
  }
}

@media (max-width: 575.98px) {
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-login-container {
    padding-left: max(1.05rem, env(safe-area-inset-left, 0px));
    padding-right: max(1.05rem, env(safe-area-inset-right, 0px));
  }
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-ofw-action-panel,
  body.lf-ofw-email-code-body .lf-ofw--email-code .lf-login-panel {
    padding: 1.2rem 1.1rem 1.35rem !important;
  }
  body.lf-ofw-email-code-body .lf-ofw-code-input {
    letter-spacing: 0.18em !important;
    font-size: 1.35rem !important;
  }
}

@media (max-width: 360px) {
  body.lf-ofw-email-code-body .lf-ofw-code-input {
    letter-spacing: 0.12em !important;
    font-size: 1.25rem !important;
  }
}

/* ——— Brand hero LP-style (marquer les esprits) ——— */
.lf-ofw--action-shell .lf-ofw-action-hero {
  position: relative;
  background:
    radial-gradient(ellipse 55% 50% at 8% 92%, rgba(164, 53, 240, 0.35), transparent 55%),
    radial-gradient(ellipse 40% 40% at 95% 8%, rgba(110, 231, 183, 0.12), transparent 50%),
    linear-gradient(145deg, #0f051e 0%, #1e0a3c 38%, #2d1259 68%, #0a0a23 100%) !important;
  color: #fff !important;
  padding: 2rem 1.75rem 1.75rem !important;
  overflow: hidden;
}
.lf-ofw--action-shell .lf-ofw-action-hero .lf-login-hero-inner,
.lf-ofw--action-shell .lf-ofw-action-hero .lf-login-badge,
.lf-ofw--action-shell .lf-ofw-action-hero .lf-login-features,
.lf-ofw--action-shell .lf-ofw-action-hero .lf-login-stats {
  display: none !important;
}
.lf-ofw-brand-hero {
  position: relative;
  z-index: 1;
  max-width: 520px;
}
.lf-ofw-brand-hero__logo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.15rem;
  text-decoration: none;
}
.lf-ofw-brand-hero__logo img {
  height: 38px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.25));
}
.lf-ofw-brand-hero__eyebrow {
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(164, 53, 240, 0.22);
  border: 1px solid rgba(240, 171, 252, 0.35);
  color: #f0abfc;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lf-ofw-brand-hero__title {
  margin: 0 0 0.75rem !important;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -0.035em;
  color: #fff !important;
}
.lf-ofw-brand-hero__lead {
  margin: 0 0 1.15rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
  max-width: 28rem;
}
.lf-ofw-brand-hero__proof {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lf-ofw-brand-hero__proof li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.78rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.88);
}
.lf-ofw-brand-hero__proof strong {
  color: #f0abfc;
  font-weight: 850;
  margin-right: 2px;
}
.lf-ofw-brand-hero__shot {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  background: #12081f;
}
.lf-ofw-brand-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}
.lf-ofw-brand-hero__shot figcaption {
  padding: 0.55rem 0.85rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.62);
  background: rgba(0, 0, 0, 0.28);
}

/* Logo + login en tête du formulaire (surtout mobile / compact) */
.lf-ofw-panel-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 0.85rem;
}
.lf-ofw-panel-brand__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.lf-ofw-panel-brand__logo img {
  height: 32px;
  width: auto;
  display: block;
}
.lf-ofw-panel-brand__login {
  font-size: 0.8rem;
  font-weight: 700;
  color: #7c3aed;
  text-decoration: none;
  white-space: nowrap;
}
.lf-ofw-panel-brand__login:hover {
  color: #a435f0;
  text-decoration: underline;
}

/* Parcours post-compte — remplit l’espace utile sans bruit */
.lf-ofw-nextpath {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 70%);
  border: 1px solid #e9d5ff;
}
.lf-ofw-nextpath__label {
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8710d8;
}
.lf-ofw-nextpath__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.lf-ofw-nextpath__steps li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.35rem 0.4rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}
.lf-ofw-nextpath__steps li.is-now {
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(164, 53, 240, 0.35);
}
.lf-ofw-nextpath__n {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 850;
  background: #a435f0;
  color: #fff;
}
.lf-ofw-nextpath__steps li:not(.is-now) .lf-ofw-nextpath__n {
  background: #ede9fe;
  color: #6d28d9;
}
.lf-ofw-nextpath__t {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.lf-ofw-nextpath__t strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: #1c1d1f;
  line-height: 1.2;
}
.lf-ofw-nextpath__t em {
  font-style: normal;
  font-size: 0.68rem;
  color: #8b8b97;
  font-weight: 500;
  line-height: 1.25;
}

.lf-ofw-reassure {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.lf-ofw-reassure li {
  font-size: 0.72rem;
  font-weight: 600;
  color: #5c5c6a;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.lf-ofw-reassure strong {
  color: #8710d8;
  font-weight: 800;
}

@media (min-width: 1100px) {
  .lf-ofw--action-shell .lf-ofw-field-row--contact {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

@media (max-width: 575.98px) {
  .lf-ofw-nextpath__steps {
    grid-template-columns: 1fr;
  }
  .lf-ofw-nextpath__steps li {
    align-items: center;
  }
}

/* Densité UX — formulaire action : max d’infos visibles sans scroll */
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-back {
  margin-bottom: 0.35rem;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-back a {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.8;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-espace-hint {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: #8b8b97;
  font-weight: 500;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-espace-hint strong {
  color: #6b7280;
  font-weight: 650;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-espace-hint a {
  margin-left: 0.25rem;
  color: #7c3aed;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 58, 237, 0.35);
}
/* Titre + accroche : vraiment visibles (espace utile en tête) */
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-card-title {
  font-size: clamp(1.35rem, 3.2vw, 1.7rem);
  line-height: 1.18;
  margin: 0 0 0.4rem;
  font-weight: 850;
  letter-spacing: -0.03em;
  color: #1c1d1f;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-card-sub {
  font-size: clamp(0.875rem, 1.8vw, 0.98rem);
  line-height: 1.45;
  margin: 0 0 0.95rem;
  color: #5c5c6a;
  font-weight: 500;
  max-width: 34rem;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-card-sub strong {
  color: #8710d8;
  font-weight: 750;
}
/* Champs discrets : pas d’icônes, bordure légère */
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-input-wrap > i.fa-icon-left {
  display: none !important;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-form .form-control,
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-fields .form-control {
  height: 40px !important;
  min-height: 40px !important;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 15px !important;
  color: #1c1d1f;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) #lf-ofw-password {
  padding-right: 2.5rem !important;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-form .form-control:focus,
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-fields .form-control:focus {
  border-color: #c4b5fd !important;
  box-shadow: 0 0 0 2px rgba(164, 53, 240, 0.1) !important;
  background: #fff !important;
  outline: none;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-fields .form-label {
  font-size: 0.9375rem !important;
  font-weight: 800 !important;
  color: #1c1d1f !important;
  margin: 0 0 0.3rem;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-footer--action > .lf-login-trust {
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
/* Doublon « Essai sans CB » déjà couvert par trust pills + sous-titre */
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-footer--action > .lf-login-trust:last-of-type {
  display: none;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-login-footer-links {
  margin-top: 2px;
  margin-bottom: 0;
  font-size: 0.78rem;
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-footer--sticky-mobile {
  padding: 0.45rem 0.15rem 0.55rem;
  box-shadow: 0 -6px 16px rgba(15, 23, 42, 0.05);
}
.lf-ofw--action-shell:not(.lf-ofw--email-code) #lf-ofw-next.lf-login-submit {
  min-height: 44px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

@media (max-width: 991.98px) {
  .lf-ofw--action-shell .lf-ofw-action-hero {
    padding: 1.15rem 1rem 1.25rem !important;
  }
  .lf-ofw-brand-hero__title {
    font-size: 1.45rem !important;
  }
  .lf-ofw-brand-hero__lead {
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
  }
  .lf-ofw-brand-hero__shot figcaption {
    display: none;
  }
  /* Compact ads : hero masqué, logo formulaire obligatoire */
  .lf-ofw-action-body--compact .lf-ofw-panel-brand__logo img {
    height: 36px;
  }
}

@media (max-height: 820px) and (max-width: 991.98px) {
  .lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-field-hint {
    display: none;
  }
  .lf-ofw--action-shell:not(.lf-ofw--email-code) .lf-ofw-brand-hero__shot {
    display: none;
  }
}

