/* Trax Protect · page d'accueil publique */
.lp { position: relative; min-height: 100vh; overflow-x: clip; }
.lp-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 50% -8%, rgba(139, 92, 246, .34), transparent 60%),
    radial-gradient(700px 500px at 100% 70%, rgba(217, 70, 239, .14), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(139, 92, 246, .12), transparent 60%);
}
.lp-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .45;
  background-image: linear-gradient(rgba(139, 92, 246, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(139, 92, 246, .06) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(75% 55% at 50% 22%, #000, transparent);
}
.lp main, .lp-footer { position: relative; z-index: 1; }
.lp main { max-width: none; width: auto; padding: 0; }
.lp-ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Barre de navigation ---------- */
.lp-nav { position: sticky; top: 0; z-index: 20; transition: background .2s, border-color .2s, backdrop-filter .2s; border-bottom: 1px solid transparent; }
.lp-nav.scrolled, .lp-nav.open { background: rgba(9, 6, 16, .82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.lp-nav-in { max-width: 1180px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 22px; }
.lp-logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.12rem; letter-spacing: -.02em; color: var(--accent2); text-decoration: none; }
.lp-logo:hover { text-decoration: none; }
.lp-logo img { width: 32px; height: 32px; filter: drop-shadow(0 4px 14px rgba(139, 92, 246, .55)); }
.lp-logo b { color: #fff; font-weight: 900; }
.lp-logo span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-logo span b { -webkit-text-fill-color: #fff; }
.lp-links { display: flex; gap: 4px; margin-left: 10px; }
.lp-links button { background: none; border: 0; color: var(--soft); font: 600 .92rem var(--font); padding: 8px 12px; border-radius: 10px; cursor: pointer; transition: color .15s, background .15s; }
.lp-links button:hover { color: #fff; background: rgba(139, 92, 246, .14); }
.lp-nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.lp-burger { display: none; margin-left: auto; background: rgba(139, 92, 246, .12); border: 1px solid var(--line2); color: #fff; border-radius: 10px; width: 40px; height: 40px; place-items: center; cursor: pointer; }

/* ---------- Boutons ---------- */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 10px 16px; border-radius: 12px; font: 700 .9rem var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; }
.lp-btn:hover { text-decoration: none; transform: translateY(-1px); }
.lp-btn.primary { background: var(--grad); color: #fff; box-shadow: 0 10px 28px rgba(139, 92, 246, .38); }
.lp-btn.primary:hover { box-shadow: 0 14px 34px rgba(217, 70, 239, .45); }
.lp-btn.ghost { background: rgba(139, 92, 246, .1); border-color: var(--line2); color: #eadcff; }
.lp-btn.ghost:hover { background: rgba(139, 92, 246, .2); border-color: var(--accent); }
.lp-btn.big { padding: 14px 24px; font-size: 1rem; border-radius: 14px; }

/* ---------- Hero ---------- */
.lp-hero { max-width: 1180px; margin: 0 auto; padding: 70px 24px 90px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.lp-pill { display: inline-flex; align-items: center; gap: 9px; padding: 6px 14px; border-radius: 999px; background: rgba(139, 92, 246, .12); border: 1px solid var(--line2); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--soft); }
.lp-pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.lp-hero h1 { margin-top: 22px; font-size: clamp(2.4rem, 5.4vw, 4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.035em; }
.lp-hero h1 .grad { white-space: nowrap; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-lead { margin-top: 22px; max-width: 540px; font-size: 1.12rem; line-height: 1.65; color: var(--soft); }
.lp-hero-cta { margin-top: 30px; display: flex; gap: 12px; flex-wrap: wrap; }
.lp-stats { margin-top: 40px; display: flex; gap: 34px; flex-wrap: wrap; min-height: 52px; }
.lp-stats div { display: grid; }
.lp-stats b { font-size: 1.7rem; font-weight: 900; letter-spacing: -.02em; }
.lp-stats span { font-size: .82rem; color: var(--muted); }

.lp-hero-card { position: relative; }
.lp-hero-card::before { content: ""; position: absolute; inset: -8% -6%; background: radial-gradient(closest-side, rgba(139, 92, 246, .35), transparent); filter: blur(30px); z-index: -1; }
.lp-win { background: linear-gradient(180deg, #1a1030, #0f0a1c); border: 1px solid var(--line2); border-radius: 18px; box-shadow: 0 40px 90px rgba(0, 0, 0, .6); overflow: hidden; transform: perspective(1200px) rotateY(-6deg) rotateX(2deg); transition: transform .4s; }
.lp-hero-card:hover .lp-win { transform: perspective(1200px) rotateY(0) rotateX(0); }
.lp-win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.lp-win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a2a52; }
.lp-win-bar i:nth-child(1) { background: #f87171; } .lp-win-bar i:nth-child(2) { background: #fbbf24; } .lp-win-bar i:nth-child(3) { background: #34d399; }
.lp-win-bar span { margin-left: 10px; font-size: .82rem; color: var(--muted); font-weight: 600; }
.lp-msg { display: flex; gap: 12px; padding: 14px 18px; }
.lp-msg .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; flex: none; }
.lp-msg .av.u { background: #3b2a5e; color: #d8c4ff; } .lp-msg .av.b { background: var(--grad); color: #fff; }
.lp-msg b { font-size: .92rem; } .lp-msg b em { font-style: normal; font-size: .62rem; font-weight: 800; background: #6d4bd8; color: #fff; padding: 2px 6px; border-radius: 4px; margin-left: 4px; vertical-align: 2px; }
.lp-msg p { color: var(--soft); font-size: .92rem; margin-top: 2px; }
.lp-msg div { min-width: 0; }
.lp-embed { margin-top: 8px; padding: 12px 14px; border-left: 4px solid var(--accent); background: rgba(139, 92, 246, .1); border-radius: 0 10px 10px 0; display: grid; gap: 3px; }
.lp-embed.warn { border-left-color: var(--danger); background: rgba(248, 113, 113, .08); }
.lp-embed strong { font-size: .94rem; } .lp-embed small { color: var(--muted); font-size: .78rem; }

/* ---------- Sections ---------- */
.lp-section { max-width: 1180px; margin: 0 auto; padding: 80px 24px; scroll-margin-top: 70px; }
.lp-head { text-align: center; max-width: 680px; margin: 0 auto 46px; display: grid; gap: 12px; justify-items: center; }
.lp-kicker { font-size: .76rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--accent2); }
.lp-head h2, .lp-cta h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 900; letter-spacing: -.03em; line-height: 1.12; }
.lp-head p { color: var(--muted); font-size: 1.02rem; text-wrap: balance; }
.lp-head h2 { text-wrap: balance; }

.lp-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-feature { padding: 26px; border-radius: 18px; background: linear-gradient(180deg, rgba(23, 15, 40, .85), rgba(14, 9, 25, .85)); border: 1px solid var(--line); transition: transform .2s, border-color .2s, box-shadow .2s; }
.lp-feature:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 18px 50px rgba(139, 92, 246, .18); }
.lp-feature-ico { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px rgba(139, 92, 246, .35); margin-bottom: 16px; }
.lp-feature-ico .lp-ico { width: 22px; height: 22px; }
.lp-feature h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lp-feature p { color: var(--muted); font-size: .93rem; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease, border-color .2s, box-shadow .2s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Explorateur de commandes ---------- */
.lp-explorer { display: grid; gap: 18px; }
.lp-search { position: relative; }
.lp-search .lp-ico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 20px; height: 20px; }
.lp .lp-search input.lp-search-input { width: 100%; padding: 15px 18px 15px 48px; font: 500 1rem var(--font); color: var(--text); background: rgba(18, 11, 31, .9); border: 1px solid var(--line2); border-radius: 14px; outline: none; transition: border-color .15s, box-shadow .15s; }
.lp .lp-search input.lp-search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(139, 92, 246, .18); }
.lp-search-input::placeholder { color: #6c5c8c; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; font: 600 .88rem var(--font); color: var(--soft); background: rgba(18, 11, 31, .9); border: 1px solid var(--line2); cursor: pointer; transition: all .15s; }
.lp-chip:hover { border-color: var(--accent); color: #fff; }
.lp-chip em { font-style: normal; font-size: .74rem; padding: 1px 7px; border-radius: 999px; background: rgba(139, 92, 246, .2); color: #e9d5ff; }
.lp-chip.on { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 8px 22px rgba(139, 92, 246, .35); }
.lp-chip.on em { background: rgba(255, 255, 255, .22); color: #fff; }
.lp-count { color: var(--muted); font-size: .86rem; }
.lp-results { display: grid; gap: 30px; margin-top: 6px; }
.lp-cat > header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lp-cat-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(139, 92, 246, .16); color: #d8c4ff; flex: none; }
.lp-cat header > div { flex: 1; min-width: 0; }
.lp-cat h3 { font-size: 1.1rem; } .lp-cat header p { color: var(--muted); font-size: .88rem; }
.lp-cat-n { font-weight: 800; font-size: .82rem; color: var(--soft); background: rgba(139, 92, 246, .14); border: 1px solid var(--line2); padding: 4px 11px; border-radius: 999px; }
.lp-cmd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lp-cmd { position: relative; display: grid; gap: 6px; padding: 14px 16px; padding-right: 92px; border-radius: 13px; background: rgba(18, 11, 31, .85); border: 1px solid var(--line); transition: border-color .15s, background .15s; }
.lp-cmd:hover { border-color: var(--line2); background: rgba(26, 16, 46, .95); }
.lp-cmd-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lp-args { font: 500 .82rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); }
.lp-cmd p { color: var(--soft); font-size: .88rem; line-height: 1.5; }
.lp-copy { position: absolute; top: 12px; right: 12px; display: inline-flex; align-items: center; gap: 6px; font: 700 .74rem var(--font); color: var(--soft); background: rgba(139, 92, 246, .12); border: 1px solid var(--line2); border-radius: 9px; padding: 6px 10px; cursor: pointer; opacity: .75; transition: all .15s; }
.lp-copy .lp-ico { width: 14px; height: 14px; }
.lp-cmd:hover .lp-copy, .lp-copy:focus-visible { opacity: 1; }
.lp-copy:hover { background: rgba(139, 92, 246, .28); color: #fff; }
.lp-copy.ok { color: var(--ok); border-color: rgba(52, 211, 153, .5); opacity: 1; }
.lp-empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- Appel à l'action ---------- */
.lp-cta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; padding: 52px; border-radius: 26px; border: 1px solid var(--line2); background: linear-gradient(135deg, rgba(139, 92, 246, .2), rgba(217, 70, 239, .08) 60%, rgba(14, 9, 25, .9)); box-shadow: 0 30px 90px rgba(0, 0, 0, .5); }
.lp-cta-copy { display: grid; gap: 14px; justify-items: start; }
.lp-steps { display: grid; gap: 14px; margin-top: 6px; }
.lp-step { display: flex; gap: 14px; align-items: flex-start; }
.lp-step b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--grad); font-size: .95rem; flex: none; }
.lp-step p { color: var(--soft); font-size: .92rem; }
.lp-fine { color: var(--muted); font-size: .78rem; max-width: 520px; }
.lp-cta-art { display: grid; place-items: center; }
.lp-cta-art img { width: min(260px, 70%); filter: drop-shadow(0 20px 50px rgba(139, 92, 246, .6)); animation: lp-float 5s ease-in-out infinite; }
@keyframes lp-float { 50% { transform: translateY(-12px); } }

.lp-footer { border-top: 1px solid var(--line); background: rgba(7, 5, 12, .7); }
.lp-footer-in { max-width: 1180px; margin: 0 auto; padding: 30px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.lp-footer-links { display: flex; gap: 18px; margin-left: auto; }
.lp-footer-links a { color: var(--soft); font-weight: 600; font-size: .9rem; }
.lp-footer p { color: var(--muted); font-size: .82rem; width: 100%; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .lp-hero { grid-template-columns: 1fr; padding-top: 40px; gap: 44px; }
  .lp-win { transform: none; }
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-cta { grid-template-columns: 1fr; padding: 34px 26px; }
  .lp-cta-art { display: none; }
}
@media (max-width: 760px) {
  .lp-burger { display: grid; }
  .lp-links, .lp-nav-cta { display: none; }
  .lp-nav.open .lp-nav-in { flex-wrap: wrap; }
  .lp-nav.open .lp-links, .lp-nav.open .lp-nav-cta { display: flex; width: 100%; margin: 0; }
  .lp-nav.open .lp-links { flex-direction: column; order: 3; }
  .lp-nav.open .lp-links button { text-align: left; }
  .lp-nav.open .lp-nav-cta { flex-direction: column; align-items: stretch; order: 4; padding-bottom: 8px; }
  .lp-features, .lp-cmd-grid { grid-template-columns: 1fr; }
  .lp-section { padding: 56px 18px; }
  .lp-hero { padding: 30px 18px 56px; }
  .lp-hero-cta .lp-btn { flex: 1 1 100%; }
  .lp-footer-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lp-cta-art img { animation: none; }
  .lp-win, .lp-btn, .lp-feature { transition: none; }
}
