/* Landing publique (/connexion/) et page « modèle de sécurité ». Feuille autonome : l'application (app.css) n'est pas chargée sur ces pages.
   Aucun style en ligne dans les gabarits (la CSP les interdit) ; police Inter auto-hébergée ; aucune ressource externe. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("landing/inter-latin-var.8e433c0592f7.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --ink: #1b1744; --muted: #565c80; --line: #e4e7f4; --bg-soft: #f6f7fd; --violet: #6d3df5; --violet-d: #4f2cdc; --violet-soft: #efe9ff; --ok: #1f8f5f;
        --night: #0d0830; --night-2: #1a1259; --cyan: #7fe7ff; --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body.lp { margin: 0; font: 400 1rem/1.6 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
p { margin: 0 0 1rem; }
a { color: var(--violet-d); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 6px; }
.lp-top :focus-visible, .lp-hero :focus-visible, .lp-final :focus-visible, .lp-footer :focus-visible { outline-color: var(--cyan); }
.lp-card :focus-visible { outline-color: var(--violet); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.2em; }
.lp-skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 650; }
.lp-skip:focus { top: 12px; }
.lp-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }

.lp-top .lp-wrap, .lp-hero .lp-wrap { max-width: 1400px; }

/* Boutons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 12px; font: 650 .98rem/1 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.lp-btn:hover { text-decoration: none; }
.lp-btn-primary { background: linear-gradient(135deg, var(--violet) 0%, var(--violet-d) 100%); color: #fff; box-shadow: 0 14px 30px -14px rgba(109, 61, 245, .9); }
.lp-btn-primary:hover { background: linear-gradient(135deg, #7a4cff 0%, #5a37e6 100%); }
.lp-btn-light { background: #fff; color: #3b1fb8; }
.lp-btn-light:hover { background: #f1ecff; }
.lp-btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.lp-btn-line:hover { background: rgba(255, 255, 255, .1); }
.lp-btn-ghost { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .5); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .14); }
.lp-btn-outline { background: #fff; color: var(--violet-d); border-color: var(--violet); width: 100%; }
.lp-btn-outline:hover { background: var(--violet-soft); }
.lp-btn-lg { min-height: 54px; padding: 0 30px; font-size: 1.05rem; }

/* En-tête */
.lp-top { position: relative; z-index: 10; background: var(--night); color: #fff; }
.lp-nav { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.lp-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-weight: 780; font-size: 1.3rem; letter-spacing: -.03em; text-decoration: none; }
.lp-logo-img { display: block; height: 40px; width: auto; }
.lp-menu { display: flex; gap: 6px; margin: 0 auto; }
.lp-menu a { color: rgba(255, 255, 255, .88); text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 550; }
.lp-menu a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.lp-actions { display: flex; gap: 10px; }
.lp-actions .lp-btn { min-height: 42px; padding: 0 18px; }
.lp-menu-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lp-burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .5); cursor: pointer; place-items: center; margin-left: auto; }
.lp-burger span, .lp-burger span::before, .lp-burger span::after { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ""; }
.lp-burger span::before { position: absolute; top: -6px; } .lp-burger span::after { position: absolute; top: 6px; }
.lp-menu-toggle:focus-visible + .lp-burger { outline: 3px solid var(--cyan); outline-offset: 2px; }

/* Héros */
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 20px 0 130px;
  background: radial-gradient(900px 520px at 78% 8%, rgba(99, 70, 255, .55), transparent 62%), radial-gradient(760px 420px at 6% 96%, rgba(40, 110, 255, .32), transparent 60%), linear-gradient(165deg, var(--night) 0%, var(--night-2) 58%, #2c1b94 100%); }
.lp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 392px; grid-template-areas: "text card"; align-items: center; column-gap: 56px; }
.lp-hero-text { grid-area: text; position: relative; z-index: 3; max-width: 600px; }
.lp-hero h1 { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 780; line-height: 1.1; }
.lp-hero h1 em { font-style: normal; color: var(--cyan); }
.lp-sub { margin: 20px 0 22px; font-size: 1.08rem; color: rgba(255, 255, 255, .9); max-width: 46ch; }
.lp-chips { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.lp-chips li { display: inline-flex; align-items: center; gap: 8px; font-weight: 560; font-size: .95rem; }
.lp-chips .ico { color: var(--cyan); }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.lp-cta-row .lp-btn { padding: 0 18px; }
.lp-nowrap { white-space: nowrap; }
.lp-cta-note { margin: 14px 0 0; font-size: .88rem; color: rgba(255, 255, 255, .82); max-width: 52ch; } .lp-cta-note a { color: #fff; }
.lp-trial { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 10px 16px; max-width: 52ch; border-radius: 14px; background: rgba(127, 231, 255, .12); border: 1px solid rgba(127, 231, 255, .45); color: #fff; font-size: .95rem; }
.lp-trial .ico { color: var(--cyan); width: 1.4em; height: 1.4em; } .lp-trial strong { color: var(--cyan); }
.lp-hero-page { padding: 28px 0 56px; } .lp-hero-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); } .lp-hero-page .lp-sub { margin-bottom: 0; }

.lp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Aperçu de l'interface : sous le héros, à cheval sur son bord, sans rien qui le recouvre */
.lp-showcase { position: relative; z-index: 4; margin-top: -92px; padding-bottom: 44px; background: linear-gradient(180deg, transparent 0, transparent 92px, #fff 92px); }
.lp-device { margin: 0 auto; max-width: 1080px; }
.lp-zoom { display: block; cursor: zoom-in; border-radius: 16px; }
.lp-window { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgba(10, 5, 50, .6), 0 0 0 1px rgba(27, 23, 68, .12); transition: transform .25s ease, box-shadow .25s ease; }
.lp-zoom:hover .lp-window { transform: translateY(-3px); box-shadow: 0 46px 100px -30px rgba(10, 5, 50, .65), 0 0 0 1px rgba(109, 61, 245, .35); }
.lp-window-bar { display: flex; gap: 6px; padding: 10px 14px; background: #171236; }
.lp-window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.lp-window img { display: block; width: 100%; height: auto; aspect-ratio: 1818 / 1149; }
.lp-device figcaption { margin-top: 14px; font-size: .85rem; color: var(--muted); text-align: center; }
.lp-lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1500px); max-height: 94vh; width: min(96vw, 1500px); overflow: visible; }
.lp-lightbox::backdrop { background: rgba(8, 5, 32, .86); }
.lp-lightbox img { display: block; width: 100%; height: auto; max-height: 90vh; object-fit: contain; border-radius: 12px; background: #fff; }
.lp-lightbox-close { position: absolute; top: -14px; right: -6px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: var(--ink); font: 400 1.7rem/1 var(--font); box-shadow: 0 8px 24px rgba(0, 0, 0, .4); }
.lp-lightbox-close:focus-visible { outline: 3px solid var(--cyan); }

/* Carte de connexion */
.lp-card { grid-area: card; width: 100%; position: relative; z-index: 4; background: #fff; color: var(--ink); border-radius: 24px; padding: 28px 26px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .6); }
.lp-card h2 { font-size: 1.5rem; font-weight: 760; }
.lp-lead { margin: 10px 0 18px; color: var(--muted); }
.lp-messages { list-style: none; margin: 0 0 14px; padding: 0; }
.lp-messages li { padding: 10px 14px; border-radius: 10px; background: var(--violet-soft); font-size: .92rem; }
.lp-messages li.error { background: #ffe9ec; color: #8a1230; }
.ms-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 50px; border-radius: 10px; border: 1px solid #2f2f2f; background: #2f2f2f; color: #fff; font: 600 1rem/1 var(--font); cursor: pointer; }
.ms-btn:hover { background: #1c1c1c; }
.ms-logo { width: 20px; height: 20px; flex: none; }
.lp-newbox { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--violet-soft); }
.lp-newbox p { margin: 0 0 12px; font-size: .94rem; }
.lp-newbox-title { font-weight: 720; font-size: 1rem !important; margin-bottom: 4px !important; }
.lp-newbox .lp-fine { margin: 12px 0 0; }
.lp-fine { font-size: .82rem; color: var(--muted); margin: 14px 0 0; }
.lp-perms { margin-top: 16px; font-size: .88rem; color: var(--muted); }
.lp-perms summary { cursor: pointer; font-weight: 650; color: var(--violet-d); padding: 6px 0; }
.lp-perms p, .lp-perms ul { margin: 8px 0; } .lp-perms ul { padding-left: 20px; }
.lp-perms code { background: var(--bg-soft); padding: 1px 5px; border-radius: 6px; font-size: .85em; }

/* Sections */
.lp-section { padding: 64px 0; }
.lp-h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 760; }
.lp-benefits { padding: 52px 0 56px; border-bottom: 1px solid var(--line); }
.lp-benefits .lp-h2 { text-align: center; margin-bottom: 34px; }
.lp-benef-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.lp-benef-grid li { display: flex; gap: 16px; align-items: flex-start; }
.lp-benef-grid h3 { font-size: 1.08rem; font-weight: 720; margin-bottom: 6px; }
.lp-benef-grid p { margin: 0; color: var(--muted); font-size: .95rem; max-width: 34ch; }
.lp-bicon { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-soft); color: var(--violet-d); }
.lp-bicon .ico { width: 26px; height: 26px; }

.lp-split { background: var(--bg-soft); }
.lp-split-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.lp-split-grid > :only-child { grid-column: 1 / -1; max-width: 640px; }
.lp-trust-head { display: flex; gap: 16px; align-items: center; margin-bottom: 22px; }
.lp-checks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.lp-checks li { position: relative; padding-left: 30px; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f8f5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.lp-checks-sm { gap: 7px; font-size: .94rem; margin-bottom: 14px; }
.lp-note { color: var(--muted); font-size: .9rem; }
.lp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; }

.lp-plans .lp-h2 { margin-bottom: 20px; }
.lp-plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lp-plan { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 24px 22px; }
.lp-plan > .lp-btn { margin-top: auto; }
.lp-plan-pro { border-color: var(--violet); box-shadow: 0 24px 50px -28px rgba(109, 61, 245, .7); }
.lp-plan h3 { font-size: 1.2rem; font-weight: 740; }
.lp-price { font-size: 1.45rem; font-weight: 780; letter-spacing: -.02em; margin: 8px 0 6px; }
.lp-plan-desc { color: var(--muted); font-size: .92rem; }
.lp-plan-sub { font-size: .85rem; color: var(--muted); margin: 10px 0 6px; }
.lp-locks { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 5px; font-size: .88rem; color: var(--muted); }
.lp-locks li { display: flex; gap: 8px; align-items: flex-start; } .lp-locks .ico { margin-top: .2em; }
.lp-badge { position: absolute; top: -13px; right: 18px; background: linear-gradient(135deg, var(--violet), var(--violet-d)); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; }

/* Comparaison des formules */
.lp-compare { margin-top: 18px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 4px 18px; }
.lp-compare summary { cursor: pointer; font-weight: 650; color: var(--violet-d); padding: 12px 0; }
.lp-compare-wrap { overflow-x: auto; padding-bottom: 12px; }
.lp-compare table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.lp-compare th, .lp-compare td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.lp-compare thead th { border-top: 0; color: var(--muted); font-weight: 650; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.lp-compare tbody th { font-weight: 500; } .lp-compare td, .lp-compare thead th:not(:first-child) { text-align: center; width: 92px; }
.lp-yes { color: var(--ok); font-weight: 800; } .lp-no { color: var(--muted); }

/* Démarrer en trois étapes */
.lp-start { background: #fff; border-bottom: 1px solid var(--line); padding: 52px 0; }
.lp-start .lp-h2 { text-align: center; margin-bottom: 32px; }
.lp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: none; }
.lp-steps li { display: flex; gap: 16px; align-items: flex-start; }
.lp-steps h3 { font-size: 1.08rem; font-weight: 720; margin-bottom: 6px; } .lp-steps p { margin: 0; color: var(--muted); font-size: .95rem; }
.lp-step-n { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 780; color: #fff; background: linear-gradient(135deg, var(--violet), var(--violet-d)); }
.lp-callout { margin: 34px auto 0; max-width: 880px; padding: 20px 24px; border-radius: 18px; background: var(--violet-soft); border: 1px solid rgba(109, 61, 245, .25); }
.lp-callout h3 { font-size: 1rem; margin-bottom: 8px; } .lp-callout ul { margin: 0; padding-left: 20px; } .lp-callout li { margin: 6px 0; font-size: .95rem; }

/* Bandeau final */
.lp-final { padding: 56px 0 56px; background: var(--bg-soft); }
.lp-final-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: clamp(26px, 4vw, 40px) clamp(24px, 4vw, 52px); border-radius: 26px; color: #fff; background: radial-gradient(500px 220px at 90% 0%, rgba(120, 90, 255, .5), transparent 70%), linear-gradient(110deg, var(--night-2), #3f26b8); }
.lp-final h2 { font-size: clamp(1.3rem, 2.4vw, 1.85rem); font-weight: 740; max-width: 34ch; }

/* Page « sécurité » */
.lp-doc-body { max-width: 820px; }
.lp-doc-body .lp-h2 { margin: 38px 0 14px; } .lp-doc-body .lp-h2:first-child { margin-top: 0; }
.lp-doc-body h3 { font-size: 1.05rem; margin: 22px 0 6px; letter-spacing: -.01em; }
.lp-doc-body ul { padding-left: 22px; } .lp-doc-body li { margin: 6px 0; }
.lp-doc-body code { background: var(--bg-soft); padding: 1px 6px; border-radius: 6px; font-size: .88em; }
.lp-doc-cta { margin-top: 34px; }

/* Pied de page */
.lp-footer { background: var(--night); color: rgba(255, 255, 255, .8); padding: 36px 0 44px; font-size: .88rem; }
.lp-footer a { color: #fff; }
.lp-footer p { margin: 0 0 8px; }
.lp-footer .trademark { margin-top: 14px; color: rgba(255, 255, 255, .7); }

/* Tablette et petits écrans d'ordinateur */
@media (max-width: 1180px) {
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr) 376px; column-gap: 40px; align-items: start; }
  .lp-benef-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .lp-steps { grid-template-columns: minmax(0, 1fr); }
  .lp-split-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-burger { display: grid; }
  .lp-menu, .lp-actions { display: none; }
  .lp-menu-toggle:checked ~ .lp-menu { display: flex; flex-direction: column; order: 5; width: 100%; padding: 4px 0 14px; margin: 0; }
  .lp-menu-toggle:checked ~ .lp-menu a { padding: 14px 12px; font-size: 1.05rem; }
  .lp-menu-toggle:checked ~ .lp-actions { display: flex; flex-direction: column; order: 6; width: 100%; padding: 0 0 18px; }
  .lp-menu-toggle:checked ~ .lp-actions .lp-btn { width: 100%; min-height: 48px; }
  .lp-nav { flex-wrap: wrap; row-gap: 0; }
}
@media (max-width: 860px) {
  .lp-hero { padding: 28px 0 110px; }
  .lp-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "card"; row-gap: 32px; }
  .lp-showcase { margin-top: -80px; }
  .lp-card { max-width: 560px; width: 100%; margin: 0 auto; }
  .lp-cta-row .lp-btn { flex: 1 1 100%; }
  .lp-chips { gap: 8px 16px; }
  .lp-final-inner { flex-direction: column; align-items: flex-start; }
  .lp-final .lp-btn { width: 100%; }
}
@media (max-width: 620px) {
  .lp-benef-grid, .lp-plan-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-section { padding: 44px 0; }
  .lp-card { padding: 24px 18px; border-radius: 20px; }
  .lp-trust-head { align-items: flex-start; }
  .lp-btn { white-space: normal; text-align: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .lp-btn, .lp-menu a, .ms-btn { transition: background-color .15s, box-shadow .15s; }
  .lp-hero-text, .lp-card { animation: lp-in .6s ease-out both; } .lp-card { animation-delay: .08s; }
  @keyframes lp-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .lp-top, .lp-final, .lp-showcase { display: none; } .lp-hero { background: none; color: #000; } }
