/* =============================================================================
   N2M SÉCURITÉ — Pop-up Lead Magnet (P16)
   Réutilise le shell modal (.n2m-modal-overlay/.n2m-modal/.active) de
   components.css. Ici : la mise en page 2 colonnes (couverture + formulaire).
   ============================================================================= */

.n2m-lm__box { max-width: 720px; padding: 0; overflow: hidden; }

.n2m-lm__grid { display: grid; grid-template-columns: 220px 1fr; }

/* ── Couverture « guide » (colonne gauche) ─────────────────────────────── */
.n2m-lm__cover {
    background: linear-gradient(150deg, var(--n2m-navy) 0%, var(--n2m-black) 100%);
    border-right: 1px solid var(--n2m-border, rgba(245,194,0,.15));
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.n2m-lm__cover::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 30% 15%, rgba(245,194,0,.18), transparent 60%);
}
.n2m-lm__cover-inner {
    position: relative; text-align: center; color: #F5C200;
    padding: 26px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px;
    border: 1px solid rgba(245,194,0,.35); border-radius: 12px;
    background: var(--n2m-surface); margin: 22px; width: calc(100% - 44px);
}
.n2m-lm__cover-eyebrow { font-size: 10px; letter-spacing: 2px; color:var(--text-muted); }
.n2m-lm__cover-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 30px; line-height: .95; color:var(--n2m-white); text-transform: uppercase; }
.n2m-lm__cover-tag { margin-top: 6px; font-size: 11px; font-weight: 700; color: #050508; background: #F5C200; padding: 4px 12px; border-radius: 999px; }

/* ── Contenu (colonne droite) ──────────────────────────────────────────── */
.n2m-lm__content { padding: 34px 34px 28px; }
.n2m-lm__eyebrow {
    display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: #050508; background: #F5C200; padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.n2m-lm__title { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; line-height: 1.12; color: var(--n2m-white, #fff); margin: 0 0 10px; font-weight: 800; }
.n2m-lm__text { font-size: 14.5px; line-height: 1.6; color: var(--n2m-muted, #94a3b8); margin: 0 0 16px; }

.n2m-lm__list { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.n2m-lm__list li { position: relative; padding-left: 27px; font-size: 13.5px; color: #d4dae3; line-height: 1.45; }
.n2m-lm__list li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(245,194,0,.16); color: #F5C200; font-size: 11px; font-weight: bold; display: flex; align-items: center; justify-content: center; }

/* ── Formulaire ────────────────────────────────────────────────────────── */
.n2m-lm__fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.n2m-lm__fields input {
    width: 100%; box-sizing: border-box; padding: 13px 15px; font-size: 14px;
    background: var(--n2m-surface); border: 1px solid var(--n2m-border, rgba(255,255,255,.14));
    border-radius: 9px; color:var(--n2m-white);
}
.n2m-lm__fields input::placeholder { color:var(--text-muted); }
.n2m-lm__fields input:focus { outline: none; border-color: #F5C200; box-shadow: 0 0 0 2px rgba(245,194,0,.2); }
.n2m-lm__submit { width: 100%; justify-content: center; }
.n2m-lm__feedback { font-size: 13px; margin: 10px 0 0; min-height: 1px; }
.n2m-lm__feedback.error { color: #ff6b6b; }
.n2m-lm__legal { font-size: 11.5px; color:var(--text-muted); margin: 12px 0 0; text-align: center; }
.n2m-lm__skip { display: block; margin: 14px auto 0; background: none; border: none; color:var(--text-muted); font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.n2m-lm__skip:hover { color: #F5C200; }

/* ── Spinner submit ────────────────────────────────────────────────────── */
.n2m-lm__spinner { display: none; width: 16px; height: 16px; margin-left: 8px; border: 2px solid rgba(5,5,8,.3); border-top-color: #050508; border-radius: 50%; animation: n2mLmSpin .7s linear infinite; vertical-align: middle; }
.n2m-lm__submit.is-loading .n2m-lm__btn-tx { opacity: .55; }
.n2m-lm__submit.is-loading .n2m-lm__spinner { display: inline-block; }
@keyframes n2mLmSpin { to { transform: rotate(360deg); } }

/* ── Succès ────────────────────────────────────────────────────────────── */
.n2m-lm__success { text-align: center; padding: 12px 0; }
.n2m-lm__success-ic { font-size: 42px; }
.n2m-lm__success h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 24px; color:var(--n2m-white); margin: 10px 0 6px; }
.n2m-lm__success-msg { font-size: 14px; color:var(--text-muted); margin: 0 0 18px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .n2m-lm__grid { grid-template-columns: 1fr; }
    .n2m-lm__cover { display: none; }
    .n2m-lm__content { padding: 30px 22px 24px; }
    .n2m-lm__title { font-size: 23px; }
}
