/* DELAHAYE PRO — feuille de style du site vitrine */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --bg: #07080c;
  --bg-2: #0b0d13;
  --surface: #10131b;
  --surface-2: #151924;
  --line: rgba(255, 255, 255, 0.075);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #eceef3;
  --muted: #a0a7b8;
  --faint: #6c7387;
  --accent: #8fa8ff;
  --accent-strong: #b3c3ff;
  --accent-2: #6ee7c8;
  --accent-glow: rgba(111, 139, 255, 0.35);
  --danger: #ff8f8f;

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; }
em.serif, .serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

::selection { background: rgba(143, 168, 255, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--accent);
  color: #0a0c12;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { left: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Ambiance de fond ---------- */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(111, 139, 255, 0.16), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(110, 231, 200, 0.06), transparent 60%),
    var(--bg);
}
.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}

/* ---------- En-tête ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  font-size: 15px;
}
.brand-mark {
  width: 34px;
  height: 34px;
  flex: none;
}
.brand-name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 14.5px;
  color: var(--muted);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: transform 0.3s var(--ease), background 0.2s;
}
.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; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary {
  background: linear-gradient(180deg, #c3d0ff, #8fa8ff);
  color: #0a0c14;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset, 0 10px 30px -10px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 16px 40px -12px rgba(111, 139, 255, 0.6); }
.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

/* Bouton « Nous contacter » du menu : blanc/noir, inversé au survol */
.nav-links a.btn-primary,
.nav-links a.btn-primary[aria-current="page"] { background: #fff; color: #000; border-color: #fff; box-shadow: none; }
.nav-links a.btn-primary:hover { background: #000; color: #fff; border-color: #fff; transform: none; }

/* ---------- Typo commune ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head h2 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-top: 18px;
}
.section-head p { color: var(--muted); font-size: 18px; margin-top: 20px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Héro ---------- */

.hero {
  padding: clamp(56px, 9vw, 110px) 0 clamp(72px, 10vw, 120px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 13.5px;
  color: var(--muted);
}
.status-pill b {
  font-weight: 600;
  color: #0a0c12;
  background: var(--accent-2);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 12px;
}
.hero h1 {
  font-size: clamp(42px, 6.4vw, 80px);
  font-weight: 620;
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin: 26px 0 26px;
}
.hero h1 .serif {
  font-size: 1.08em;
  background: linear-gradient(100deg, #dfe6ff 10%, var(--accent) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.hero .lead { max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--faint);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--accent); }

/* Fenêtre « éditeur de code » */
.code-window {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22, 26, 36, 0.92), rgba(12, 14, 20, 0.95));
  border: 1px solid var(--line-strong);
  box-shadow:
    0 40px 120px -40px rgba(80, 110, 255, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.8s var(--ease);
}
.code-window:hover { transform: perspective(1400px) rotateY(-2deg) rotateX(1deg); }
.code-window::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(143, 168, 255, 0.55), transparent 35%, transparent 70%, rgba(110, 231, 200, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.code-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
}
.code-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3d; }
.code-bar i:nth-child(1) { background: #ff6b6b; opacity: 0.8; }
.code-bar i:nth-child(2) { background: #ffc15e; opacity: 0.8; }
.code-bar i:nth-child(3) { background: #5fd38d; opacity: 0.8; }
.code-bar span { margin-left: auto; }
.code-body {
  margin: 0;
  padding: 22px 22px 26px;
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.85;
  color: #c9cfdd;
  overflow-x: auto;
  white-space: pre;
}
.code-body .ln { color: #3d4456; user-select: none; display: inline-block; width: 2ch; margin-right: 18px; text-align: right; }
.tok-k { color: #c3a6ff; }
.tok-f { color: #8fa8ff; }
.tok-s { color: #6ee7c8; }
.tok-c { color: #5b6378; font-style: italic; }
.tok-n { color: #ffc98f; }
.cursor {
  display: inline-block;
  width: 8px;
  height: 1.1em;
  vertical-align: -0.2em;
  background: var(--accent);
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(16, 19, 27, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  font-size: 13.5px;
  animation: floaty 7s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 14px; font-weight: 600; }
.float-card small { color: var(--faint); font-size: 12px; }
.float-card .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(110, 231, 200, 0.12);
  color: var(--accent-2);
}
.float-card .dot svg { width: 18px; height: 18px; }
.float-a { left: -34px; bottom: -28px; }
.float-b { right: -18px; top: -26px; animation-delay: -3.5s; }
.float-b .dot { background: rgba(143, 168, 255, 0.14); color: var(--accent); }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-visual { position: relative; }

/* ---------- Bandeau technos ---------- */

.stack {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.012);
  overflow: hidden;
}
.stack-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 26px 0;
}
.stack-label {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-size: 16px;
  font-weight: 550;
  color: #8a91a4;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Expertises ---------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 32px 30px 30px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 220px at var(--mx, 50%) var(--my, 0%), rgba(143, 168, 255, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.card:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(143, 168, 255, 0.09);
  border: 1px solid rgba(143, 168, 255, 0.18);
  color: var(--accent);
  margin-bottom: 26px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.02em; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; }
.card ul {
  list-style: none;
  margin: 20px 0 0;
  padding: 18px 0 0;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card li {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

/* ---------- Réalisations ---------- */

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  min-height: 420px;
}
.product::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--glow);
  opacity: 0.9;
  pointer-events: none;
}
.product > * { position: relative; }
.product-sap { --glow: radial-gradient(520px 320px at 100% 0%, rgba(110, 231, 200, 0.14), transparent 65%); }
.product-compta { --glow: radial-gradient(520px 320px at 100% 0%, rgba(143, 168, 255, 0.18), transparent 65%); }
.product-app {
  grid-column: 1 / -1;
  min-height: 0;
  --glow: radial-gradient(700px 300px at 0% 100%, rgba(195, 166, 255, 0.12), transparent 65%);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
}
.product-tag {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--muted);
  margin-bottom: 26px;
}
.product h3 { font-size: clamp(28px, 3vw, 36px); letter-spacing: -0.03em; margin-bottom: 14px; }
.product p { color: var(--muted); }
.product-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 30px;
  display: grid;
  gap: 10px;
}
.product-list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: #c7ccd8;
}
.product-list svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--accent-2); }
.product-compta .product-list svg { color: var(--accent); }
.product-app .product-list svg { color: #c3a6ff; }
.product-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  align-self: flex-start;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 4px;
  transition: border-color 0.2s, gap 0.25s var(--ease);
}
.product-link:hover { border-color: var(--text); gap: 12px; }
.product-link svg { width: 15px; height: 15px; }

.phone {
  justify-self: center;
  width: 210px;
  aspect-ratio: 9 / 19;
  border-radius: 34px;
  padding: 10px;
  background: linear-gradient(160deg, #262b38, #0d1017);
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 80px -30px rgba(120, 90, 255, 0.45);
}
.phone-screen {
  height: 100%;
  border-radius: 26px;
  background: linear-gradient(180deg, #121622, #0a0c12);
  padding: 34px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.phone-screen .ps-title { font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.phone-screen .ps-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}
.phone-screen .ps-row i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  flex: none;
  background: rgba(195, 166, 255, 0.18);
}
.phone-screen .ps-row:nth-child(3) i { background: rgba(110, 231, 200, 0.18); }
.phone-screen .ps-row:nth-child(4) i { background: rgba(143, 168, 255, 0.2); }
.phone-screen .ps-row b,
.phone-screen .ps-row s {
  display: block;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}
.phone-screen .ps-row b { width: 80px; margin-bottom: 6px; }
.phone-screen .ps-row s { width: 50px; background: rgba(255, 255, 255, 0.1); }
.phone-screen .ps-cta {
  margin-top: auto;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(90deg, #c3a6ff, var(--accent));
}

/* ---------- Méthode ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
  border-top: 1px solid var(--line);
}
.step {
  padding: 36px 28px 8px 0;
  position: relative;
}
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 44px;
}
.step::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 1px;
  background: var(--accent);
}
.step + .step::after { left: 28px; }
.step h3 { font-size: 21px; margin-bottom: 12px; }
.step p { font-size: 15.5px; color: var(--muted); }

/* ---------- Engagements ---------- */

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.split .section-head { position: sticky; top: 120px; margin-bottom: 0; }
.pledges { display: grid; gap: 14px; }
.pledge {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  padding: 26px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.3s, border-color 0.3s;
}
.pledge:hover { background: rgba(255, 255, 255, 0.03); border-color: var(--line-strong); }
.pledge .card-icon { margin: 0; }
.pledge h3 { font-size: 18px; margin: 4px 0 8px; }
.pledge p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Appel à l'action ---------- */

.cta {
  position: relative;
  padding: clamp(48px, 7vw, 88px) clamp(24px, 6vw, 80px);
  border-radius: 28px;
  border: 1px solid var(--line-strong);
  background:
    radial-gradient(600px 300px at 85% 110%, rgba(110, 231, 200, 0.14), transparent 60%),
    radial-gradient(700px 360px at 10% -20%, rgba(143, 168, 255, 0.22), transparent 60%),
    var(--surface);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 40px;
  align-items: end;
}
.cta h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -0.035em; }
.cta p { color: var(--muted); margin: 18px 0 0; max-width: 560px; font-size: 18px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Pied de page ---------- */

.site-footer {
  margin-top: clamp(80px, 10vw, 120px);
  border-top: 1px solid var(--line);
  padding: 64px 0 36px;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-grid h4 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--text); }
.footer-about p { margin: 18px 0 0; max-width: 320px; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--faint);
}
.footer-legal a:hover { color: var(--text); }

/* ---------- Pages intérieures ---------- */

.page-hero { padding: clamp(56px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  letter-spacing: -0.04em;
  margin: 22px 0 22px;
}
.page-hero .lead { max-width: 640px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: start;
}
.panel {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  padding: clamp(24px, 4vw, 44px);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend {
  font-size: 14px;
  font-weight: 550;
  color: #d4d8e2;
}
.field label .opt { color: var(--faint); font-weight: 400; }
.input {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: #5d6477; }
.input:hover { border-color: rgba(255, 255, 255, 0.22); }
.input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(143, 168, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(143, 168, 255, 0.14);
}
textarea.input { min-height: 170px; resize: vertical; line-height: 1.6; }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.field legend { margin-bottom: 10px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; }
.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
  margin: 0;
}
.chip span {
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s;
}
.chip input:hover + span { border-color: rgba(255, 255, 255, 0.25); color: var(--text); }
.chip input:checked + span {
  background: rgba(143, 168, 255, 0.14);
  border-color: var(--accent);
  color: var(--text);
}
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}
.consent input {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.form-foot small { color: var(--faint); font-size: 13px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.alert {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  margin-bottom: 28px;
  font-size: 15px;
}
.alert svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.alert-ok { background: rgba(110, 231, 200, 0.08); border: 1px solid rgba(110, 231, 200, 0.3); color: #c9f6ea; }
.alert-err { background: rgba(255, 143, 143, 0.08); border: 1px solid rgba(255, 143, 143, 0.3); color: #ffd2d2; }
.alert strong { display: block; color: #fff; margin-bottom: 2px; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.side-stack { display: grid; gap: 16px; }
.info-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.info-card h3 {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 18px;
}
.info-line {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.info-line:first-of-type { border-top: 0; padding-top: 0; }
.info-line svg { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.info-line small { display: block; color: var(--faint); font-size: 12.5px; }
.info-line a:hover { color: var(--accent-strong); }
.info-card p { color: var(--muted); font-size: 15px; margin: 0; }

.prose { max-width: 780px; }
.prose h2 {
  font-size: 22px;
  margin: 52px 0 16px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose p, .prose li { color: var(--muted); font-size: 16px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--text); font-weight: 600; }
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  margin: 8px 0 0;
}
.legal-table th, .legal-table td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th { color: var(--faint); font-weight: 500; width: 42%; padding-right: 20px; }
.legal-table td { color: var(--text); }

/* ---------- Apparition au défilement ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Adaptatif ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; margin: 20px auto 0; width: 100%; }
  .code-window, .code-window:hover { transform: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; border-top: 0; }
  .step, .step + .step { padding: 32px 24px 12px 0; border-left: 0; border-top: 1px solid var(--line); }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .step::after, .step + .step::after { left: 0; }
  .step:nth-child(even)::after { left: 24px; }
  .split { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; align-items: start; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px var(--gutter) 24px;
    background: rgba(7, 8, 12, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: none;
  }
  .nav-open .nav-links { display: flex; }
  .nav-open .site-header { background: rgba(7, 8, 12, 0.97); border-bottom-color: var(--line); }
  .nav-links a { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav-links .btn { margin-top: 10px; }
  .products { grid-template-columns: 1fr; }
  .product-app { grid-template-columns: 1fr; }
  .product { min-height: 0; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
  .step:nth-child(even)::after { left: 0; }
  .step::before { margin-bottom: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-a { left: 8px; bottom: -34px; }
  .float-b { right: 8px; top: -30px; }
  .code-body { font-size: 12px; padding: 18px 16px 22px; }
  .code-body .ln { margin-right: 12px; }
  .stack-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .marquee { width: 100%; }
  .hero-actions .btn { flex: 1 1 auto; }
  .legal-table th, .legal-table td { display: block; width: 100%; padding: 4px 0; border: 0; }
  .legal-table tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .brand-name small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Chiffres clés (raccord plaquette, 01/10/2026) ---------- */

.figures {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  margin-top: clamp(56px, 8vw, 96px);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.figure { padding: 30px 24px 30px 0; }
.figure + .figure { padding-left: 24px; border-left: 1px solid var(--line); }
.figure b {
  display: block;
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
.figure:first-child b {
  background: linear-gradient(135deg, #c3d0ff, var(--accent) 60%, var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.figure span { display: block; margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Carte Applications : liste + badges iOS / Android ---------- */

.card .app-list {
  display: grid;
  gap: 8px;
  flex-wrap: nowrap;
}
.card .app-list li {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--text);
  padding: 0 0 0 18px;
  border: 0;
  border-radius: 0;
  background: none;
  position: relative;
}
.card .app-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c3d0ff, var(--accent) 60%, var(--accent-2));
}
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.store {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 12px;
  border-radius: 11px;
  background: #000;
  border: 1px solid var(--line-strong);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.05;
}
.store svg { width: 22px; height: 22px; flex: none; }
.store small { display: block; font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.04em; }
.cta-actions .btn svg { width: 17px; height: 17px; }

@media (max-width: 820px) {
  .figures { grid-template-columns: 1fr 1fr; }
  .figure, .figure + .figure { padding: 24px 16px 24px 0; border-left: 0; }
  .figure:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
}
