/* RB Digital — feuille de style principale */
:root {
  --bg: #0A0813;
  --bg-2: #100E1C;
  --surface: #15131F;
  --surface-2: #1C1A29;
  --line: rgba(160, 170, 210, 0.12);
  --line-strong: rgba(160, 170, 210, 0.22);
  --fg: #EEF1F8;
  --muted: #8E93A8;
  --dim: #5C6078;
  --blue: #3D8BFF;
  --blue-soft: #7DB2FF;
  --cyan: #56E0E8;
  --glow: rgba(61, 139, 255, 0.35);
  --radius: 22px;
  --font-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-soft);
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
}

.grad {
  background: linear-gradient(100deg, var(--blue) 10%, var(--cyan) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s, border-color .35s;
  will-change: transform;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25);
}
.btn-primary:hover { box-shadow: 0 16px 60px -8px rgba(61,139,255,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--blue-soft); background: rgba(61,139,255,0.08); }
.btn .arrow { transition: transform .3s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding-top: calc(14px + env(safe-area-inset-top, 0px));
  padding-bottom: 14px;
  transition: background .4s, border-color .4s, padding .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10, 8, 19, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.22em;
  color: var(--blue-soft);
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .25s;
}
.nav-links a:not(.btn):hover { color: var(--fg); }
.nav-links .btn { padding: 11px 20px; font-size: 14px; }
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255,255,255,.03);
  cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: var(--fg); border-radius: 2px;
  transition: transform .3s, top .3s, opacity .3s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.nav.open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-block: 140px 80px;
}
.hero-lines {
  position: absolute;
  inset: -10% -10% -10% -10%;
  width: 120%;
  height: 120%;
  pointer-events: none;
  opacity: .9;
}
.hero-lines path {
  fill: none;
  stroke: url(#lineGrad);
  stroke-width: 1.2;
  stroke-linecap: round;
}
.hero-glow {
  position: absolute;
  width: 900px; height: 900px;
  max-width: 140vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,255,.28) 0%, rgba(61,139,255,0) 60%);
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  pointer-events: none;
  filter: blur(10px);
}
.hero-content { position: relative; z-index: 2; text-align: center; margin: 0 auto; max-width: 980px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(40px, 7.4vw, 104px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; }
.hero h1 .word > span { display: inline-block; }
.hero-sub {
  margin: 30px auto 0;
  max-width: 600px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
}
.hero-sub strong { color: var(--fg); font-weight: 700; }
.hero-cta { margin-top: 42px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  margin-top: 56px;
  display: flex; gap: 10px 26px; justify-content: center; flex-wrap: wrap;
  font-size: 14px; color: var(--muted);
}
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges span::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 20px;
  z-index: 2;
}
.scroll-hint::after {
  content: ''; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px;
  margin-left: -2px; border-radius: 2px; background: var(--blue-soft);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0);} 30% {opacity:1;} 100% { opacity: 0; transform: translateY(14px);} }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(90px, 13vw, 170px); }
.section-head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.6vw, 60px); margin-top: 20px; }
.section-head p { margin-top: 22px; color: var(--muted); font-size: 18px; max-width: 620px; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- Manifeste (mots qui s'allument) ---------- */
.manifesto { padding-block: clamp(110px, 16vw, 200px); }
.manifesto p {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.3vw, 58px);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 500;
  max-width: 1080px;
}
.manifesto .w { color: rgba(238,241,248,.14); transition: color .2s; }
.manifesto .w.on { color: var(--fg); }
.manifesto .w.accent.on { color: var(--blue-soft); }

/* ---------- Avant / Après ---------- */
.compare-section { padding-bottom: clamp(60px, 8vw, 120px); }
.compare-stage { height: 260vh; position: relative; }
.compare-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}
.compare-labels { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.compare-labels .old { color: var(--dim); }
.compare-labels .new { color: var(--blue-soft); }
.compare {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 68vh;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: 0 40px 120px -40px rgba(61,139,255,.35);
  background: #fff;
  --reveal: 0%;
}
.compare .pane { position: absolute; inset: 0; }
.compare .pane-new { clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.compare .divider {
  position: absolute; top: 0; bottom: 0; left: var(--reveal);
  width: 2px; background: var(--blue); box-shadow: 0 0 24px var(--blue);
  transform: translateX(-1px);
}
.compare .divider::after {
  content: '⟷'; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue); color: #fff; font-size: 18px;
  display: grid; place-items: center;
  box-shadow: 0 0 0 6px rgba(61,139,255,.25);
}
.compare-note { text-align: center; font-size: 13px; color: var(--dim); }

/* Ancien site (volontairement daté) */
.old-site {
  height: 100%;
  background: #E9E4D4;
  font-family: 'Times New Roman', Times, serif;
  color: #222;
  display: flex; flex-direction: column;
}
.old-site .o-top { background: #2B4C9B; color: #FFFF66; padding: 2.2% 3%; font-size: clamp(12px, 2.2vw, 30px); font-weight: bold; text-align: center; text-decoration: underline; }
.old-site .o-marquee { background: #C00; color: #fff; font-family: 'Comic Sans MS', 'Comic Sans', cursive; font-size: clamp(8px, 1.1vw, 15px); padding: .6% 2%; white-space: nowrap; overflow: hidden; }
.old-site .o-body { display: grid; grid-template-columns: 22% 1fr; flex: 1; min-height: 0; }
.old-site .o-side { background: #C9C2AA; padding: 4% 6%; font-size: clamp(8px, 1.05vw, 15px); border-right: 3px ridge #999; }
.old-site .o-side div { color: #00E; text-decoration: underline; margin-bottom: 8%; }
.old-site .o-main { padding: 3% 4%; font-size: clamp(8px, 1.1vw, 16px); }
.old-site .o-main h3 { font-family: 'Comic Sans MS', cursive; color: #080; font-size: clamp(11px, 1.8vw, 26px); margin-bottom: 2%; font-weight: bold; letter-spacing: 0; }
.old-site .o-main table { border: 2px outset #999; border-collapse: separate; margin-top: 3%; font-size: inherit; background: #fff; }
.old-site .o-main td { border: 1px inset #999; padding: 1% 3%; }
.old-site .o-counter { margin-top: 4%; font-family: 'Courier New', monospace; background: #000; color: #0F0; display: inline-block; padding: .5% 2%; }

/* Nouveau site (moderne) */
.new-site {
  height: 100%;
  background: #0E1512;
  color: #F3F1EA;
  font-family: var(--font-body);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.new-site .n-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 78% 40%, rgba(232,159,80,.42), transparent 60%),
    radial-gradient(ellipse 50% 60% at 15% 90%, rgba(48,120,96,.5), transparent 60%),
    linear-gradient(160deg, #13201B 0%, #0B110E 100%);
}
.new-site .n-pipes { position: absolute; right: 4%; top: 18%; width: 44%; height: 70%; opacity: .9; }
.new-site .n-nav { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 3% 5%; font-size: clamp(7px, 1vw, 14px); }
.new-site .n-logo { font-family: var(--font-display); font-weight: 600; letter-spacing: .06em; font-size: clamp(9px, 1.3vw, 18px); }
.new-site .n-links { display: flex; gap: 2.4vw; opacity: .75; }
.new-site .n-cta { background: #E89F50; color: #121; padding: .8% 2%; border-radius: 99px; font-weight: 700; }
.new-site .n-hero { position: relative; padding: 4% 5% 0; max-width: 60%; }
.new-site .n-tag { font-size: clamp(6px, .85vw, 12px); letter-spacing: .2em; text-transform: uppercase; color: #E89F50; font-weight: 700; }
.new-site .n-hero h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(16px, 3.9vw, 54px); line-height: 1.02; letter-spacing: -.03em; margin: 3% 0; }
.new-site .n-hero p { font-size: clamp(7px, 1.05vw, 15px); opacity: .7; max-width: 80%; }
.new-site .n-btns { display: flex; gap: 2%; margin-top: 4%; }
.new-site .n-btns span { padding: 1.6% 3.4%; border-radius: 99px; font-size: clamp(6px, .95vw, 14px); font-weight: 700; white-space: nowrap; }
.new-site .n-btns span:first-child { background: #F3F1EA; color: #0E1512; }
.new-site .n-btns span:last-child { border: 1px solid rgba(243,241,234,.3); }
.new-site .n-stats { position: relative; margin-top: auto; display: flex; gap: 6%; padding: 0 5% 4%; }
.new-site .n-stats div { font-size: clamp(6px, .85vw, 12px); opacity: .65; }
.new-site .n-stats b { display: block; font-family: var(--font-display); font-weight: 500; font-size: clamp(11px, 2vw, 28px); opacity: 1; color: #F3F1EA; }

/* ---------- Offres ---------- */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer {
  position: relative;
  border-radius: 28px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color .4s;
  min-width: 0;
}
.offer::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(61,139,255,.16), transparent 45%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.offer:hover::before { opacity: 1; }
.offer:hover { border-color: var(--line-strong); }
.offer.featured {
  border-color: rgba(61,139,255,.5);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(61,139,255,.2), transparent 55%),
    linear-gradient(180deg, #171A2E 0%, var(--bg-2) 100%);
}
.offer-tag {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 99px;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.offer.featured .offer-tag { background: var(--blue); border-color: var(--blue); color: #fff; }
.offer h3 { font-size: clamp(26px, 2.8vw, 36px); margin-top: 26px; }
.offer .desc { color: var(--muted); margin-top: 12px; min-height: 3.3em; }
.price { margin-top: 30px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price b { font-family: var(--font-display); font-weight: 500; font-size: clamp(48px, 6vw, 72px); letter-spacing: -.04em; line-height: 1; }
.price small { color: var(--muted); font-size: 14px; }
.offer ul { list-style: none; margin: 30px 0 36px; padding: 30px 0 0; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.offer li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.offer li::before {
  content: ''; flex-shrink: 0; margin-top: 7px;
  width: 14px; height: 9px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
}
.offer .btn { width: 100%; }
.included {
  margin-top: 24px;
  border-radius: 22px;
  border: 1px dashed var(--line-strong);
  padding: 22px 28px;
  display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: center;
  color: var(--muted); font-size: 15px;
}
.included b { color: var(--fg); }

/* ---------- Réalisations (scroll horizontal) ---------- */
.work-pin { overflow: hidden; }
.work-track {
  display: flex;
  gap: 28px;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
  width: max-content;
}
.work-intro { width: min(420px, 80vw); flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; }
.work-intro h2 { font-size: clamp(32px, 4.6vw, 60px); margin-top: 20px; }
.work-intro p { margin-top: 20px; color: var(--muted); }
.project {
  width: min(620px, 82vw);
  flex-shrink: 0;
  display: block;
}
.browser {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.8);
  transition: transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .6s;
}
.project:hover .browser { transform: translateY(-8px); box-shadow: 0 40px 100px -30px rgba(61,139,255,.4); }
.browser-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3848; display: block; }
.browser-bar .url { margin-left: 12px; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.04); padding: 4px 12px; border-radius: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.screen { aspect-ratio: 16 / 10; position: relative; overflow: hidden; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 22px; }
.project-meta h3 { font-size: 24px; }
.project-meta p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.project-meta .go { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s; }
.project:hover .go { background: var(--blue); border-color: var(--blue); transform: rotate(-45deg); }

/* Mini-maquettes des réalisations */
.mock { position: absolute; inset: 0; padding: 7% 8%; display: flex; flex-direction: column; justify-content: center; }
.mock .m-tag { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; }
.mock .m-title { font-family: var(--font-display); font-size: clamp(20px, 2.8vw, 36px); line-height: 1.05; letter-spacing: -.03em; margin-top: 14px; max-width: 80%; font-weight: 500; }
.mock .m-btn { margin-top: 22px; display: inline-block; align-self: flex-start; padding: 9px 18px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.mock-sb { background: linear-gradient(135deg, #F4F1EA 0%, #E3DDCF 100%); color: #1E2430; }
.mock-sb .m-tag { color: #9A7B4F; }
.mock-sb .m-title em { font-style: normal; color: #9A7B4F; }
.mock-sb .m-btn { background: #1E2430; color: #F4F1EA; }
.mock-sb .m-grid { position: absolute; right: 7%; bottom: 10%; display: grid; grid-template-columns: repeat(3, 34px); gap: 8px; opacity: .5; }
.mock-sb .m-grid span { height: 34px; border: 1.5px solid #1E2430; border-radius: 4px; }
.mock-taxi { background: radial-gradient(ellipse at 80% 20%, rgba(255,214,120,.25), transparent 50%), linear-gradient(170deg, #1F3A2E 0%, #0F1F18 100%); color: #F2EFE6; }
.mock-taxi .m-tag { color: #F5C451; }
.mock-taxi .m-title b { color: #F5C451; font-weight: 500; }
.mock-taxi .m-btn { background: #F5C451; color: #10201A; }
.mock-taxi .m-road { position: absolute; right: -10%; bottom: -30%; width: 60%; height: 90%; border-left: 2px dashed rgba(245,196,81,.35); transform: skewX(-30deg); }
.mock-aqua { background: radial-gradient(ellipse at 20% 100%, rgba(86,224,232,.35), transparent 55%), linear-gradient(160deg, #0B2C4A 0%, #061A2E 100%); color: #E8F7FF; }
.mock-aqua .m-tag { color: var(--cyan); }
.mock-aqua .m-btn { background: var(--cyan); color: #061A2E; }
.mock-aqua .m-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; opacity: .5; }
.project-cta .browser { border-style: dashed; background: transparent; }
.mock-you { color: var(--fg); align-items: center; text-align: center; background: radial-gradient(circle at 50% 50%, rgba(61,139,255,.18), transparent 60%); }
.mock-you .m-title { max-width: none; }
.mock-you .m-btn { align-self: center; background: var(--blue); color: #fff; }

/* ---------- Méthode ---------- */
.steps { position: relative; display: grid; gap: 0; max-width: 880px; }
.steps-line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 2px; background: var(--line); }
.steps-line i { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, var(--blue), var(--cyan)); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 16px var(--glow); }
.step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 28px; padding-block: 26px; }
.step-num {
  position: relative; z-index: 1;
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  background: var(--bg); border: 1.5px solid var(--line-strong); color: var(--muted);
  transition: border-color .4s, color .4s, box-shadow .4s, background .4s;
}
.step.active .step-num { border-color: var(--blue); color: #fff; background: #111B33; box-shadow: 0 0 30px var(--glow); }
.step h3 { font-size: clamp(22px, 2.4vw, 30px); padding-top: 14px; }
.step p { color: var(--muted); margin-top: 10px; max-width: 560px; }
.step .when { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--cyan); letter-spacing: .06em; }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 52px) clamp(14px, 2vw, 28px); border-right: 1px solid var(--line); min-width: 0; }
.stat:last-child { border-right: none; }
.stat b { display: block; white-space: nowrap; font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 5vw, 64px); letter-spacing: -.04em; line-height: 1; }
.stat span { display: block; margin-top: 14px; color: var(--muted); font-size: 15px; }

/* ---------- À propos ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.portrait {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 100%;
  border: 1px solid var(--line-strong);
}
.portrait img { width: 100%; height: 115%; object-fit: cover; object-position: center 20%; }
.portrait::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,8,19,.85) 100%); }
.portrait .chip {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 99px;
  background: rgba(10,8,19,.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600;
}
.portrait .chip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 10px #3DDC84; }
.about-text h2 { font-size: clamp(32px, 4.2vw, 54px); margin-top: 20px; }
.about-text p { margin-top: 22px; color: var(--muted); font-size: 18px; }
.about-text p strong { color: var(--fg); }
.values { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.values div { border: 1px solid var(--line); border-radius: 16px; padding: 18px; font-size: 14px; color: var(--muted); }
.values b { display: block; color: var(--fg); font-size: 15px; margin-bottom: 4px; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0;
  font-family: var(--font-display); font-size: clamp(17px, 1.8vw, 21px); font-weight: 500; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--font-body); font-size: 20px; font-weight: 400;
  transition: transform .35s, background .35s, border-color .35s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq .answer { padding: 0 56px 28px 0; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-box {
  position: relative;
  border-radius: 34px;
  padding: clamp(28px, 5vw, 72px);
  background:
    radial-gradient(80% 60% at 0% 0%, rgba(61,139,255,.18), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(86,224,232,.1), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 80px);
  overflow: hidden;
}
.contact-info h2 { font-size: clamp(32px, 4.4vw, 56px); margin-top: 20px; }
.contact-info > p { margin-top: 20px; color: var(--muted); }
.contact-lines { margin-top: 36px; display: grid; gap: 14px; }
.contact-lines a, .contact-lines div {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; border-radius: 16px;
  border: 1px solid var(--line); background: rgba(255,255,255,.02);
  transition: border-color .3s, background .3s;
  min-width: 0; overflow-wrap: anywhere;
}
.contact-lines a:hover { border-color: var(--blue-soft); background: rgba(61,139,255,.06); }
.contact-lines small { display: block; color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.contact-lines .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: rgba(61,139,255,.14); display: grid; place-items: center; color: var(--blue-soft); }

form { display: grid; gap: 16px; min-width: 0; }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; color: var(--fg);
  background: rgba(10,8,19,.6);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(61,139,255,.18); }
.choice { display: flex; gap: 10px; flex-wrap: wrap; }
.choice label {
  cursor: pointer; flex: 1 1 140px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 13px 14px; border-radius: 14px;
  border: 1px solid var(--line-strong); font-size: 15px; font-weight: 600; color: var(--muted);
  transition: all .25s;
}
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice input:checked + label { border-color: var(--blue); background: rgba(61,139,255,.14); color: var(--fg); }
.choice input:focus-visible + label { box-shadow: 0 0 0 4px rgba(61,139,255,.25); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--blue); flex-shrink: 0; }
.consent a { color: var(--blue-soft); text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: 15px; min-height: 1.4em; }
.form-status.ok { color: #3DDC84; }
.form-status.err { color: #FF7A7A; }

/* ---------- Footer ---------- */
footer { border-top: 1px solid var(--line); padding-block: 60px calc(40px + env(safe-area-inset-bottom, 0px)); margin-top: clamp(80px, 10vw, 140px); }
.foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.foot .brand img { height: 30px; }
.foot p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 320px; }
.foot-links { display: flex; gap: 50px; flex-wrap: wrap; }
.foot-links div { display: grid; gap: 10px; font-size: 14px; }
.foot-links b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.foot-links a { color: var(--muted); transition: color .25s; }
.foot-links a:hover { color: var(--fg); }
.foot-bottom { margin-top: 50px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--dim); font-size: 13px; }
.giant {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(56px, 16.5vw, 240px);
  letter-spacing: -.05em; line-height: .85;
  margin-top: 70px; text-align: center;
  background: linear-gradient(180deg, rgba(125,178,255,.35) 0%, rgba(125,178,255,0) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; white-space: nowrap; overflow: hidden;
}

/* ---------- Curseur lumineux ---------- */
.cursor-glow {
  position: fixed; top: 0; left: 0; z-index: 0;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,139,255,.09), transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity .5s;
}
body.has-pointer .cursor-glow { opacity: 1; }

/* ---------- Pages légales ---------- */
.legal { padding-block: 150px 40px; max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); margin: 20px 0 40px; }
.legal h2 { font-size: 22px; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--blue-soft); text-decoration: underline; }
.legal .todo { background: rgba(255,196,0,.18); color: #FFD25E; padding: 1px 6px; border-radius: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-links {
    position: fixed; top: 0; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 6px;
    padding: calc(90px + env(safe-area-inset-top, 0px)) var(--gutter-r) 30px var(--gutter-l);
    background: rgba(10,8,19,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-105%); transition: transform .5s cubic-bezier(.2,.8,.2,1);
    z-index: -1;
  }
  .nav.open .nav-links { transform: translateY(0); }
  .nav-links a:not(.btn) { font-size: 22px; font-family: var(--font-display); color: var(--fg); padding: 10px 0; }
  .nav-links .btn { margin-top: 14px; padding: 16px; font-size: 16px; }
  .burger { display: block; }
  .offers, .about, .contact-box { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .portrait { max-width: 460px; }
  .work-track { flex-direction: column; width: auto; }
  .work-intro, .project { width: 100%; }
  .compare-stage { height: 200vh; }
  .compare { aspect-ratio: 4 / 3; }
  .new-site .n-hero { max-width: 75%; }
  .new-site .n-links { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .row { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .hero-cta .btn { width: 100%; }
  .faq .answer { padding-right: 0; }
  .brand span { display: none; }
  .compare { aspect-ratio: 3 / 4; }
  .old-site .o-body { grid-template-columns: 1fr; }
  .old-site .o-side { display: none; }
  .new-site .n-hero { max-width: 100%; }
  .new-site .n-pipes { opacity: .35; width: 70%; }
  .included { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .compare-stage { height: auto; }
  .compare-sticky { position: relative; height: auto; padding-block: 40px; }
  .compare { --reveal: 50%; }
  .manifesto .w { color: var(--fg); }
}
