:root {
  --bg: #06101d;
  --bg-soft: #0a1627;
  --panel: rgba(15, 31, 52, .86);
  --panel-strong: #10213a;
  --text: #f6f8ff;
  --muted: #9caac3;
  --line: rgba(153, 181, 225, .16);
  --accent: #69dcff;
  --accent-2: #978fff;
  --accent-3: #b68fff;
  --success: #70e2b2;
  --warning: #ffd17c;
  --danger: #ff8f9d;
  --max: 1220px;
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 88% -5%, rgba(98, 112, 220, .19), transparent 31%),
    radial-gradient(circle at 6% 13%, rgba(58, 156, 211, .14), transparent 27%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .26;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 90%);
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
strong { color: var(--text); }
code {
  padding: 2px 6px;
  border-radius: 6px;
  color: #dce8ff;
  background: rgba(255,255,255,.06);
}
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 94px 0; }
.section-sm { padding: 58px 0; }
.band {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(50, 112, 165, .075), rgba(99, 83, 164, .08));
}

h1, h2, h3, h4 {
  margin: 0 0 20px;
  line-height: 1.1;
  letter-spacing: -.038em;
}
h1 {
  font-size: clamp(2.2rem, 4.8vw, 4.8rem);
  max-width: 1080px;
}
h2 { font-size: clamp(2.15rem, 4vw, 3.8rem); max-width: 900px; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 18px; color: var(--muted); }
.lead { font-size: clamp(1.08rem, 2vw, 1.34rem); max-width: 810px; }
.small { font-size: .9rem; }
.gradient-text {
  background: linear-gradient(115deg, var(--accent), #a8b5ff 56%, #d1b3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  padding: 0 21px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #04121e;
  background: linear-gradient(120deg, var(--accent), #a1a8ff);
  box-shadow: 0 14px 38px rgba(105, 220, 255, .16);
}
.btn-secondary {
  color: white;
  background: rgba(255,255,255,.035);
  border-color: var(--line);
}
.btn-ghost { color: var(--accent); padding-inline: 0; min-height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 29, .82);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.logo img { width: 232px; }
.nav-links { display: flex; align-items: center; gap: 23px; }
.nav-links a {
  color: #c8d2e4;
  font-size: .93rem;
  font-weight: 700;
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: white; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: white;
  background: rgba(255,255,255,.035);
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }

.hero { padding: 98px 0 82px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 42px;
  align-items: center;
}
.hero .lead { margin-top: 26px; }
.focus-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 750;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: #cad4e8;
}
.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.status-pill.future::before { background: var(--accent-2); }
.status-pill.future { color: #d9d6ff; }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.025);
}
.metric { padding: 25px; border-right: 1px solid var(--line); }
.metric:last-child { border-right: 0; }
.metric strong { display: block; margin-bottom: 4px; font-size: 1.12rem; }
.metric span { color: var(--muted); font-size: .91rem; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 60px;
  align-items: start;
}
.sticky { position: sticky; top: 122px; }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 29px;
  background: linear-gradient(155deg, rgba(18, 36, 60, .94), rgba(10, 23, 41, .88));
  box-shadow: 0 17px 54px rgba(0,0,0,.12);
}
.card p:last-child { margin-bottom: 0; }
.card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
.card-link:hover { border-color: rgba(105,220,255,.34); }
.icon {
  width: 49px;
  height: 49px;
  margin-bottom: 23px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--accent);
  font-weight: 900;
  background: rgba(105,220,255,.085);
  border: 1px solid rgba(105,220,255,.17);
}
.index {
  display: inline-grid;
  width: 45px;
  height: 45px;
  margin-bottom: 24px;
  place-items: center;
  border-radius: 13px;
  color: var(--accent);
  font-weight: 900;
  background: rgba(105,220,255,.08);
  border: 1px solid rgba(105,220,255,.17);
}
.badges { display: flex; flex-wrap: wrap; gap: 9px; margin: 14px 0 20px; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #cbd5e8;
  background: rgba(255,255,255,.025);
  font-size: .78rem;
  font-weight: 750;
}
.badge-current { color: #a8f0cf; border-color: rgba(112,226,178,.22); background: rgba(112,226,178,.06); }
.badge-roadmap { color: #d9d6ff; border-color: rgba(151,143,255,.23); background: rgba(151,143,255,.07); }
.badge-development { color: #ffe0a4; border-color: rgba(255,209,124,.23); background: rgba(255,209,124,.06); }
.feature-list { list-style: none; padding: 0; margin: 22px 0 0; }
.feature-list li {
  display: flex;
  gap: 11px;
  margin: 10px 0;
  color: #c9d3e7;
}
.feature-list li::before { content: "↗"; color: var(--accent); font-weight: 900; }

.diagram {
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #091625;
  box-shadow: var(--shadow);
}
.diagram img { width: 100%; }

.note {
  padding: 16px 18px;
  border-radius: 14px;
  color: #f2ddb5;
  border: 1px solid rgba(255,209,124,.22);
  background: rgba(255,209,124,.06);
}
.note strong { color: var(--warning); }
.current-focus {
  padding: 24px 27px;
  border: 1px solid rgba(112,226,178,.2);
  border-radius: 18px;
  background: rgba(112,226,178,.055);
}
.current-focus strong { color: var(--success); }

.process { display: grid; gap: 4px; }
.process-step {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-bottom: 0; }
.step-number {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--accent);
  font-weight: 900;
  border: 1px solid rgba(105,220,255,.25);
}
.quote {
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--accent);
  color: #edf3ff;
  font-size: 1.34rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}
.tab {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  color: #c9d3e5;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.025);
}
.tab.active {
  color: #05121e;
  background: linear-gradient(120deg, var(--accent), #a4a9ff);
  border-color: transparent;
  font-weight: 800;
}
.product-grid [hidden] { display: none !important; }

.product-card { min-height: 100%; }
.product-card .product-number {
  position: absolute;
  top: 23px;
  right: 25px;
  color: rgba(255,255,255,.12);
  font-size: 2rem;
  font-weight: 900;
}
.product-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.product-meta div { color: var(--muted); font-size: .82rem; }
.product-meta strong { display: block; margin-bottom: 2px; font-size: .88rem; }

.kit {
  padding: 34px;
  overflow: hidden;
}
.kit::before {
  content: "";
  position: absolute;
  inset: auto -80px -100px auto;
  width: 250px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(105,220,255,.075);
  filter: blur(3px);
}
.kit-featured {
  border-color: rgba(151,143,255,.3);
  background:
    radial-gradient(circle at 92% 10%, rgba(151,143,255,.19), transparent 30%),
    linear-gradient(155deg, rgba(26, 41, 75, .96), rgba(12, 24, 44, .9));
}
.kit-title { font-size: 2.2rem; }

.comparison { overflow-x: auto; }
table { width: 100%; min-width: 760px; border-collapse: collapse; }
th, td { padding: 17px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: white; font-size: .9rem; }
td { color: var(--muted); }
.check { color: var(--success); font-weight: 900; }
.dash { color: rgba(255,255,255,.3); }

.roadmap-list { display: grid; gap: 18px; }
.roadmap-step {
  display: grid;
  grid-template-columns: 155px 1fr;
  gap: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.025);
}
.roadmap-label {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.roadmap-step.future .roadmap-label { color: var(--accent-2); }
.roadmap-step.longterm .roadmap-label { color: var(--accent-3); }

.team-card { padding-top: 34px; }
.avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #06121d;
  font-weight: 900;
  font-size: 1.25rem;
  background: linear-gradient(135deg, var(--accent), #a392ff);
  margin-bottom: 24px;
}
.role { color: var(--accent); font-weight: 800; font-size: .92rem; margin-bottom: 15px; }

.cta-box {
  padding: clamp(32px, 6vw, 68px);
  border: 1px solid rgba(118, 184, 246, .23);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 7%, rgba(148, 139, 255, .24), transparent 29%),
    linear-gradient(145deg, #10233c, #0a1729);
  box-shadow: var(--shadow);
}

.page-hero { padding: 86px 0 48px; }
.breadcrumbs { margin-bottom: 26px; color: var(--muted); font-size: .92rem; }
.breadcrumbs a:hover { color: white; }

.form-card {
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(13, 28, 48, .9);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
label { color: #dde6f5; font-weight: 700; }
input, select, textarea {
  width: 100%;
  padding: 13px 14px;
  color: white;
  outline: none;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
}
input:focus, select:focus, textarea:focus {
  border-color: rgba(105,220,255,.58);
  box-shadow: 0 0 0 3px rgba(105,220,255,.08);
}
textarea { min-height: 160px; resize: vertical; }
.form-status { min-height: 24px; margin-top: 12px; color: var(--success); }

.site-footer {
  padding: 58px 0 24px;
  border-top: 1px solid var(--line);
  background: rgba(4, 10, 18, .56);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  gap: 45px;
}
.footer-logo { width: 220px; margin-bottom: 18px; }
.footer-title { margin-bottom: 14px; color: white; font-weight: 850; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: white; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.reveal { opacity: 0; transform: translateY(18px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }


/* Ajustements de lisibilité de la page d'accueil */
.hero h1 {
  max-width: 780px;
  font-size: clamp(3rem, 4.6vw, 5.15rem);
  line-height: 1.03;
}
.hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr);
  gap: 34px;
}
.hero .lead {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(7, 17, 31, .985);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links .btn { width: 100%; }
}
@media (max-width: 1020px) {
  .hero-grid, .split { grid-template-columns: 1fr; }
  .sticky { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 790px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 70px 0; }
  .logo img { width: 193px; }
  .hero { padding-top: 68px; }
  .grid-2, .grid-3, .grid-4, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .roadmap-step { grid-template-columns: 1fr; gap: 10px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 520px) {
  h1 { font-size: 2.7rem; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .metric:last-child { border-bottom: 0 !important; }
  .product-meta { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
