/* ============================================================
   NUMERICE QHSE — Landing publique (préfixe .lp-)
   Couleurs alignées sur l'application (vert NUMERICE QHSE)
   ============================================================ */
.lp {
    --lp-green: #0d5f40; --lp-green-2: #1a8f64; --lp-green-dark: #084a32;
    --lp-ink: #0f2a3d; --lp-muted: #4b5b67; --lp-line: #dbe5e0;
    --lp-bg: #f4f7f6; --lp-bg-alt: #eaf2ee; --lp-white: #ffffff;
    width: 100%; display: flex; flex-direction: column; min-height: 100vh;
    background: var(--lp-bg); color: var(--lp-ink);
    font-family: 'Inter', system-ui, -apple-system, sans-serif; line-height: 1.55;
}
.lp main { flex: 1; }
.lp a { color: var(--lp-green); }
.lp-wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; width: 100%; }
.lp-wrap-narrow { max-width: 820px; }

/* Header */
.lp-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lp-line); }
.lp-header-in { display: flex; align-items: center; gap: 20px; padding-top: 10px; padding-bottom: 10px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: 0 0 auto; }
.lp-brand-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.lp-brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.lp-brand-kicker { font-size: 0.68rem; letter-spacing: 0.12em; font-weight: 700; color: var(--lp-green-2); }
.lp-brand-name { font-size: 1.05rem; font-weight: 800; color: var(--lp-ink); }
.lp-nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.lp-nav button { background: none; border: 0; font: inherit; font-size: 0.9rem; color: var(--lp-muted); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.lp-nav button:hover { color: var(--lp-green); background: var(--lp-bg-alt); }
.lp-header-cta { display: flex; gap: 8px; margin-left: auto; }

/* Boutons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 16px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.lp-btn-primary { background: var(--lp-green); color: #fff !important; }
.lp-btn-primary:hover { background: var(--lp-green-dark); }
.lp-btn-ghost { background: var(--lp-white); color: var(--lp-green) !important; border-color: var(--lp-line); }
.lp-btn-ghost:hover { border-color: var(--lp-green-2); }
.lp-btn-lg { padding: 12px 22px; font-size: 1rem; }
.lp-btn-block { width: 100%; margin-top: auto; }

/* Hero */
.lp-hero { background: linear-gradient(180deg, #ffffff 0%, var(--lp-bg) 100%); padding: 56px 0 40px; }
.lp-hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.lp-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lp-green-2); margin-bottom: 12px; }
.lp-hero h1 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 16px; }
.lp-lead { font-size: 1.08rem; color: var(--lp-muted); margin-bottom: 24px; }
.lp-hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.lp-hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.88rem; color: var(--lp-muted); }
.lp-hero-points li::before { content: "✓ "; color: var(--lp-green-2); font-weight: 700; }
.lp-hero-shot img, .lp-shot img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--lp-line); box-shadow: 0 20px 40px -20px rgba(15,42,61,0.35); }
.lp-hero-shot figcaption, .lp-shot figcaption { font-size: 0.8rem; color: var(--lp-muted); margin-top: 8px; text-align: center; }

/* Sections */
.lp-section { padding: 64px 0; }
.lp-section-alt { background: var(--lp-bg-alt); }
.lp-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; margin-bottom: 10px; }
.lp-section-lead { color: var(--lp-muted); margin-bottom: 28px; max-width: 760px; }
.lp-grid { display: grid; gap: 18px; }
.lp-grid-2 { grid-template-columns: repeat(2, 1fr); }
.lp-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lp-grid-4 { grid-template-columns: repeat(4, 1fr); }
.lp-card { background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.lp-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.lp-card p { font-size: 0.93rem; color: var(--lp-muted); }
.lp-ico { font-size: 1.6rem; margin-bottom: 10px; }
.lp-law-n { width: 34px; height: 34px; border-radius: 50%; background: var(--lp-green); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.lp-src { margin-top: auto; padding-top: 14px; font-size: 0.78rem; color: var(--lp-muted); }
.lp-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 36px; }
.lp-note { font-size: 0.8rem; color: var(--lp-muted); margin-top: 14px; text-align: center; }

/* Forfaits */
.lp-plans { align-items: stretch; max-width: 920px; }
.lp-plan { position: relative; padding: 28px; }
.lp-plan-feat { border: 2px solid var(--lp-green); }
.lp-plan-badge { position: absolute; top: -12px; left: 24px; background: var(--lp-green); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.lp-plan-name { font-size: 1.35rem; font-weight: 800; }
.lp-plan-for { color: var(--lp-muted); font-size: 0.92rem; margin: 6px 0 14px; }
.lp-plan-price { font-weight: 700; color: var(--lp-green); margin-bottom: 16px; }
.lp-check { list-style: none; margin-bottom: 22px; }
.lp-check li { padding: 6px 0 6px 26px; position: relative; font-size: 0.93rem; border-bottom: 1px dashed var(--lp-line); }
.lp-check li::before { content: "✓"; position: absolute; left: 4px; color: var(--lp-green-2); font-weight: 800; }

/* FAQ */
.lp-faq { background: var(--lp-white); border: 1px solid var(--lp-line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
.lp-faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; font-size: 1.2rem; color: var(--lp-green); }
.lp-faq[open] summary::after { content: "–"; }
.lp-faq p { padding: 0 0 16px; color: var(--lp-muted); font-size: 0.94rem; }

/* CTA + footer */
.lp-cta { background: linear-gradient(135deg, var(--lp-green) 0%, var(--lp-green-dark) 100%); color: #fff; }
.lp-cta h2 { color: #fff; }
.lp-cta .lp-section-lead { color: rgba(255,255,255,0.85); margin-left: auto; margin-right: auto; }
.lp-cta .lp-btn-primary { background: #fff; color: var(--lp-green) !important; }
.lp-cta .lp-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,0.5); }
.lp-footer { border-top: 1px solid var(--lp-line); padding: 28px 0; font-size: 0.82rem; color: var(--lp-muted); background: var(--lp-white); }
.lp-footer .lp-wrap > div { margin-bottom: 6px; }

/* Lien retour sur l'écran de connexion */
.auth-back { display: inline-block; margin-bottom: 14px; font-size: 0.85rem; color: var(--primary-color, #0d5f40); text-decoration: none; }
.auth-back:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 980px) {
    .lp-nav { display: none; }
    .lp-hero-in { grid-template-columns: 1fr; }
    .lp-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .lp-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .lp-hide-sm { display: none; }
    .lp-hero { padding-top: 32px; }
    .lp-grid-2, .lp-grid-3, .lp-grid-4, .lp-gallery { grid-template-columns: 1fr; }
    .lp-section { padding: 44px 0; }
    .lp-btn-lg { width: 100%; }
}

/* Neutralise les styles génériques de l'application (header, h1) sur la landing */
.lp header.lp-header { margin: 0; display: block; }
.lp .lp-hero h1 { color: var(--lp-ink); font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
.lp .lp-hero h1 strong, .lp .lp-hero-accent { color: var(--lp-green); }
.lp-plans { margin-left: auto; margin-right: auto; }

.lp-price-big { font-size: 2rem; font-weight: 800; color: var(--lp-ink); letter-spacing: -0.02em; }
.lp-price-sub { display: block; font-size: 0.8rem; font-weight: 500; color: var(--lp-muted); margin-top: 2px; }

.lp-nosurprise { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0 auto 32px; max-width: 1160px; }
.lp-nosurprise li { background: var(--lp-white); border: 1px solid var(--lp-line); border-left: 4px solid var(--lp-green-2); border-radius: 10px; padding: 12px 14px; font-size: 0.9rem; color: var(--lp-muted); }
.lp-nosurprise strong { display: block; color: var(--lp-ink); margin-bottom: 2px; }

.lp-graph-group { margin-top: 28px; }
.lp-graph-group .lp-gallery { margin-top: 12px; }
.lp-tag { display: inline-block; font-size: 0.78rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: var(--lp-bg-alt); color: var(--lp-green); border: 1px solid var(--lp-line); }
.lp-tag-dark { background: var(--lp-green); color: #fff; border-color: var(--lp-green); }
