:root {
  --bg: #0b0b10;
  --card: #15151c;
  --card-2: #1a1a23;
  --border: rgba(255, 255, 255, .08);
  --text: #ececf3;
  --muted: #9b9baa;
  --accent: #818cf8;
  --accent-2: #a5b4fc;
  --ok: #34d399;
  --warn: #fbbf24;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; }
body.hp {
  margin: 0;
  background:
    radial-gradient(900px 520px at 50% -12%, rgba(129, 140, 248, .16), transparent 62%),
    radial-gradient(720px 420px at 92% 8%, rgba(103, 232, 249, .055), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
.hp-wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

.hp-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(11, 11, 16, .72);
  backdrop-filter: blur(14px);
}
.hp-header-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.hp-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; letter-spacing: -.02em; }
.hp-brand img { width: 32px; height: 32px; border-radius: 9px; }
.hp-nav { display: flex; gap: 22px; margin-left: 10px; font-size: 14px; color: var(--muted); }
.hp-nav a:hover { color: var(--text); }
.hp-header .hp-btn { margin-left: auto; }

.hp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: .18s ease;
}
.hp-btn-primary {
  background: linear-gradient(180deg, #8b95ff, #6d78f0);
  color: #0b0b10;
  box-shadow: 0 8px 24px rgba(109, 120, 240, .25);
}
.hp-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.hp-btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255, 255, 255, .03); }
.hp-btn-ghost:hover { background: rgba(255, 255, 255, .06); }
.hp-btn-lg { min-height: 46px; padding: 0 20px; font-size: 15px; }

.hp-flash {
  width: min(var(--max), calc(100% - 40px));
  margin: 14px auto 0;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  font-size: 13px;
}
.hp-flash.error { border-color: rgba(248, 113, 113, .35); color: #fca5a5; }
.hp-flash.success { border-color: rgba(52, 211, 153, .35); color: #6ee7b7; }

.hp-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 64px;
}
.hp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-2);
}
.hp-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .04);
}
.hp-dot.on { background: var(--ok); box-shadow: 0 0 0 4px rgba(52, 211, 153, .12); }
.hp-dot.off { background: var(--warn); box-shadow: 0 0 0 4px rgba(251, 191, 36, .12); }

h1 {
  margin: 18px 0;
  font-family: Geist, Inter, sans-serif;
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.04em;
}
h1 span {
  background: linear-gradient(100deg, #a5b4fc, #818cf8 45%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hp-lead { max-width: 54ch; margin: 0; color: var(--muted); font-size: 17px; }
.hp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hp-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 13px;
}
.hp-points li::before { content: "✓"; margin-right: 7px; color: var(--ok); }

.hp-preview {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
}
.hp-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-preview-head > div { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hp-preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(129, 140, 248, .14);
}
.hp-pill {
  padding: 4px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}
.hp-pill.ok { color: var(--ok); border-color: rgba(52, 211, 153, .3); background: rgba(52, 211, 153, .08); }
.hp-pill.off { color: var(--warn); border-color: rgba(251, 191, 36, .3); background: rgba(251, 191, 36, .08); }
.hp-preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.hp-kpi { padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: rgba(255, 255, 255, .03); }
.hp-kpi span { display: block; color: var(--muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.hp-kpi strong { display: block; margin-top: 6px; font-size: 22px; letter-spacing: -.02em; }
.hp-preview-rows {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--border);
}
.hp-preview-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  font-size: 13px;
}
.hp-preview-rows span { color: var(--muted); }
.hp-preview-rows b { font-weight: 500; }
.hp-preview-rows b.ok { color: var(--ok); }
.hp-preview-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(129, 140, 248, .22);
  border-radius: 10px;
  background: rgba(129, 140, 248, .1);
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 600;
}

.hp-section { padding: 56px 0; }
.hp-section-head { max-width: 620px; margin-bottom: 28px; }
h2 {
  margin: 10px 0 0;
  font-family: Geist, Inter, sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.hp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.hp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(129, 140, 248, .12);
  color: var(--accent-2);
  font-size: 18px;
}
.hp-card h3 { margin: 14px 0 6px; font-size: 16px; letter-spacing: -.01em; }
.hp-card p { margin: 0; color: var(--muted); font-size: 14px; }

.hp-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 32px auto 64px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(129, 140, 248, .14), rgba(103, 232, 249, .06));
}
.hp-cta h2 { margin: 0 0 6px; font-size: 24px; }
.hp-cta p { margin: 0; color: var(--muted); font-size: 14px; }

.hp-footer { border-top: 1px solid var(--border); padding: 26px 0; color: var(--muted); font-size: 13px; }
.hp-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.hp-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.hp-footer a:hover { color: var(--text); }
.hp-footer .hp-brand img { width: 26px; height: 26px; border-radius: 7px; }

@media (max-width: 900px) {
  .hp-hero { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; }
  .hp-features { grid-template-columns: 1fr; }
  .hp-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .hp-header-inner { min-height: 62px; }
  .hp-nav { display: none; }
  .hp-hero { padding: 44px 0 40px; }
  .hp-preview-grid { grid-template-columns: 1fr; }
  .hp-footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ----------------------------- Pages vitrine ----------------------------- */
.hp-nav a.active { color: var(--text); }
code {
  padding: 1px 6px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, .06);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .92em;
}

.hp-page-head { max-width: 780px; padding: 64px 0 22px; }
.hp-page-head h1 { margin: 14px 0 10px; }
.hp-page-lead { max-width: 62ch; margin: 0; color: var(--muted); font-size: 16px; }

.hp-promos { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 8px auto 24px; }
.hp-promos-title { color: var(--accent-2); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hp-promo {
  padding: 7px 11px;
  border: 1px solid rgba(129, 140, 248, .25);
  border-radius: 999px;
  background: rgba(129, 140, 248, .08);
  font-size: 12px;
}
.hp-promo b { margin-right: 6px; color: var(--accent-2); }

.hp-billing {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.hp-billing-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.hp-billing-option.active { background: rgba(129, 140, 248, .16); color: var(--text); }
.hp-billing-badge {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(52, 211, 153, .12);
  color: var(--ok);
  font-size: 10px;
  font-weight: 700;
}
.hp-note { margin: 12px 0 26px; color: var(--muted); font-size: 12px; }
.hp-note.center { margin: 18px auto 0; text-align: center; }
.hp-note a { color: var(--accent-2); }

.hp-plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: stretch; }
.hp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--card);
}
.hp-plan.featured {
  border-color: rgba(129, 140, 248, .45);
  background: linear-gradient(180deg, rgba(129, 140, 248, .1), var(--card) 42%);
  box-shadow: 0 20px 60px rgba(109, 120, 240, .15);
}
.hp-plan.free { background: rgba(255, 255, 255, .02); }
.hp-plan-badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(129, 140, 248, .16);
  color: var(--accent-2);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hp-plan h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -.02em; }
.hp-plan-tagline { min-height: 38px; margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.hp-plan-price {
  font-family: Geist, Inter, sans-serif;
  font-size: 34px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -.04em;
}
.hp-plan-sub { margin-top: 6px; color: var(--muted); font-size: 12px; }
.hp-plan-features { display: grid; gap: 8px; margin: 18px 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.hp-plan-features li { display: flex; gap: 8px; }
.hp-plan-features li::before { content: "✓"; flex: none; color: var(--ok); }
.hp-plan .hp-btn { margin-top: auto; }
.hp-btn.full { width: 100%; }

.hp-table-wrap { overflow: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.hp-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
.hp-table th, .hp-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.hp-table th { background: rgba(255, 255, 255, .03); font-weight: 600; }
.hp-table td.center, .hp-table th.center { text-align: center; }
.hp-table tr:last-child td { border-bottom: 0; }
.hp-table .hp-group td {
  background: rgba(129, 140, 248, .06);
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.hp-yes { color: var(--ok); font-weight: 700; }
.hp-no { color: #5b5b68; }

.hp-faq { display: grid; gap: 10px; max-width: 820px; }
.hp-faq details { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.hp-faq summary { cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.hp-faq summary::-webkit-details-marker { display: none; }
.hp-faq summary::after { float: right; content: "+"; color: var(--muted); }
.hp-faq details[open] summary::after { content: "−"; }
.hp-faq p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }

.hp-commands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hp-command {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
}
.hp-command .hp-icon { width: 34px; height: 34px; font-size: 16px; }
.hp-command b { display: block; font-size: 14px; }
.hp-command small { color: var(--muted); font-size: 12px; }

@media (max-width: 1000px) {
  .hp-plans { grid-template-columns: repeat(2, 1fr); }
  .hp-commands { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .hp-plans { grid-template-columns: 1fr; }
  .hp-commands { grid-template-columns: 1fr; }
  .hp-page-head { padding-top: 44px; }
}

/* --------------------------- Catalogue & FAQ ---------------------------- */
.hp-catalog { padding: 0 0 48px; }
.hp-toolbar { display: grid; gap: 14px; margin: 8px 0 28px; }
.hp-search {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  outline: none;
}
.hp-search:focus { border-color: rgba(129, 140, 248, .5); box-shadow: 0 0 0 3px rgba(129, 140, 248, .12); }
.hp-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-btn {
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.pill-btn:hover { color: var(--text); }
.pill-btn.active { border-color: rgba(129, 140, 248, .4); background: rgba(129, 140, 248, .16); color: var(--text); }

.command-group { margin: 0 0 34px; }
.command-group > h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: Geist, Inter, sans-serif;
  font-size: 20px;
  letter-spacing: -.02em;
}
.command-group > h2 small { color: var(--muted); font-size: 12px; font-weight: 500; }
.command-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.command-card { padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.command-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.command-card code { color: var(--accent-2); font-weight: 600; }
.command-card p { margin: 8px 0 4px; color: var(--muted); font-size: 13px; }
.command-card small { color: #77778a; font-size: 12px; }
.copy-btn {
  flex: none;
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, .03);
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.copy-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
#noResults { margin: 20px 0; text-align: center; color: var(--muted); }
.hp-faq-block { margin-bottom: 28px; }
.hp-faq-block h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }

@media (max-width: 720px) {
  .command-grid { grid-template-columns: 1fr; }
}

/* ------------------------------- Checkout -------------------------------- */
.hp-checkout { max-width: 980px; padding: 54px 0 76px; }
.hp-checkout-head { max-width: 720px; margin: 0 auto 28px; padding: 0; text-align: center; }
.hp-checkout-head h1 { margin: 12px 0 10px; font-size: clamp(32px, 4.4vw, 48px); }
.hp-checkout-head .hp-page-lead { margin: 0 auto; }
.hp-center { text-align: center; }
.hp-muted { color: var(--muted); font-size: 14px; }
.hp-ok { color: var(--ok); }
.hp-note-link { color: var(--accent-2); font-size: 13px; }
.hp-note-link:hover { color: var(--text); }
.hp-checkout-switch { display: grid; justify-items: center; margin-bottom: 6px; }
.hp-checkout .hp-billing-option { flex-direction: column; align-items: flex-start; gap: 1px; min-width: 120px; }
.hp-checkout .hp-billing-option small { color: var(--muted); font-size: 11px; font-weight: 500; }
.hp-checkout .hp-billing-option.active small { color: var(--accent-2); }
.hp-promo-form { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: center; gap: 8px; max-width: 620px; margin: 0 auto 18px; }
.hp-promo-form label { width: 100%; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.hp-input { width: min(100%, 330px); min-height: 40px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text); font: inherit; font-size: 14px; }
.hp-input:focus { outline: 0; border-color: rgba(129, 140, 248, .55); }
.hp-notice { display: flex; align-items: flex-start; gap: 12px; max-width: 760px; margin: 0 auto 16px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); font-size: 13px; }
.hp-notice b { display: block; margin-bottom: 2px; }
.hp-notice p { margin: 0; color: var(--muted); }
.hp-notice.warn { border-color: rgba(251, 191, 36, .32); background: rgba(251, 191, 36, .06); }
.hp-notice.ok { border-color: rgba(52, 211, 153, .32); background: rgba(52, 211, 153, .06); }
.hp-checkout-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; align-items: start; margin-top: 24px; }
.hp-checkout-card { padding: 24px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); }
.hp-checkout-pay { background: linear-gradient(180deg, rgba(129, 140, 248, .11), var(--card) 48%); }
.hp-checkout-title { margin: 0 0 16px; font-family: Geist, Inter, sans-serif; font-size: 20px; font-weight: 650; letter-spacing: -.025em; }
.hp-summary-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 13.5px; }
.hp-summary-line b { color: var(--text); font-weight: 500; text-align: right; }
.hp-summary-total { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 8px; padding: 16px 0 4px; font-size: 14px; color: var(--muted); }
.hp-summary-total strong { color: var(--text); font-family: Geist, Inter, sans-serif; font-size: 28px; font-weight: 650; letter-spacing: -.04em; }
.hp-check-list { display: grid; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; }
.hp-check-list li { display: flex; gap: 8px; }
.hp-check-list li::before { content: "✓"; flex: none; color: var(--ok); }
.hp-checkout-pay form { margin-top: 18px; }
.hp-checkout-pay .hp-note { margin-top: 14px; }
.hp-btn-full { width: 100%; }
.hp-paypal-mark { display: inline-flex; align-items: baseline; margin-bottom: 10px; font-family: Geist, Inter, sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.04em; }
.hp-paypal-mark span { color: #60a5fa; }
.hp-paypal-mark b { color: #93c5fd; }
@media (max-width: 820px) {
  .hp-checkout-grid { grid-template-columns: 1fr; }
  .hp-checkout { padding-top: 38px; }
}

/* ------------------------------ Accès refusé ----------------------------- */
.hp-access { max-width: 680px; padding: 64px 0 80px; }
.hp-access-card { text-align: center; }
.hp-access-card h1 { margin: 12px 0 12px; font-family: Geist, Inter, sans-serif; font-size: clamp(30px, 4vw, 42px); font-weight: 650; line-height: 1.1; letter-spacing: -.035em; }
.hp-access-card .hp-page-lead { margin: 0 auto; text-align: center; }
.hp-access-card .hp-notice { margin: 22px auto 0; text-align: left; }
.hp-access-card .hp-note { margin: 16px auto 0; max-width: 520px; }
.hp-access-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.hp-access-actions form { display: inline-flex; }




