/* ==========================================================
   Propuls'IA Consulting · feuille de style
   ========================================================== */
:root {
  --bg: #07060D;
  --bg-2: #0D0B18;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #F5F3FF;
  --muted: #A1A1C2;
  --dim: #6B6B8C;
  --violet: #7C3AED;
  --violet-2: #A855F7;
  --cyan: #22D3EE;
  --grad: linear-gradient(110deg, #A855F7 0%, #7C3AED 35%, #22D3EE 100%);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-d: "Sora", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
  --font-m: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.08; letter-spacing: -.03em; margin: 0; }
h2 { font-size: clamp(32px, 4.6vw, 58px); font-weight: 700; }
h3 { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradShift 8s ease-in-out infinite;
}
@keyframes gradShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* ---------- ambiance ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 75%);
  opacity: .5;
}
.cursor-glow {
  position: fixed; left: 0; top: 0; z-index: -1; pointer-events: none;
  width: 560px; height: 560px; margin: -280px 0 0 -280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, .16), rgba(34, 211, 238, .05) 45%, transparent 70%);
  transform: translate3d(-999px, -999px, 0);
  transition: opacity .4s;
}

/* ---------- boutons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--font-d); letter-spacing: -.01em;
  padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer; color: var(--text);
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
  white-space: nowrap;
}
.btn-sm { padding: 11px 18px; font-size: 14px; }
.btn-lg { padding: 18px 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary {
  background: linear-gradient(110deg, #7C3AED, #9F4CF5 45%, #22D3EE);
  background-size: 160% 100%;
  box-shadow: 0 10px 40px -10px rgba(124, 58, 237, .7), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 16px 60px -12px rgba(34, 211, 238, .6), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn-ghost { background: var(--surface); border: 1px solid var(--line-2); backdrop-filter: blur(10px); }
.btn-ghost:hover { background: var(--surface-2); border-color: rgba(168, 85, 247, .5); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; z-index: 50;
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 28px;
  padding: 10px 10px 10px 18px; border-radius: 999px;
  border: 1px solid transparent;
  transition: background .4s, border-color .4s, backdrop-filter .4s;
}
.nav.scrolled { background: rgba(10, 9, 20, .65); border-color: var(--line); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; filter: drop-shadow(0 0 12px rgba(124, 58, 237, .55)); }
.brand-text { font: 700 20px/1 var(--font-d); letter-spacing: -.02em; display: flex; flex-direction: column; }
.brand-text b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.brand-text small { font: 500 8.5px/1 var(--font-d); letter-spacing: .42em; color: var(--muted); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .25s, background .25s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: 120px var(--gutter) 80px;
  overflow: hidden;
}
#orb { position: fixed; left: 0; top: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: -3; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; width: 100%; min-width: 0; max-width: var(--max); margin: 0 auto; pointer-events: none; }
.hero-inner a, .hero-inner button { pointer-events: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line-2);
  font: 500 13px/1 var(--font-m); color: var(--muted); letter-spacing: .01em;
  backdrop-filter: blur(8px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(34, 211, 238, .7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34, 211, 238, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); } }
.hero-title {
  font-size: clamp(48px, 9vw, 124px); font-weight: 800; letter-spacing: -.055em; line-height: .95;
  margin: 28px 0 28px; max-width: 11ch;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .word, .hero-title .scramble { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hero-title .scramble { color: transparent; -webkit-text-stroke: 1.5px rgba(245, 243, 255, .85); font-family: var(--font-d); }
.loaded .hero-title .word, .loaded .hero-title .scramble { transform: none; }
.loaded .hero-title .line:nth-child(2) > * { transition-delay: .12s; }
.loaded .hero-title .line:nth-child(3) > * { transition-delay: .24s; }
.hero-sub { max-width: 560px; font-size: clamp(17px, 1.5vw, 19px); color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; padding: 0; margin: 44px 0 0; color: var(--muted); font-size: 14.5px; }
.hero-proof b { color: var(--text); font-family: var(--font-d); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; z-index: 3; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid var(--line-2); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--cyan); animation: scrollHint 1.8s var(--ease) infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; border-block: 1px solid var(--line); background: rgba(255, 255, 255, .015); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 1; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font: 600 22px/1 var(--font-d); color: var(--muted); letter-spacing: -.01em; white-space: nowrap; }
.marquee-track i { font-style: normal; color: var(--violet-2); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- manifesto ---------- */
.manifesto { padding: clamp(100px, 16vw, 200px) var(--gutter); max-width: 1100px; margin: 0 auto; }
.manifesto-text { font: 600 clamp(26px, 3.6vw, 46px)/1.25 var(--font-d); letter-spacing: -.025em; }
.manifesto-text .mw { color: rgba(245, 243, 255, .14); transition: color .4s; }
.manifesto-text .mw.on { color: var(--text); }
.manifesto-text .mw.hl.on { color: var(--cyan); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(80px, 11vw, 140px) var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.section-head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 72px); }
.kicker { font: 500 13px/1 var(--font-m); text-transform: uppercase; letter-spacing: .2em; color: var(--cyan); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--cyan); }
.lead { color: var(--muted); font-size: clamp(17px, 1.4vw, 19px); margin-top: 22px; max-width: 620px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- cards services ---------- */
.cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.card { grid-column: span 2; }
.card-wide { grid-column: span 2; }
.card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; padding: 32px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(20, 17, 36, .78), rgba(10, 9, 20, .72));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  overflow: hidden; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease);
}
.card.reveal { transform: perspective(900px) translateY(34px); }
.card.reveal.in { transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); }
.spotlight::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(124, 58, 237, .22), rgba(34, 211, 238, .06) 40%, transparent 65%);
}
.spotlight::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), rgba(168, 85, 247, .9), rgba(34, 211, 238, .5) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(135deg, rgba(124, 58, 237, .25), rgba(34, 211, 238, .12));
  border: 1px solid rgba(168, 85, 247, .35);
  box-shadow: 0 0 30px -6px rgba(124, 58, 237, .6);
}
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: #E9D5FF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.card li { font-size: 14px; color: var(--text); display: flex; gap: 10px; align-items: center; }
.card li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--grad); flex: none; }

/* ---------- workflow ---------- */
.flow { border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); background: radial-gradient(ellipse at 50% 0%, rgba(124, 58, 237, .12), transparent 60%), rgba(13, 11, 24, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.flow-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.flow-line { position: absolute; left: 10%; right: 10%; top: 34px; width: 80%; height: 2px; overflow: visible; }
.flow-line line { stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 8; vector-effect: non-scaling-stroke; }
.flow-packet {
  position: absolute; top: 28px; left: 10%; width: 14px; height: 14px; border-radius: 50%; z-index: 2;
  background: #fff; box-shadow: 0 0 0 4px rgba(34, 211, 238, .25), 0 0 24px 6px rgba(34, 211, 238, .8);
  transform: translateX(-50%); opacity: 0;
}
.flow-node { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.fn-ico {
  width: 68px; height: 68px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; margin-bottom: 10px;
  background: var(--bg); border: 1px solid var(--line-2); color: var(--muted);
  transition: all .5s var(--ease);
}
.flow-node b { font: 600 15px/1.2 var(--font-d); }
.flow-node small { color: var(--dim); font-size: 13px; line-height: 1.35; }
.flow-node.on .fn-ico { color: #fff; border-color: rgba(34, 211, 238, .7); background: linear-gradient(135deg, rgba(124, 58, 237, .5), rgba(34, 211, 238, .25)); box-shadow: 0 0 40px -4px rgba(124, 58, 237, .8); transform: translateY(-4px) scale(1.05); }
.console { margin-top: 40px; border-radius: 16px; background: #05040A; border: 1px solid var(--line); overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); font: 12px var(--font-m); color: var(--dim); }
.console-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2A2840; }
.console-bar span { margin-left: 10px; }
.console pre { margin: 0; padding: 18px 20px; min-height: 196px; font: 13.5px/1.75 var(--font-m); color: #C4C4DD; white-space: pre-wrap; word-break: break-word; }
.console .t { color: var(--dim); }
.console .ok { color: #4ADE80; }
.console .ai { color: var(--violet-2); }
.console .cy { color: var(--cyan); }
.console .caret { display: inline-block; width: 8px; height: 15px; background: var(--cyan); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- démo calculateur ---------- */
.demo { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.sliders { display: grid; gap: 26px; margin-top: 40px; }
.slider { display: block; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.slider output { font: 700 20px/1 var(--font-d); color: var(--text); white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--violet), var(--cyan)) 0 / var(--p, 50%) 100% no-repeat, rgba(255, 255, 255, .08); outline-offset: 6px; cursor: pointer; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(124, 58, 237, .35), 0 4px 18px rgba(34, 211, 238, .5); transition: box-shadow .25s; }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 6px rgba(124, 58, 237, .35), 0 4px 18px rgba(34, 211, 238, .5); }
input[type=range]:active::-webkit-slider-thumb { box-shadow: 0 0 0 10px rgba(124, 58, 237, .3), 0 4px 24px rgba(34, 211, 238, .7); }
.fineprint { margin-top: 28px; font-size: 13px; color: var(--dim); max-width: 520px; }
.result-card {
  position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 30px;
  background: linear-gradient(180deg, rgba(124, 58, 237, .14), rgba(13, 11, 24, .9));
  border: 1px solid rgba(168, 85, 247, .3);
  box-shadow: 0 40px 120px -40px rgba(124, 58, 237, .6);
}
.ring-wrap { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto 30px; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255, 255, 255, .06); stroke-width: 10; }
.ring-fg { fill: none; stroke: url(#rg); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 540.35; stroke-dashoffset: 540.35; transition: stroke-dashoffset .9s var(--ease); filter: drop-shadow(0 0 10px rgba(34, 211, 238, .55)); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.ring-center .big { font: 800 clamp(48px, 6vw, 68px)/1 var(--font-d); letter-spacing: -.04em; }
.ring-center .unit { font-size: 13.5px; color: var(--muted); margin-top: 8px; max-width: 150px; }
.result-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 26px; }
.result-row > div { padding: 18px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); }
.result-row .mid { display: block; font: 700 clamp(22px, 2.4vw, 28px)/1.1 var(--font-d); letter-spacing: -.02em; }
.result-row small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; line-height: 1.35; }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: 22px; padding-left: 0; }
.timeline-line { position: absolute; left: 35px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.timeline-line span { position: absolute; inset: 0 0 auto 0; height: 0; background: linear-gradient(var(--violet-2), var(--cyan)); box-shadow: 0 0 14px var(--cyan); border-radius: 2px; }
.step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 26px; align-items: start; padding: 26px 30px 26px 0; }
.step-num {
  position: relative; z-index: 1; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  font: 700 18px var(--font-m); background: var(--bg); border: 1px solid var(--line-2); color: var(--muted);
  transition: all .5s var(--ease);
}
.step.lit .step-num { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--violet), var(--cyan)); box-shadow: 0 0 40px -6px rgba(124, 58, 237, .9); }
.step h3 { font-size: clamp(22px, 2.4vw, 28px); margin: 8px 0 10px; }
.step p { color: var(--muted); max-width: 620px; }

/* ---------- réalisations ---------- */
.work {
  --rx: 0deg; --ry: 0deg;
  border-radius: 26px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease);
}
.work.reveal.in { transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)); }
.work:hover { border-color: rgba(168, 85, 247, .45); }
.work-visual { position: relative; height: 280px; display: grid; place-items: center; overflow: hidden; }
.wv-1 { background: radial-gradient(circle at 30% 20%, rgba(124, 58, 237, .55), transparent 55%), radial-gradient(circle at 80% 90%, rgba(34, 211, 238, .35), transparent 55%), #0E0B1D; }
.wv-2 { background: radial-gradient(circle at 70% 20%, rgba(249, 115, 22, .35), transparent 55%), radial-gradient(circle at 20% 90%, rgba(124, 58, 237, .4), transparent 55%), #120C14; }
.wv-3 { background: radial-gradient(circle at 50% 30%, rgba(34, 211, 238, .4), transparent 55%), radial-gradient(circle at 10% 100%, rgba(124, 58, 237, .35), transparent 50%), #07121A; }
.wv-4 { background: radial-gradient(circle at 20% 20%, rgba(234, 179, 8, .25), transparent 50%), radial-gradient(circle at 90% 80%, rgba(124, 58, 237, .45), transparent 55%), #100E1A; }
.mock { width: 74%; border-radius: 14px; background: rgba(10, 9, 20, .82); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); backdrop-filter: blur(6px); transform: translateY(16px) rotate(-2deg); transition: transform .7s var(--ease); }
.work:hover .mock { transform: translateY(0) rotate(0); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font: 11px var(--font-m); color: var(--dim); }
.mock-bar i { width: 8px; height: 8px; border-radius: 50%; background: #2A2840; }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.mv-price small { display: block; font-size: 11px; color: var(--dim); }
.mv-price b { font: 700 26px var(--font-d); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mv-bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
.mv-bars span { width: 10px; height: var(--h); border-radius: 3px; background: linear-gradient(var(--cyan), var(--violet)); opacity: .85; }
.mock-body.cal { flex-direction: column; align-items: stretch; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid span { aspect-ratio: 1; border-radius: 5px; background: rgba(255, 255, 255, .05); }
.cal-grid .on { background: rgba(249, 115, 22, .35); }
.cal-grid .pick { background: linear-gradient(135deg, #F97316, #A855F7); box-shadow: 0 0 14px rgba(249, 115, 22, .7); }
.cal-ok { font: 12px var(--font-m); color: #4ADE80; margin-top: 4px; }
.mock.phone { width: 150px; height: 230px; border-radius: 26px; padding: 12px; transform: translateY(20px) rotate(4deg); }
.route { position: relative; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; background: repeating-linear-gradient(0deg, transparent 0 17px, rgba(255, 255, 255, .04) 17px 18px), repeating-linear-gradient(90deg, transparent 0 17px, rgba(255, 255, 255, .04) 17px 18px), #071018; }
.route svg { width: 100%; height: 100%; }
.route path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; filter: drop-shadow(0 0 6px var(--cyan)); }
.work.in .route path { animation: draw 3.5s var(--ease) .3s infinite alternate; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.gps { position: absolute; right: 10px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(34, 211, 238, .3), 0 0 18px var(--cyan); animation: pulse 2s infinite; }
.mock-body.club { flex-direction: column; align-items: stretch; gap: 9px; }
.club b { font: 700 18px var(--font-d); color: #FDE68A; }
.club span { height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .08); }
.club span.short { width: 55%; }
.work-info { padding: 28px 30px 32px; }
.tag { display: inline-block; font: 500 11.5px/1 var(--font-m); text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(34, 211, 238, .3); background: rgba(34, 211, 238, .06); margin-bottom: 16px; }
.work-info h3 { font-size: 26px; margin-bottom: 10px; }
.work-info p { color: var(--muted); font-size: 15.5px; }
.link { display: inline-block; margin-top: 18px; font: 600 14.5px var(--font-d); color: var(--text); border-bottom: 1px solid rgba(168, 85, 247, .6); padding-bottom: 2px; transition: color .25s, border-color .25s; }
.link:hover { color: var(--cyan); border-color: var(--cyan); }

/* ---------- pourquoi ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.why-list li { padding: 24px 26px; border-radius: 18px; border: 1px solid var(--line); background: rgba(13, 11, 24, .7); backdrop-filter: blur(8px); display: grid; gap: 6px; transition: border-color .3s, background .3s; }
.why-list li:hover { border-color: rgba(34, 211, 238, .35); background: var(--surface-2); }
.why-list b { font: 600 18px var(--font-d); }
.why-list span { color: var(--muted); font-size: 15px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; }
.faq details { border: 1px solid var(--line); border-radius: 18px; background: rgba(13, 11, 24, .7); backdrop-filter: blur(8px); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(168, 85, 247, .4); background: rgba(124, 58, 237, .06); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; font: 600 clamp(16px, 1.5vw, 18px)/1.35 var(--font-d); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 400 20px/1 var(--font-b); color: var(--cyan); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--muted); max-width: 720px; }

/* ---------- contact ---------- */
.contact { overflow: hidden; overflow: clip; }
.contact-glow { position: absolute; left: 50%; top: 40%; width: min(900px, 120vw); height: 600px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(124, 58, 237, .28), rgba(34, 211, 238, .08) 45%, transparent 70%); filter: blur(30px); z-index: -1; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(44px, 7vw, 92px); letter-spacing: -.05em; }
.contact-points { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
.contact-points li { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.contact-points li span { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); color: var(--cyan); flex: none; }
.contact-points a:hover { color: var(--text); }
.form { padding: clamp(24px, 4vw, 40px); border-radius: 28px; background: rgba(13, 11, 24, .72); border: 1px solid var(--line-2); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label > span, .form legend { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 8px; padding: 0; }
.form input:not([type=checkbox]), .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .3);
  color: var(--text); font: 16px var(--font-b); transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(124, 58, 237, .2); }
.form input.err { border-color: #F87171; }
.form fieldset { border: 0; padding: 0; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.form .chips label > span { display: inline-block; margin: 0; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); transition: all .25s; }
.chips input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(110deg, rgba(124, 58, 237, .8), rgba(34, 211, 238, .6)); }
.chips input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.form-msg { min-height: 1.4em; font-size: 14px; color: var(--cyan); text-align: center; }
.form-msg.ok { color: #4ADE80; }
.form-msg.err { color: #F87171; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { margin: 0; font-size: 12px; line-height: 1.5; color: var(--dim); text-align: center; }
.form-legal a, .agent-note a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px var(--gutter) 36px; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-top nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-top nav a, .footer-bottom a { color: var(--muted); font-size: 14.5px; transition: color .25s; }
.footer-top nav a:hover, .footer-bottom a:hover { color: var(--text); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--dim); }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1024px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card, .cards .card:nth-child(1), .cards .card:nth-child(2) { grid-column: span 1; }
  .cards .card-wide { grid-column: span 2; }
  .demo, .why-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .nav { gap: 12px; }
  .nav-cta { display: none; }
  .burger { display: grid; place-items: center; gap: 5px; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10, 9, 20, .6); cursor: pointer; padding: 0; align-content: center; }
  .burger span { display: block; width: 18px; height: 1.6px; background: var(--text); transition: transform .35s var(--ease); }
  .burger[aria-expanded=true] span:first-child { transform: translateY(3.3px) rotate(45deg); }
  .burger[aria-expanded=true] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }
  .nav-links {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 14px;
    border-radius: 24px; background: rgba(10, 9, 20, .95); border: 1px solid var(--line); backdrop-filter: blur(18px);
    opacity: 0; transform: translateY(-10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .flow-track { grid-template-columns: 1fr; gap: 12px; }
  .flow-line { left: 34px; right: auto; top: 34px; bottom: 34px; width: 2px; height: auto; }
  .flow-line line { display: none; }
  .flow-line { background: repeating-linear-gradient(var(--line-2) 0 6px, transparent 6px 14px); }
  .flow-packet { left: 34px; top: 28px; }
  .flow-node { display: grid; grid-template-columns: 68px 1fr; column-gap: 18px; row-gap: 2px; text-align: left; align-items: end; }
  .flow-node .fn-ico { grid-row: span 2; margin: 0; }
  .flow-node small { align-self: start; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; align-items: flex-end; padding-bottom: 90px; }
  .hero-ctas .btn { width: 100%; white-space: normal; text-align: center; }
  .eyebrow { font-size: 11.5px; }
  .cards { grid-template-columns: 1fr; }
  .cards .card-wide { grid-column: span 1; }
  .card { padding: 26px; }
  .form-row, .result-row { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 56px 1fr; gap: 18px; padding-right: 0; }
  .step-num { width: 56px; height: 56px; font-size: 15px; }
  .timeline-line { left: 27px; }
  .work-info { padding: 24px; }
  .cursor-glow { display: none; }
  .brand-text { font-size: 18px; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-title .word, .hero-title .scramble { transform: none; }
  html { scroll-behavior: auto; }
}

/* halo derrière la sphère */
.hero::before {
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  right: 4%; top: 50%; width: min(720px, 70vw); aspect-ratio: 1; transform: translateY(-50%);
  background: radial-gradient(circle, rgba(124, 58, 237, .35), rgba(34, 211, 238, .08) 45%, transparent 68%);
  filter: blur(20px);
}
@media (max-width: 900px) { .hero::before { right: 50%; top: 30%; transform: translate(50%, -50%); width: 110vw; } }


/* ==========================================================
   Intro cinématique
   ========================================================== */
.intro { position: fixed; inset: 0; z-index: 100; display: none; pointer-events: none; }
.intro-on .intro { display: block; }
.intro-on body { overflow: hidden; }
.intro-on .nav, .intro-on main, .intro-on .footer { opacity: 0; }
.nav, main, .footer { transition: opacity 1.2s var(--ease); }
.intro.out { opacity: 0; transition: opacity .9s var(--ease); }
.intro-word {
  position: absolute; left: 50%; top: calc(50% + min(24vh, 46vw)); transform: translateX(-50%);
  display: flex; gap: .06em; font: 800 clamp(26px, 4.4vw, 54px)/1 var(--font-d); letter-spacing: .14em; white-space: nowrap;
}
.intro-word span { opacity: 0; transform: translateY(24px); filter: blur(10px); transition: all .7s var(--ease); }
.intro-word span.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-word.show span { opacity: 1; transform: none; filter: none; }
.intro-word.show span:nth-child(2) { transition-delay: .04s; } .intro-word.show span:nth-child(3) { transition-delay: .08s; }
.intro-word.show span:nth-child(4) { transition-delay: .12s; } .intro-word.show span:nth-child(5) { transition-delay: .16s; }
.intro-word.show span:nth-child(6) { transition-delay: .2s; } .intro-word.show span:nth-child(7) { transition-delay: .24s; }
.intro-word.show span:nth-child(8) { transition-delay: .28s; } .intro-word.show span:nth-child(9) { transition-delay: .32s; }
.intro-word.show span:nth-child(10) { transition-delay: .36s; }
.intro-hud { position: absolute; left: var(--gutter); bottom: 36px; display: grid; gap: 10px; font: 500 12px/1 var(--font-m); color: var(--muted); letter-spacing: .18em; text-transform: uppercase; }
.intro-pct { font: 700 clamp(40px, 6vw, 72px)/1 var(--font-d); letter-spacing: -.04em; color: var(--text); font-variant-numeric: tabular-nums; }
.intro-bar { width: min(260px, 60vw); height: 2px; background: var(--line-2); overflow: hidden; }
.intro-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.intro-skip { position: absolute; right: var(--gutter); bottom: 36px; pointer-events: auto; background: none; border: 1px solid var(--line-2); color: var(--muted); font: 500 12px var(--font-m); letter-spacing: .12em; text-transform: uppercase; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: color .25s, border-color .25s; }
.intro-skip:hover { color: var(--text); border-color: var(--violet-2); }

/* ==========================================================
   Réalisations : défilement horizontal
   ========================================================== */
.hsec { position: relative; }
.hsec-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 4vh, 44px); }
.hsec-head { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.hsec-head h2 { font-size: clamp(30px, 4vw, 52px); }
.hsec-meter { display: grid; gap: 12px; justify-items: end; flex: none; }
.hsec-count { font: 500 14px var(--font-m); color: var(--muted); }
.hsec-count b { color: var(--text); font-size: 26px; font-family: var(--font-d); }
.hsec-bar { width: 200px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hsec-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--violet-2), var(--cyan)); box-shadow: 0 0 10px var(--cyan); }
.hsec-swipe { display: none; font: 500 12px var(--font-m); color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }
.htrack { display: flex; gap: 24px; width: max-content; padding: 0 var(--gutter) 0 max(var(--gutter), calc((100vw - var(--max)) / 2)); will-change: transform; }
.htrack .work { width: clamp(320px, 31vw, 420px); flex: none; background: rgba(13, 11, 24, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; }
.htrack .work-visual { height: clamp(170px, 26vh, 240px); }
.htrack .work-info { padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.htrack .work-info h3 { font-size: 23px; }
.htrack .work-info p { font-size: 14.5px; }
.htrack .link { margin-top: auto; padding-top: 14px; align-self: flex-start; border: 0; }
.htrack .link::after { content: ""; display: block; height: 1px; background: rgba(168, 85, 247, .6); margin-top: 2px; }
.htrack .work-info .tag { align-self: flex-start; }

/* nouvelles maquettes */
.wv-5 { background: radial-gradient(circle at 25% 25%, rgba(34, 211, 238, .35), transparent 55%), radial-gradient(circle at 85% 85%, rgba(124, 58, 237, .45), transparent 55%), #0B0E1C; }
.wv-6 { background: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, .35), transparent 60%), radial-gradient(circle at 10% 100%, rgba(124, 58, 237, .3), transparent 50%), #0A1020; }
.wv-7 { background: radial-gradient(circle at 80% 20%, rgba(239, 68, 68, .3), transparent 55%), radial-gradient(circle at 20% 90%, rgba(124, 58, 237, .45), transparent 55%), #130B16; }
.wv-8 { background: radial-gradient(circle at 20% 30%, rgba(168, 85, 247, .4), transparent 55%), radial-gradient(circle at 90% 90%, rgba(34, 197, 94, .25), transparent 55%), #0E0B18; }
.wv-9 { background: radial-gradient(circle at 30% 20%, rgba(249, 115, 22, .3), transparent 55%), radial-gradient(circle at 75% 85%, rgba(239, 68, 68, .28), transparent 55%), #120C12; }
.mock-body.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: stretch; }
.tiles span { height: 46px; border-radius: 8px; background: linear-gradient(rgba(34, 211, 238, .28), rgba(124, 58, 237, .18) 60%, rgba(255, 255, 255, .05) 60%); border: 1px solid var(--line); }
.mock-body.bubbles { flex-direction: column; align-items: stretch; gap: 8px; }
.bub { font: 12px/1.35 var(--font-m); padding: 8px 11px; border-radius: 12px; max-width: 88%; opacity: 0; transform: translateY(8px); transition: all .6s var(--ease); }
.bub.in { background: rgba(255, 255, 255, .08); align-self: flex-start; }
.bub.ai { background: rgba(124, 58, 237, .3); color: #E9D5FF; align-self: flex-end; transition-delay: .5s; }
.bub.ok { background: rgba(34, 197, 94, .18); color: #86EFAC; align-self: flex-end; transition-delay: 1s; }
.work.in .bub { opacity: 1; transform: none; }
.roof { position: relative; width: 62%; }
.roof svg { width: 100%; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); }
.drop { position: absolute; left: var(--x); top: 22%; width: 6px; height: 9px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: linear-gradient(#E0F2FE, #38BDF8); box-shadow: 0 0 10px rgba(56, 189, 248, .8); opacity: 0; animation: drip 2.8s var(--d) ease-in infinite; }
@keyframes drip { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 70% { opacity: 1; transform: translateY(46px); } 100% { opacity: 0; transform: translateY(52px) scale(.4); } }
.roof-badge { position: absolute; right: -6%; top: 4%; font: 600 11px var(--font-m); color: #7DD3FC; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(125, 211, 252, .4); background: rgba(8, 15, 30, .8); }
.doc { position: relative; width: 58%; padding: 18px; border-radius: 10px; background: #F5F3FF; color: #1E1B2E; display: grid; gap: 7px; transform: rotate(-3deg) translateY(10px); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); transition: transform .7s var(--ease); }
.work:hover .doc { transform: rotate(0) translateY(0); }
.doc b { font: 700 14px var(--font-d); }
.doc span { height: 6px; border-radius: 3px; background: #DDD6FE; }
.doc span.short { width: 60%; }
.doc small { font: 9.5px/1.4 var(--font-m); color: #6B6B8C; margin-top: 4px; }
.stamp { position: absolute; right: 12px; top: 30px; font: 800 13px var(--font-d); font-style: normal; text-transform: uppercase; letter-spacing: .1em; color: #16A34A; border: 2px solid #16A34A; padding: 3px 8px; border-radius: 6px; transform: rotate(-14deg) scale(1.6); opacity: 0; transition: all .5s cubic-bezier(.5, 1.8, .5, 1) .5s; }
.work.in .stamp { opacity: .9; transform: rotate(-14deg) scale(1); }
.kiosk { width: 128px; height: 190px; border-radius: 14px; padding: 14px 10px; background: #0A0912; border: 6px solid #1F1C2E; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9), 0 0 40px -10px rgba(249, 115, 22, .5); display: grid; gap: 8px; align-content: center; transform: rotate(3deg); transition: transform .7s var(--ease); }
.work:hover .kiosk { transform: rotate(0); }
.k-title { font: 600 10px var(--font-d); color: var(--muted); text-align: center; }
.k-btn { display: grid; gap: 2px; text-align: center; padding: 10px 6px; border-radius: 10px; font: 700 10.5px/1.2 var(--font-d); }
.k-btn small { font: 400 7.5px var(--font-m); opacity: .8; }
.k-a { background: linear-gradient(135deg, #F97316, #EA580C); }
.k-b { background: linear-gradient(135deg, #DC2626, #7C3AED); }

@media (max-width: 860px) {
  .hsec { height: auto !important; padding: clamp(80px, 11vw, 140px) 0; }
  .hsec-sticky { position: static; height: auto; overflow: visible; }
  .hsec-head { flex-direction: column; align-items: flex-start; }
  .hsec-meter { justify-items: start; }
  .hsec-count, .hsec-bar { display: none; }
  .hsec-swipe { display: block; }
  .htrack { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 16px; transform: none !important; scrollbar-width: none; }
  .htrack::-webkit-scrollbar { display: none; }
  .htrack .work { width: 84vw; scroll-snap-align: center; }
  .htrack .work.reveal { opacity: 1; transform: none; }
  .intro-word { top: calc(50% + 30vw); }
}

/* outro */
.outro { position: relative; min-height: 92vh; display: flex; align-items: flex-end; justify-content: center; padding: 0 var(--gutter) 64px; text-align: center; }
.outro-inner { display: grid; gap: 22px; justify-items: center; }
.outro-line { font: 700 clamp(28px, 4vw, 48px)/1.1 var(--font-d); letter-spacing: -.03em; }

/* Stick Racer : pare-brise et bandeau */
.wv-10 { background: radial-gradient(circle at 75% 25%, rgba(234, 179, 8, .3), transparent 55%), radial-gradient(circle at 15% 90%, rgba(124, 58, 237, .45), transparent 55%), #110D18; }
.shield { position: relative; width: 70%; display: grid; place-items: center; }
.windshield { width: 100%; aspect-ratio: 2.6; clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%); background: linear-gradient(160deg, rgba(186, 230, 253, .25), rgba(30, 27, 46, .9) 55%); border-radius: 10px; position: relative; overflow: hidden; transform: perspective(500px) rotateX(18deg); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .8); }
.banner { position: absolute; inset: 0 0 auto; height: 30%; display: grid; place-items: center; font: 800 clamp(11px, 1.3vw, 15px)/1 var(--font-d); letter-spacing: .3em; color: #111; background: linear-gradient(90deg, #FACC15, #F97316); transform: translateY(-100%); transition: transform .8s var(--ease) .3s; }
.work.in .banner { transform: none; }
.cart { position: absolute; right: -4%; bottom: -16%; font: 600 11px var(--font-m); color: #FDE68A; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(253, 230, 138, .4); background: rgba(17, 13, 24, .85); }
.cube { position: absolute; left: 2%; bottom: -18%; width: 22px; height: 22px; border: 1.5px solid var(--cyan); transform: rotate(45deg); animation: spin3d 6s linear infinite; box-shadow: 0 0 12px rgba(34, 211, 238, .5); }
@keyframes spin3d { to { transform: rotate(405deg); } }

/* ==========================================================
   Offres & tarifs
   ========================================================== */
.offer-start {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(26px, 4vw, 44px); border-radius: 28px; margin-bottom: 18px;
  background: linear-gradient(120deg, rgba(124, 58, 237, .28), rgba(34, 211, 238, .1) 70%), rgba(13, 11, 24, .82);
  border: 1px solid rgba(168, 85, 247, .45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 30px 100px -40px rgba(124, 58, 237, .7);
}
.os-main { display: grid; gap: 12px; min-width: 0; }
.os-main h3 { font-size: clamp(24px, 2.6vw, 32px); }
.os-main p { color: var(--muted); max-width: 560px; }
.os-badge { justify-self: start; font: 500 11.5px/1 var(--font-m); text-transform: uppercase; letter-spacing: .14em; color: #fff; padding: 7px 11px; border-radius: 999px; background: linear-gradient(110deg, var(--violet), var(--cyan)); }
.os-side { display: grid; gap: 10px; justify-items: start; }
.price { display: flex; align-items: baseline; gap: 8px; font: 800 clamp(34px, 3.6vw, 46px)/1 var(--font-d); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price small { font: 500 13px var(--font-m); color: var(--muted); letter-spacing: .04em; }
.price-note { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.os-side .btn { margin-top: 8px; }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.offer {
  --mx: 50%; --my: 50%;
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 14px;
  padding: 28px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(20, 17, 36, .8), rgba(10, 9, 20, .74)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease);
}
.offer:hover { border-color: rgba(168, 85, 247, .45); }
.offer h3 { font-size: 21px; }
.offer-for { color: var(--cyan); font: 500 13px/1.4 var(--font-m); margin-top: -6px; }
.offer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.offer li { font-size: 14.5px; display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.offer li::before { content: "✓"; color: var(--violet-2); font-weight: 700; flex: none; }
.offer-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.offer .price { font-size: 32px; }
.offer-gain { margin: auto 0 0; padding: 12px 14px; border-radius: 12px; background: rgba(34, 211, 238, .07); border: 1px solid rgba(34, 211, 238, .18); font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.offer-gain b { color: var(--cyan); font-weight: 600; }
.offer-gain + .offer-price { margin-top: 0; }
.offer-cta { font: 600 14.5px var(--font-d); color: var(--text); transition: color .25s; align-self: flex-start; }
.offer-cta:hover { color: var(--cyan); }
#offres > .fineprint { margin-top: 22px; }
.extras-wrap { margin-top: 48px; display: grid; gap: 10px; }
.extras-title { font-size: 22px; }
.extras-lead { margin: 0 0 8px; color: var(--muted); font-size: 15.5px; max-width: 640px; }
.extras { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 12px; }
.extra { display: grid; gap: 4px; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(20, 17, 36, .88), rgba(10, 9, 20, .84)); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  color: var(--text); font: inherit; cursor: pointer; transition: border-color .25s, background .25s, transform .25s var(--ease); }
.extra b { font: 600 15.5px var(--font-d); }
.extra span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.extra:hover, .extra:focus-visible { border-color: rgba(34, 211, 238, .55); background: rgba(24, 20, 44, .92); transform: translateY(-2px); }
@media (max-width: 1024px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } .offer-start { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .offers { grid-template-columns: minmax(0, 1fr); } .offer { padding: 24px; } }

/* ---------- assistant IA ---------- */
/* display: flex écraserait l'attribut hidden : la fenêtre fermée, invisible, bloquerait les clics */
.agent-panel[hidden], .agent-teaser[hidden] { display: none; }
.agent-launch {
  position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; cursor: pointer;
  font: 600 14px/1 var(--font-d); color: var(--text); background: rgba(13, 11, 24, .82); border: 1px solid var(--line-2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px -14px rgba(124, 58, 237, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
  transition: transform .3s var(--ease), border-color .3s, opacity .3s;
}
.agent-launch:hover { transform: translateY(-2px); border-color: rgba(34, 211, 238, .5); }
.intro-on .agent-launch, .intro-on .agent-teaser { display: none; }
.agent-open .agent-launch { opacity: 0; pointer-events: none; }
.agent-orb {
  width: 28px; height: 28px; border-radius: 50%; flex: none; position: relative;
  background: radial-gradient(circle at 35% 30%, #fff 0 6%, #A855F7 30%, #7C3AED 55%, #22D3EE 100%);
  box-shadow: 0 0 18px rgba(124, 58, 237, .8), 0 0 30px rgba(34, 211, 238, .35);
  animation: agentBreath 3.2s ease-in-out infinite;
}
@keyframes agentBreath { 50% { box-shadow: 0 0 26px rgba(168, 85, 247, .95), 0 0 46px rgba(34, 211, 238, .5); transform: scale(1.06); } }

.agent-teaser {
  position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(max(20px, env(safe-area-inset-bottom, 0px)) + 64px);
  max-width: 260px; padding: 14px 34px 14px 16px; border-radius: 16px 16px 4px 16px; cursor: pointer;
  background: rgba(13, 11, 24, .92); border: 1px solid rgba(168, 85, 247, .4); color: var(--text); font-size: 14px; line-height: 1.45;
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .8); animation: agentIn .6s var(--ease);
}
.agent-teaser p { margin: 0; }
.agent-teaser-x { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; background: none; color: var(--muted); font-size: 18px; cursor: pointer; }
@keyframes agentIn { from { opacity: 0; transform: translateY(10px); } }

.agent-panel {
  position: fixed; z-index: 95; right: max(20px, env(safe-area-inset-right, 0px)); bottom: max(20px, env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px)); height: min(620px, calc(100vh - 110px)); height: min(620px, calc(100dvh - 110px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgba(10, 9, 20, .9); border: 1px solid var(--line-2);
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 30px 90px -20px rgba(124, 58, 237, .55), inset 0 1px 0 rgba(255, 255, 255, .07);
  opacity: 0; transform: translateY(16px) scale(.98); transform-origin: bottom right;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.agent-panel.on { opacity: 1; transform: none; }
.agent-head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--line); }
.agent-id { flex: 1; min-width: 0; display: grid; }
.agent-id b { font: 600 15px/1.2 var(--font-d); }
.agent-id small { display: flex; align-items: center; gap: 6px; color: var(--muted); font: 500 11px/1.4 var(--font-m); letter-spacing: .06em; text-transform: uppercase; }
.agent-id small i { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 8px #34D399; }
.agent-icon { width: 34px; height: 34px; border-radius: 50%; border: 1px solid transparent; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s; }
.agent-icon:hover, .agent-icon:focus-visible { color: var(--text); border-color: var(--line-2); outline: none; }

.agent-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; scrollbar-width: thin; }
.agent-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.55; animation: agentIn .35s var(--ease); overflow-wrap: anywhere; }
.agent-msg p { margin: 0; }
.agent-msg p + p, .agent-msg ul + p, .agent-msg p + ul { margin-top: 8px; }
.agent-msg ul { margin: 0; padding-left: 18px; }
.agent-msg li + li { margin-top: 4px; }
.agent-msg strong { color: #fff; font-weight: 600; }
.agent-msg.bot { align-self: flex-start; background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; color: #E4E1F5; }
.agent-msg.user { align-self: flex-end; background: linear-gradient(120deg, #7C3AED, #6D28D9 60%, #0E7490); border-bottom-right-radius: 4px; color: #fff; }
.agent-msg.error { border-color: rgba(248, 113, 113, .4); color: #FCA5A5; }
.agent-msg.handoff { border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .07); }
.agent-go { margin-top: 10px; padding: 9px 14px; border-radius: 999px; border: 0; cursor: pointer; font: 600 13px/1 var(--font-d); color: #fff; background: var(--grad); }
.agent-msg.typing { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; padding: 14px 16px; }
.agent-msg.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--violet-2); animation: agentDot 1.2s infinite; }
.agent-msg.typing span:nth-child(2) { animation-delay: .15s; } .agent-msg.typing span:nth-child(3) { animation-delay: .3s; }
.agent-msg.typing em { flex-basis: 100%; margin-top: 6px; font-size: 12px; color: var(--muted); font-style: normal; }
@keyframes agentDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }

.agent-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 10px; }
.agent-chips:empty { display: none; }
.agent-chip { padding: 8px 12px; border-radius: 999px; cursor: pointer; font: 500 13px/1.2 var(--font-b); color: var(--text); background: rgba(124, 58, 237, .14); border: 1px solid rgba(168, 85, 247, .35); transition: border-color .2s, background .2s; }
.agent-chip:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .1); }
.agent-form { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 6px 6px 6px 14px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line-2); }
.agent-form:focus-within { border-color: rgba(168, 85, 247, .6); }
.agent-form textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: none; background: none; color: var(--text); font: 400 15px/1.45 var(--font-b); padding: 7px 0; max-height: 120px; }
.agent-form textarea::placeholder { color: var(--dim); }
.agent-send { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font-size: 18px; background: var(--grad); }
.agent-note { margin: 8px 16px 12px; font-size: 11px; line-height: 1.4; color: var(--dim); text-align: center; }

.agent-hero { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--muted); font: 500 15px/1.3 var(--font-b); }
.agent-hero .agent-orb { width: 22px; height: 22px; }
.agent-hero b { color: var(--text); font-weight: 600; border-bottom: 1px solid rgba(34, 211, 238, .5); }
.agent-hero:hover b { color: var(--cyan); }
.agent-try { display: inline-block; margin-top: 14px; font: 600 14px/1.3 var(--font-d); color: var(--cyan); cursor: pointer; background: none; border: 0; padding: 0; }
.agent-try:hover { text-decoration: underline; }
#contactForm.agent-filled { animation: agentFilled 2.4s var(--ease); }
@keyframes agentFilled { 0%, 100% { box-shadow: none; } 20%, 60% { box-shadow: 0 0 0 2px rgba(34, 211, 238, .7), 0 0 40px rgba(34, 211, 238, .3); } }

@media (max-width: 600px) {
  .agent-launch { padding: 8px; }
  .agent-launch-txt { display: none; }
  .agent-panel { right: 0; left: 0; bottom: 0; width: 100%; height: calc(100dvh - 60px); border-radius: 24px 24px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .agent-teaser { max-width: calc(100vw - 100px); }
}
@media (prefers-reduced-motion: reduce) {
  .agent-orb, .agent-msg, .agent-teaser, .agent-msg.typing span { animation: none; }
  .agent-panel { transition: none; }
}
