/* ==========================================================================
   FRIZII — Agence de création de sites web
   Design system : dark futuriste · violet / cyan / rose
   ========================================================================== */

@property --angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #07060c;
  --bg-2: #0d0b16;
  --bg-3: #13101f;
  --surface: rgba(255, 255, 255, .035);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f3ff;
  --muted: #a6a1bd;
  --dim: #6f6a88;
  --violet: #7c5cff;
  --cyan: #22d3ee;
  --pink: #ff4fd8;
  --green: #3ef08f;
  --grad: linear-gradient(120deg, var(--violet), var(--cyan) 50%, var(--pink));
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, .28), rgba(34, 211, 238, .14));
  --radius: 24px;
  --radius-sm: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font-d: 'Syne', system-ui, sans-serif;
  --font-b: 'Manrope', system-ui, sans-serif;
  --container: 1260px;
  --pad: clamp(16px, 4vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
::selection { background: var(--violet); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Ambient : grain + glows ---------- */
body::after {
  content: '';
  position: fixed; inset: -50%;
  z-index: 200; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } 100% { transform: translate(0, 0); }
}

.glow {
  position: absolute; border-radius: 50%;
  filter: blur(90px); pointer-events: none; z-index: 0;
  opacity: .55;
}
.glow-violet { background: var(--violet); }
.glow-cyan { background: var(--cyan); opacity: .3; }
.glow-pink { background: var(--pink); opacity: .3; }

.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 150;
  background: var(--grad); transform-origin: left; transform: scaleX(0);
}

/* ---------- Custom cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; opacity: 0; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; mix-blend-mode: difference; }
.cursor-ring {
  width: 40px; height: 40px; margin: -20px 0 0 -20px;
  border: 1px solid rgba(255,255,255,.45); border-radius: 50%;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .4s, border-color .4s;
}
.cursor-ring.is-hover { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: rgba(124,92,255,.12); border-color: var(--violet); }
.cursor-ring.is-text { width: 104px; height: 104px; margin: -52px 0 0 -52px; background: var(--text); border-color: var(--text); }
.cursor-label { font-size: .78rem; font-weight: 700; color: var(--bg); opacity: 0; transition: opacity .3s; letter-spacing: .02em; }
.cursor-ring.is-text .cursor-label { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor * { cursor: none !important; }
  html.has-cursor input, html.has-cursor textarea { cursor: text !important; }
}
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Preloader ---------- */
.preloader { display: none; }
html.is-first .preloader {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  animation: failsafe 0s 6s forwards;
}
.preloader-inner { width: min(420px, 80vw); text-align: center; }
.preloader-logo { display: flex; align-items: center; justify-content: center; gap: 14px; font-family: var(--font-d); font-weight: 800; font-size: 2.4rem; letter-spacing: -.03em; }
.preloader-logo svg { width: 46px; height: 46px; animation: spin-slow 3s linear infinite; }
.preloader-count { font-family: var(--font-d); font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; margin: 28px 0 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.preloader-bar { height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.preloader-text { margin-top: 16px; color: var(--dim); font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; }
@keyframes failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ---------- Page transition ---------- */
.pt { position: fixed; inset: 0; z-index: 900; display: flex; pointer-events: none; }
.pt-panel { flex: 1; height: 100%; background: var(--bg-2); transform: scaleY(0); transform-origin: top; border-right: 1px solid rgba(255,255,255,.03); }
.pt-panel:nth-child(odd) { background: var(--bg-3); }
.pt-panel:nth-child(3) { background: linear-gradient(180deg, var(--bg-3), #1b1338); }
html.js .pt-panel { transform: scaleY(1); }
html.js.is-first .pt-panel { transform: scaleY(0); }
html.js .pt:not(.ready) { animation: failsafe 0s 4s forwards; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 20px 0;
  transition: transform .6s var(--ease), background-color .4s, padding .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(7, 6, 12, .62); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); padding: 12px 0; border-color: var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 800; font-size: 1.55rem; letter-spacing: -.035em; position: relative; z-index: 2; }
.logo svg { width: 36px; height: 36px; transition: transform .8s var(--ease); }
.logo:hover svg { transform: rotate(-180deg) scale(.9); }

.nav { display: flex; gap: 4px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.nav a { position: relative; padding: 9px 18px; border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .3s, background-color .3s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); }

.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); position: relative; z-index: 2; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .5s var(--ease); }
html.menu-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
html.menu-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
  .header .nav, .header .header-cta { display: none; }
  .burger { display: flex; }
}

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--bg-2);
  clip-path: circle(0% at calc(100% - 40px) 44px);
  transition: clip-path .9s var(--ease);
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--pad) 40px;
  overflow: hidden;
  visibility: hidden;
}
html.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 44px); visibility: visible; }
.menu .glow { width: 60vw; height: 60vw; right: -20vw; bottom: -20vw; }
.menu-links { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 4px; }
.menu-links li { overflow: hidden; }
.menu-link { display: flex; align-items: baseline; gap: 16px; font-family: var(--font-d); font-weight: 700; font-size: clamp(2.4rem, 10vw, 4.5rem); line-height: 1.1; letter-spacing: -.03em; }
.menu-link small { font-family: var(--font-b); font-size: .85rem; color: var(--dim); font-weight: 500; }
.menu-link[aria-current="page"] { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-foot { position: relative; z-index: 1; margin-top: 48px; color: var(--muted); font-size: .95rem; }
.menu-foot .btn { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: color .45s var(--ease), border-color .4s, background-color .4s;
}
.btn-sm { padding: 12px 22px; font-size: .9rem; }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--grad); transform: translateY(102%); transition: transform .6s var(--ease); }
.btn-primary:hover { color: #fff; }
.btn-primary:hover::before { transform: translateY(0); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255,255,255,.03); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.07); }
.btn-arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: rotate(-45deg); }
.btn[disabled] { opacity: .6; pointer-events: none; }

.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll > span { display: inline-block; transition: transform .55s var(--ease); }
.roll::after { content: attr(data-text); position: absolute; left: 0; top: 0; white-space: nowrap; transform: translateY(105%); transition: transform .55s var(--ease); }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-105%); }
a:hover .roll::after, button:hover .roll::after { transform: translateY(0); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); position: relative; }
.link-arrow::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Typography helpers ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }
.grad, .grad .wi {
  background: var(--grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradmove 6s linear infinite;
}
@keyframes gradmove { to { background-position: 200% center; } }
.outline { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); }
.outline .wi { color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.5); }

.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--cyan); }
.kicker::before { content: ''; width: 28px; height: 1px; background: currentColor; }

.h1 { font-family: var(--font-d); font-weight: 800; font-size: clamp(2.6rem, 7.4vw, 6.4rem); line-height: .98; letter-spacing: -.045em; }
.h2 { font-family: var(--font-d); font-weight: 700; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -.035em; max-width: 17ch; }
.h3 { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.35rem, 2vw, 1.65rem); line-height: 1.15; letter-spacing: -.02em; }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); max-width: 50ch; }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.04); backdrop-filter: blur(10px);
  font-size: .85rem; color: var(--muted);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,240,143,.55); } 70% { box-shadow: 0 0 0 10px rgba(62,240,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,240,143,0); } }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--grad); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Sections ---------- */
.section { position: relative; padding: clamp(90px, 12vw, 170px) 0; }
.section-tight { padding: clamp(60px, 8vw, 110px) 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 48px; margin-bottom: clamp(48px, 6vw, 80px); flex-wrap: wrap; }
.section-head .lead { margin-bottom: 6px; }
.center { text-align: center; }
.center .h2, .center .lead { margin-inline: auto; }

/* ==========================================================================
   HERO (accueil)
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 120px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero .glow-violet { width: 46vw; height: 46vw; top: -10vw; right: -8vw; opacity: .35; }
.hero .glow-cyan { width: 30vw; height: 30vw; bottom: -12vw; left: -8vw; }
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-title { margin: 30px 0 28px; font-size: clamp(2rem, 9.6vw, 6.4rem); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line-inner { display: inline-block; }
.rotator { display: inline-grid; overflow: hidden; vertical-align: bottom; padding-bottom: .12em; margin-bottom: -.12em; }
.rotator > span { grid-area: 1 / 1; }
.rotator > span:not(:first-child) { visibility: hidden; }
.hero-sub { max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 42px; }
.hero-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 34px; }
.hero-bottom .container { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.scroll-ind { display: inline-flex; align-items: center; gap: 14px; color: var(--dim); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-ind .mouse { width: 24px; height: 38px; border: 1.5px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-ind .mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--text); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }
.hero-stack { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 900px) {
  #hero-canvas { opacity: .55; }
  .hero { align-items: flex-end; padding-bottom: 130px; }
  .hero-bottom .hero-stack { display: none; }
}

/* ---------- Page hero (pages internes) ---------- */
.page-hero { position: relative; padding: clamp(150px, 20vw, 220px) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.page-hero .glow-violet { width: 40vw; height: 40vw; top: -16vw; right: -10vw; opacity: .35; }
.page-hero .glow-pink { width: 26vw; height: 26vw; top: 30%; left: -14vw; opacity: .18; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .h1 { max-width: 15ch; margin-bottom: 28px; }
.page-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.breadcrumb { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: .85rem; margin-bottom: 26px; }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span[aria-current] { color: var(--muted); }

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee { position: relative; overflow: hidden; padding: 28px 0; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; bottom: 0; width: 12vw; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 48px; padding-right: 48px; }
.marquee-item { font-family: var(--font-d); font-weight: 700; font-size: clamp(1.5rem, 3.4vw, 2.7rem); letter-spacing: -.02em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.4); transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee-item:nth-child(4n+1) { color: var(--text); -webkit-text-stroke-color: transparent; }
.marquee-item:hover { color: var(--cyan); -webkit-text-stroke-color: transparent; }
.marquee-star { width: 28px; height: 28px; flex-shrink: 0; color: var(--violet); animation: spin-slow 8s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ==========================================================================
   INTRO / SCRUB TEXT + STATS
   ========================================================================== */
.scrub-text { font-family: var(--font-d); font-weight: 600; font-size: clamp(1.7rem, 3.7vw, 3.3rem); line-height: 1.18; letter-spacing: -.03em; max-width: 24ch; }
.scrub-text .grad .wi { -webkit-text-fill-color: transparent; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 34px 26px 0 0; position: relative; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-d); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.04em; display: flex; align-items: baseline; gap: 2px; }
.stat-num sup, .stat-num small { font-size: .45em; color: var(--cyan); font-weight: 700; }
.stat p { margin-top: 12px; color: var(--muted); font-size: .95rem; max-width: 22ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 26px; }
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  border: 1px solid var(--line);
  transform-style: preserve-3d;
  transition: border-color .5s;
  display: flex; flex-direction: column;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,.22), transparent 42%);
  opacity: 0; transition: opacity .5s;
}
.card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.7), transparent 45%);
  -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);
  opacity: 0; transition: opacity .5s;
}
.card:hover::before, .card:hover::after { opacity: 1; }
.card-num { position: absolute; top: 28px; right: 30px; font-family: var(--font-d); font-weight: 700; font-size: .9rem; color: var(--dim); }
.card-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 30px; background: var(--grad-soft); border: 1px solid var(--line-2); transform: translateZ(40px); transition: transform .6s var(--ease); }
.card:hover .card-icon { transform: translateZ(40px) rotate(-8deg) scale(1.06); }
.card-icon svg { width: 28px; height: 28px; color: var(--text); }
.card h3 { margin-bottom: 12px; transform: translateZ(24px); }
.card p { color: var(--muted); font-size: .98rem; }
.card .chips { margin-top: auto; padding-top: 26px; }
.card-link { position: absolute; inset: 0; z-index: 3; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   HORIZONTAL PROCESS
   ========================================================================== */
.hscroll { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 110px 0 80px; overflow: hidden; background: var(--bg-2); border-block: 1px solid var(--line); }
.hscroll .section-head { margin-bottom: 50px; }
.hscroll-track { display: flex; gap: 22px; width: max-content; padding-inline: var(--pad); padding-left: max(var(--pad), calc((100vw - var(--container)) / 2 + var(--pad))); }
.step {
  position: relative; overflow: hidden;
  width: clamp(320px, 32vw, 440px); flex-shrink: 0; min-height: 430px;
  padding: 38px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.01) 60%);
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
}
.step::before { content: ''; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: var(--violet); filter: blur(70px); opacity: .25; }
.step:nth-child(2)::before { background: var(--cyan); }
.step:nth-child(3)::before { background: var(--pink); }
.step:nth-child(4)::before { background: var(--cyan); }
.step-num { font-family: var(--font-d); font-weight: 800; font-size: clamp(4.5rem, 7vw, 6.5rem); line-height: .9; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.28); }
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); }
.step .chips { margin-top: 20px; }
.step-end { background: var(--grad); border: 0; justify-content: center; text-align: left; color: #0a0814; }
.step-end::before { display: none; }
.step-end .h2 { color: #0a0814; font-size: clamp(2rem, 3.4vw, 3rem); }
.step-end .btn-primary { background: #0a0814; color: #fff; margin-top: 28px; align-self: flex-start; }
.hscroll-progress { margin: 44px auto 0; width: min(320px, 60vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.hscroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
@media (max-width: 900px) {
  .hscroll { min-height: 0; }
  .hscroll-track { flex-direction: column; width: auto; padding-inline: var(--pad); }
  .step { width: auto; min-height: 0; }
  .hscroll-progress { display: none; }
}

/* ==========================================================================
   BENTO (pourquoi nous)
   ========================================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bento-item {
  position: relative; overflow: hidden; isolation: isolate;
  grid-column: span 2; min-height: 300px;
  padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
}
.bento-item.span-4 { grid-column: span 4; }
.bento-item.span-3 { grid-column: span 3; }
.bento-item h3 { position: relative; z-index: 1; }
.bento-item p { position: relative; z-index: 1; color: var(--muted); font-size: .97rem; max-width: 44ch; }
.bento-visual { flex: 1; display: grid; place-items: center; margin-bottom: 18px; min-height: 140px; }
@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-item, .bento-item.span-3 { grid-column: span 1; }
  .bento-item.span-4 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento-item, .bento-item.span-3, .bento-item.span-4 { grid-column: span 1; }
}

/* Browser mockup */
.mock { width: 100%; max-width: 560px; border-radius: 16px; border: 1px solid var(--line-2); background: #0b0914; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(124,92,255,.45); transform: perspective(1200px) rotateX(8deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.03); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mock-bar i:nth-child(2) { background: #febc2e; }
.mock-bar i:nth-child(3) { background: #28c840; }
.mock-url { margin-left: 12px; flex: 1; max-width: 220px; padding: 3px 12px; border-radius: 999px; background: rgba(255,255,255,.05); font-size: .7rem; color: var(--dim); }
.mock-body { padding: 16px; display: grid; gap: 14px; }
.mock-nav { display: flex; gap: 10px; align-items: center; }
.mock-nav b { width: 26px; height: 10px; border-radius: 4px; background: var(--grad); }
.mock-nav span { width: 34px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.12); }
.mock-nav span:last-child { margin-left: auto; width: 54px; height: 16px; border-radius: 999px; background: rgba(255,255,255,.85); }
.mock-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: center; }
.mock-lines { display: grid; gap: 8px; }
.mock-lines span { height: 12px; border-radius: 4px; background: rgba(255,255,255,.85); transform-origin: left; animation: build 5s var(--ease) infinite; }
.mock-lines span:nth-child(2) { width: 80%; animation-delay: .15s; background: var(--grad); }
.mock-lines span.short { width: 60%; height: 6px; background: rgba(255,255,255,.2); animation-delay: .3s; }
.mock-lines em { width: 70px; height: 18px; border-radius: 999px; background: var(--violet); margin-top: 6px; transform-origin: left; animation: build 5s var(--ease) infinite .45s; }
.mock-img { aspect-ratio: 4 / 3; border-radius: 10px; background: linear-gradient(135deg, var(--violet), var(--cyan), var(--pink)); background-size: 200% 200%; animation: gradshift 5s ease infinite, build-img 5s var(--ease) infinite; }
.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-cards span { height: 46px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); animation: build 5s var(--ease) infinite; }
.mock-cards span:nth-child(1) { animation-delay: .55s; }
.mock-cards span:nth-child(2) { animation-delay: .65s; }
.mock-cards span:nth-child(3) { animation-delay: .75s; }
@keyframes build { 0%, 8% { transform: scaleX(0); opacity: 0; } 22%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@keyframes build-img { 0%, 10% { clip-path: inset(0 100% 0 0 round 10px); } 30%, 85% { clip-path: inset(0 0 0 0 round 10px); } 100% { clip-path: inset(0 0 0 0 round 10px); opacity: .2; } }
@keyframes gradshift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

/* Gauge */
.gauge { position: relative; width: 150px; height: 150px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.gauge .track { stroke: rgba(255,255,255,.07); }
.gauge .bar { stroke: url(#gaugeGrad); stroke-dasharray: 339.3; stroke-dashoffset: 6.8; }
.gauge-val { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-d); font-weight: 800; font-size: 2.3rem; }
.gauge-val small { display: block; font-family: var(--font-b); font-size: .7rem; color: var(--green); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-align: center; margin-top: -6px; }

/* SEO visual */
.serp { width: 100%; max-width: 280px; display: grid; gap: 10px; }
.serp-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .78rem; color: var(--dim); }
.serp-row b { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: rgba(255,255,255,.06); font-size: .7rem; color: var(--muted); }
.serp-row span { flex: 1; height: 6px; border-radius: 4px; background: rgba(255,255,255,.1); }
.serp-row.me { border-color: rgba(34,211,238,.5); background: rgba(34,211,238,.08); color: var(--text); animation: climb 4s var(--ease) infinite; }
.serp-row.me b { background: var(--cyan); color: var(--bg); }
.serp-row.me span { background: var(--grad); }
@keyframes climb { 0%, 15% { transform: translateY(64px); } 40%, 85% { transform: translateY(0); } 100% { transform: translateY(0); } }

/* Devices visual */
.devices { display: flex; align-items: flex-end; gap: 14px; }
.devices div { border: 2px solid rgba(255,255,255,.35); border-radius: 8px; position: relative; overflow: hidden; background: rgba(255,255,255,.03); }
.devices div::after { content: ''; position: absolute; inset: 4px; border-radius: 4px; background: var(--grad); opacity: .65; animation: screen 3s ease-in-out infinite; }
.devices .d-desk { width: 110px; height: 72px; }
.devices .d-tab { width: 56px; height: 76px; border-radius: 10px; }
.devices .d-tab::after { animation-delay: .4s; }
.devices .d-phone { width: 32px; height: 58px; border-radius: 9px; }
.devices .d-phone::after { animation-delay: .8s; }
@keyframes screen { 0%, 100% { transform: translateY(100%); } 30%, 70% { transform: translateY(0); } }

/* Toggles visual */
.toggles { display: grid; gap: 10px; width: 100%; max-width: 250px; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: .82rem; color: var(--muted); }
.toggle-row i { width: 34px; height: 20px; border-radius: 999px; background: rgba(255,255,255,.12); position: relative; animation: tbg 4s infinite; }
.toggle-row i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; animation: tdot 4s var(--ease) infinite; }
.toggle-row:nth-child(2) i, .toggle-row:nth-child(2) i::after { animation-delay: .5s; }
.toggle-row:nth-child(3) i, .toggle-row:nth-child(3) i::after { animation-delay: 1s; }
@keyframes tbg { 0%, 20% { background: rgba(255,255,255,.12); } 30%, 80% { background: var(--violet); } 90%, 100% { background: rgba(255,255,255,.12); } }
@keyframes tdot { 0%, 20% { transform: translateX(0); } 30%, 80% { transform: translateX(14px); } 90%, 100% { transform: translateX(0); } }

/* Chat visual */
.chat { display: grid; gap: 10px; width: 100%; max-width: 330px; }
.bubble { padding: 10px 16px; border-radius: 16px; font-size: .85rem; max-width: 85%; opacity: 0; animation: bubble 7s var(--ease) infinite; }
.bubble.them { background: rgba(255,255,255,.07); border-bottom-left-radius: 4px; }
.bubble.me { justify-self: end; background: var(--violet); border-bottom-right-radius: 4px; color: #fff; }
.bubble:nth-child(2) { animation-delay: .9s; }
.bubble:nth-child(3) { animation-delay: 1.8s; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(12px) scale(.95); } 8%, 85% { opacity: 1; transform: none; } 95%, 100% { opacity: 0; } }

/* Shield visual */
.shield { position: relative; width: 110px; height: 110px; display: grid; place-items: center; }
.shield::before, .shield::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(62,240,143,.5); animation: ring 2.8s ease-out infinite; }
.shield::after { animation-delay: 1.4s; }
.shield svg { width: 54px; height: 54px; color: var(--green); position: relative; }
@keyframes ring { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testi-wrap { display: grid; gap: 20px; }
.testi-row { 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); }
.testi-row:hover .marquee-track { animation-play-state: paused; }
.testi-row .marquee-track { animation-duration: 55s; }
.testi-row .marquee-group { gap: 20px; padding-right: 20px; align-items: stretch; }
.testi {
  width: min(420px, 82vw); padding: 30px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  display: flex; flex-direction: column; gap: 20px;
}
.stars { display: flex; gap: 3px; color: #ffc65c; }
.stars svg { width: 16px; height: 16px; }
.testi blockquote { font-size: 1.02rem; line-height: 1.6; color: var(--text); flex: 1; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; color: #0a0814; background: var(--grad); flex-shrink: 0; }
.avatar.v2 { background: linear-gradient(135deg, var(--cyan), var(--violet)); }
.avatar.v3 { background: linear-gradient(135deg, var(--pink), var(--violet)); }
.testi-author strong { display: block; font-weight: 700; font-size: .95rem; }
.testi-author span { color: var(--dim); font-size: .85rem; }

/* ==========================================================================
   CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 200px) 0; }
.cta .glow-violet { width: 60vw; height: 60vw; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: .25; }
.cta .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-title { font-family: var(--font-d); font-weight: 800; font-size: clamp(2.8rem, 9vw, 8rem); line-height: .95; letter-spacing: -.05em; }
.cta p { margin: 28px auto 0; }
.cta-circle {
  position: relative; margin-top: 56px;
  width: clamp(150px, 16vw, 200px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  font-weight: 700; font-size: 1.05rem; color: #0a0814; line-height: 1.2;
  background: var(--grad); background-size: 200% 200%;
  animation: gradshift 6s ease infinite;
  box-shadow: 0 0 80px -10px rgba(124,92,255,.7);
}
.cta-circle svg.ring-text { position: absolute; inset: -34px; width: calc(100% + 68px); height: calc(100% + 68px); animation: spin-slow 16s linear infinite; }
.cta-circle svg.ring-text text { fill: var(--muted); font-size: 9.5px; letter-spacing: 3.2px; text-transform: uppercase; font-family: var(--font-b); font-weight: 600; }
.cta-circle .btn-arrow { width: 26px; height: 26px; margin: 8px auto 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { position: relative; overflow: hidden; padding: 90px 0 30px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); margin: 18px 0 26px; max-width: 36ch; }
.footer-col h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: var(--muted); transition: color .3s; }
.footer-col a:hover { color: var(--text); }
.footer-word {
  display: flex; justify-content: center; margin: 60px 0 10px;
  font-family: var(--font-d); font-weight: 800; font-size: clamp(5rem, 22vw, 20rem);
  line-height: 1; letter-spacing: -.05em; user-select: none;
  overflow: hidden; padding: .02em 0 .04em;
  /* fondu global vers le bas (sur le bloc entier, pas lettre par lettre) */
  -webkit-mask-image: linear-gradient(180deg, #000 35%, rgba(0,0,0,.15) 100%);
  mask-image: linear-gradient(180deg, #000 35%, rgba(0,0,0,.15) 100%);
}
.footer-word span { display: inline-block; color: rgba(255,255,255,.09); transition: color .6s var(--ease); }
.footer-word:hover span { color: rgba(124,92,255,.35); }
.footer-word:hover span:nth-child(even) { color: rgba(34,211,238,.3); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: .88rem; }
.footer-bottom a:hover, .to-top:hover { color: var(--text); }
.to-top { color: var(--dim); font-size: .88rem; display: inline-flex; gap: 8px; align-items: center; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ==========================================================================
   SERVICES PAGE
   ========================================================================== */
.srv-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.srv { display: grid; grid-template-columns: 90px 1fr 1.25fr; gap: 24px 48px; padding: clamp(44px, 6vw, 80px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.srv-num { font-family: var(--font-d); font-weight: 700; color: var(--dim); font-size: 1rem; padding-top: 10px; }
.srv-head { position: relative; }
.srv-head .h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); margin-bottom: 20px; }
.srv-ico { width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 26px; }
.srv-ico svg { width: 34px; height: 34px; }
.srv-body p { color: var(--muted); font-size: 1.06rem; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 30px 0; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.checks svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.ideal { padding: 18px 20px; border-radius: var(--radius-sm); border: 1px dashed var(--line-2); color: var(--muted); font-size: .95rem; margin-bottom: 24px; }
.ideal strong { color: var(--text); }
@media (max-width: 900px) {
  .srv { grid-template-columns: 1fr; }
  .srv-num { padding: 0; }
}
@media (max-width: 560px) { .checks { grid-template-columns: 1fr; } }

.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.inc { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); transition: transform .5s var(--ease), border-color .4s; }
.inc:hover { transform: translateY(-6px); border-color: var(--line-2); }
.inc svg { width: 30px; height: 30px; margin-bottom: 20px; color: var(--cyan); }
.inc h3 { font-family: var(--font-d); font-size: 1.15rem; margin-bottom: 8px; }
.inc p { color: var(--muted); font-size: .93rem; }
@media (max-width: 1000px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tech { background: var(--bg); padding: 34px 26px; display: flex; flex-direction: column; gap: 10px; transition: background-color .4s; }
.tech:hover { background: var(--bg-3); }
.tech b { font-family: var(--font-d); font-size: 1.3rem; }
.tech span { color: var(--muted); font-size: .9rem; }
@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: 1fr; } .tech { padding: 26px 22px; } }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(30px, 3vw, 42px); border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012));
  display: flex; flex-direction: column;
}
.price.featured {
  border: 1.5px solid transparent;
  background:
    linear-gradient(180deg, #14102a, #0c0a16) padding-box,
    conic-gradient(from var(--angle), var(--violet), var(--cyan), var(--pink), var(--violet)) border-box;
  animation: border-spin 5s linear infinite;
  box-shadow: 0 30px 90px -40px rgba(124,92,255,.8);
}
@keyframes border-spin { to { --angle: 360deg; } }
.price-badge { position: absolute; top: 24px; right: 24px; padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; background: var(--grad); color: #0a0814; letter-spacing: .02em; }
.price-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); margin-bottom: 24px; }
.price-ico svg { width: 26px; height: 26px; }
.price h3 { font-family: var(--font-d); font-size: 1.6rem; letter-spacing: -.02em; }
.price .for { color: var(--muted); font-size: .95rem; margin: 8px 0 26px; min-height: 3em; }
.price-amount { font-family: var(--font-d); font-weight: 800; font-size: clamp(2.2rem, 3.4vw, 2.9rem); letter-spacing: -.04em; line-height: 1; }
.price-note { color: var(--dim); font-size: .85rem; margin-top: 8px; }
.price hr { border: 0; height: 1px; background: var(--line); margin: 28px 0; }
.price ul { display: grid; gap: 12px; margin-bottom: 34px; }
.price li { display: flex; gap: 12px; font-size: .96rem; color: var(--muted); }
.price li svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 3px; color: var(--cyan); }
.price li strong { color: var(--text); font-weight: 600; }
.price .btn { margin-top: auto; width: 100%; }
@media (max-width: 1000px) { .pricing { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.addons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.addon { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); transition: border-color .4s, background-color .4s; }
.addon:hover { border-color: rgba(124,92,255,.5); background: rgba(124,92,255,.06); }
.addon svg { width: 26px; height: 26px; flex-shrink: 0; color: var(--violet); }
.addon h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.addon p { font-size: .88rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1100px) { .addons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .addons { grid-template-columns: 1fr; } }

.factors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: f; }
.factor { padding: 34px; border-radius: var(--radius); border: 1px solid var(--line); position: relative; }
.factor::before { counter-increment: f; content: '0' counter(f); font-family: var(--font-d); font-weight: 800; font-size: 3.2rem; display: block; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.factor h3 { font-family: var(--font-d); font-size: 1.3rem; margin-bottom: 10px; }
.factor p { color: var(--muted); font-size: .96rem; }
@media (max-width: 900px) { .factors { grid-template-columns: 1fr; } }

/* ==========================================================================
   METHODE — timeline + FAQ
   ========================================================================== */
.timeline { position: relative; display: grid; gap: clamp(50px, 7vw, 100px); padding-left: 0; }
.timeline-line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--line); border-radius: 2px; }
.timeline-line span { position: absolute; inset: 0; background: var(--grad); transform-origin: top; transform: scaleY(0); border-radius: 2px; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.tl-item:nth-child(odd of .tl-item) .tl-card { grid-column: 2; }
.tl-item:nth-child(odd of .tl-item) .tl-side { grid-column: 1; grid-row: 1; text-align: right; }
.tl-dot { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--violet); box-shadow: 0 0 0 6px rgba(124,92,255,.15), 0 0 24px var(--violet); z-index: 1; }
.tl-card { padding: clamp(28px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255,255,255,.055), rgba(255,255,255,.012)); }
.tl-card .h3 { margin: 6px 0 12px; }
.tl-card p { color: var(--muted); }
.tl-card .chips { margin-top: 20px; }
.tl-side { font-family: var(--font-d); font-weight: 800; font-size: clamp(4rem, 10vw, 9rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); }
.tl-label { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); font-weight: 700; }
@media (max-width: 860px) {
  .timeline-line { left: 9px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 44px; }
  .tl-item:nth-child(odd of .tl-item) .tl-card { grid-column: 1; }
  .tl-side { display: none; }
  .tl-dot { left: 9px; top: 40px; }
}

.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); transition: border-color .4s, background-color .4s; }
.faq-item.is-open { border-color: rgba(124,92,255,.5); background: rgba(124,92,255,.05); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 26px; text-align: left; font-weight: 600; font-size: 1.07rem; }
.faq-icon { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background-color .4s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-icon { transform: rotate(180deg); background: var(--violet); border-color: var(--violet); }
.faq-item.is-open .faq-icon::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 26px 26px; color: var(--muted); max-width: 70ch; }

/* ==========================================================================
   CONTACT / FORM
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact-aside { position: sticky; top: 120px; }
.reassure { display: grid; gap: 18px; margin-top: 40px; }
.reassure li { display: flex; gap: 16px; align-items: flex-start; }
.reassure .ri { width: 46px; height: 46px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--line-2); }
.reassure .ri svg { width: 22px; height: 22px; }
.reassure strong { display: block; font-weight: 700; }
.reassure span { color: var(--muted); font-size: .94rem; }

.form-card { position: relative; padding: clamp(24px, 4vw, 48px); border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.015)); box-shadow: 0 40px 120px -60px rgba(124,92,255,.6); }
.form-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; font-size: .88rem; color: var(--muted); }
.form-top b { color: var(--text); }
.form-progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 38px; }
.form-progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(.25); transition: transform .7s var(--ease); }
.form-step { min-width: 0; border: 0; }
.form-step h2 { font-family: var(--font-d); font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.02em; line-height: 1.15; margin-bottom: 8px; }
.form-step > p { color: var(--muted); margin-bottom: 28px; }
.form-step h3 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin: 30px 0 14px; font-weight: 700; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.opts.cols-2 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.opt { position: relative; display: block; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; z-index: 1; cursor: pointer; }
.opt > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: border-color .3s, background-color .3s, transform .4s var(--ease); }
.opt > span svg { width: 24px; height: 24px; color: var(--muted); margin-bottom: 6px; transition: color .3s; }
.opt b { font-weight: 600; font-size: .98rem; }
.opt small { color: var(--dim); font-size: .82rem; line-height: 1.4; }
.opt:hover > span { border-color: var(--line-2); transform: translateY(-2px); }
.opt input:checked + span { border-color: var(--violet); background: rgba(124,92,255,.13); box-shadow: inset 0 0 0 1px var(--violet); }
.opt input:checked + span svg { color: var(--cyan); }
.opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.opts-inline { display: flex; flex-wrap: wrap; gap: 10px; }
.opts-inline .opt > span { flex-direction: row; padding: 11px 18px; border-radius: 999px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 24px 18px 10px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255,255,255,.03);
  color: var(--text); font: inherit; font-size: 1rem; outline: none;
  transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 17px; color: var(--dim); pointer-events: none; transition: transform .3s var(--ease), color .3s, font-size .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus { border-color: var(--violet); background: rgba(124,92,255,.06); box-shadow: 0 0 0 4px rgba(124,92,255,.15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.74); color: var(--cyan); }
.field.is-invalid input, .field.is-invalid textarea { border-color: #ff5c7a; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; color: var(--muted); font-size: .88rem; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--violet); flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-error { display: none; margin-top: 18px; padding: 12px 16px; border-radius: 12px; background: rgba(255,92,122,.1); border: 1px solid rgba(255,92,122,.35); color: #ff9aae; font-size: .9rem; }
.form-error.is-visible { display: block; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.form-nav .btn-next, .form-nav [data-submit] { margin-left: auto; }
.hp { position: absolute; left: -9999px; }
.btn.is-loading .roll { opacity: 0; }
.btn.is-loading::after { content: ''; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin-slow .7s linear infinite; }

.form-success { text-align: center; padding: 40px 0; }
.form-success svg { width: 96px; height: 96px; margin: 0 auto 28px; }
.form-success .c { stroke-dasharray: 290; stroke-dashoffset: 290; animation: draw 1s var(--ease) forwards; }
.form-success .k { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-success h2 { font-family: var(--font-d); font-size: 2rem; margin-bottom: 12px; }
.form-success p { color: var(--muted); max-width: 42ch; margin: 0 auto 28px; }
.demo-note { margin-top: 10px; font-size: .82rem; color: var(--dim); }

@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

/* ---------- Legal ---------- */
.prose { max-width: 760px; }
.prose h2 { font-family: var(--font-d); font-size: 1.5rem; margin: 48px 0 14px; }
.prose p, .prose li { color: var(--muted); margin-bottom: 10px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose a { color: var(--cyan); }

/* ---------- Utilities ---------- */
.mt-s { margin-top: 24px; }
.mt-m { margin-top: 48px; }
.divider { height: 1px; background: var(--line); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none !important; }
  body::after { animation: none; }
}
html.no-gsap .pt, html.no-gsap .preloader { display: none !important; }
