/* Lexova — feuille de style commune au site */

:root {
  --ink: #0b0c0f;
  --strong: #16181d;
  --text: #3d4653;
  --muted: #667085;
  --line: #e6e8f0;
  --line-2: #d9ddef;
  --tint: #f5f7fd;
  --soft: #eef0fe;
  --soft-2: #e3e6fd;
  --accent: #4f46e5;
  --accent-600: #4338ca;
  --accent-700: #3730a3;
  --deep: #1e1b4b;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.62;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: var(--accent-600); text-underline-offset: 3px; }
a:hover { color: var(--accent-700); }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow > *, .wrap.prose > * { max-width: 760px; }

/* — en-tête — */

header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 17.5px; color: var(--strong);
  letter-spacing: -.025em; text-decoration: none;
}
.brand svg { color: var(--accent); }
.bar nav { display: flex; align-items: center; gap: 6px; }
.bar nav a:not(.btn) {
  padding: 7px 12px; border-radius: 8px;
  font-size: 14.5px; color: var(--muted); text-decoration: none;
  transition: background .14s var(--ease), color .14s var(--ease);
}
.bar nav a:not(.btn):hover { background: var(--tint); color: var(--strong); }
.bar nav a.on:not(.btn) { background: var(--soft); color: var(--accent-700); font-weight: 500; }
.bar nav a.btn, .bar nav a.btn:hover { color: #fff; }
.bar .btn { padding: 9px 15px; font-size: 14px; }

/* — boutons — */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px;
  font: inherit; font-size: 15.5px; font-weight: 600; color: #fff;
  background: var(--accent); border: 0; border-radius: 11px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  box-shadow: 0 1px 2px rgba(30, 27, 75, .18), 0 8px 20px -8px rgba(79, 70, 229, .5);
  transition: background .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { background: var(--accent-600); color: #fff; transform: translateY(-1px); box-shadow: 0 2px 4px rgba(30, 27, 75, .2), 0 14px 26px -10px rgba(79, 70, 229, .55); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

.btn.ghost { background: #fff; color: var(--strong); border: 1px solid var(--line-2); box-shadow: none; }
.btn.ghost:hover { background: var(--tint); color: var(--strong); border-color: #c7cdea; }

.btn.light { background: #fff; color: var(--accent-700); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .5); }
.btn.light:hover { background: #f3f4ff; color: var(--accent-700); }

.btn.wide { width: 100%; }

.fine { font-size: 13px; color: var(--muted); }

/* — titraille — */

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 8px; border-radius: 999px;
  background: var(--soft); color: var(--accent-700);
  font-size: 12.5px; font-weight: 600; letter-spacing: -.005em;
}
.eyebrow .pip { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 4.6vw, 54px); line-height: 1.06; font-weight: 600;
  letter-spacing: -.037em; color: var(--strong); text-wrap: balance;
}
h2 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 600;
  letter-spacing: -.032em; color: var(--strong); text-wrap: balance;
}
h3 { margin: 0 0 7px; font-size: 17px; font-weight: 600; letter-spacing: -.018em; color: var(--strong); }

.lede { font-size: 18.5px; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.sub { color: var(--muted); margin: 0 0 36px; max-width: 44em; font-size: 16.5px; }

/* — sections — */

section { padding: 74px 0; }
section.tinted { background: var(--tint); border-block: 1px solid var(--line); }
section.hairline { border-top: 1px solid var(--line); }

/* — grilles et cartes — */

.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.g2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.g4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

.card {
  padding: 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .16s var(--ease), transform .16s var(--ease), box-shadow .16s var(--ease);
}
.card p { margin: 0; font-size: 14.8px; color: var(--muted); }
.card:hover { border-color: #c7cdea; transform: translateY(-2px); box-shadow: 0 16px 34px -20px rgba(30, 27, 75, .3); }
.card.flat:hover { transform: none; box-shadow: none; }

.ic {
  width: 38px; height: 38px; margin-bottom: 14px;
  display: grid; place-items: center; border-radius: 11px;
  background: var(--soft); color: var(--accent-600);
}
.ic.deep { background: rgba(255, 255, 255, .12); color: #c7d2fe; }

/* — bandeau de réassurance — */

.strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
}
.strip div { background: #fff; padding: 16px 18px; }
.strip b { display: block; font-size: 14px; color: var(--strong); font-weight: 600; }
.strip span { font-size: 13px; color: var(--muted); }

/* — étapes numérotées — */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step { position: relative; padding-top: 44px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: 0; left: 0;
  width: 30px; height: 30px; display: grid; place-items: center;
  border-radius: 50%; background: var(--accent); color: #fff;
  font-size: 14px; font-weight: 600;
}
.step h3 { margin-bottom: 5px; }
.step p { margin: 0; font-size: 14.8px; color: var(--muted); }

/* — bandeau profond — */

.band { background: var(--deep); color: #c7d2fe; padding: 66px 0; }
.band h2 { color: #fff; }
.band .sub { color: #a5b4fc; }
.band .chip { border-color: rgba(199, 210, 254, .28); color: #e0e7ff; background: rgba(255, 255, 255, .06); }
.band .fine { color: #a5b4fc; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 13.5px; color: var(--text); background: #fff;
}

/* — maquette de navigateur — */

.mock {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: 0 30px 60px -28px rgba(30, 27, 75, .38);
}
.mock-bar { display: flex; align-items: center; gap: 8px; padding: 11px 13px; background: var(--tint); border-bottom: 1px solid var(--line); }
.mock-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #cfd5e8; }
.mock-url { flex: 1; font-size: 11.5px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 5px 10px; }
.mock-body { display: grid; grid-template-columns: 182px 1fr; min-height: 268px; }
.mock-panel { border-right: 1px solid var(--line); padding: 14px; background: #fff; }
.mock-page { padding: 22px; position: relative; background: #fff; }

.p-head { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--strong); letter-spacing: -.015em; }
.p-head svg { color: var(--accent); }
.p-you { margin-top: 13px; background: var(--tint); border-radius: 10px; padding: 9px 11px; font-size: 11.8px; line-height: 1.5; color: var(--text); }
.p-ai { margin-top: 11px; font-size: 11.8px; line-height: 1.55; color: var(--text); }
.p-ai b { color: var(--strong); }
.p-file {
  display: flex; align-items: center; gap: 7px; margin-top: 7px;
  padding: 7px 9px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 11px; color: var(--text); background: #fff;
}
.p-file svg { color: var(--accent); flex: none; }

.sk { height: 9px; border-radius: 4px; background: #eef0f6; margin-bottom: 11px; }
.sk.dark { background: #dfe3ee; }
.field {
  height: 36px; max-width: 200px; margin-top: 18px; position: relative;
  border: 1px solid var(--line-2); border-radius: 8px; background: #fff;
}
.halo { position: absolute; inset: -6px; border: 2px solid var(--accent); border-radius: 11px; animation: halo 1.7s ease-in-out infinite; }
@keyframes halo {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79, 70, 229, .16), 0 0 18px rgba(79, 70, 229, .26); }
  50% { box-shadow: 0 0 0 10px rgba(79, 70, 229, .1), 0 0 38px rgba(79, 70, 229, .46); }
}

/* — rangées fonction + visuel — */

.feature { display: grid; grid-template-columns: 1fr 1.08fr; gap: 54px; align-items: center; }
.feature.flip .feature-txt { order: 2; }
.feature ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.feature li { display: flex; gap: 10px; font-size: 15px; }
.feature li svg { flex: none; margin-top: 5px; color: var(--accent); }

/* — journal d'étapes (maquette itinéraire) — */

.jsteps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; }
.jstep { display: flex; align-items: flex-start; gap: 8px; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
.jnum {
  width: 16px; height: 16px; flex: none; margin-top: 1px; display: grid; place-items: center;
  border-radius: 50%; background: #fff; border: 1px solid var(--line-2);
  font-size: 9.5px; font-weight: 600; color: var(--muted);
}
.jstep.now { color: var(--strong); font-weight: 500; }
.jstep.now .jnum { background: var(--accent); border-color: var(--accent); color: #fff; }
.jstep.done { color: #9aa1ac; }
.jstep.done .jnum { border-color: #c3c0f8; color: var(--accent); }
.jstep.done span:last-child { text-decoration: line-through; text-decoration-color: rgba(154, 161, 172, .55); }

/* — tarifs — */

.plans { display: grid; grid-template-columns: 1fr 1.12fr; gap: 24px; align-items: start; }
.plan { padding: 30px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.plan.hero {
  border-color: #c3c8f7; background: linear-gradient(180deg, var(--soft) 0%, #fff 62%);
  box-shadow: 0 26px 54px -30px rgba(79, 70, 229, .45);
}
.plan .tag { font-size: 13px; font-weight: 600; color: var(--accent-700); letter-spacing: -.01em; }
.amount { margin-top: 10px; font-size: 46px; font-weight: 600; color: var(--strong); letter-spacing: -.04em; line-height: 1; }
.amount span { font-size: 16.5px; font-weight: 500; color: var(--muted); letter-spacing: -.01em; }
.plan .note { margin: 10px 0 0; font-size: 14.5px; color: var(--muted); }

ul.checks { list-style: none; margin: 22px 0 24px; padding: 0; display: grid; gap: 11px; font-size: 15px; }
ul.checks li { display: flex; gap: 10px; align-items: flex-start; }
ul.checks svg { flex: none; margin-top: 5px; color: var(--accent); }
ul.checks li.no { color: var(--muted); }
ul.checks li.no svg { color: #b6bccd; }

/* — questions — */

.faq { max-width: 800px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; color: var(--strong); font-size: 16px; letter-spacing: -.015em; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-weight: 500; font-size: 19px; line-height: 1; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin: 11px 0 0; font-size: 15px; color: var(--muted); max-width: 68ch; }

/* — pages de texte (sécurité, légal) — */

.prose h1 { margin-bottom: 10px; }
.prose h2 {
  margin: 42px 0 12px;
  font-size: 21px; letter-spacing: -.022em;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.prose h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 30px; }
.prose h3 { margin: 24px 0 6px; font-size: 16.5px; }
.prose p { margin: 0 0 14px; font-size: 15.5px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 7px; }
.prose li { font-size: 15.5px; }
.prose li::marker { color: var(--accent); }
.prose .meta { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }

.prose .todo {
  padding: 14px 16px; margin: 0 0 30px;
  background: var(--soft); border: 1px solid #c9cdf8; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--deep);
}
.prose .todo b { color: var(--accent-700); }

.prose table {
  width: 100%; margin: 0 0 18px; border-collapse: collapse;
  border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden;
}
.prose th {
  text-align: left; padding: 11px 14px; background: var(--tint);
  font-size: 13.5px; font-weight: 600; color: var(--strong);
  border-bottom: 1px solid var(--line);
}
.prose td {
  padding: 12px 14px; font-size: 14.5px; color: var(--text);
  border-bottom: 1px solid var(--line); vertical-align: top;
}
.prose tr:last-child td { border-bottom: 0; }
.prose th + th, .prose td + td { border-left: 1px solid var(--line); }

/* — pages centrées (compte, activation) — */

body.centered {
  min-height: 100vh; display: grid; place-items: center; padding: 32px;
  background: var(--tint);
}
body.centered .card {
  width: 100%; max-width: 470px; padding: 34px;
  border-radius: var(--r-lg); box-shadow: 0 22px 52px -26px rgba(30, 27, 75, .3);
}
body.centered .card:hover { transform: none; box-shadow: 0 22px 52px -26px rgba(30, 27, 75, .3); border-color: var(--line); }
body.centered h1 { font-size: 26px; margin: 20px 0 8px; }
body.centered p { margin: 0 0 18px; font-size: 15px; color: var(--muted); }

label { display: block; font-size: 13px; font-weight: 600; color: var(--strong); margin-bottom: 7px; }
input[type="email"], input[type="text"] {
  width: 100%; padding: 12px 13px;
  font: inherit; font-size: 15px; color: var(--strong);
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--r-sm); outline: none;
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
}
input[type="email"]:focus, input[type="text"]:focus {
  border-color: #a5b4fc; box-shadow: 0 0 0 3px rgba(79, 70, 229, .13);
}

.msg { margin-top: 16px; padding: 11px 13px; border-radius: var(--r-sm); font-size: 13.5px; background: var(--tint); color: var(--muted); }
.msg.ok { background: #ecfdf3; color: #05603a; }
.msg.err { background: #fef3f2; color: #b42318; }

.steplist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.steplist[hidden] { display: none; }
.steplist li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px; }
.steplist .n {
  width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%;
  background: var(--soft); color: var(--accent-700); font-size: 12px; font-weight: 600;
}
.spin {
  width: 14px; height: 14px; flex: none; border-radius: 50%;
  border: 1.8px solid rgba(79, 70, 229, .25); border-top-color: var(--accent);
  animation: sp .7s linear infinite;
}
@keyframes sp { to { transform: rotate(360deg); } }

code { background: var(--tint); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; font-size: 13px; }

/* — appel final — */

.final { text-align: center; padding: 78px 0; background: var(--tint); border-top: 1px solid var(--line); }
.final h2 { margin-bottom: 10px; }
.final .sub { margin: 0 auto 28px; }
.final .row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* — pied — */

footer.site { padding: 40px 0 52px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
footer.site .row { display: flex; justify-content: space-between; gap: 22px; flex-wrap: wrap; align-items: center; }
footer.site nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--strong); }

/* — adaptatif — */

@media (max-width: 940px) {
  .hero-grid, .feature, .plans, .g2 { grid-template-columns: 1fr !important; gap: 34px; }
  .feature.flip .feature-txt { order: 0; }
  .g3, .steps { grid-template-columns: 1fr; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  section { padding: 56px 0; }
  .bar nav a:not(.cta-nav) { display: none; }
}
@media (max-width: 560px) {
  .g4, .strip { grid-template-columns: 1fr; }
  .mock-body { grid-template-columns: 1fr; }
  .mock-panel { border-right: 0; border-bottom: 1px solid var(--line); }
}
