:root{
  --bg:#020617;
  --text:#e5e7eb;
  --muted:rgba(229,231,235,.70);
  --muted2:rgba(148,163,184,.75);

  --emerald:#10b981;
  --emerald2:#34d399;

  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.045);
  --border:rgba(255,255,255,.10);
  --borderE:rgba(16,185,129,.22);

  --shadow:0 30px 90px rgba(0,0,0,.35);
  --shadowE:0 20px 60px rgba(16,185,129,.22);

  --r:26px;
  --max:1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(16,185,129,.18), transparent 60%),
    radial-gradient(700px 420px at 95% 10%, rgba(52,211,153,.12), transparent 58%),
    radial-gradient(900px 520px at 40% 110%, rgba(16,185,129,.10), transparent 60%),
    var(--bg);
  line-height:1.45;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px}
#diagnostic,#categories,#produits,#faq{scroll-margin-top:92px}

.skip{
  position:absolute; left:-9999px; top:10px;
  padding:10px 12px; border-radius:12px;
  border:1px solid var(--border);
  background:rgba(2,6,23,.8);
}
.skip:focus{left:10px}

/* Reveal */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .75s ease, transform .75s ease}
.reveal.show{opacity:1; transform:translateY(0)}
@media (prefers-reduced-motion: reduce){ .reveal{opacity:1; transform:none; transition:none} }

/* Nav glass */
.topbar{
  position:sticky; top:0; z-index:60;
  border-bottom:1px solid rgba(255,255,255,.08);
  background: rgba(2,6,23,.55);
  backdrop-filter: saturate(140%) blur(14px);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; font-weight:950; letter-spacing:-.02em}
.logo{
  width:40px; height:40px; border-radius:16px;
  display:grid; place-items:center;
  background:rgba(16,185,129,.14);
  border:1px solid rgba(52,211,153,.20);
  box-shadow:0 0 0 6px rgba(16,185,129,.07);
}
.logo.sm{width:34px; height:34px; border-radius:14px}

nav ul{list-style:none; margin:0; padding:0; display:none; gap:6px}
nav a{
  display:inline-flex; padding:10px 14px; border-radius:16px;
  color:rgba(229,231,235,.78); font-weight:800; font-size:14px;
}
nav a:hover{background:rgba(255,255,255,.06); color:#fff}

.actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:16px;
  font-weight:900; font-size:14px; white-space:nowrap;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  transition:.18s ease;
}
.btn:hover{transform:translateY(-1px); background:rgba(255,255,255,.07)}
.btn-emerald{
  background:var(--emerald);
  border-color:rgba(16,185,129,.35);
  color:#04110b;
  box-shadow:var(--shadowE);
}
.btn-emerald:hover{background:var(--emerald2)}
.btn-outline{
  background:rgba(2,6,23,.35);
  border-color:rgba(255,255,255,.12);
  color:#fff;
}
.btn-ghost{
  background:rgba(255,255,255,.04);
}
.full{width:100%}

@media (min-width: 900px){
  nav ul{display:flex}
}

/* Hero */
.hero{padding:22px 0 26px}
.heroGrid{display:grid; gap:16px}
@media (min-width: 900px){ .heroGrid{grid-template-columns:1.35fr .9fr} }

.heroCard{
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:26px;
}
.kicker{
  display:inline-flex; align-items:center; gap:10px;
  padding:9px 14px; border-radius:999px;
  border:1px solid var(--borderE);
  background:rgba(16,185,129,.10);
  color:rgba(167,243,208,.95);
  font-weight:950; font-size:13px;
}
.kicker.small{padding:7px 12px; font-size:12px}
.dot{width:8px; height:8px; border-radius:999px; background:var(--emerald2); box-shadow:0 0 0 6px rgba(16,185,129,.12)}
.heroTitle{
  margin:16px 0 0;
  font-size: clamp(42px, 5.2vw, 64px);
  line-height:1.03;
  letter-spacing:-.03em;
  font-weight:950;
}
.accent{color:rgba(52,211,153,.95)}
.heroLead{margin:16px 0 0; color:rgba(229,231,235,.72); font-size:16px; max-width:60ch}

.heroCtas{margin-top:22px; display:flex; gap:12px; flex-wrap:wrap; align-items:center}
.heroPills{margin-top:14px; display:flex; gap:10px; flex-wrap:wrap}
.pill{
  display:inline-flex; align-items:center;
  padding:9px 12px; border-radius:999px;
  border:1px solid rgba(16,185,129,.18);
  background:rgba(16,185,129,.10);
  color:rgba(229,231,235,.78);
  font-weight:850; font-size:13px;
}

.heroStats{margin-top:16px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px}
.stat{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(2,6,23,.30);
  border-radius:18px;
  padding:14px;
}
.statN{font-size:22px; letter-spacing:-.02em; color:rgba(52,211,153,.95); font-weight:950}
.statT{margin-top:4px; color:rgba(229,231,235,.72); font-weight:750; font-size:13px}

.side .panel{
  border:1px solid var(--border);
  background:var(--panel);
  border-radius:var(--r);
  box-shadow:var(--shadow);
  padding:18px;
}
.panelHead{font-weight:950; color:#fff}
.panelSub{margin-top:6px; color:rgba(229,231,235,.68); font-size:13px}
.search{
  margin-top:12px;
  display:flex; gap:10px;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(2,6,23,.35);
}
.search input{
  width:100%;
  border:0; outline:0;
  background:transparent;
  color:#fff;
  font-weight:700;
  font-size:13px;
}
.search input::placeholder{color:rgba(148,163,184,.6)}
.search button{
  border:1px solid rgba(16,185,129,.22);
  background:rgba(16,185,129,.12);
  color:rgba(167,243,208,.95);
  font-weight:950;
  border-radius:14px;
  padding:10px 14px;
  cursor:pointer;
}
.search button:hover{background:rgba(16,185,129,.16)}

/* Sections */
.section{padding:46px 0}
.sectionHead h2{
  margin:10px 0 0;
  font-size: clamp(30px, 3.3vw, 38px);
  line-height:1.12;
  letter-spacing:-.02em;
  font-weight:950;
}
.sectionHead p{margin-top:10px; max-width:68ch; color:rgba(229,231,235,.72); font-size:15px}

.grid2{margin-top:18px; display:grid; gap:12px}
@media (min-width: 900px){ .grid2{grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px} }

.tile{
  padding:18px;
  border-radius:var(--r);
  border:1px solid rgba(255,255,255,.10);
  background:var(--panel);
  box-shadow:0 26px 70px rgba(0,0,0,.22);
  transition:transform .18s ease, background .18s ease, border-color .18s ease;
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
}
.tile:hover{transform:translateY(-2px); background:rgba(255,255,255,.075); border-color:rgba(16,185,129,.25)}
.tileLeft{display:flex; gap:14px; align-items:flex-start}
.ic{
  width:46px; height:46px; border-radius:18px;
  border:1px solid rgba(16,185,129,.22);
  background:rgba(16,185,129,.10);
  display:grid; place-items:center;
  color:rgba(167,243,208,.95);
  font-weight:950;
  flex:0 0 auto;
}
.tile h3{margin:0; font-size:16px; font-weight:950; color:#fff}
.tile p{margin:6px 0 0; color:rgba(229,231,235,.70); font-size:13px}
.arr{opacity:.65; transition:.18s ease; margin-top:2px}
.tile:hover .arr{opacity:1; transform:translateX(2px); color:rgba(52,211,153,.95)}

/* Products */
.product{
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  border-radius:var(--r);
  overflow:hidden;
  box-shadow:0 26px 70px rgba(0,0,0,.22);
  transition:transform .18s ease, border-color .18s ease;
}
.product:hover{transform:translateY(-2px); border-color:rgba(16,185,129,.25)}
.productTop{
  height:110px;
  background:linear-gradient(135deg, rgba(16,185,129,.25), rgba(52,211,153,.10), transparent);
}
.productBody{padding:18px}
.tag{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  font-weight:950;
  font-size:11px;
  border:1px solid rgba(16,185,129,.18);
  background:rgba(16,185,129,.10);
  color:rgba(167,243,208,.95);
}
.productBody h3{margin:10px 0 0; font-weight:950; font-size:16px}
.productBody p{margin:6px 0 0; font-size:13px; color:rgba(229,231,235,.70)}

/* FAQ */
.faq{
  margin-top:18px;
  border-radius:var(--r);
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  overflow:hidden;
  box-shadow:0 26px 70px rgba(0,0,0,.22);
}
details{border-top:1px solid rgba(255,255,255,.08)}
details:first-child{border-top:0}
summary{
  list-style:none;
  cursor:pointer;
  padding:16px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  font-weight:950;
  color:#fff;
}
summary::-webkit-details-marker{display:none}
.chev{opacity:.75; transition:.18s ease}
details[open] .chev{transform:rotate(180deg); opacity:1; color:rgba(52,211,153,.95)}
.answer{padding:0 18px 16px; color:rgba(229,231,235,.72); font-size:13px}
.faqCtas{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}

/* CTA final glow */
.ctaFinal{
  padding:26px;
  border-radius:var(--r);
  border:1px solid rgba(16,185,129,.22);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(16,185,129,.20), transparent 55%),
    radial-gradient(700px 300px at 100% 100%, rgba(52,211,153,.14), transparent 55%),
    rgba(255,255,255,.05);
  box-shadow:0 26px 80px rgba(0,0,0,.28);
  display:flex; align-items:flex-start; justify-content:space-between; gap:16px;
  flex-wrap:wrap;
}
.ctaFinal h2{margin:0; font-size: clamp(26px, 3vw, 34px); letter-spacing:-.02em}
.ctaFinal p{margin-top:10px; color:rgba(229,231,235,.72); max-width:76ch}
.pillRow{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap}
.ctaBtns{display:flex; gap:10px; flex-wrap:wrap; align-items:center}

/* Footer */
.footer{
  margin-top:20px;
  padding:34px 0 38px;
  border-top:1px solid rgba(255,255,255,.08);
  color:rgba(229,231,235,.70);
}
.footGrid{
  display:flex; gap:18px; flex-wrap:wrap;
  align-items:flex-start; justify-content:space-between;
}
.footBrand{display:flex; align-items:center; gap:10px; color:#fff}
.footer p{margin:10px 0 0}
.link{color:rgba(52,211,153,.95); font-weight:800}
.link:hover{text-decoration:underline}
.footLinks{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.small{font-size:13px; color:rgba(229,231,235,.70)}

/* Mobile sticky CTA */
.mobileCta{
  position:fixed;
  left:12px; right:12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display:none;
  gap:10px;
  padding:10px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(2,6,23,.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  z-index: 80;
}
.mobileCta .btn{flex:1; box-shadow:none}
.mobileCta .btn:hover{transform:none}

@media (max-width: 900px){
  .nav{flex-direction:column; align-items:center}
  nav ul{display:flex; justify-content:center; overflow:auto; white-space:nowrap}
  .actions{justify-content:center}
  .mobileCta{display:flex}
}
:focus-visible{outline:3px solid rgba(16,185,129,.45); outline-offset:3px; border-radius:14px}


/* === Hero H1 (2 lignes + accent court) === */
.heroTitle .heroLine1{ display:block; }
.heroTitle .heroLine2{ display:block; margin-top:10px; }

/* Desktop : on garde la ligne 1 sur une seule ligne (évite 3 lignes) */
@media (min-width: 980px){
  .heroTitle .heroLine1{ white-space:nowrap; }
}

/* Mobile : on laisse respirer */
@media (max-width: 520px){
  .heroTitle .heroLine2{ margin-top:6px; }
}
