/* Landing page publique : mêmes couleurs (Landerz) et police (Montserrat) que l'application, mode clair et sombre. */
.lp {
  --lp-bg: #ffffff;
  --lp-tint: #f3f8f7;
  --lp-card: #ffffff;
  --lp-ink: #0d1f1c;
  --lp-soft: #4b5a57;
  --lp-line: #dbe4e2;
  --lp-primary: #00756a;
  --lp-primary-ink: #ffffff;
  --lp-accent: #00d2b5;
  --lp-chip: #ddf7f2;
  --lp-chip-ink: #00564e;
  --lp-phone: #0d1f1c;
  --lp-shadow: 0 18px 40px -18px rgba(13, 31, 28, .35);
  background: var(--lp-bg);
  color: var(--lp-ink);
  line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .lp {
    --lp-bg: #0c1614; --lp-tint: #111f1c; --lp-card: #152522; --lp-ink: #e8f2f0; --lp-soft: #a9bcb8; --lp-line: #24403b;
    --lp-primary: #19b3a2; --lp-primary-ink: #041412; --lp-chip: #17372f; --lp-chip-ink: #9ff0e2; --lp-phone: #000; --lp-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  }
}
:root[data-theme="dark"] .lp {
  --lp-bg: #0c1614; --lp-tint: #111f1c; --lp-card: #152522; --lp-ink: #e8f2f0; --lp-soft: #a9bcb8; --lp-line: #24403b;
  --lp-primary: #19b3a2; --lp-primary-ink: #041412; --lp-chip: #17372f; --lp-chip-ink: #9ff0e2; --lp-phone: #000; --lp-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
}
.lp h1, .lp h2, .lp h3 { color: var(--lp-ink); }
.lp a { color: inherit; }
.lp-wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.lp-narrow { max-width: 760px; }
.lp-skip { position: absolute; left: -999px; top: 8px; background: var(--lp-primary); color: var(--lp-primary-ink); padding: 8px 14px; border-radius: 8px; z-index: 20; }
.lp-skip:focus { left: 8px; }

/* Navigation */
.lp-nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--lp-bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lp-line); }
.lp-nav-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.lp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.lp-links { display: flex; gap: 22px; margin-left: 24px; font-size: 14px; font-weight: 700; }
.lp-links a { text-decoration: none; color: var(--lp-soft); }
.lp-links a:hover { color: var(--lp-ink); }
.lp-nav-cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lp-login { font-weight: 700; font-size: 14px; text-decoration: none; }
.lp-theme { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--lp-line); border-radius: 50%; background: transparent; color: var(--lp-ink); cursor: pointer; }
.lp-theme svg { width: 18px; height: 18px; }
@media (max-width: 760px) { .lp-links { display: none; } }
@media (max-width: 420px) { .lp-login { display: none; } .lp-brand span { display: none; } }

/* Boutons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border-radius: 30px; font-weight: 700; font-size: 15px; text-decoration: none; border: 2px solid transparent; text-align: center; transition: transform .15s ease, background-color .15s ease; }
.lp-btn:hover { transform: translateY(-1px); }
.lp-btn--primary { background: var(--lp-primary); color: var(--lp-primary-ink) !important; box-shadow: 0 10px 22px -10px var(--lp-primary); }
.lp-btn--ghost { border-color: var(--lp-line); color: var(--lp-ink); background: var(--lp-card); }
.lp-btn--light { background: #fff; color: #00564e !important; }
.lp-btn--sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.lp :focus-visible { outline: 3px solid var(--lp-accent); outline-offset: 3px; }

/* Bandeau principal */
.lp-hero { padding: 56px 0 64px; background: radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--lp-accent) 22%, transparent), transparent 60%), var(--lp-bg); }
.lp-hero-in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.lp-kicker { margin: 0 0 12px; color: var(--lp-primary); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.lp-hero h1 { margin: 0 0 18px; font-size: clamp(30px, 5vw, 50px); line-height: 1.1; letter-spacing: -.02em; }
.lp-lead { margin: 0 0 26px; color: var(--lp-soft); font-size: clamp(16px, 1.6vw, 18px); max-width: 60ch; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-reassure { margin: 16px 0 0; font-size: 13px; color: var(--lp-soft); }
@media (max-width: 860px) { .lp-hero-in { grid-template-columns: 1fr; } .lp-hero { padding-top: 32px; } }

/* Téléphone : écran de signature */
.lp-phone { justify-self: center; width: min(300px, 82vw); padding: 12px; border-radius: 40px; background: var(--lp-phone); box-shadow: var(--lp-shadow); }
.lp-phone-screen { border-radius: 30px; overflow: hidden; background: #f3f8f7; color: #0d1f1c; padding: 16px 14px 18px; }
.lp-sign-card { background: #fff; border-radius: 16px; padding: 12px 14px; }
.lp-sign-kicker { font-size: 11px; color: #6f7776; }
.lp-sign-title { font-weight: 700; font-size: 17px; line-height: 1.2; margin: 2px 0 4px; }
.lp-sign-meta { font-size: 11px; color: #6f7776; }
.lp-sign-form { background: #fff; border-radius: 16px; padding: 10px 14px 14px; margin-top: 10px; }
.lp-field { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid #e3e9e8; font-size: 12px; }
.lp-field span { color: #6f7776; }
.lp-sig { position: relative; margin-top: 10px; border: 2px dashed #00d2b5; border-radius: 14px; color: #111; height: 82px; display: grid; place-items: center; }
.lp-sig svg { width: 86%; }
.lp-sig span { position: absolute; bottom: 4px; font-size: 9px; color: #b5bccb; }
.lp-sign-btn { margin-top: 12px; background: #00756a; color: #fff; text-align: center; font-weight: 700; font-size: 13px; border-radius: 30px; padding: 9px; }

/* Sections */
.lp-section { padding: 64px 0; }
.lp-section--tint { background: var(--lp-tint); }
.lp-h2 { text-align: center; margin: 0 0 32px; font-size: clamp(24px, 3.4vw, 34px); letter-spacing: -.01em; line-height: 1.2; }
.lp-left { text-align: left; }
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: none; }
.lp-steps li { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 20px; padding: 24px; }
.lp-steps h3, .lp-card h3 { margin: 10px 0 6px; font-size: 18px; }
.lp-steps p, .lp-card p { margin: 0; color: var(--lp-soft); font-size: 15px; }
.lp-num { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--lp-chip); color: var(--lp-chip-ink); font-weight: 700; }
.lp-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lp-grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lp-card { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 20px; padding: 24px; }
.lp-card h3 { margin-top: 0; }
@media (max-width: 960px) { .lp-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lp-steps, .lp-grid3, .lp-grid4 { grid-template-columns: 1fr; } .lp-section { padding: 48px 0; } }
.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; }
@media (max-width: 860px) { .lp-split { grid-template-columns: 1fr; } }

/* Listes à coches */
.lp-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; font-size: 14px; }
.lp-list li { display: flex; gap: 10px; align-items: flex-start; }
.lp-list svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--lp-primary); }
.lp-list--big { font-size: 16px; gap: 16px; }
.lp-soon { display: inline-block; padding: 1px 9px; border-radius: 20px; background: #fff3e0; color: #8a4b00; font-size: 11px; font-weight: 700; vertical-align: middle; }

/* Tarifs */
.lp-toggle { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 28px; padding: 4px; border-radius: 30px; background: var(--lp-tint); border: 1px solid var(--lp-line); }
.lp-toggle button { border: 0; background: transparent; color: var(--lp-soft); font: inherit; font-weight: 700; font-size: 14px; padding: 9px 18px; border-radius: 30px; cursor: pointer; }
.lp-toggle button.is-on { background: var(--lp-card); color: var(--lp-ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.lp-badge { display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 20px; background: var(--lp-chip); color: var(--lp-chip-ink); font-size: 11px; }
.lp-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
@media (max-width: 1060px) { .lp-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .lp-plans { grid-template-columns: 1fr; } }
.lp-plan { position: relative; display: flex; flex-direction: column; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 22px; padding: 26px 22px; }
.lp-plan.is-featured { border: 2px solid var(--lp-primary); box-shadow: var(--lp-shadow); }
.lp-flag { position: absolute; top: -13px; left: 22px; background: var(--lp-primary); color: var(--lp-primary-ink); font-size: 12px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.lp-plan h3 { margin: 0; font-size: 20px; }
.lp-plan-tag { margin: 4px 0 16px; color: var(--lp-soft); font-size: 13px; min-height: 2.6em; }
.lp-price { margin-bottom: 18px; }
.lp-amount { display: block; font-size: 28px; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.lp-per { display: block; font-size: 13px; color: var(--lp-soft); }
.lp-plan .lp-btn { width: 100%; }
.lp-note { text-align: center; margin: 24px auto 0; font-weight: 700; max-width: 60ch; }
.lp-options { margin: 32px auto 0; max-width: 760px; background: var(--lp-tint); border: 1px solid var(--lp-line); border-radius: 18px; padding: 18px 22px; }
.lp-options h3 { margin: 0 0 8px; font-size: 16px; }
.lp-options ul { margin: 0; padding-left: 18px; color: var(--lp-soft); font-size: 14px; }
.lp-options strong { color: var(--lp-ink); }
.lp-pay { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 24px 0 0; }
.lp-pay-label { font-size: 13px; color: var(--lp-soft); font-weight: 700; }
.lp-chip { padding: 5px 12px; border-radius: 20px; background: var(--lp-chip); color: var(--lp-chip-ink); font-size: 13px; font-weight: 700; }
.lp-compare { margin: 28px auto 0; max-width: 1000px; }
.lp-compare summary, .lp-faq summary { cursor: pointer; font-weight: 700; list-style-position: inside; }
.lp-compare summary { text-align: center; color: var(--lp-primary); }
.lp-table-wrap { overflow-x: auto; margin-top: 16px; border: 1px solid var(--lp-line); border-radius: 16px; }
.lp-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 640px; background: var(--lp-card); }
.lp-table th, .lp-table td { padding: 10px 12px; border-bottom: 1px solid var(--lp-line); text-align: center; color: var(--lp-ink); }
.lp-table th[scope="row"] { text-align: left; font-weight: 400; color: var(--lp-soft); }
.lp-table thead th { font-weight: 700; background: var(--lp-tint); }
.lp-yes svg { width: 18px; height: 18px; color: var(--lp-primary); vertical-align: middle; }
.lp-no { color: var(--lp-soft); }

/* Questions */
.lp-faq { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 16px; padding: 16px 20px; margin-bottom: 10px; }
.lp-faq p { margin: 10px 0 0; color: var(--lp-soft); }

/* Appel final et pied de page */
.lp-final { background: linear-gradient(135deg, #00756a, #00564e); text-align: center; }
.lp-final h2 { color: #fff; margin: 0 0 22px; font-size: clamp(22px, 3vw, 30px); }
.lp-foot { padding: 32px 0 40px; border-top: 1px solid var(--lp-line); font-size: 14px; color: var(--lp-soft); }
.lp-foot-in { display: grid; gap: 14px; }
.lp-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.lp-foot a { text-decoration: none; font-weight: 700; color: var(--lp-ink); }
.lp-foot p { margin: 0; }

/* Pages légales */
.lp-legal { padding: 40px 0 64px; }
.lp-legal h1 { font-size: clamp(26px, 4vw, 36px); margin: 0 0 8px; }
.lp-legal h2 { font-size: 20px; margin: 28px 0 8px; }
.lp-legal p, .lp-legal li { color: var(--lp-soft); }
.lp-draft { margin: 16px 0 24px; padding: 12px 16px; border-radius: 12px; background: #fff3e0; color: #7a4300; font-weight: 700; }
