:root{
  --bg:#2B2640;
  --bg-soft:#332C4D;
  --panel:#3A3358;
  --panel-2:#423A63;
  --violet:#9B8AFB;
  --violet-dark:#7C6FF0;
  --violet-dim:rgba(155,138,251,0.20);
  --text:#F5F3FA;
  --muted:#B6AECF;
  --line:rgba(245,243,250,0.12);
  --line-strong:rgba(245,243,250,0.22);
  --green:#4ADE80;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{ margin:0; background:var(--bg); color:var(--text); font-family:'Inter',sans-serif; line-height:1.6; -webkit-font-smoothing:antialiased; }
h1,h2,h3{ font-family:'Space Grotesk',sans-serif; font-weight:700; letter-spacing:-0.01em; margin:0; color:#fff; }
.mono{ font-family:'IBM Plex Mono',monospace; }
.wrap{ max-width:1140px; margin:0 auto; padding:0 24px; }
a{ color:inherit; text-decoration:none; }
button{ font-family:'Inter'; }

.logo{ display:flex; align-items:center; gap:10px; }
.shield{ width:34px; height:34px; border-radius:9px; background:var(--violet); display:flex; align-items:center; justify-content:center; flex:none; box-shadow:0 6px 16px rgba(155,138,251,0.3); }
.shield svg{ width:17px; height:17px; }
.logo-word{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:20px; letter-spacing:-0.01em; color:#fff; }

header{ background:rgba(43,38,64,0.9); backdrop-filter:blur(10px); position:sticky; top:0; z-index:60; border-bottom:1px solid var(--line); }
.nav{ display:flex; align-items:center; justify-content:space-between; padding:16px 24px; max-width:1140px; margin:0 auto; }
nav.links{ display:flex; gap:28px; font-size:14px; font-weight:600; color:var(--muted); }
nav.links a:hover{ color:#fff; }
nav.links a.active{ color:#fff; }
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:12px 22px; border-radius:9px; font-weight:700; font-size:14px; cursor:pointer; border:none; }
.btn.violet{ background:var(--violet); color:#211B38; box-shadow:0 6px 18px rgba(155,138,251,0.3); }
.btn.violet:hover{ background:#B3A5FC; }
.btn.outline{ background:transparent; color:#fff; border:1.5px solid var(--line-strong); }
.btn.outline:hover{ border-color:var(--violet); }
.btn.block{ width:100%; }

.hero{ padding:60px 24px 70px; background:radial-gradient(90% 70% at 15% 0%, var(--bg-soft), var(--bg) 65%); }
.hero-grid{ max-width:1140px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.badge{ display:inline-flex; align-items:center; gap:8px; background:var(--violet-dim); border:1px solid rgba(155,138,251,0.4); color:#D7CDFE; padding:7px 14px; border-radius:100px; font-size:12px; font-weight:700; font-family:'IBM Plex Mono'; letter-spacing:.04em; text-transform:uppercase; }
.hero h1{ font-size:clamp(34px,4.4vw,52px); line-height:1.06; margin-top:18px; }
.hero h1 em{ font-style:normal; color:var(--violet); }
.hero p.lede{ color:var(--muted); font-size:16px; margin-top:16px; max-width:460px; }

.trust-row{ display:flex; gap:26px; margin-top:30px; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:8px; font-size:13px; color:var(--muted); }
.trust-item svg{ width:16px; height:16px; flex:none; }

.req-card{ background:var(--panel); border:1px solid var(--line-strong); border-radius:16px; padding:24px; margin-top:30px; max-width:460px; }
.req-card .fc-head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:16px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.req-card .fc-head span{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--violet); text-transform:uppercase; letter-spacing:.08em; }
.req-row{ display:flex; align-items:center; gap:10px; border-bottom:1px solid var(--line); padding:13px 2px; }
.req-row:last-of-type{ border-bottom:none; }
.req-dot{ width:7px; height:7px; border-radius:2px; background:var(--violet); flex:none; }
.req-row select, .req-row input{ border:none; outline:none; font-size:15px; font-weight:500; width:100%; background:transparent; font-family:'Inter'; color:#fff; }
.req-row select option{ background:var(--panel); color:#fff; }
.req-row input::placeholder{ color:#8479A0; }
.req-card .btn{ width:100%; margin-top:16px; padding:14px; font-size:15px; }

.match-box{ display:none; margin-top:16px; }
.match-box.show{ display:block; }
.match-status{ display:flex; align-items:center; gap:10px; font-size:13.5px; font-weight:600; padding:6px 0; }
.spinner{ width:15px; height:15px; border-radius:50%; border:2.5px solid var(--line); border-top-color:var(--violet); animation:spin .7s linear infinite; flex:none; }
@keyframes spin{ to{ transform:rotate(360deg); } }
.pro-result{ display:none; border-top:1px solid var(--line); margin-top:14px; padding-top:14px; }
.pro-result.show{ display:block; }
.pro-row{ display:flex; align-items:center; gap:12px; padding:10px 0; }
.pro-avatar{ width:40px; height:40px; border-radius:50%; background:var(--panel-2); border:1px solid var(--line-strong); color:var(--violet); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:13px; flex:none; }
.pro-info b{ display:block; font-size:14px; color:#fff; }
.pro-info span{ font-size:12px; color:var(--muted); }
.pro-eta{ margin-left:auto; text-align:right; }
.pro-eta b{ display:block; font-size:13px; color:var(--green); }
.pro-eta span{ font-size:10.5px; color:var(--muted); }

.cert-card{ background:var(--panel); border:1px solid var(--line-strong); border-radius:18px; padding:34px; position:relative; }
.cert-card .cert-top{ display:flex; justify-content:space-between; align-items:flex-start; border-bottom:1px solid var(--line); padding-bottom:18px; margin-bottom:18px; }
.cert-card .cert-top span{ font-family:'IBM Plex Mono'; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.06em; }
.cert-line{ display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid var(--line); }
.cert-line:last-child{ border-bottom:none; }
.cert-line b{ font-size:14px; color:#fff; font-weight:600; }
.cert-line span{ font-size:12.5px; color:var(--muted); }
.cert-check{ width:22px; height:22px; border-radius:50%; background:rgba(74,222,128,0.15); border:1px solid var(--green); display:flex; align-items:center; justify-content:center; flex:none; }
.cert-check svg{ width:11px; height:11px; }

.cat-strip-section{ padding:34px 24px; border-bottom:1px solid var(--line); }
.cat-strip{ display:flex; gap:10px; overflow-x:auto; padding-bottom:4px; flex-wrap:wrap; }
.cat-chip{ flex:none; display:flex; align-items:center; gap:8px; padding:11px 18px; border-radius:9px; border:1px solid var(--line-strong); font-weight:600; font-size:13.5px; cursor:pointer; white-space:nowrap; color:var(--text); background:transparent; }
.cat-chip:hover, .cat-chip.active{ border-color:var(--violet); background:var(--violet-dim); }
.cat-chip .sw{ width:8px; height:8px; border-radius:2px; }

.section{ padding:76px 24px; }
.section-head{ max-width:560px; margin-bottom:36px; }
.eyebrow{ font-family:'IBM Plex Mono'; font-size:12px; font-weight:600; color:var(--violet); text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; }
.section-head h2{ font-size:30px; }
.section-head p{ color:var(--muted); font-size:15px; margin-top:10px; }

.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.step-card{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:28px; }
.step-card .sn{ width:32px; height:32px; border-radius:8px; background:var(--violet-dim); color:var(--violet); display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono'; font-size:12.5px; font-weight:600; }
.step-card h3{ font-size:18px; margin-top:16px; }
.step-card p{ font-size:14px; color:var(--muted); margin-top:8px; }

.pro-cta{ background:var(--panel); border:1px solid var(--line-strong); border-radius:18px; padding:48px; display:grid; grid-template-columns:1.1fr 0.9fr; gap:30px; align-items:center; }
.pro-cta h2{ font-size:28px; }
.pro-cta p{ color:var(--muted); font-size:15px; margin-top:12px; max-width:420px; }
.pro-list{ list-style:none; padding:0; margin:18px 0 0; }
.pro-list li{ font-size:14px; padding:10px 0; border-top:1px solid var(--line); display:flex; gap:10px; color:var(--text); }
.pro-list li:first-child{ border-top:none; }
.pro-list .tick{ color:var(--violet); font-weight:800; }

footer{ padding:36px 24px; border-top:1px solid var(--line); font-size:13px; color:var(--muted); }
footer .wrap{ display:flex; justify-content:space-between; align-items:flex-start; flex-wrap:wrap; gap:24px; }
.footer-links{ display:flex; gap:20px; flex-wrap:wrap; }
.footer-links a:hover{ color:#fff; }

.overlay{ position:fixed; inset:0; background:rgba(43,38,64,0.8); display:none; align-items:center; justify-content:center; z-index:100; padding:20px; }
.overlay.open{ display:flex; }
.modal{ background:var(--panel); border:1px solid var(--line-strong); border-radius:16px; max-width:440px; width:100%; padding:26px; max-height:90vh; overflow:auto; }
.modal-head{ display:flex; justify-content:space-between; align-items:flex-start; }
.modal h3{ font-size:20px; color:#fff; }
.modal .close{ background:none; border:none; font-size:18px; cursor:pointer; color:var(--muted); }
.modal .desc{ font-size:13px; color:var(--muted); margin:8px 0 18px; }
.field{ margin-bottom:14px; }
.field label{ display:block; font-family:'IBM Plex Mono'; font-size:11px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin-bottom:6px; }
.field input, .field select, .field textarea{ width:100%; padding:11px; border-radius:8px; border:1px solid var(--line-strong); font-family:'Inter'; font-size:14px; background:var(--panel-2); color:#fff; }
.field textarea{ resize:vertical; min-height:100px; }
.confirm{ display:none; background:rgba(74,222,128,0.14); border:1px solid var(--green); color:#B4F5CB; border-radius:10px; padding:14px; font-size:13px; margin-top:12px; }
.confirm.show{ display:block; }

/* ---- Pages secondaires : contenu texte, FAQ, légal ---- */
.page-head{ padding:56px 24px 20px; background:radial-gradient(90% 70% at 15% 0%, var(--bg-soft), var(--bg) 65%); }
.page-head .wrap{ max-width:820px; }
.page-head h1{ font-size:clamp(30px,4vw,42px); }
.page-head p{ color:var(--muted); margin-top:12px; font-size:15px; }

.prose{ max-width:760px; }
.prose h2{ font-size:20px; margin-top:36px; margin-bottom:12px; }
.prose h2:first-child{ margin-top:0; }
.prose p{ color:var(--muted); font-size:14.5px; margin:0 0 14px; }
.prose ul{ color:var(--muted); font-size:14.5px; padding-left:20px; margin:0 0 14px; }
.prose li{ margin-bottom:6px; }
.prose strong{ color:var(--text); }
.updated{ font-family:'IBM Plex Mono'; font-size:12px; color:var(--muted); margin-bottom:30px; display:inline-block; }

.faq-item{ border-bottom:1px solid var(--line); padding:20px 0; cursor:pointer; }
.faq-item:first-child{ padding-top:0; }
.faq-q{ display:flex; justify-content:space-between; align-items:center; gap:16px; font-family:'Space Grotesk'; font-weight:600; font-size:16px; color:#fff; }
.faq-q .plus{ font-family:'IBM Plex Mono'; font-size:18px; color:var(--violet); flex:none; transition:transform .15s; }
.faq-item.open .plus{ transform:rotate(45deg); }
.faq-a{ display:none; color:var(--muted); font-size:14.5px; margin-top:12px; max-width:640px; }
.faq-item.open .faq-a{ display:block; }

.contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:40px; align-items:start; }
.contact-info{ display:flex; flex-direction:column; gap:18px; }
.contact-info-item{ display:flex; gap:12px; align-items:flex-start; }
.contact-info-item svg{ width:18px; height:18px; flex:none; margin-top:2px; color:var(--violet); }
.contact-info-item b{ display:block; font-size:14px; color:#fff; }
.contact-info-item span{ font-size:13.5px; color:var(--muted); }

@media (max-width: 900px){
  nav.links{ display:none; }
  .hero-grid{ grid-template-columns:1fr; }
  .cert-card{ display:none; }
  .steps{ grid-template-columns:1fr; }
  .pro-cta{ grid-template-columns:1fr; padding:28px; }
  .trust-row{ row-gap:10px; }
  .contact-grid{ grid-template-columns:1fr; }
}
