/* ==========================================================================
   ELYANTA — Création de sites web · Lyon
   Thème sombre premium
   ========================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/manrope.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

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

:root {
  --bg: #060608;
  --bg-2: #0b0b10;
  --surface: #101118;
  --surface-2: #161823;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #f3f4f8;
  --muted: #9799aa;
  --dim: #5f6172;
  --blue: #2347ff;
  --blue-2: #3b5bff;
  --blue-3: #8ea2ff;
  --glow: rgba(35, 71, 255, .45);
  --ok: #2bd48b;
  --radius: 18px;
  --radius-lg: 28px;
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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");
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-3); outline-offset: 4px; border-radius: 8px; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.02; letter-spacing: -.035em; font-weight: 800; color: var(--text); }
h1 { font-size: clamp(2.7rem, 7.4vw, 6.6rem); letter-spacing: -.05em; line-height: .96; }
h2 { font-size: clamp(2.1rem, 4.8vw, 4.2rem); letter-spacing: -.045em; }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.grad {
  background: linear-gradient(100deg, #fff 0%, var(--blue-3) 45%, var(--blue-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container--narrow { max-width: 900px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: -9999px; top: 12px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 12px; }

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-size: .78rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-3);
}
.eyebrow::before { content: ""; width: 30px; height: 7px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 18px var(--glow); }

/* ---------- Buttons ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 17px 28px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font-weight: 700; font-size: .98rem; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; isolation: isolate;
  transform: translate(var(--bx), var(--by));
  transition: transform .5s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 40px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn--primary:hover { background: var(--blue-2); box-shadow: 0 16px 50px -10px var(--glow), inset 0 1px 0 rgba(255, 255, 255, .3); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .06); }
.btn--white { background: #fff; color: #07070a; }
.btn--white:hover { background: #e8ebff; }
.btn--sm { padding: 12px 20px; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.link-arrow span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); padding-bottom: 2px; }
.link-arrow:hover span { background-size: 100% 1.5px; }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ==========================================================================
   Loader (intro logo)
   ========================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--bg);
  transition: transform 1s var(--ease-in-out) .1s;
}
.loader__mark { width: 92px; height: auto; overflow: visible; }
.loader__e { fill: transparent; stroke: #fff; stroke-width: 6; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: drawE 1.1s var(--ease-in-out) forwards, fillE .4s ease 1s forwards; }
.loader__bar { fill: var(--blue); transform: scaleX(0); transform-origin: left center; animation: barIn .6s var(--ease) 1.15s forwards; filter: drop-shadow(0 0 18px var(--glow)); }
.loader__word { position: absolute; bottom: 12vh; left: 0; right: 0; text-align: center; font-weight: 700; letter-spacing: .5em; font-size: .72rem; color: var(--muted); opacity: 0; animation: fadeUp .6s var(--ease) .5s forwards; }
.loader.is-done { transform: translateY(-100%); }
@keyframes drawE { to { stroke-dashoffset: 0; } }
@keyframes fillE { to { fill: #fff; stroke-width: 0; } }
@keyframes barIn { to { transform: scaleX(1); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.no-loader .loader { display: none; }

/* Transition entre pages */
.pt { position: fixed; inset: 0; z-index: 280; pointer-events: none; visibility: hidden; }
.pt.is-active { visibility: visible; }
.pt::before, .pt::after { content: ""; position: absolute; inset: 0; transform: translateY(100%); transition: transform .7s var(--ease-in-out); }
.pt::before { background: var(--blue); }
.pt::after { background: var(--bg); transition-delay: .08s; }
.pt.is-active::before, .pt.is-active::after { transform: none; }

/* ==========================================================================
   Curseur personnalisé
   ========================================================================== */
.cursor, .cursor-ring { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: #fff; mix-blend-mode: difference; }
.cursor-ring {
  width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 1px solid rgba(255, 255, 255, .35);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: transparent;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s, color .3s, opacity .3s;
}
.has-cursor .cursor, .has-cursor .cursor-ring { opacity: 1; }
.has-cursor.cursor-hidden .cursor, .has-cursor.cursor-hidden .cursor-ring { opacity: 0; }
.cursor-ring.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(35, 71, 255, .14); border-color: rgba(142, 162, 255, .6); }
.cursor-ring.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--blue); border-color: var(--blue); color: #fff; }
@media (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor summary { cursor: none; } .has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; } .has-cursor select { cursor: pointer; } }

/* ==========================================================================
   Header
   ========================================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: transform .6s var(--ease), background .4s, border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(6, 6, 8, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; position: relative; z-index: 2; }
.brand img { height: 26px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: #c9cad6; transition: color .3s, background .3s; }
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.nav__link[aria-current="page"] { color: #fff; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 4px; margin-left: -7px; border-radius: 2px; background: var(--blue); box-shadow: 0 0 10px var(--glow); }
.nav .btn { margin-left: 14px; }

.nav-dd { position: relative; }
.nav-dd > button { background: none; border: 0; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav-dd > button svg { width: 14px; height: 14px; transition: transform .3s; }
.nav-dd__menu {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 340px; padding: 10px; border-radius: 20px;
  background: rgba(16, 17, 24, .96); border: 1px solid var(--line-2); backdrop-filter: blur(20px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s;
}
.nav-dd:hover .nav-dd__menu, .nav-dd:focus-within .nav-dd__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-dd:hover > button svg { transform: rotate(180deg); }
.nav-dd__menu a { display: grid; grid-template-columns: 40px 1fr; gap: 2px 14px; padding: 14px; border-radius: 14px; transition: background .25s; }
.nav-dd__menu a:hover { background: rgba(255, 255, 255, .05); }
.nav-dd__menu i { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(35, 71, 255, .14); color: var(--blue-3); }
.nav-dd__menu i svg { width: 20px; height: 20px; }
.nav-dd__menu strong { font-size: .95rem; color: #fff; }
.nav-dd__menu small { color: var(--muted); font-size: .82rem; line-height: 1.4; }

.burger { display: none; position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); cursor: pointer; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 19px; }
.burger span:last-child { top: 27px; }
.menu-open .burger span:first-child { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--header-h) + 24px) 24px 32px;
  display: flex; flex-direction: column; clip-path: circle(0 at calc(100% - 48px) 42px); transition: clip-path .8s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 48px) 42px); visibility: visible; }
.mobile-menu nav { display: grid; gap: 4px; }
.mobile-menu nav a { font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; padding: 6px 0; color: #fff; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
.mobile-menu nav a small { display: block; font-size: .85rem; letter-spacing: 0; font-weight: 600; color: var(--muted); }
.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 14px; color: var(--muted); font-size: .95rem; }
.menu-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 96px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 20%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; }
.orb--1 { width: 640px; height: 640px; right: -160px; top: -180px; background: radial-gradient(circle, var(--blue) 0%, transparent 65%); animation: orb 16s ease-in-out infinite alternate; }
.orb--2 { width: 520px; height: 520px; left: -200px; bottom: -260px; background: radial-gradient(circle, #5a2bff 0%, transparent 65%); opacity: .35; animation: orb 20s ease-in-out infinite alternate-reverse; }
@keyframes orb { to { transform: translate(-80px, 60px) scale(1.15); } }
.spot { position: absolute; width: 600px; height: 600px; left: 0; top: 0; margin: -300px 0 0 -300px; border-radius: 50%; background: radial-gradient(circle, rgba(59, 91, 255, .16), transparent 60%); transform: translate(var(--sx, 50vw), var(--sy, 40vh)); transition: transform .8s var(--ease); }

.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; width: 100%; }
.hero__title { margin-bottom: 30px; }
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 560px; margin-bottom: 40px; }
.hero__lead strong { color: var(--text); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 44px; font-size: .9rem; color: var(--muted); }
.hero__meta span { display: inline-flex; align-items: center; gap: 10px; }
.hero__meta svg, .step__meta svg { width: 16px; height: 16px; flex: none; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(43, 212, 139, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(43, 212, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 212, 139, 0); } }

.rotator { position: relative; display: inline-block; vertical-align: top; overflow: hidden; height: 1.65em; line-height: 1.65em; transition: width .7s var(--ease); color: #fff; }
.rotator > span { position: absolute; left: 0; top: 0; transform: translateY(105%); transition: transform .8s var(--ease); white-space: nowrap; }
.rotator > span:first-child { position: relative; }
.rotator.is-sized > span:first-child { position: absolute; }
.rotator > span.is-on { transform: none; }
.rotator > span.is-out { transform: translateY(-105%); }

/* Visuel : pile de navigateurs 3D */
.stage { position: relative; height: 560px; perspective: 1600px; --px: 0; --py: 0; }
.stage__inner { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateY(calc(-14deg + var(--px) * 8deg)) rotateX(calc(8deg + var(--py) * -6deg)); transition: transform 1.2s var(--ease); }
.frame { position: absolute; border-radius: 14px; overflow: hidden; background: #0d0e14; border: 1px solid var(--line-2); box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03); }
.frame__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #15161f; border-bottom: 1px solid var(--line); }
.frame__bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2e3b; }
.frame__bar i:first-child { background: #ff5f57; } .frame__bar i:nth-child(2) { background: #febc2e; } .frame__bar i:nth-child(3) { background: #28c840; }
.frame__bar span { margin-left: 10px; flex: 1; height: 16px; border-radius: 6px; background: #0c0d13; font-size: .62rem; color: var(--dim); display: flex; align-items: center; padding-left: 10px; }
.frame img { width: 100%; height: auto; }
.frame--a { width: 78%; left: 0; top: 40px; transform: translateZ(40px); }
.frame--b { width: 64%; right: -4%; top: 220px; transform: translateZ(120px); }
.frame--phone { width: 150px; left: 52%; top: 0; border-radius: 26px; border: 6px solid #1b1c26; transform: translateZ(200px); }
.frame--phone img { border-radius: 18px; }
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(16, 17, 24, .82); border: 1px solid var(--line-2); backdrop-filter: blur(14px); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .7);
  font-size: .82rem; line-height: 1.3; transform: translateZ(260px); animation: floaty 7s ease-in-out infinite;
}
.chip b { display: block; color: #fff; font-size: .9rem; }
.chip small { color: var(--muted); }
.chip i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(35, 71, 255, .2); color: var(--blue-3); flex: none; }
.chip i svg { width: 18px; height: 18px; }
.chip--a { left: -6%; bottom: 70px; }
.chip--b { right: -2%; top: 120px; animation-delay: -3.5s; }
.chip .score { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .8rem; color: var(--ok); background: conic-gradient(var(--ok) 0 98%, rgba(255, 255, 255, .1) 0); position: relative; }
.chip .score::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #11121a; }
.chip .score span { position: relative; }
@keyframes floaty { 50% { translate: 0 -10px; } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: .7rem; letter-spacing: .25em; text-transform: uppercase; color: var(--dim); }
.scroll-hint i { width: 1px; height: 46px; background: linear-gradient(var(--blue-3), transparent); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s var(--ease-in-out) infinite; }
@keyframes drip { to { top: 110%; } }

/* Page hero (pages internes) */
.page-hero { position: relative; padding: calc(var(--header-h) + 100px) 0 90px; overflow: hidden; }
.page-hero .hero__grid { mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000 10%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 0%, #000 10%, transparent 70%); }
.page-hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 15ch; }
.page-hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 640px; margin-top: 8px; }
.page-hero .hero__cta { margin-top: 36px; }
.breadcrumb { display: flex; gap: 10px; font-size: .85rem; color: var(--dim); margin-bottom: 28px; }
.breadcrumb a:hover { color: var(--text); }

/* ==========================================================================
   Split text / reveals
   ========================================================================== */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .grad { background: none; color: inherit; }
.split .grad .w > span { background: linear-gradient(100deg, #c9d2ff 0%, var(--blue-3) 40%, var(--blue-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms + var(--d, 0ms)); }
.split.is-in .w > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal="fade"] { transform: none; }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].is-in { opacity: 1; transform: none; }

.no-js .split .w > span, .no-js [data-reveal] { transform: none; opacity: 1; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding: clamp(96px, 12vw, 160px) 0; }
.section--tight { padding: clamp(72px, 8vw, 110px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px; margin-bottom: clamp(48px, 6vw, 80px); }
.section__head h2 { margin: 0; max-width: 16ch; }
.section__head p { color: var(--muted); max-width: 420px; margin: 0; }
.section__head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section__head--center h2 { max-width: 20ch; }

/* Marquee */
.marquee { position: relative; padding: 34px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 46s; }
.marquee__track span { display: inline-flex; align-items: center; gap: 36px; padding-right: 36px; font-size: clamp(1.6rem, 3.4vw, 2.8rem); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); }
.marquee__track span::after { content: ""; width: 26px; height: 8px; border-radius: 4px; background: var(--blue); box-shadow: 0 0 16px var(--glow); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Texte qui s'illumine au scroll */
.statement { font-size: clamp(1.9rem, 4.4vw, 3.9rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.1; max-width: 22ch; }
.statement .hw { opacity: .18; transition: opacity .3s; }
.statement .hw.on { opacity: 1; }
.statement .hw.blue.on { color: var(--blue-3); }
.no-js .statement .hw { opacity: 1; }

/* ---------- Cartes avec spotlight ---------- */
.spot-card {
  --mx: 50%; --my: 50%;
  position: relative; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; isolation: isolate;
  transition: border-color .4s, transform .6s var(--ease);
}
.spot-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(59, 91, 255, .16), transparent 45%); }
.spot-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(142, 162, 255, .7), transparent 50%);
  -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); }
.spot-card:hover::before, .spot-card:hover::after { opacity: 1; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { padding: 40px 34px 34px; display: flex; flex-direction: column; min-height: 460px; }
.service__num { font-size: .8rem; font-weight: 700; color: var(--dim); letter-spacing: .1em; margin-bottom: 48px; display: flex; justify-content: space-between; align-items: center; }
.service__icon { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; margin-bottom: 30px; background: linear-gradient(145deg, rgba(35, 71, 255, .3), rgba(35, 71, 255, .05)); border: 1px solid rgba(142, 162, 255, .25); color: #fff; }
.service__icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.7rem; margin-bottom: 14px; }
.service p { color: var(--muted); }
.service ul { list-style: none; padding: 0; margin: 8px 0 34px; display: grid; gap: 10px; }
.service li { display: flex; gap: 12px; align-items: baseline; font-size: .95rem; color: #d2d3dd; }
.service li::before { content: ""; flex: none; width: 14px; height: 5px; border-radius: 3px; background: var(--blue); transform: translateY(-3px); }
.service .link-arrow { margin-top: auto; }
.service__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.service__arrow svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.service:hover .service__arrow { background: var(--blue); border-color: var(--blue); transform: rotate(45deg); }

/* Réalisations */
.works { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work { display: block; }
.work__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); aspect-ratio: 4 / 3.1; padding: 34px 34px 0; isolation: isolate; }
.work__media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 70% at 50% 100%, var(--tint, rgba(35, 71, 255, .35)), transparent 70%); transition: opacity .6s; opacity: .7; }
.work:hover .work__media::before { opacity: 1; }
.work__screen { position: relative; height: 100%; border-radius: 12px 12px 0 0; overflow: hidden; border: 1px solid var(--line-2); border-bottom: 0; background: #0d0e14; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .8); transition: transform .9s var(--ease); }
.work:hover .work__screen { transform: translateY(-8px); }
.work__screen .frame__bar { position: relative; z-index: 2; }
.work__scroll { position: absolute; left: 0; right: 0; top: 30px; }
.work__scroll img { width: 100%; height: auto; transition: transform 6s cubic-bezier(.45, .05, .55, .95); }
.work:hover .work__scroll img { transform: translateY(calc(-100% + var(--frame-h, 360px))); }
.work__phone img { width: 100%; }
.work__phone { position: absolute; right: 26px; bottom: -40px; width: 22%; border-radius: 20px; border: 5px solid #1b1c26; overflow: hidden; box-shadow: 0 30px 60px -10px rgba(0, 0, 0, .8); transition: transform .9s var(--ease); z-index: 3; }
.work:hover .work__phone { transform: translateY(-36px) rotate(-3deg); }
.work__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 26px 6px 0; }
.work__info h3 { margin-bottom: 6px; font-size: 1.5rem; }
.work__info p { color: var(--muted); margin: 0; font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tag { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .76rem; font-weight: 600; color: #c9cad6; white-space: nowrap; }

.work--cta .work__media { display: grid; place-items: center; text-align: center; padding: 34px; background: linear-gradient(160deg, #0f1430, var(--surface)); }
.work--cta .work__media h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); max-width: 14ch; margin: 0 auto 24px; }
.plus-ring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; border: 1px dashed rgba(142, 162, 255, .5); margin: 0 auto 26px; color: var(--blue-3); animation: spin 18s linear infinite; }
.plus-ring svg { width: 30px; height: 30px; animation: spin 18s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Process */
.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.process__sticky { position: sticky; top: calc(var(--header-h) + 60px); }
.process__sticky p { color: var(--muted); max-width: 420px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0 0 0 64px; }
.steps__line { position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--line); border-radius: 2px; }
.steps__line i { position: absolute; left: 0; top: 0; width: 100%; height: var(--p, 0%); background: linear-gradient(var(--blue-3), var(--blue)); border-radius: 2px; box-shadow: 0 0 14px var(--glow); }
.step { position: relative; padding: 0 0 72px; }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: -64px; top: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); border: 1px solid var(--line-2); font-size: .8rem; font-weight: 800; color: var(--muted); transition: background .5s, border-color .5s, color .5s, box-shadow .5s; }
.step.is-active .step__dot { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 0 0 6px rgba(35, 71, 255, .15), 0 0 30px var(--glow); }
.step h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.step p { color: var(--muted); max-width: 520px; }
.step__meta { display: inline-flex; gap: 8px; align-items: center; font-size: .8rem; font-weight: 700; color: var(--blue-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 48px 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__n { font-size: clamp(2.8rem, 5vw, 4.6rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; margin-bottom: 14px; }
.stat__n small { font-size: .45em; letter-spacing: -.02em; color: var(--blue-3); margin-left: 4px; }
.stat p { color: var(--muted); margin: 0; font-size: .95rem; max-width: 220px; }

/* Tarifs */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 40px 34px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.plan--featured { background: linear-gradient(180deg, #111634, #0f1018 60%); border-color: transparent; }
.plan--featured::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--angle), transparent 0 60%, var(--blue-3) 75%, var(--blue) 85%, transparent 95%);
  -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);
  animation: rotate 5s linear infinite;
}
.plan--featured::after { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(142, 162, 255, .25); pointer-events: none; }
@keyframes rotate { to { --angle: 360deg; } }
.plan__badge { position: absolute; top: -13px; left: 34px; padding: 6px 14px; border-radius: 999px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 24px -6px var(--glow); }
.plan__name { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.plan__tag { color: var(--muted); font-size: .92rem; margin-bottom: 28px; }
.plan__price { font-size: clamp(2.6rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; }
.plan__price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; margin-left: 6px; }
.plan__from { font-size: .8rem; color: var(--dim); font-weight: 600; margin-bottom: 8px; text-transform: uppercase; letter-spacing: .12em; }
.plan__meta { display: flex; gap: 18px; margin: 22px 0 26px; padding: 16px 0; border-block: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.plan__meta b { color: #fff; display: block; font-size: .95rem; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; font-size: .94rem; color: #d2d3dd; line-height: 1.45; }
.plan li svg { flex: none; width: 18px; height: 18px; color: var(--blue-3); margin-top: 2px; }
.plan li.off { color: var(--dim); }
.plan li.off svg { color: var(--dim); }
.plan .btn { margin-top: auto; }

.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.compare th, .compare td { padding: 18px 24px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: #d2d3dd; }
.compare thead th { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; position: sticky; top: 0; background: var(--surface); }
.compare thead th.hl { color: var(--blue-3); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare tbody tr:hover td { background: rgba(255, 255, 255, .02); }
.compare td.hl { background: rgba(35, 71, 255, .06); }
.yes { color: var(--blue-3); font-weight: 800; }
.no { color: var(--dim); }

.options-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.table-card { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 34px; }
.table-card h3 { margin-bottom: 20px; }
.rows { list-style: none; padding: 0; margin: 0; }
.rows li { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows li:last-child { border-bottom: 0; }
.rows b { font-weight: 700; color: #fff; }
.rows small { grid-column: 1; color: var(--muted); font-size: .85rem; }
.rows .price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 800; color: var(--blue-3); white-space: nowrap; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 20px 24px; border-radius: 16px; background: rgba(35, 71, 255, .08); border: 1px solid rgba(142, 162, 255, .2); color: #d2d3dd; font-size: .94rem; }
.note svg { flex: none; width: 20px; height: 20px; color: var(--blue-3); margin-top: 2px; }

/* Features list (pages services) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 32px; }
.feature i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(35, 71, 255, .15); color: var(--blue-3); margin-bottom: 22px; }
.feature i svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

.split-block { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split-block p { color: var(--muted); }
.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; color: #d9dae3; }
.checklist li svg { flex: none; width: 22px; height: 22px; color: var(--blue-3); margin-top: 1px; }

/* Avant / après (refonte) */
.ba { position: relative; aspect-ratio: 16 / 10.5; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line-2); user-select: none; --pos: 50%; background: #0d0e14; }
.ba__side { position: absolute; inset: 0; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__label { position: absolute; top: 18px; padding: 6px 12px; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; background: rgba(0, 0, 0, .55); backdrop-filter: blur(6px); }
.ba__before .ba__label { left: 18px; } .ba__after .ba__label { right: 18px; background: var(--blue); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: #07070a; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
/* maquettes dessinées en CSS pour l'avant/après */
.old-site { height: 100%; background: #e9e4d8; color: #333; font-family: "Times New Roman", serif; padding: 18px; display: grid; grid-template-rows: auto auto 1fr; gap: 12px; }
.old-site__top { background: #6b3a1e; color: #ffe; padding: 12px 16px; font-size: clamp(1rem, 2vw, 1.5rem); font-weight: 700; text-align: center; border: 3px ridge #c90; }
.old-site__nav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.old-site__nav span { background: #ccc; border: 2px outset #eee; padding: 3px 10px; font-size: .75rem; color: #00e; text-decoration: underline; }
.old-site__body { display: grid; grid-template-columns: 1fr 2fr; gap: 12px; font-size: .8rem; line-height: 1.3; }
.old-site__img { background: repeating-linear-gradient(45deg, #b8b0a0 0 10px, #a8a090 10px 20px); border: 2px solid #777; }
.old-site__body p { margin: 0 0 6px; } .old-site marquee, .old-site .blink { color: red; font-weight: 700; }
.new-site { height: 100%; background: radial-gradient(120% 80% at 80% 0%, #1a2a6c, #07070a 60%); padding: 6% 7%; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; text-align: right; gap: 14px; }
.new-site__nav { position: absolute; top: 22px; left: 7%; right: 7%; display: flex; justify-content: space-between; align-items: center; }
.new-site__nav b { width: 70px; height: 10px; border-radius: 5px; background: #fff; }
.new-site__nav span { width: 80px; height: 24px; border-radius: 99px; background: var(--blue); }
.new-site h4 { font-size: clamp(1.3rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.04em; margin: 0; max-width: 12ch; }
.new-site p { color: #aab; font-size: clamp(.7rem, 1.2vw, .9rem); max-width: 34ch; margin: 0; }
.new-site__btns { display: flex; gap: 8px; } .new-site__btns i { height: 30px; width: 110px; border-radius: 99px; background: var(--blue); } .new-site__btns i + i { background: transparent; border: 1px solid #555; width: 90px; }

/* SEO mini dashboard */
.dash { border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 18px; }
.dash__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.kpi { padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.kpi small { color: var(--muted); font-size: .78rem; display: block; margin-bottom: 6px; }
.kpi b { font-size: 1.4rem; letter-spacing: -.03em; white-space: nowrap; }
.kpi em { display: block; font-style: normal; font-size: .78rem; color: var(--ok); margin-left: 0; font-weight: 700; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 160px; padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 6px 6px 2px 2px; background: linear-gradient(var(--blue-3), var(--blue)); height: 0; transition: height 1.4s var(--ease); transition-delay: calc(var(--i) * 70ms); opacity: .85; }
.is-in .bars i { height: var(--h); }
.serp { padding: 18px; border-radius: 16px; background: #fff; color: #202124; font-family: Arial, sans-serif; }
.serp small { color: #4d5156; font-size: .78rem; display: block; }
.serp b { color: #1a0dab; font-size: 1.05rem; font-weight: 400; display: block; margin: 2px 0 4px; }
.serp p { margin: 0; font-size: .82rem; color: #4d5156; }
.serp__pos { float: right; font-family: "Manrope", sans-serif; font-weight: 800; color: #fff; background: var(--blue); border-radius: 8px; padding: 2px 8px; font-size: .78rem; }

/* Équipe */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.member { padding: 40px; }
.avatar { width: 112px; height: 112px; border-radius: 30px; display: grid; place-items: center; margin-bottom: 30px; font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em; color: #fff; position: relative;
  background: radial-gradient(circle at 30% 20%, var(--blue-2), #0e1440 70%); border: 1px solid rgba(142, 162, 255, .35); box-shadow: 0 20px 50px -15px var(--glow); }
.avatar::after { content: ""; position: absolute; left: 18px; bottom: 18px; width: 30px; height: 7px; border-radius: 4px; background: #fff; opacity: .9; }
.member h3 { font-size: 1.8rem; margin-bottom: 4px; }
.member__role { color: var(--blue-3); font-weight: 700; font-size: .9rem; margin-bottom: 20px; }
.member p { color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 30px; }
.value b { display: block; font-size: 2.2rem; font-weight: 800; color: var(--blue-3); letter-spacing: -.04em; margin-bottom: 18px; }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--muted); margin: 0; font-size: .93rem; }

/* Map Lyon */
.lyon { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); aspect-ratio: 1; }
.lyon svg { width: 100%; height: 100%; }
.lyon__fr { stroke-dasharray: 3000; stroke-dashoffset: 3000; transition: stroke-dashoffset 2.6s var(--ease-in-out) .2s; }
.lyon.is-in .lyon__fr { stroke-dashoffset: 0; }
.no-js .lyon__fr { stroke-dashoffset: 0; }
.lyon__pin { position: absolute; transform: translate(-50%, -9px); text-align: center; white-space: nowrap; }
.lyon__pin i { display: block; width: 18px; height: 18px; margin: 0 auto 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 0 var(--glow); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(35, 71, 255, .7); } 100% { box-shadow: 0 0 0 40px rgba(35, 71, 255, 0); } }
.lyon__pin b { display: inline-block; padding: 8px 16px; border-radius: 999px; background: rgba(16, 17, 24, .9); border: 1px solid var(--line-2); font-size: .9rem; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 0; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue-3); }
.faq summary i { flex: none; position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--muted); max-width: 760px; padding-bottom: 30px; margin: 0; }

/* CTA final */
.cta { position: relative; overflow: hidden; text-align: center; padding: clamp(110px, 14vw, 200px) 0; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 71, 255, .35), transparent 60%); z-index: -1; }
.cta h2 { font-size: clamp(2.8rem, 8vw, 7.4rem); letter-spacing: -.055em; line-height: .95; max-width: 14ch; margin: 0 auto 80px; }
.cta p { color: var(--muted); max-width: 520px; margin: -20px auto 48px; }
.cta__btn { position: relative; width: 190px; height: 190px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--blue); color: #fff; font-weight: 800; font-size: 1.05rem; box-shadow: 0 30px 80px -20px var(--glow); transform: translate(var(--bx, 0), var(--by, 0)); transition: transform .6s var(--ease), background .3s; }
.cta__btn:hover { background: var(--blue-2); }
.cta__btn svg.ring { position: absolute; left: -52px; top: -52px; max-width: none; transform-origin: 50% 50%; width: calc(100% + 104px); height: calc(100% + 104px); animation: spin 22s linear infinite; }
.cta__btn svg.ring text { fill: var(--muted); font-size: 10.5px; letter-spacing: 3px; font-weight: 700; text-transform: uppercase; }
.cta__btn span { display: grid; justify-items: center; gap: 8px; }
.cta__btn span svg { width: 26px; height: 26px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.cta__btn:hover span svg { transform: rotate(0); }

/* ==========================================================================
   Formulaires
   ========================================================================== */
.form { display: grid; gap: 20px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { position: relative; display: grid; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 26px 18px 10px; transition: border-color .3s, box-shadow .3s, background .3s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239799aa' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--surface); color: var(--text); }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 19px; top: 18px; font-size: 1rem; color: var(--muted); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s, top .3s; transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(35, 71, 255, .18); background: #0e0f16; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 9px; font-size: .74rem; color: var(--blue-3); font-weight: 600; }
.field.is-invalid input, .field.is-invalid textarea, .field.is-invalid select { border-color: #ff5d6c; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); cursor: pointer; }
.check input { flex: none; appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1px solid var(--line-2); background: var(--bg-2); margin: 0; display: grid; place-items: center; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .25s var(--ease); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check.is-invalid input { border-color: #ff5d6c; }
.check a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.5em; margin: 0; font-weight: 600; font-size: .95rem; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: #ff7a86; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-on { display: block; animation: fadeUp .6s var(--ease); }
.form-success i { width: 76px; height: 76px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 0 0 10px rgba(35, 71, 255, .15), 0 20px 50px -10px var(--glow); }
.form-success i svg { width: 34px; height: 34px; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .7s var(--ease) .2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.contact-card { padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.contact-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.contact-list a, .contact-list div { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color .3s, background .3s; }
.contact-list a:hover { border-color: rgba(142, 162, 255, .5); background: var(--surface-2); }
.contact-list i { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(35, 71, 255, .15); color: var(--blue-3); flex: none; }
.contact-list i svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: var(--muted); font-size: .8rem; }
.contact-list b { font-weight: 700; word-break: break-word; }

/* ==========================================================================
   Simulateur
   ========================================================================== */
.sim { display: grid; grid-template-columns: 1.35fr .9fr; gap: 32px; align-items: start; }
.sim__main { min-width: 0; }
.sim__progress { display: flex; gap: 8px; margin-bottom: 40px; }
.sim__progress button { flex: 1; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }
.sim__progress i { display: block; height: 4px; border-radius: 4px; background: var(--line-2); overflow: hidden; position: relative; margin-bottom: 10px; }
.sim__progress i::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); box-shadow: 0 0 10px var(--glow); }
.sim__progress button.is-done i::after, .sim__progress button.is-current i::after { transform: scaleX(1); }
.sim__progress span { font-size: .78rem; font-weight: 700; color: var(--dim); letter-spacing: .04em; transition: color .3s; }
.sim__progress button.is-current span, .sim__progress button.is-done span { color: var(--text); }
.sim__step { display: none; }
.sim__step.is-current { display: block; animation: stepIn .7s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.sim__step h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); margin-bottom: 10px; }
.sim__step > p { color: var(--muted); margin-bottom: 32px; }
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__box { height: 100%; display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .4s var(--ease), box-shadow .3s; }
.tile:hover .tile__box { border-color: var(--line-2); transform: translateY(-3px); }
.tile input:checked + .tile__box { border-color: var(--blue-2); background: linear-gradient(160deg, rgba(35, 71, 255, .18), var(--surface) 70%); box-shadow: 0 0 0 1px var(--blue-2), 0 20px 40px -20px var(--glow); }
.tile input:focus-visible + .tile__box { outline: 2px solid var(--blue-3); outline-offset: 3px; }
.tile input:disabled + .tile__box { opacity: .55; cursor: not-allowed; }
.tile__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.tile__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); color: var(--blue-3); }
.tile__icon svg { width: 22px; height: 22px; }
.tile__tick { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.tile__tick svg { width: 14px; height: 14px; color: #fff; opacity: 0; transform: scale(.5); transition: opacity .3s, transform .4s var(--ease); }
.tile input:checked + .tile__box .tile__tick { background: var(--blue); border-color: var(--blue); }
.tile input:checked + .tile__box .tile__tick svg { opacity: 1; transform: none; }
.tile b { font-size: 1.12rem; color: #fff; }
.tile small { color: var(--muted); font-size: .88rem; line-height: 1.45; }
.tile__price { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--blue-3); font-size: .95rem; }
.tile__inc { display: none; margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--ok); font-size: .88rem; }
.tile.is-included .tile__price { display: none; }
.tile.is-included .tile__inc { display: block; }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); margin-top: 14px; }
.stepper__ctrl { display: flex; align-items: center; gap: 6px; }
.stepper__ctrl button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg-2); color: #fff; font-size: 1.3rem; cursor: pointer; transition: background .2s, border-color .2s; }
.stepper__ctrl button:hover { background: var(--blue); border-color: var(--blue); }
.stepper__ctrl output { min-width: 44px; text-align: center; font-weight: 800; font-size: 1.3rem; }
.stepper b { display: block; }
.stepper small { color: var(--muted); }
.sim__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; }
.sim__nav .btn[hidden] { display: none; }

.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 34px; border-radius: var(--radius-lg); background: linear-gradient(180deg, #10142e, var(--surface) 55%); border: 1px solid rgba(142, 162, 255, .22); overflow: hidden; }
.summary::before { content: ""; position: absolute; right: -120px; top: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(35, 71, 255, .45), transparent 65%); pointer-events: none; }
.summary h3 { font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue-3); margin-bottom: 18px; position: relative; }
.summary__price { position: relative; font-size: clamp(2.2rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.05; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.summary__ht { color: var(--muted); font-size: .85rem; margin-bottom: 26px; }
.summary__lines { list-style: none; padding: 20px 0; margin: 0 0 20px; display: grid; gap: 10px; border-block: 1px solid var(--line); font-size: .9rem; min-height: 60px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 12px; color: #d2d3dd; animation: fadeUp .4s var(--ease); }
.summary__lines li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.summary__lines li.empty { color: var(--dim); }
.summary__extra { display: grid; gap: 10px; font-size: .88rem; color: var(--muted); }
.summary__extra div { display: flex; justify-content: space-between; gap: 10px; }
.summary__extra b { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.summary__foot { margin-top: 22px; font-size: .78rem; color: var(--dim); line-height: 1.5; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; padding: 100px 0 40px; border-top: 1px solid var(--line); overflow: hidden; background: var(--bg); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 80px; }
.footer__brand img { height: 30px; width: auto; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); max-width: 320px; font-size: .95rem; }
.footer h4 { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin-bottom: 20px; font-weight: 700; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: #c9cad6; font-size: .95rem; transition: color .3s; }
.footer ul a:hover { color: #fff; }
.footer__mail { display: inline-block; font-size: clamp(1.1rem, 1.7vw, 1.45rem); font-weight: 800; letter-spacing: -.03em; margin-top: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .6s var(--ease), color .3s; overflow-wrap: anywhere; }
.footer__mail:hover { background-size: 100% 2px; color: var(--blue-3); }
.footer__giant { font-size: clamp(4rem, 18.5vw, 17rem); font-weight: 800; letter-spacing: -.06em; line-height: .8; text-align: center; margin: 0 0 40px; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); user-select: none; white-space: nowrap; }
.footer__giant span { color: var(--blue); -webkit-text-stroke: 0; text-shadow: 0 0 60px var(--glow); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: var(--dim); padding-top: 28px; border-top: 1px solid var(--line); }
.footer__bottom a:hover { color: var(--text); }
.to-top svg { width: 16px; height: 16px; }
.to-top { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--dim); cursor: pointer; font-size: .85rem; padding: 0; }
.to-top:hover { color: #fff; }

/* Légal */
.legal h2 { font-size: 1.5rem; margin: 2.4em 0 .8em; letter-spacing: -.02em; }
.legal p { color: #c9cad6; }
.legal a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 3px; }
.todo { background: rgba(255, 196, 0, .18); color: #ffd66b; padding: 0 6px; border-radius: 4px; }

/* 404 */
.notfound { position: relative; overflow: hidden; min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 120px 24px; }
.notfound b { display: block; font-size: clamp(7rem, 26vw, 18rem); font-weight: 800; letter-spacing: -.07em; line-height: .85; margin-bottom: 30px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .stage { height: 460px; max-width: 680px; width: 100%; margin: 20px auto 0; }
  .services, .feature-grid { grid-template-columns: 1fr 1fr; }
  .services .service:last-child { grid-column: 1 / -1; min-height: 0; }
  .process, .split-block, .contact-grid, .sim, .options-grid { grid-template-columns: 1fr; gap: 56px; }
  .process__sticky { position: static; }
  .summary { position: relative; top: 0; }
  .pricing { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .values { grid-template-columns: 1fr 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .burger { display: block; }
  .works, .team { grid-template-columns: 1fr; }
  .section__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .brand img { height: 22px; }
  .hero { padding-top: calc(var(--header-h) + 32px); min-height: 0; padding-bottom: 72px; }
  .hero__cta .btn { width: 100%; }
  .stage { height: 330px; }
  .frame--phone { width: 100px; border-width: 4px; border-radius: 18px; }
  .chip { font-size: .72rem; padding: 8px 12px 8px 8px; }
  .chip i, .chip .score { width: 30px; height: 30px; }
  .chip--a { left: 0; bottom: 20px; }
  .chip--b { right: 0; top: 60px; }
  .scroll-hint { display: none; }
  .services, .feature-grid, .tiles, .tiles--3, .form__row, .values, .dash__row { grid-template-columns: 1fr; }
  .service { min-height: 0; padding: 32px 24px; }
  .service__num { margin-bottom: 28px; }
  .work__media { padding: 18px 18px 0; }
  .work__info { flex-direction: column; }
  .tags { justify-content: flex-start; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-left: 0 !important; padding: 32px 0 !important; border-top: 1px solid var(--line); }
  .stat:first-child { border-top: 0; }
  .steps { padding-left: 54px; }
  .step__dot { left: -54px; width: 36px; height: 36px; }
  .steps__line { left: 17px; }
  .plan, .table-card, .contact-card, .member, .summary { padding: 28px 22px; }
  .compare th, .compare td { padding: 14px 12px; font-size: .85rem; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .cta__btn { width: 150px; height: 150px; }
  .sim__progress span { display: none; }
  .page-hero { padding: calc(var(--header-h) + 56px) 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .split .w > span, [data-reveal] { transform: none !important; opacity: 1 !important; }
  .statement .hw { opacity: 1; }
  .loader { display: none; }
}

/* ==========================================================================
   Ajustements téléphone
   ========================================================================== */
.sim__mini { display: none; }
@media (max-width: 1100px) {
  .sim__mini {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 12px 12px 20px; border-radius: 18px; background: rgba(16, 20, 46, .94); border: 1px solid rgba(142, 162, 255, .3);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8);
    transform: translateY(140%); transition: transform .5s var(--ease);
  }
  .sim__mini.is-on { transform: none; }
  .sim__mini small { display: block; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); font-weight: 700; }
  .sim__mini b { font-size: 1.15rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
  .sim__mini a { flex: none; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .85rem; font-weight: 700; }
}

@media (max-width: 640px) {
  /* rythme vertical plus serré */
  .section { padding: 76px 0; }
  .section--tight { padding: 56px 0; }
  .section__head { margin-bottom: 36px; gap: 18px; }
  .statement { font-size: clamp(1.6rem, 7.4vw, 2.1rem); }
  .cta { padding: 96px 0 110px; }
  .cta h2 { margin-bottom: 70px; font-size: clamp(2.3rem, 11vw, 3rem); }
  .cta__btn { width: 140px; height: 140px; }
  .cta__btn svg.ring { left: -40px; top: -40px; width: calc(100% + 80px); height: calc(100% + 80px); }
  .footer { padding-top: 72px; }
  .footer__top { margin-bottom: 48px; }
  h2 { font-size: clamp(1.9rem, 8.6vw, 2.4rem); }

  /* visuel du héros : simplifié, rien de coupé */
  .stage { height: auto; aspect-ratio: 1 / .78; perspective: none; margin-top: 8px; }
  .stage__inner { transform: none !important; }
  .frame--a { width: 84%; left: 0; top: 6%; transform: none; }
  .frame--b { display: none; }
  .frame--phone { width: 30%; left: auto; right: 0; top: 0; transform: none; }
  .chip { transform: none; animation: none; }
  .chip--a { left: 8px; right: auto; bottom: 4%; top: auto; }
  .chip--b { display: none; }

  /* statistiques en 2 × 2 */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 26px 0 26px 18px !important; border-top: 0; border-left: 1px solid var(--line) !important; }
  .stat:nth-child(odd) { padding-left: 0 !important; border-left: 0 !important; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat__n { font-size: 2.6rem; }
  .stat p { font-size: .85rem; }

  /* comparatif : tient dans l'écran */
  .compare { table-layout: fixed; }
  .compare th, .compare td { padding: 12px 6px; font-size: .78rem; line-height: 1.3; }
  .compare th:first-child, .compare td:first-child { width: 40%; padding-left: 14px; }
  .compare thead th { font-size: .6rem; letter-spacing: .06em; }

  /* tableau de bord SEO */
  .dash { padding: 16px; }
  .dash__row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kpi { padding: 12px 10px; }
  .kpi small { font-size: .66rem; }
  .kpi b { font-size: 1.05rem; }
  .bars { height: 110px; padding: 12px; gap: 5px; }

  /* avant / après */
  .ba { aspect-ratio: 4 / 5; }
  .ba__label { top: auto; bottom: 14px; }
  .old-site { padding: 12px; gap: 8px; }
  .old-site__top { font-size: .85rem; padding: 8px; }
  .old-site__nav span { font-size: .6rem; padding: 2px 6px; }
  .old-site__body { grid-template-columns: 1fr; font-size: .7rem; }
  .old-site__img { height: 70px; }
  .new-site { padding: 18% 7% 22%; gap: 10px; }
  .new-site__nav b { width: 50px; } .new-site__nav span { width: 56px; height: 20px; }
  .new-site h4 { font-size: 1.1rem; max-width: 8ch; }
  .new-site p { font-size: .66rem; max-width: 14ch; }
  .new-site__btns i { width: 70px; height: 24px; } .new-site__btns i + i { width: 54px; }

  /* simulateur */
  .sim__nav .btn { flex: 1; }
  .tile__box { padding: 18px; }
  #sim { padding-bottom: 70px; }

  .contact-list a, .contact-list div { padding: 14px 16px; }
  .plan__meta { gap: 14px; }
  .work__phone { width: 26%; right: 14px; }
}
