/* =========================================================
   Eleonia — styles
   Direction artistique : IA & communication digitale
   Noir indigo, néons cyan → violet → magenta, réseau neuronal
   ========================================================= */

:root {
  --bg: #06050f;
  --bg-2: #0b0a1a;
  --panel: #110f26;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --text: #f5f4ff;
  --muted: #a3a1c2;
  --dim: #6b6890;
  --cyan: #22d3ee;
  --violet: #7c5cff;
  --pink: #ff4fd8;
  --lime: #b6ff5c;

  --grad: linear-gradient(100deg, #22d3ee 0%, #7c5cff 50%, #ff4fd8 100%);
  --grad-soft: linear-gradient(100deg, rgba(34, 211, 238, .18), rgba(124, 92, 255, .18) 50%, rgba(255, 79, 216, .18));

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Space Grotesk', var(--font);
  --font-mono: var(--font);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --r-card: 20px;
  --r-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  background: var(--bg);
  color: var(--muted);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
/* grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 300; opacity: .05;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body.is-loading { overflow: hidden; }
::selection { background: var(--violet); color: #fff; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }
strong { color: var(--text); font-weight: 500; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
h1, h2, h3 { color: var(--text); font-family: var(--font-display); font-weight: 500; line-height: 1; }
.h-display { font-size: clamp(2.6rem, 7vw, 6rem); letter-spacing: -0.045em; }
.h-lg { font-size: clamp(2.1rem, 4.6vw, 3.9rem); letter-spacing: -0.04em; }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--muted); max-width: 560px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 20px;
  padding: 7px 12px; border: 1px solid rgba(34, 211, 238, .25); border-radius: 999px; background: rgba(34, 211, 238, .06);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: .25; } }

/* Split words (ajoutés par JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.wi { display: inline-block; will-change: transform; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
  animation: loaderFallback .6s 5s forwards;
}
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; } }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loader-logo { font-family: var(--font-display); color: var(--text); font-size: clamp(3rem, 8vw, 5rem); font-weight: 600; letter-spacing: -0.05em; }
.loader-count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--cyan); font-variant-numeric: tabular-nums; text-transform: uppercase; }
.loader-bar { width: min(300px, 60vw); height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 12px var(--violet); }

/* ---------- Curseur ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.cursor-ring {
  width: 40px; height: 40px; border: 1px solid rgba(124, 92, 255, .6);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background .45s var(--ease), border-color .45s;
}
.cursor-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .3s; font-weight: 500; }
.cursor.is-hover .cursor-ring { width: 64px; height: 64px; border-color: rgba(34, 211, 238, .5); background: rgba(124, 92, 255, .12); }
.cursor.is-label .cursor-ring { width: 84px; height: 84px; background: var(--grad); border-color: transparent; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-label .cursor-dot { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; } }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--grad); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px var(--violet); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; transition: transform .6s var(--ease); padding: 0 var(--gutter); }
.nav.is-hidden { transform: translateY(-140%); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; height: 64px; padding: 0 10px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid transparent; border-radius: 999px; transition: background .4s, border-color .4s;
}
.nav.is-scrolled .nav-inner { background: rgba(11, 10, 26, .7); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.04em; }
.logo-mark { width: 30px; height: 30px; overflow: visible; }
.logo-mark .spark { transform-origin: 16px 16px; animation: sparkSpin 8s linear infinite; }
@keyframes sparkSpin { to { transform: rotate(360deg); } }
.logo-mark .core { animation: corePulse 2s ease-in-out infinite; transform-origin: 16px 16px; }
@keyframes corePulse { 50% { transform: scale(.7); } }
/* Logo EleonIA : « IA » mis en avant + étiquette « web » */
.wordmark { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.045em; white-space: nowrap; }
.wm-ia {
  margin-left: .02em; background: var(--grad); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(124, 92, 255, .55)); animation: gradShift 4s ease-in-out infinite alternate;
}
.wm-web {
  font-family: var(--font); font-size: 10px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; line-height: 1;
  color: var(--cyan); padding: 4px 7px 4px 8px; border: 1px solid rgba(34, 211, 238, .35); border-radius: 999px; background: rgba(34, 211, 238, .06);
  margin-left: -4px; transition: background .4s, color .4s, border-color .4s;
}
.logo:hover .wm-web { background: var(--grad); color: #fff; border-color: transparent; }
.loader-logo { display: flex; align-items: center; gap: 14px; }
.loader-logo .wm-web { font-size: 13px; padding: 6px 10px 6px 11px; margin-left: 0; }

.nav-links { display: flex; gap: 6px; }
.nav-links a { font-size: 14px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.nav-links a:hover { color: var(--text); background: var(--glass-2); }
.nav-links .roll span::after { top: calc(100% + 12px); }
.nav-links .roll:hover span { transform: translateY(calc(-100% - 12px)); }

/* Roll text */
.roll, .btn-label { display: inline-flex; overflow: hidden; line-height: 1.25; }
.roll span, .btn-label span { display: inline-block; position: relative; transition: transform .55s var(--ease); }
.roll span::after, .btn-label span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.roll:hover span, .btn:hover .btn-label span { transform: translateY(-100%); }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 50%; background: var(--glass-2); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 0 var(--gutter);
  clip-path: circle(0% at calc(100% - 50px) 46px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 50px) 46px); visibility: visible; }
.mobile-menu a:not(.btn) { color: var(--text); font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 500; letter-spacing: -0.04em; }
.mobile-menu .btn { align-self: flex-start; margin-top: 16px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 26px; border-radius: 999px;
  font-size: 15px; font-weight: 500;
  white-space: nowrap; will-change: transform;
}
.btn-sm { padding: 12px 20px; font-size: 14px; }
.btn-primary {
  color: #fff; background: var(--grad); background-size: 200% 100%; background-position: 0% 0;
  transition: background-position .8s var(--ease), box-shadow .5s;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 10px 30px -10px rgba(124, 92, 255, .7);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, .2) inset, 0 14px 44px -8px rgba(255, 79, 216, .7), 0 0 30px rgba(34, 211, 238, .25); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: var(--glass); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .4s, border-color .4s; }
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(34, 211, 238, .5); }
.btn-arrow { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.btn:hover .btn-arrow { transform: translate(3px, -3px) rotate(45deg); }

/* ---------- Spotlight (survol) ---------- */
.spot { position: relative; isolation: isolate; }
.spot::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(124, 92, 255, .16), transparent 45%);
  opacity: 0; transition: opacity .5s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, .9), rgba(124, 92, 255, .6) 25%, rgba(255, 79, 216, .3) 45%, transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .5s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

.glass { background: var(--glass); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 96px 0 40px; }
.hero-aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-aurora span { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; }
.hero-aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -10vw; top: -14vw; background: var(--violet); animation: drift1 18s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(2) { width: 38vw; height: 38vw; right: -10vw; top: 6vw; background: var(--cyan); opacity: .32; animation: drift2 22s ease-in-out infinite alternate; }
.hero-aurora span:nth-child(3) { width: 34vw; height: 34vw; left: 30vw; bottom: -22vw; background: var(--pink); opacity: .3; animation: drift3 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(14vw, 10vw) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-12vw, 12vw) scale(.9); } }
@keyframes drift3 { to { transform: translate(-10vw, -8vw) scale(1.2); } }
.hero-floor {
  position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; pointer-events: none;
  background-image: linear-gradient(rgba(124, 92, 255, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(124, 92, 255, .35) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(500px) rotateX(62deg); transform-origin: top center;
  -webkit-mask: linear-gradient(to bottom, transparent, #000 40%, #000 70%, transparent);
  mask: linear-gradient(to bottom, transparent, #000 40%, #000 70%, transparent);
  animation: floor 3s linear infinite; opacity: .5;
}
@keyframes floor { to { background-position: 0 64px; } }
.orb { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 45% at 50% 45%, rgba(6, 5, 15, .65), transparent 75%), linear-gradient(to bottom, transparent 75%, var(--bg)); }
.hero-content { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-title { font-size: clamp(2.6rem, min(7vw, 11vh), 6.2rem); letter-spacing: -0.05em; margin-bottom: 20px; font-weight: 600; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-sub { max-width: 600px; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.18rem); margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* Notifications flottantes */
.chips { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chip { position: absolute; }
.chip-inner {
  padding: 12px 16px 12px 12px; border-radius: 16px; min-width: 210px;
  background: rgba(17, 15, 38, .6); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
}
.chip-inner > div { display: flex; flex-direction: column; text-align: left; }
.chip strong { font-size: 14px; }
.chip small { font-size: 12px; color: var(--muted); }
.chip-ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-size: 16px; color: #fff; flex: none; }
.chip--1 .chip-ico { background: linear-gradient(135deg, #f59e0b, #ff4fd8); }
.chip--2 .chip-ico { background: var(--grad); }
.chip--3 .chip-ico { background: linear-gradient(135deg, #22d3ee, #3b82f6); }
.chip--4 .chip-ico { background: linear-gradient(135deg, #7c5cff, #22d3ee); }
.chip-float { animation: float 6s ease-in-out infinite; }
.chip--1 { top: 20%; left: 3%; }
.chip--2 { top: 24%; right: 3%; }
.chip--3 { top: 56%; right: 5%; }
.chip--4 { top: 60%; left: 4%; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 1279px) { .chips { display: none; } }

.hero-bottom { position: relative; z-index: 2; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; margin-top: 40px; gap: 24px; }
@media (min-width: 901px) {
  .hero { padding-bottom: 150px; }
  .hero-bottom { position: absolute; left: 0; right: 0; bottom: 28px; margin: 0 auto; }
}
@media (min-width: 901px) and (max-height: 760px) { .search-mock { display: none; } .hero { padding-bottom: 60px; } }
.search-mock { width: min(380px, 100%); }
.search-bar {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 999px;
  background: rgba(17, 15, 38, .7); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--text); font-size: 14px; min-height: 50px;
}
.search-bar svg { width: 16px; height: 16px; color: var(--cyan); flex: none; }
.caret { width: 2px; height: 16px; background: var(--cyan); animation: blink 1s steps(1) infinite; margin-left: -6px; }
.search-result {
  display: flex; align-items: center; gap: 14px; margin-top: 8px; padding: 12px 18px; border-radius: 16px;
  background: rgba(17, 15, 38, .85); border: 1px solid rgba(124, 92, 255, .4);
  opacity: 0; transform: translateY(8px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.search-result.is-in { opacity: 1; transform: none; }
.result-rank { font-family: var(--font-display); font-size: 26px; font-weight: 600; letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.search-result strong { display: block; color: var(--text); font-size: 14px; }
.search-result small { font-size: 12px; color: var(--muted); }
.stars { color: #fbbf24; letter-spacing: 1px; }

.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.scroll-line { width: 1px; height: 56px; background: var(--line); overflow: hidden; position: relative; }
.scroll-line i { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--grad); animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* ---------- Marquee ---------- */
.marquee { padding: 48px 0; border-block: 1px solid var(--line); overflow: hidden; background: var(--bg-2); transform: rotate(-2deg) scale(1.04); margin: 40px 0; }
.marquee-row { overflow: hidden; white-space: nowrap; }
.marquee-row + .marquee-row { margin-top: 10px; }
.marquee-track { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 5.4rem); font-weight: 600; letter-spacing: -0.05em; color: var(--text); line-height: 1.1; will-change: transform; }
.marquee-track i { font-style: normal; font-size: .4em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee-track span { transition: color .4s, -webkit-text-stroke-color .4s; }
.marquee-row:not(.marquee-row--outline) .marquee-track span:hover { color: var(--cyan); }
.marquee-row--outline .marquee-track span { color: transparent; -webkit-text-stroke: 1px rgba(124, 92, 255, .8); }
.marquee-row--outline .marquee-track span:hover { color: var(--pink); -webkit-text-stroke-color: var(--pink); }

/* ---------- Manifeste ---------- */
.manifesto { padding: clamp(100px, 16vw, 200px) 0; }
.manifesto-text { font-family: var(--font-display); font-size: clamp(1.8rem, 4.2vw, 3.7rem); line-height: 1.12; letter-spacing: -0.035em; color: var(--text); font-weight: 500; max-width: 1180px; }
.manifesto-text em { font-style: normal; }
.manifesto-text em .wi { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.manifesto-text .wi { opacity: .12; }
.no-anim .manifesto-text .wi { opacity: 1; }

/* Manifeste : texte + démo assistant IA */
.manifesto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.manifesto-grid .manifesto-text { font-size: clamp(1.7rem, 3.1vw, 2.9rem); }

.ai-demo { position: relative; perspective: 1400px; }
.demo-glow { position: absolute; inset: 8% 4%; border-radius: 40px; background: radial-gradient(closest-side, var(--accent, #7c5cff), transparent); opacity: .35; filter: blur(60px); transition: background .8s; pointer-events: none; }
.demo-window {
  --accent: #10a37f;
  position: relative; border-radius: 26px; overflow: hidden;
  background: rgba(13, 11, 30, .88); border: 1px solid var(--line-2);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .03) inset;
}
.demo-tabs { position: relative; display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; font-size: 13px; color: var(--muted); white-space: nowrap; transition: color .4s; }
.demo-tab i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.demo-tab.is-active { color: var(--text); }
.demo-pill { position: absolute; top: 10px; left: 10px; height: calc(100% - 20px); width: 90px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); transition: transform .6s var(--ease), width .6s var(--ease); }

.demo-body { height: 390px; padding: 20px 20px 10px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; transition: opacity .5s, filter .5s; }
.demo-body.is-out { opacity: 0; filter: blur(6px); }
.demo-body > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.demo-body > .is-in { opacity: 1; transform: none; }
.demo-user { align-self: flex-end; max-width: 86%; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.demo-q { padding: 11px 15px; border-radius: 18px 18px 4px 18px; background: var(--grad); color: #fff; font-size: 14px; line-height: 1.45; }
.demo-who { font-size: 11px; color: var(--dim); }
.demo-thinking { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.demo-thinking.is-gone { display: none; }
.demo-dots { display: inline-flex; gap: 3px; }
.demo-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: dotBounce 1s ease-in-out infinite; }
.demo-dots i:nth-child(2) { animation-delay: .15s; } .demo-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dotBounce { 40% { transform: translateY(-4px); opacity: .5; } }
.demo-sources { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.demo-sources span { font-size: 11px; color: var(--dim); margin-right: 2px; }
.demo-sources em { font-style: normal; font-size: 11px; color: var(--text); padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); }
.demo-answer { display: flex; gap: 10px; align-items: flex-start; }
.demo-answer .ai-spark { width: 24px; height: 24px; font-size: 11px; }
.demo-a { font-size: 14px; line-height: 1.55; color: var(--text); }
.demo-a mark { background: none; color: #fff; font-weight: 600; box-shadow: inset 0 -0.45em 0 rgba(124, 92, 255, .45); }
.demo-card { margin-left: 34px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1px solid transparent; transform: translateY(12px) scale(.96) !important; }
.demo-card.is-in { transform: none !important; box-shadow: 0 0 40px -10px rgba(124, 92, 255, .7); }
.demo-card-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.demo-name { font-size: 15px; }
.demo-badge { flex: none; font-size: 11px; font-weight: 500; color: #fff; padding: 4px 9px; border-radius: 999px; background: var(--grad); }
.demo-meta { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.demo-actions { display: flex; gap: 8px; margin-top: 12px; }
.demo-btn { position: relative; overflow: hidden; font-size: 12px; font-weight: 500; padding: 8px 14px; border-radius: 999px; background: #fff; color: #06050f; transition: transform .2s, background .3s, color .3s; }
.demo-btn--ghost { background: var(--glass-2); color: var(--text); }
.demo-btn.is-pressed { transform: scale(.92); }
.demo-btn.is-done { background: var(--lime); }

.demo-input { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 10px 10px 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); font-size: 14px; color: var(--text); min-height: 48px; }
.demo-typed:empty::before { content: "Posez votre question…"; color: var(--dim); }
.demo-caret { width: 2px; height: 16px; background: var(--accent, var(--cyan)); animation: blink 1s steps(1) infinite; margin-left: -6px; }
.demo-send { margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); color: var(--muted); font-size: 14px; transition: background .3s, color .3s, transform .3s; }
.demo-send.is-ready { background: var(--grad); color: #fff; }
.demo-send.is-pressed { transform: scale(.85); }

.demo-cursor { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 3; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .6)); }
.demo-toast {
  position: absolute; right: -18px; bottom: 70px; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 12px; border-radius: 16px; background: rgba(17, 15, 38, .92); border: 1px solid rgba(182, 255, 92, .45);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7), 0 0 30px -10px rgba(182, 255, 92, .5);
  opacity: 0; transform: translateY(16px) scale(.9); transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.demo-toast.is-in { opacity: 1; transform: none; }
.demo-toast .ai-spark { background: var(--lime); color: #06050f; box-shadow: none; }
.demo-toast div { display: flex; flex-direction: column; }
.demo-toast strong { font-size: 13px; }
.demo-toast small { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; }
  .demo-toast { right: 8px; }
}
@media (max-width: 600px) {
  .demo-body { height: 420px; padding: 16px 14px 8px; }
  .demo-card { margin-left: 0; }
}

/* ---------- Services ---------- */
.services { padding: 40px 0 140px; }
.services-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); }
.services-list h2 { margin-bottom: 56px; max-width: 640px; }
.service {
  display: grid; grid-template-columns: 56px 1fr 44px; gap: 20px; align-items: start;
  padding: 36px 32px; border-radius: var(--r-card); border: 1px solid var(--line); background: var(--glass);
  transition: background .5s var(--ease), transform .6s var(--ease);
}
.service + .service { margin-top: 14px; }
.service:hover { background: rgba(124, 92, 255, .07); transform: translateX(6px); }
.service-num { font-family: var(--font-mono); font-size: 12px; color: var(--cyan); padding-top: 10px; }
.service h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -0.035em; margin-bottom: 14px; }
.service p { max-width: 520px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li { font-family: var(--font-mono); font-size: 11px; color: var(--text); padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--glass); transition: border-color .4s; }
.service:hover .tags li { border-color: rgba(34, 211, 238, .4); }
.arrow-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--glass-2); color: var(--text); border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s, transform .6s var(--ease);
}
.arrow-btn svg { width: 14px; height: 14px; transition: transform .6s var(--ease); }
.service:hover .arrow-btn { background: var(--grad); border-color: transparent; }
.service:hover .arrow-btn svg { transform: rotate(45deg); }

.services-visual { position: sticky; top: 120px; align-self: start; height: min(560px, 70vh); display: grid; place-items: center; }
.molecule { width: 100%; max-width: 520px; height: auto; overflow: visible; }
.mol-lines line { stroke: rgba(124, 92, 255, .4); stroke-width: 1; }
.mol-flow line { stroke: url(#molGrad); stroke-width: 1.6; stroke-dasharray: 3 22; stroke-linecap: round; animation: flow 1.6s linear infinite; opacity: .9; }
@keyframes flow { to { stroke-dashoffset: -25; } }
.mol-ring { fill: none; stroke: rgba(34, 211, 238, .18); stroke-dasharray: 2 6; transform-origin: 250px 250px; animation: spin 40s linear infinite; }
.mol-ring--2 { stroke: rgba(255, 79, 216, .14); animation-direction: reverse; animation-duration: 70s; }
@keyframes spin { to { transform: rotate(360deg); } }
.mol-node circle { fill: var(--bg); stroke: var(--cyan); stroke-width: 1.4; transition: fill .5s, r .5s var(--ease), stroke .5s; }
.mol-node text, .mol-core text { fill: var(--muted); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; text-anchor: middle; font-family: var(--font-mono); transition: fill .4s; }
.mol-node.is-active circle { fill: var(--pink); stroke: var(--pink); r: 16; }
.mol-node.is-active text { fill: var(--text); }
.mol-core circle { fill: url(#molGrad); stroke: none; }
.mol-core text { fill: #fff; font-size: 13px; font-weight: 500; }
.mol-pulse { fill: none; stroke: var(--violet); stroke-width: 1.5; transform-origin: 250px 250px; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.8); opacity: 0; } }

/* ---------- GEO ---------- */
.geo { padding: 140px 0; background: var(--bg-2); position: relative; overflow: hidden; }
.geo::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -200px; background: radial-gradient(closest-side, rgba(124, 92, 255, .25), transparent); pointer-events: none; }
.geo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 28px 28px; -webkit-mask: radial-gradient(60% 60% at 70% 50%, #000, transparent); mask: radial-gradient(60% 60% at 70% 50%, #000, transparent); }
.geo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.geo-copy h2 { margin-bottom: 28px; }
.checks { margin-top: 32px; display: grid; gap: 14px; }
.geo-demo-link { margin-top: 36px; }
.checks li { display: flex; gap: 14px; align-items: center; color: var(--text); }
.checks li { position: relative; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 50%; width: 10px; height: 10px; transform: translateY(-50%); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 8 3.5 3.5L13 5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat; }

.ai-chat { background: rgba(17, 15, 38, .75); border: 1px solid var(--line-2); border-radius: 24px; padding: 24px; min-height: 400px; display: flex; flex-direction: column; gap: 18px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 40px 80px -30px rgba(124, 92, 255, .45); }
.ai-head { display: flex; align-items: center; gap: 6px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.ai-head .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.ai-head .dot:nth-child(1) { background: #ff5f57; } .ai-head .dot:nth-child(2) { background: #febc2e; } .ai-head .dot:nth-child(3) { background: #28c840; }
.ai-title { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.ai-title::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.ai-msg { font-size: 15px; line-height: 1.55; }
.ai-user { align-self: flex-end; background: var(--grad); color: #fff; padding: 12px 16px; border-radius: 18px 18px 4px 18px; max-width: 85%; min-height: 46px; }
.ai-user:empty { visibility: hidden; }
.ai-bot { display: flex; gap: 12px; align-items: flex-start; color: var(--text); }
.ai-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 0deg, var(--cyan), var(--violet), var(--pink), var(--cyan)); animation: avatarSpin 3s linear infinite; position: relative; }
.ai-avatar::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--panel); }
@keyframes avatarSpin { to { transform: rotate(360deg); } }
.ai-a mark { background: rgba(124, 92, 255, .25); color: #fff; font-weight: 500; padding: 1px 6px; border-radius: 6px; }
.ai-sources { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; opacity: 0; transform: translateY(8px); transition: .6s var(--ease); }
.ai-sources.is-in { opacity: 1; transform: none; }
.ai-sources span { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-right: 4px; }
.ai-sources em { font-style: normal; font-size: 12px; color: var(--text); border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 11px; background: var(--glass); }

/* ---------- Méthode (timeline) ---------- */
.method { padding: 140px 0; }
.method-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.method-head { position: sticky; top: 120px; align-self: start; }
.method-head h2 { margin-bottom: 24px; }
.method-track { position: relative; display: grid; gap: 20px; padding-left: 40px; }
.method-line { position: absolute; left: 7px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.method-line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--cyan), var(--violet) 50%, var(--pink)); transform: scaleY(0); transform-origin: top; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; padding: 32px; border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(124, 92, 255, .1), rgba(17, 15, 38, .55) 45%); border: 1px solid var(--line);
  transition: border-color .5s, box-shadow .5s;
}
.step:hover { border-color: rgba(124, 92, 255, .5); box-shadow: 0 20px 60px -30px rgba(124, 92, 255, .8); }
.step-dot { position: absolute; left: -40px; top: 40px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-2); transition: background .5s, border-color .5s, box-shadow .5s; }
.step.is-active .step-dot { background: var(--violet); border-color: var(--cyan); box-shadow: 0 0 0 5px rgba(124, 92, 255, .2), 0 0 18px var(--violet); }
.step-num { font-family: var(--font-display); font-size: clamp(2.8rem, 4.4vw, 4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(124, 92, 255, .8); transition: color .5s; }
.step:hover .step-num, .step.is-active .step-num { -webkit-text-stroke-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.step h3 { font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -0.035em; margin-bottom: 12px; }
.step-tag { display: inline-block; margin-top: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--cyan); border: 1px solid rgba(34, 211, 238, .3); border-radius: 999px; padding: 6px 12px; background: rgba(34, 211, 238, .06); }

/* Méthode : scroll horizontal épinglé (ordinateur) */
@media (min-width: 901px) {
  .method { min-height: 100vh; padding: 110px 0 60px; display: flex; flex-direction: column; justify-content: center; }
  .method-grid { display: block; max-width: none; padding: 0; }
  .method-head { position: static; max-width: 1440px; margin: 0 auto 40px; padding: 0 var(--gutter); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
  .method-head .eyebrow { grid-column: 1 / -1; justify-self: start; margin-bottom: 0; }
  .method-head h2 { margin-bottom: 0; }
  .method-track { display: flex; gap: 24px; width: max-content; padding: 34px var(--gutter) 0; }
  .method-line { left: var(--gutter); right: var(--gutter); top: 7px; bottom: auto; width: auto; height: 2px; }
  .method-line i { background: var(--grad); transform-origin: left; }
  .step { flex: none; width: clamp(340px, 31vw, 460px); min-height: 420px; grid-template-columns: 1fr; gap: 18px; align-content: start; }
  .step-dot { left: 32px; top: -34px; }
}

/* ---------- Effets IA ---------- */
/* Reflet qui balaie le texte, comme une IA qui réfléchit */
.shimmer, .eyebrow-text {
  background: linear-gradient(90deg, currentColor 0%, currentColor 40%, #fff 50%, currentColor 60%, currentColor 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 3.2s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.ai-spark {
  display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); color: #fff; font-size: 12px; animation: sparkBreath 2.4s ease-in-out infinite;
  box-shadow: 0 0 18px rgba(124, 92, 255, .6);
}
@keyframes sparkBreath { 50% { transform: scale(.88) rotate(20deg); box-shadow: 0 0 6px rgba(124, 92, 255, .3); } }

/* Étapes : réponse de l'IA */
.step-ai {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 16px;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad-soft) border-box; border: 1px solid transparent;
  min-height: 72px;
}
.step-ai p { font-size: 14px; color: var(--text); line-height: 1.5; }
.step-ai p:empty::before { content: "L'IA analyse"; color: var(--muted); }
.step-ai p:empty::after { content: "…"; color: var(--muted); animation: blink 1s steps(1) infinite; }
.typing-dot { display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--violet); animation: blink .8s ease-in-out infinite; vertical-align: middle; }

/* Bandeaux : questions posées aux IA */
.prompt-strip { position: relative; overflow: hidden; padding: 22px 0; border-block: 1px solid var(--line); background: var(--bg); white-space: nowrap; }
.prompt-strip::before, .prompt-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: 15%; z-index: 1; pointer-events: none; }
.prompt-strip::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.prompt-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.prompt-track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.prompt-track + .prompt-track { margin-top: 12px; }
.prompt {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--line-2); color: var(--text); font-size: 14px;
}
.prompt .ai-spark { width: 22px; height: 22px; font-size: 10px; animation: none; box-shadow: none; }
.prompt-track[data-dir="-1"] .prompt { color: var(--muted); }
.prompt-track[data-dir="-1"] .prompt .ai-spark { background: var(--glass-2); }

/* GEO : fiche entité comprise par l'IA */
.geo-side { display: grid; gap: 16px; }
.entity-card { background: rgba(17, 15, 38, .75); border: 1px solid var(--line-2); border-radius: 20px; padding: 20px 22px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.entity-head { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; margin-bottom: 14px; }
.entity-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.entity-list li span { color: var(--muted); }
.entity-list li strong { text-align: right; }
.entity-bar { flex: 1; max-width: 220px; height: 6px; border-radius: 6px; background: var(--glass-2); overflow: hidden; }
.entity-bar i { display: block; height: 100%; width: 92%; border-radius: 6px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .4s; }
.entity-card.is-in .entity-bar i { transform: scaleX(1); }

/* Section Eleonia : halo IA */
.kinetic { position: relative; }
.kinetic > :not(.kinetic-aura) { position: relative; z-index: 1; }
.kinetic-aura { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.kinetic-aura span { position: absolute; top: 50%; left: 50%; border-radius: 50%; filter: blur(80px); mix-blend-mode: screen; }
.kinetic-aura span:nth-child(1) { width: 40vw; height: 40vw; margin: -20vw 0 0 -32vw; background: var(--cyan); opacity: .22; animation: aura1 9s ease-in-out infinite alternate; }
.kinetic-aura span:nth-child(2) { width: 36vw; height: 36vw; margin: -18vw 0 0 -10vw; background: var(--violet); opacity: .35; animation: aura2 11s ease-in-out infinite alternate; }
.kinetic-aura span:nth-child(3) { width: 30vw; height: 30vw; margin: -15vw 0 0 8vw; background: var(--pink); opacity: .25; animation: aura1 13s ease-in-out infinite alternate-reverse; }
@keyframes aura1 { to { transform: translate(8vw, -4vw) scale(1.2); } }
@keyframes aura2 { to { transform: translate(-6vw, 5vw) scale(.85); } }



/* ---------- Stats ---------- */
.stats { padding: 120px 0; border-block: 1px solid var(--line); position: relative; overflow: hidden; }
.stats::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 80% at 50% 100%, rgba(124, 92, 255, .14), transparent); pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; position: relative; }
.stat { display: flex; flex-direction: column; gap: 14px; padding-left: 20px; border-left: 1px solid var(--line-2); }
.stat-num { font-family: var(--font-display); font-size: clamp(3.4rem, 6.4vw, 5.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 14px; color: var(--muted); max-width: 240px; }

/* ---------- Zones d'intervention ---------- */
.zones { padding: 140px 0 120px; position: relative; overflow: hidden; }
.zones::before { content: ""; position: absolute; width: 800px; height: 800px; left: -300px; top: 10%; background: radial-gradient(closest-side, rgba(34, 211, 238, .12), transparent); pointer-events: none; }
.zones-title { max-width: 900px; margin-bottom: 24px; }
.zones-lead { margin-bottom: 56px; }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.zone-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; transition: border-color .5s; }
.zone-card:hover { border-color: rgba(124, 92, 255, .45); }
.zone-pin { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); margin-bottom: 28px; }
.zone-pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--violet); animation: coreRing 2s ease-out infinite; }
@keyframes coreRing { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.zone-region { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.zone-card h3 { font-size: clamp(1.35rem, 1.9vw, 1.7rem); letter-spacing: -0.03em; margin-bottom: 14px; line-height: 1.1; }
.zone-card > p:not(.zone-region) { flex: 1; }
@media (max-width: 1100px) { .zones-grid { grid-template-columns: 1fr; } }


/* ---------- Pourquoi ---------- */
.why { padding: 140px 0; }
.why-title { max-width: 1000px; margin-bottom: 72px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; perspective: 1200px; }
.why-card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-card); padding: 32px; min-height: 340px; display: flex; flex-direction: column; transform-style: preserve-3d; transition: transform .5s var(--ease); will-change: transform; }
.why-card svg { width: 52px; height: 52px; padding: 12px; border-radius: 14px; color: #fff; background: var(--grad); margin-bottom: auto; transition: transform .6s var(--ease); box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8); }
.why-card:hover svg { transform: translateZ(40px) scale(1.1) rotate(-6deg); }
.why-card h3 { font-size: 1.5rem; letter-spacing: -0.03em; margin: 56px 0 12px; }

/* ---------- Kinetic ---------- */
.kinetic { padding: 80px 0 120px; overflow: hidden; background: var(--bg-2); }
.kinetic-line { white-space: nowrap; font-family: var(--font-mono); font-size: clamp(1rem, 2vw, 1.6rem); letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
.kinetic-word { display: flex; justify-content: center; font-family: var(--font-display); font-size: clamp(6rem, 24vw, 22rem); font-weight: 600; letter-spacing: -0.07em; line-height: .9; margin: 24px 0; }
.kinetic-word span { display: inline-block; background: var(--grad); background-size: 500% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; }
.kinetic-slogan { text-align: center; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 3rem); font-weight: 500; letter-spacing: -0.03em; color: var(--text); margin: -4px 0 36px; }
.kinetic-word span:not(.k-ia) { background: none; -webkit-text-fill-color: var(--text); color: var(--text); }
.kinetic-word .k-ia { background-size: 200% 100%; filter: drop-shadow(0 0 30px rgba(124, 92, 255, .55)); }
.kinetic-word .k-ia:nth-child(6) { background-position: 0% 0; margin-left: .03em; }
.kinetic-word .k-ia:nth-child(7) { background-position: 100% 0; }
.kinetic-word span:hover { animation: glitch .35s steps(2) infinite; }
@keyframes glitch {
  0% { transform: translate(0); filter: drop-shadow(-4px 0 var(--cyan)) drop-shadow(4px 0 var(--pink)); }
  33% { transform: translate(-3px, 2px) skewX(-6deg); filter: drop-shadow(5px 0 var(--cyan)) drop-shadow(-5px 0 var(--pink)); }
  66% { transform: translate(3px, -2px) skewX(6deg); filter: drop-shadow(-3px 0 var(--cyan)) drop-shadow(3px 0 var(--pink)); }
  100% { transform: translate(0); }
}

/* ---------- FAQ ---------- */
.faq { padding: 140px 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); }
.faq-grid h2 { position: sticky; top: 120px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: 18px; background: var(--glass); padding: 0 24px; transition: border-color .4s, background .4s; }
.faq-item.is-open { border-color: rgba(124, 92, 255, .45); background: rgba(124, 92, 255, .06); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; text-align: left; font-family: var(--font-display); font-size: clamp(1.1rem, 1.7vw, 1.4rem); font-weight: 500; letter-spacing: -0.02em; color: var(--text); transition: color .3s; }
.faq-q:hover { color: var(--cyan); }
.faq-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line-2); position: relative; transition: background .4s, transform .6s var(--ease); color: var(--text); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.is-open .faq-icon { background: var(--grad); border-color: transparent; color: #fff; transform: rotate(180deg); }
.faq-item.is-open .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 56px 24px 0; max-width: 680px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact { padding: 40px 0 140px; }
.contact-card {
  position: relative; overflow: hidden; border-radius: 32px; padding: clamp(56px, 9vw, 120px) clamp(24px, 6vw, 96px);
  background: radial-gradient(80% 120% at 0% 0%, rgba(124, 92, 255, .28), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(255, 79, 216, .18), transparent 60%), var(--bg-2);
  border: 1px solid var(--line-2);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: end;
}
.orb--small { opacity: .7; pointer-events: none; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact-copy h2 { margin-bottom: 24px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field--full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; background: rgba(6, 5, 15, .55); border: 1px solid var(--line-2); border-radius: 14px;
  padding: 26px 16px 10px; color: var(--text); font: inherit; outline: none; resize: none;
  transition: border-color .4s, background .4s, box-shadow .4s;
}
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .25); }
.field input:focus, .field textarea:focus { border-color: var(--violet); background: rgba(6, 5, 15, .8); box-shadow: 0 0 0 4px rgba(124, 92, 255, .18); }
.field label { position: absolute; left: 16px; top: 18px; color: var(--muted); font-size: 15px; pointer-events: none; transform-origin: left; transition: transform .4s var(--ease), color .4s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.72); color: var(--cyan); }
.field.is-error input { border-color: var(--pink); }
.contact-form .btn { justify-content: center; }
.form-status { grid-column: 1 / -1; font-size: 14px; color: var(--cyan); min-height: 1.4em; }

/* ---------- Footer ---------- */
.footer { background: var(--bg); padding: 120px 0 40px; overflow: hidden; border-top: 1px solid var(--line); }
.footer-big { font-family: var(--font-display); font-size: clamp(5rem, 22vw, 20rem); font-weight: 600; letter-spacing: -0.07em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(124, 92, 255, .45); margin-bottom: 80px; user-select: none; transition: color .6s; }
.footer-big:hover { color: rgba(124, 92, 255, .12); }
.footer-big span { -webkit-text-stroke-color: rgba(255, 79, 216, .75); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-grid p:not(.eyebrow) { max-width: 360px; margin-top: 16px; }
.footer-grid li + li { margin-top: 10px; }
.link { position: relative; color: var(--muted); transition: color .3s; }
.link::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.link:hover { color: var(--text); }
.link:hover::after { transform: scaleX(1); transform-origin: left; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; }
.to-top { width: 48px; height: 48px; border-radius: 50%; background: var(--glass-2); border: 1px solid var(--line-2); color: var(--text); font-size: 18px; transition: background .4s; }
.to-top:hover { background: var(--grad); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  .nav.is-scrolled .nav-inner, .nav-inner { padding-right: 10px; }
  .services-grid, .geo-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .services-visual { position: relative; top: 0; height: auto; order: -1; max-width: 420px; margin: 0 auto; }
  .faq-grid h2 { position: static; }
  .method-grid { grid-template-columns: 1fr; }
  .method-head { position: static; }
  .hero-bottom { justify-content: center; }
  .scroll-hint { display: none; }
}
@media (max-width: 600px) {
  .service { grid-template-columns: 1fr 44px; padding: 28px 20px; }
  .service-num { grid-column: 1 / -1; padding: 0; }
  .why-grid, .stats-grid, .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .why-card { min-height: 0; }
  .why-card h3 { margin-top: 32px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .btn { white-space: normal; }
  .faq-a p { padding-right: 0; }
  .step { grid-template-columns: 1fr; gap: 14px; padding: 24px 20px; }
  .method-track { padding-left: 30px; }
  .step-dot { left: -30px; }
  .method-line { left: 7px; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Assistant EleonIA (widget flottant + page de démo)
   ========================================================= */
.eb-widget { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.eb-rocket { position: absolute; left: 0; top: 0; will-change: transform; opacity: 0; transition: opacity .6s; }
.eb-widget.is-ready .eb-rocket { opacity: 1; }
.eb-ship { position: relative; transform-origin: 50% 60%; will-change: transform; }
.eb-launcher {
  pointer-events: auto; position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 500; white-space: nowrap;
  background: rgba(17, 15, 38, .92); border: 1px solid rgba(124, 92, 255, .55);
  box-shadow: 0 14px 40px -12px rgba(124, 92, 255, .8), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color .4s, box-shadow .4s;
}
.eb-launcher:hover { border-color: var(--cyan); box-shadow: 0 18px 50px -10px rgba(34, 211, 238, .7); }
.eb-launcher .ai-spark { width: 34px; height: 34px; font-size: 14px; }
.eb-widget.is-open .eb-launch-text::after { content: " · fermer"; color: var(--muted); }
/* Traînée de réacteur : orientée à l'opposé du déplacement (--fa) */
.eb-flame {
  position: absolute; left: 50%; top: 50%; width: calc(20px + var(--thrust, 0) * 120px); height: 14px; margin-top: -7px;
  transform-origin: 0 50%; transform: rotate(var(--fa, 180deg)) translateX(22px);
  border-radius: 999px; pointer-events: none; opacity: calc(var(--thrust, 0) * 1.1);
  background: linear-gradient(90deg, #fff, rgba(124, 92, 255, .9) 30%, rgba(255, 79, 216, .5) 65%, transparent);
  filter: blur(3px); animation: flicker .12s steps(2) infinite;
}
@keyframes flicker { 50% { height: 10px; margin-top: -5px; } }

.eb-teaser {
  pointer-events: auto; position: absolute; left: 0; bottom: calc(100% + 12px); width: 250px; padding: 12px 30px 12px 14px;
  border-radius: 16px 16px 16px 4px; font-size: 14px; color: var(--text); cursor: pointer;
  background: rgba(17, 15, 38, .95); border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(8px) scale(.95); visibility: hidden; transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.eb-teaser.is-in { opacity: 1; transform: none; visibility: visible; }
.eb-widget.is-right .eb-teaser { left: auto; right: 0; border-radius: 16px 16px 4px 16px; }
.eb-teaser-close { position: absolute; top: 6px; right: 8px; width: 20px; height: 20px; color: var(--muted); font-size: 16px; line-height: 1; }

.eb-panel {
  pointer-events: auto; position: fixed; right: 24px; bottom: 90px; width: min(400px, calc(100vw - 28px)); height: min(600px, calc(100vh - 140px));
  display: flex; flex-direction: column; border-radius: 24px; overflow: hidden;
  background: rgba(11, 10, 26, .96); border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(124, 92, 255, .8);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  opacity: 0; transform: translateY(20px) scale(.96); transform-origin: bottom right; visibility: hidden;
  transition: opacity .45s var(--ease), transform .55s var(--ease), visibility .45s;
}
.eb-widget.is-open .eb-panel { opacity: 1; transform: none; visibility: visible; }
.eb-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--grad-soft); }
.eb-head > div { display: flex; flex-direction: column; flex: 1; }
.eb-head strong { color: var(--text); font-size: 15px; }
.eb-head small { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.eb-head small i { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.eb-close { width: 34px; height: 34px; border-radius: 50%; background: var(--glass-2); color: var(--text); font-size: 20px; line-height: 1; }

.eb-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; scrollbar-width: thin; }
.eb-msg { display: flex; gap: 10px; align-items: flex-start; animation: msgIn .45s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } }
.eb-msg .ai-spark { width: 26px; height: 26px; font-size: 11px; margin-top: 2px; }
.eb-msg--user { justify-content: flex-end; }
.eb-msg--user .eb-bubble { background: var(--grad); color: #fff; border-radius: 18px 18px 4px 18px; max-width: 85%; }
.eb-bubble { padding: 11px 15px; border-radius: 4px 18px 18px 18px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.55; max-width: 100%; }
.eb-msg--user .eb-bubble { border: 0; }
.eb-bubble h4 { font-family: var(--font-display); font-size: 15px; font-weight: 600; color: #fff; margin: 12px 0 4px; }
.eb-bubble h4:first-child { margin-top: 0; }
.eb-bubble p + p { margin-top: 8px; }
.eb-bubble ul, .eb-bubble ol { margin: 6px 0 4px; padding-left: 18px; display: grid; gap: 5px; }
.eb-bubble ul { list-style: disc; }
.eb-bubble li::marker { color: var(--violet); }
.eb-bubble strong { color: #fff; }
.eb-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.eb-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: dotBounce 1s ease-in-out infinite; }
.eb-typing i:nth-child(2) { animation-delay: .15s; } .eb-typing i:nth-child(3) { animation-delay: .3s; }
.eb-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.eb-cta { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: #fff; background: var(--grad); transition: transform .3s var(--ease), box-shadow .3s; }
.eb-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(124, 92, 255, .9); }
.eb-cta--ghost { background: var(--glass-2); border: 1px solid var(--line-2); }

.eb-chips { display: flex; gap: 6px; padding: 0 14px 10px; overflow-x: auto; scrollbar-width: none; transition: opacity .3s; }
.eb-chips::-webkit-scrollbar { display: none; }
.eb-chips.is-busy { opacity: .4; pointer-events: none; }
.eb-chip { flex: none; padding: 7px 12px; border-radius: 999px; font-size: 12px; color: var(--text); background: var(--glass); border: 1px solid var(--line-2); transition: border-color .3s, background .3s; }
.eb-chip:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
.eb-form { display: flex; gap: 8px; margin: 0 14px; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-2); transition: border-color .3s; }
.eb-form:focus-within { border-color: var(--violet); }
.eb-form input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; }
.eb-form input::placeholder { color: var(--dim); }
.eb-form button { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 16px; }
.eb-note { padding: 10px 16px 14px; font-size: 11px; color: var(--dim); text-align: center; }
.eb-note a { color: var(--muted); text-decoration: underline; }

@media (max-width: 600px) {
  .eb-launch-text { display: none; }
  .eb-launcher { padding: 6px; }
  .eb-panel { right: 14px; bottom: 84px; height: calc(100svh - 120px); }
  .eb-teaser { width: 210px; }
}

/* ---------- Eleonia, la petite robot de l'agence ---------- */
.nia { display: inline-block; flex: none; line-height: 0; }
.nia-svg { width: 100%; height: 100%; overflow: visible; }
.nia--launcher { width: 50px; height: 56px; margin: -26px 0 -6px -4px; animation: niaBob 2.4s ease-in-out infinite; filter: drop-shadow(0 8px 14px rgba(124, 92, 255, .55)); }
.nia--head { width: 38px; height: 43px; margin: -6px 0 -4px; }
.nia--avatar { width: 28px; height: 32px; margin-top: -2px; }
@keyframes niaBob { 50% { transform: translateY(-4px) rotate(-3deg); } }

/* Clignement des yeux */
.nia-eye { transform-box: fill-box; transform-origin: center; animation: niaBlink 4.2s infinite; }
.nia-eye + .nia-eye { animation-delay: .02s; }
@keyframes niaBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
/* Antenne qui brille */
.nia-ball { animation: niaGlow 1.8s ease-in-out infinite; }
@keyframes niaGlow { 50% { fill: #22d3ee; } }
.nia-antenna { transform-box: fill-box; transform-origin: bottom center; animation: niaWiggle 3s ease-in-out infinite; }
@keyframes niaWiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(10deg); } }
/* Bras : coucou */
.nia-arm-r, .nia-arm-l { transform-box: fill-box; transform-origin: top center; }
.nia-happy { opacity: 0; }

.eb-launcher:hover .nia-arm-r, .eb-teaser.is-in ~ .eb-ship .nia-arm-r { animation: niaWave .9s ease-in-out infinite; }
@keyframes niaWave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-150deg); } }

/* Humeurs (widget) */
.eb-widget[data-mood="happy"] .nia-eyes { opacity: 0; }
.eb-widget[data-mood="happy"] .nia-happy { opacity: 1; }
.eb-widget[data-mood="happy"] .nia--launcher, .eb-widget[data-mood="happy"] .nia--head { animation: niaJump .5s ease-out 2; }
@keyframes niaJump { 50% { transform: translateY(-8px) scale(1.05); } }
.eb-widget[data-mood="thinking"] .nia--head, .eb-widget[data-mood="thinking"] .nia--launcher { animation: niaThink 1s ease-in-out infinite; }
@keyframes niaThink { 50% { transform: rotate(-10deg); } }
.eb-widget[data-mood="thinking"] .nia-ball { animation-duration: .4s; }
.eb-widget[data-mood="oops"] .nia--head, .eb-widget[data-mood="oops"] .nia--launcher { animation: niaOops .5s ease-in-out 3; }
@keyframes niaOops { 25% { transform: rotate(-8deg); } 75% { transform: rotate(8deg); } }
/* Dans le chat, l'avatar de la dernière réponse est content */
.eb-msg--bot:last-child .nia--avatar .nia-eyes { opacity: 0; }
.eb-msg--bot:last-child .nia--avatar .nia-happy { opacity: 1; }

/* Bouton : Eleonia déborde au-dessus de la pilule */
.eb-launcher { padding: 8px 18px 8px 12px; }
@media (max-width: 600px) { .eb-launcher { padding: 8px 10px; } .nia--launcher { margin: -26px -2px -6px; } }

/* Blagues d'Eleonia */
.eb-quip { margin-top: 10px !important; padding-top: 10px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--muted); font-style: italic; }
.eb-quip::before { content: "😄 "; font-style: normal; }

/* Écran de chargement : Eleonia fait coucou */
.loader-nia { position: relative; margin-bottom: 4px; }
.nia--loader { width: 92px; height: 104px; animation: niaBob 1.6s ease-in-out infinite; filter: drop-shadow(0 12px 24px rgba(124, 92, 255, .6)); }
.nia--loader .nia-arm-r { animation: niaWave .7s ease-in-out infinite; }
.nia--loader .nia-eyes { opacity: 0; }
.nia--loader .nia-happy { opacity: 1; }
.loader-hello {
  position: absolute; left: calc(100% + 6px); top: 4px; white-space: nowrap; padding: 6px 12px; border-radius: 14px 14px 14px 4px;
  font-size: 14px; font-weight: 500; color: #fff; background: var(--grad); animation: helloPop 1.6s ease-in-out infinite;
}
@keyframes helloPop { 0%, 100% { transform: scale(1) rotate(-2deg); } 50% { transform: scale(1.08) rotate(2deg); } }

/* ---------- Musique d'Eleonia ---------- */
.music-toggle {
  position: fixed; right: 24px; top: 96px; z-index: 120; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 500;
  background: rgba(17, 15, 38, .75); border: 1px solid var(--line-2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: color .3s, border-color .3s, box-shadow .3s;
}
.music-toggle:hover { color: var(--text); border-color: rgba(34, 211, 238, .5); }
.music-toggle.is-on { color: var(--text); border-color: rgba(124, 92, 255, .6); box-shadow: 0 0 30px -8px rgba(124, 92, 255, .8); }
.music-toggle .eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 14px; }
.music-toggle .eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--muted); transition: background .3s; }
.music-toggle.is-on .eq i { background: var(--grad); animation: eq .9s ease-in-out infinite; }
.music-toggle.is-on .eq i:nth-child(2) { animation-delay: .2s; } .music-toggle.is-on .eq i:nth-child(3) { animation-delay: .4s; } .music-toggle.is-on .eq i:nth-child(4) { animation-delay: .1s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 14px; } }
.music-toggle:not(.is-on) .music-label::after { content: " off"; color: var(--dim); }
/* Eleonia danse quand la musique joue */
body.music-on .nia--launcher { animation: niaDance .71s ease-in-out infinite; }
body.music-on .eb-widget .nia-arm-r, body.music-on .eb-widget .nia-arm-l { animation: niaWave .71s ease-in-out infinite; }
body.music-on .eb-widget .nia-arm-l { animation-direction: reverse; }
@keyframes niaDance { 0%, 100% { transform: translateY(0) rotate(-6deg); } 50% { transform: translateY(-6px) rotate(6deg); } }
@media (max-width: 900px) { .music-toggle { top: 84px; right: 14px; } .music-label { display: none; } }


/* =========================================================
   Tarifs (section de l'accueil + page tarifs.html)
   ========================================================= */
.tp-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.tp-bg .hero-aurora span { opacity: .3; }
.tp-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.tp-nav-links { display: flex; align-items: center; gap: 6px; }
.tp-nav-links a:not(.btn) { font-size: 14px; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.tp-nav-links a:not(.btn):hover { color: var(--text); background: var(--glass-2); }

.tp-hero { text-align: center; padding: 50px 0 60px; display: flex; flex-direction: column; align-items: center; }
.tp-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.05em; margin-bottom: 20px; }
.tp-hero .lead { margin: 0 auto; }
.launch-pill {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: linear-gradient(var(--panel), var(--panel)) padding-box, var(--grad) border-box; border: 1px solid transparent;
  color: var(--text); font-size: 14px; font-weight: 500;
}
.launch-pill b { padding: 4px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; padding-bottom: 40px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 30px; border-radius: 26px;
  background: var(--glass); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  opacity: 0; transform: translateY(30px); animation: planIn .9s var(--ease) forwards;
}
.plan:nth-child(2) { animation-delay: .12s; } .plan:nth-child(3) { animation-delay: .24s; }
@keyframes planIn { to { opacity: 1; transform: none; } }
.plan:hover { transform: translateY(-6px); border-color: rgba(124, 92, 255, .45); }
.plan--featured {
  background: linear-gradient(170deg, rgba(124, 92, 255, .22), rgba(17, 15, 38, .9) 45%) padding-box, var(--grad) border-box;
  border: 1.5px solid transparent; box-shadow: 0 40px 90px -40px rgba(124, 92, 255, .9);
}
.plan-badge { position: absolute; top: -14px; left: 30px; padding: 6px 14px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; box-shadow: 0 10px 30px -10px rgba(255, 79, 216, .9); }
.plan h2 { font-size: 1.7rem; letter-spacing: -0.03em; margin-bottom: 8px; }
.plan-for { font-size: 14px; color: var(--muted); min-height: 42px; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 26px 0 6px; color: var(--text); }
.plan-price small { font-size: 14px; color: var(--muted); }
.plan-price strong { font-family: var(--font-display); font-size: clamp(3rem, 5vw, 4.2rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; }
.plan--featured .plan-price strong { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan-price--quote strong { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.plan-note { font-size: 12px; color: var(--dim); min-height: 18px; }
.plan ul { display: grid; gap: 12px; margin: 26px 0 30px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.plan li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 8 2.8 2.8L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat, var(--grad); }
.plan li.plus { color: var(--muted); }
.plan li.plus::before { background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%23a3a1c2' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan li strong { color: #fff; font-weight: 600; }
.plan li.option { flex-wrap: wrap; padding: 10px 12px; margin: 4px -12px 0; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px dashed rgba(34, 211, 238, .4); }
.plan li.option::before { background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4v8M4 8h8' fill='none' stroke='%2322d3ee' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.plan li.option span { flex: 1; }
.plan li.option em { font-style: normal; font-weight: 600; font-size: 13px; color: #06050f; background: var(--cyan); padding: 3px 9px; border-radius: 999px; align-self: center; }
.plan .btn { justify-content: center; }

.tp-reassure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 40px 0 100px; }
.tp-reassure div { padding: 24px; border-radius: 20px; background: var(--glass); border: 1px solid var(--line); }
.tp-reassure strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 6px; }
.tp-reassure p { font-size: 14px; }

.tp-faq { padding: 0 0 100px; }
.tp-faq h2 { margin-bottom: 36px; }
.tp-cta { text-align: center; padding: 80px 24px; margin-bottom: 80px; border-radius: 32px; border: 1px solid var(--line-2);
  background: radial-gradient(80% 120% at 0% 0%, rgba(124, 92, 255, .28), transparent 60%), radial-gradient(60% 100% at 100% 100%, rgba(255, 79, 216, .18), transparent 60%), var(--bg-2); }
.tp-cta h2 { margin-bottom: 16px; }
.tp-cta .lead { margin: 0 auto 30px; }
.tp-legal { font-size: 12px; color: var(--dim); text-align: center; margin-top: -20px; padding-bottom: 60px; }

@media (max-width: 1000px) { .plans, .tp-reassure { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } .plan--featured { order: -1; } }
@media (max-width: 700px) { .tp-nav-links a:not(.btn) { display: none; } }

/* Section tarifs de l'accueil */
.pricing { padding: 140px 0 60px; position: relative; }
.pricing-head { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 64px; }
.pricing-head h2 { margin-bottom: 20px; max-width: 900px; }
.pricing-head .lead { margin: 0 auto; }
.pricing .plan { opacity: 1; transform: none; animation: none; }
.pricing .tp-reassure { padding-bottom: 50px; }
.pricing .tp-legal { margin-top: 0; padding-bottom: 0; }

/* ---------- Mentions légales (fenêtre) ---------- */
html.legal-open, html.legal-open body { overflow: hidden; }
.legal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 16px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.legal.is-open { visibility: visible; opacity: 1; }
.legal-backdrop { position: absolute; inset: 0; background: rgba(6, 5, 15, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.legal-box {
  position: relative; width: min(820px, 100%); max-height: calc(100svh - 32px); overflow-y: auto; overscroll-behavior: contain;
  border-radius: 24px; background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .9);
  transform: translateY(20px) scale(.98); transition: transform .5s var(--ease);
}
.legal.is-open .legal-box { transform: none; }
.legal-top { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(11, 10, 26, .95); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.legal-tab { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); border: 1px solid var(--line-2); transition: background .3s, color .3s; }
.legal-tab[aria-selected="true"] { background: var(--grad); color: #fff; border-color: transparent; }
.legal-close { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--glass-2); font-size: 22px; line-height: 1; color: var(--text); }
.legal-panel { padding: 28px clamp(20px, 4vw, 44px) 40px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.legal-panel h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.04em; margin-bottom: 6px; }
.legal-panel h3 { font-size: 1.15rem; margin: 28px 0 8px; letter-spacing: -0.02em; }
.legal-panel p + p { margin-top: 8px; }
.legal-panel ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.legal-panel strong { color: var(--text); }
.legal-date { font-size: 13px; color: var(--dim); }
.todo { background: rgba(251, 191, 36, .2); color: #fbbf24; padding: 1px 6px; border-radius: 6px; font-weight: 500; }

/* ---------- Bandeau cookies ---------- */
.cookie-banner {
  position: fixed; left: 24px; bottom: 24px; z-index: 300; width: min(440px, calc(100vw - 32px));
  padding: 20px; border-radius: 22px; background: rgba(17, 15, 38, .97); border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 50px -25px rgba(124, 92, 255, .9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease), visibility .5s;
}
.cookie-banner.is-in { opacity: 1; visibility: visible; transform: none; }
.cookie-banner p { font-size: 14px; line-height: 1.55; color: var(--muted); }
.cookie-title { font-family: var(--font-display); font-size: 16px !important; font-weight: 600; color: var(--text) !important; margin-bottom: 6px; }
.cookie-prefs { display: grid; gap: 8px; margin-top: 14px; }
.cookie-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--line); cursor: pointer; }
.cookie-row span { display: flex; flex-direction: column; font-size: 14px; color: var(--text); }
.cookie-row small { font-size: 12px; color: var(--dim); }
.cookie-row input { appearance: none; -webkit-appearance: none; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line-2); position: relative; cursor: pointer; transition: background .3s; }
.cookie-row input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .3s var(--ease); }
.cookie-row input:checked { background: var(--grad); border-color: transparent; }
.cookie-row input:checked::after { transform: translateX(18px); }
.cookie-row input:disabled { opacity: .6; cursor: not-allowed; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-btn { flex: 1 1 auto; padding: 10px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--text); background: var(--glass-2); border: 1px solid var(--line-2); transition: border-color .3s, background .3s; }
.cookie-btn:hover { border-color: rgba(34, 211, 238, .5); }
.cookie-btn--primary, .cookie-btn--save { background: var(--grad); border-color: transparent; color: #fff; }
.cookie-more { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--muted); text-decoration: underline; }
@media (max-width: 600px) { .cookie-banner { left: 16px; bottom: 16px; padding: 16px; } }

.cookie-prefs[hidden], .cookie-btn[hidden] { display: none; }

/* ---------- Corrections responsive mobile ---------- */
html { overflow-x: clip; }
.manifesto-grid > *, .services-grid > *, .geo-grid > *, .faq-grid > *, .contact-card > *, .method-grid > *, .zones-grid > *, .plans > * { min-width: 0; }
.demo-window, .ai-demo { max-width: 100%; }
@media (max-width: 900px) {
  .music-toggle { top: 24px; right: calc(var(--gutter) + 62px); padding: 9px 11px; }
}

.music-toggle { transition: color .3s, border-color .3s, box-shadow .3s, transform .6s var(--ease), opacity .4s; }
.nav.is-hidden ~ .music-toggle { transform: translateY(-160%); opacity: 0; pointer-events: none; }
@media (max-width: 900px) { .subpage .music-toggle { top: 92px; right: 14px; } }

/* Deux offres */
.plans { grid-template-columns: repeat(2, 1fr); max-width: 940px; margin-left: auto; margin-right: auto; }
.plans-more { text-align: center; font-size: 15px; color: var(--muted); margin: 6px auto 0; max-width: 640px; }
.plans-more a { color: var(--text); text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: 3px; }
.pricing .plans-more { margin-bottom: 30px; }
@media (max-width: 1000px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Eleonia écrit à la main ---------- */
.nia-pencil { opacity: 0; transition: opacity .25s; transform-box: fill-box; transform-origin: 50% 0; }
.is-writing .nia-pencil, .eb-widget[data-mood="writing"] .nia-pencil { opacity: 1; animation: niaPencil .14s ease-in-out infinite alternate; }
.is-writing .nia-arm-r, .eb-widget[data-mood="writing"] .nia-arm-r { animation: niaWrite .14s ease-in-out infinite alternate; }
@keyframes niaPencil { from { transform: translate(-1px, 0) rotate(-8deg); } to { transform: translate(1.5px, 1px) rotate(10deg); } }
@keyframes niaWrite { from { transform: rotate(-14deg); } to { transform: rotate(12deg); } }
.eb-widget[data-mood="writing"] .nia--head, .eb-widget[data-mood="writing"] .nia--launcher { animation: niaFocus .5s ease-in-out infinite; }
@keyframes niaFocus { 50% { transform: rotate(-6deg) translateY(1px); } }
.eb-msg--bot.is-writing .nia--avatar .nia-eyes { opacity: 1; }
.eb-msg--bot.is-writing .nia--avatar .nia-happy { opacity: 0; }

/* Ligne manuscrite qui se dessine */
.eb-writing { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); }
.eb-writing em { font-style: italic; font-size: 13px; }
.eb-scribble { width: 64px; height: 16px; overflow: visible; }
.eb-scribble path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 130; stroke-dashoffset: 130; animation: scribble 1.1s ease-in-out infinite; }
@keyframes scribble { 0% { stroke-dashoffset: 130; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* Crayon qui suit le texte */
.eb-pen { display: inline-block; width: 10px; height: 20px; margin-left: 3px; vertical-align: -4px; transform-origin: 50% 100%; animation: penWiggle .12s ease-in-out infinite alternate; }
.eb-pen svg { width: 100%; height: 100%; transform: rotate(28deg); }
@keyframes penWiggle { from { transform: translate(-1px, 0) rotate(-6deg); } to { transform: translate(1px, -1px) rotate(6deg); } }

/* Bulle d'accueil : passe sous la fusée quand elle est en haut de l'écran */
.eb-widget.is-high .eb-teaser { bottom: auto; top: calc(100% + 12px); border-radius: 4px 16px 16px 16px; }
.eb-widget.is-high.is-right .eb-teaser { border-radius: 16px 4px 16px 16px; }

/* ---------- Mention « Site créé par EleonIA » ---------- */
.made-by-wrap { display: flex; justify-content: center; padding: 34px 0 6px; }
.subpage .made-by-wrap { padding: 0 0 60px; }
.made-by {
  position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px 12px 14px; border-radius: 999px;
  font-size: 14px; color: var(--muted); background: rgba(17, 15, 38, .85); isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s;
}
/* bordure en dégradé qui tourne */
.made-by::before {
  content: ""; position: absolute; inset: -150%; z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 55%, #22d3ee 65%, #7c5cff 75%, #ff4fd8 85%, transparent 95%);
  animation: madeSpin 3.5s linear infinite;
}
.made-by::after { content: ""; position: absolute; inset: 1.5px; z-index: -1; border-radius: inherit; background: rgba(13, 11, 30, .96); }
@keyframes madeSpin { to { transform: rotate(360deg); } }
.made-by-spark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 12px; animation: sparkSpin 6s linear infinite; }
.made-by-text i { font-style: normal; color: var(--pink); display: inline-block; animation: heartBeat 1.2s ease-in-out infinite; }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.2); } }
.made-by .wordmark { color: var(--text); font-size: 17px; }
.made-by:hover { transform: translateY(-3px); box-shadow: 0 16px 40px -14px rgba(124, 92, 255, .9); }
.made-by:hover .made-by-spark { animation-duration: .8s; }
.made-by:hover::before { animation-duration: 1.2s; }
.footer { padding-bottom: 110px; }
