:root {
  --navy: #0b1b3a;
  --navy-2: #12285a;
  --blue: #2f7bff;
  --violet: #7a4dff;
  --green: #18c29c;
  --text: #1b2745;
  --muted: #5b6b8c;
  --bg: #ffffff;
  --bg-alt: #f5f8ff;
  --border: #e3e9f6;
  --radius: 16px;
  --shadow: 0 10px 40px rgba(11, 27, 58, .10);
  --grad: linear-gradient(120deg, #2f7bff, #7a4dff);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.container--narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 12px; font-weight: 600; font-size: .95rem;
  border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
  transition: transform .15s, box-shadow .2s, background .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--lg { padding: 14px 26px; font-size: 1rem; }
.btn--primary { background: var(--grad); color: #fff; box-shadow: 0 8px 24px rgba(47, 123, 255, .35); }
.btn--primary:hover { box-shadow: 0 12px 30px rgba(47, 123, 255, .45); }
.btn--outline { border-color: var(--border); background: #fff; color: var(--navy); }
.btn--outline:hover { border-color: var(--blue); }
.btn--ghost { color: var(--navy); }
.btn--ghost:hover { background: var(--bg-alt); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-color: var(--border); box-shadow: 0 4px 20px rgba(11, 27, 58, .05); }
.header__inner.container { width: min(1360px, 100% - 40px); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--navy); letter-spacing: -.02em; }
.brand--light { color: #fff; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav .btn { white-space: nowrap; }
.nav > a:not(.btn) { padding: 8px 8px; font-size: .88rem; font-weight: 500; color: var(--muted); border-radius: 8px; transition: color .2s; }
.nav > a:not(.btn):hover { color: var(--navy); }
.nav__login { margin-left: 4px; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .25s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: linear-gradient(180deg, #f3f7ff 0%, #fff 100%); }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, rgba(122, 77, 255, .18), transparent 65%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--border); background: #fff; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--navy-2); box-shadow: 0 2px 10px rgba(11, 27, 58, .05); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(24, 194, 156, .2); }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; margin: 20px 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 24px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.hero__checks li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 6px; }

.hero__visual { position: relative; }
.window { background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.window__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--border); background: #fafcff; font-size: .75rem; color: var(--muted); font-weight: 500; }
.window__bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7dff0; }
.window__bar span { margin-left: 10px; }
.flow { display: block; width: 100%; background-image: radial-gradient(#dfe6f5 1px, transparent 1px); background-size: 18px 18px; }
.float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow); font-size: .82rem; font-weight: 600; color: var(--navy); animation: bob 6s ease-in-out infinite; }
.float b { font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.float span { color: var(--muted); font-weight: 500; }
.float .ok { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; }
.float .bar { display: block; width: 90px; height: 8px; background: #e8eefb; border-radius: 8px; overflow: hidden; }
.float .bar i { display: block; height: 100%; background: var(--grad); border-radius: 8px; }
.float--a { top: -18px; right: -10px; }
.float--b { bottom: 70px; right: -24px; animation-delay: -2s; }
.float--c { bottom: -20px; right: 30px; animation-delay: -4s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Trust */
.trust { padding: 32px 0; border-block: 1px solid var(--border); background: #fff; text-align: center; }
.trust p { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 700; color: #8a98b8; font-size: 1.05rem; }

/* Sections */
.section { padding: 100px 0; }
.section--tight { padding: 90px 0 70px; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: radial-gradient(circle at 80% 0%, #1d3c8a 0%, var(--navy) 55%); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section__head h2, .split h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
.section__head .muted { margin-top: 16px; font-size: 1.08rem; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--blue); }
.eyebrow--light { color: #8fb5ff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split .muted { margin-top: 18px; font-size: 1.08rem; }

/* Compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border-radius: var(--radius); padding: 26px; border: 1px solid var(--border); }
.compare__col h3 { font-size: 1.05rem; margin-bottom: 14px; }
.compare__col li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; }
.compare__col li::before { position: absolute; left: 0; font-weight: 800; }
.compare__col--bad { background: #fff7f7; border-color: #f6d9d9; }
.compare__col--bad li::before { content: "✕"; color: #e5484d; }
.compare__col--good { background: #f2fcf9; border-color: #c9eee4; }
.compare__col--good li::before { content: "✓"; color: var(--green); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #c8d7f7; }
.card h3 { font-size: 1.15rem; margin: 18px 0 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.icon { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47, 123, 255, .12), rgba(122, 77, 255, .14)); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, #c8d7f7 0 8px, transparent 8px 16px); }
.step { text-align: center; position: relative; }
.step__n { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; font-size: 1.3rem; box-shadow: 0 8px 24px rgba(47, 123, 255, .35); position: relative; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); max-width: 300px; margin: 0 auto; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.tabs button { background: rgba(255, 255, 255, .08); color: #cfdcff; border: 1px solid rgba(255, 255, 255, .15); padding: 10px 24px; border-radius: 999px; font-family: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; transition: background .2s, color .2s; }
.tabs button:hover { background: rgba(255, 255, 255, .16); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--navy); border-color: #fff; }
.tabpanel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; max-width: 900px; margin: 0 auto; padding: 40px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.tabpanel[hidden] { display: none; }
.tabpanel h3 { font-size: 1.5rem; margin-bottom: 12px; }
.tabpanel p { color: #cfdcff; }
.tabpanel li { padding: 8px 0 8px 28px; position: relative; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tabpanel li:last-child { border: 0; }
.tabpanel li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); background: #fff; }
.benefit b { display: block; font-size: 1.6rem; font-weight: 800; margin-bottom: 8px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.benefit p { color: var(--muted); font-size: .95rem; }

/* Security */
.secure { display: grid; gap: 14px; }
.secure li { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; border-left: 4px solid var(--blue); }
.secure b { display: block; color: var(--navy); margin-bottom: 2px; }
.secure span { color: var(--muted); font-size: .93rem; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 36px 30px; border-radius: 20px; border: 1px solid var(--border); background: #fff; }
.plan h3 { font-size: 1.2rem; }
.plan__price { font-size: 2rem; font-weight: 800; color: var(--navy); letter-spacing: -.02em; }
.plan ul { flex: 1; margin: 6px 0 12px; }
.plan li { padding: 7px 0 7px 26px; position: relative; font-size: .95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.plan--featured { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); transform: translateY(-10px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .75rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: #b9ccf5; }
.faq summary { cursor: pointer; padding: 20px 28px 20px 0; font-weight: 600; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--blue); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* CTA */
.cta { background: radial-gradient(circle at 15% 0%, #2f58c7 0%, var(--navy) 60%); color: #fff; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 800; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta p { color: #cfdcff; margin-top: 16px; font-size: 1.08rem; }
.cta__list { margin-top: 24px; display: grid; gap: 8px; }
.cta__list li { color: #fff; font-weight: 500; }
.cta__list li::before { content: "✓"; color: var(--green); font-weight: 800; margin-right: 10px; }
.form { background: #fff; color: var(--text); border-radius: 20px; padding: 32px; display: grid; gap: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.form label { display: grid; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.form input, .form textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: #fbfcff; color: var(--text); transition: border-color .2s, box-shadow .2s; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 123, 255, .15); }
.form input[aria-invalid="true"] { border-color: #e5484d; }
.form__msg { display: block; margin: 0; color: var(--green) !important; font-weight: 600; font-size: .9rem !important; min-height: 1.2em; }
.form__msg.is-error { color: #e5484d !important; }

/* Footer */
.footer { background: #07122a; color: #9fb0d4; padding: 56px 0 32px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.footer p { margin-top: 12px; font-size: .92rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: flex-end; align-items: flex-start; }
.footer nav a:hover, .footer__legal a:hover { color: #fff; }
.footer__legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .83rem !important; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .split, .cta__grid, .tabpanel { grid-template-columns: 1fr; }
  .hero__grid { gap: 64px; }
  .window { transform: none; }
  .cards, .pricing { grid-template-columns: 1fr 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .split, .cta__grid { gap: 40px; }
}
@media (max-width: 1220px) {
  .burger { display: flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--border); box-shadow: 0 20px 30px rgba(11, 27, 58, .08);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav > a:not(.btn) { padding: 14px 4px; }
  .nav .btn { margin: 8px 0 0; }
}
@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .hero { padding: 48px 0 72px; }
  .cards, .pricing, .benefits, .compare { grid-template-columns: 1fr; }
  .float--b { left: 0; }
  .float--a { right: 0; }
  .tabpanel { padding: 26px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer nav { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sélecteur de langue (liste déroulante : prête pour de nouvelles langues) */
.header__inner .brand { margin-right: auto; }
.lang { position: relative; margin-left: 12px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.lang summary { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--navy); cursor: pointer; list-style: none; line-height: 1.2; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.lang[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.lang summary:hover { background: var(--bg-alt); }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 76px; display: flex; flex-direction: column; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(11, 27, 58, .12); }
.lang__menu a, .lang__cur { padding: 8px 12px; border-radius: 8px; line-height: 1.2; }
.lang__menu a { color: var(--muted); transition: color .2s, background .2s; }
.lang__menu a:hover { color: var(--navy); background: var(--bg-alt); }
.lang__cur { background: var(--navy); color: #fff; }
@media (max-width: 1220px) {
  .lang { margin-right: 4px; }
  .lang summary { padding: 9px 13px; }
}

/* Choix d'une offre */
.plan__price small { font-size: .95rem; font-weight: 600; color: var(--muted, #5b6785); }
.plan .btn { align-self: stretch; text-align: center; cursor: pointer; }
#plan-banner { text-align: center; margin: 0 0 24px; font-size: 1rem !important; }
#plan-banner[hidden] { display: none; }
