/* AGI — noir & violet · niveau Awwwards SOTY */:root {
  --bg: #000000;
  --fg: #fafafa;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.1);
  --violet: #7c3aed;
  --violet-2: #8b5cf6;
  --violet-3: #c4b5fd;
  --violet-deep: #4c1d95;
  --accent-hero: #d8b4fe;
  --glow: rgba(124, 58, 237, 0.55);
  /* Accent éditorial — champagne / cream, pour les pics typographiques */
  --cream: #f3e9d2;
  --cream-soft: #ede4cc;
  --champagne: #d4b483;
  /* Typographies */
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Fraunces", "Inter", serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  /* Easings premium */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  /* Type scale fluide */
  --fs-eyebrow: clamp(0.68rem, 0.62rem + 0.25vw, 0.78rem);
  --fs-display-xl: clamp(3rem, 4vw + 1.6rem, 7.5rem);
  --fs-display-lg: clamp(2.6rem, 3.4vw + 1.4rem, 5.6rem);
  --fs-display-md: clamp(2.1rem, 2.4vw + 1.2rem, 4rem);
  --fs-h: clamp(1.6rem, 1.4vw + 1rem, 2.6rem);
  --header: 76px;
  --max: 1120px;
  --lookX: 0;
  --lookY: 0;
  --scroll-progress: 0;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  /* scroll-behavior remplacé par Lenis */
}
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}/* Split text */.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  line-height: 1.1;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.split-word-inner {
  display: inline-block;
  will-change: transform;
}/* Tilt prep */.card-bento,
.svc-card,
.founder-card,
.contact-cta {
  transform-style: preserve-3d;
  will-change: transform;
}
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: none;
  background: none;
}
.container {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}
html.intro-lock {
  overflow: hidden;
}
html.intro-lock body {
  overflow: hidden;
}
.site-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  opacity: 0;
  transform: scale(0.94) translateY(20px);
  filter: blur(18px);
  transition: opacity 1.45s var(--ease), transform 1.45s var(--ease), filter 1.5s var(--ease);
  will-change: opacity, transform, filter;
}
.site-shell.is-ready {
  opacity: 1;
  transform: scale(1) translateY(0);
  filter: none;
  will-change: auto;
}/* Intro plein écran */.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #020005;
  transition: opacity 1.1s var(--ease), visibility 1.1s step-end;
}
.intro.intro--hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.intro.intro--instant {
  transition-duration: 0.12s !important;
}
.intro.intro--instant .intro__dot,
.intro.intro--instant .intro__brand,
.intro.intro--instant .intro__rule span,
.intro.intro--instant .intro__hint {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
.intro.intro--instant .intro__brand {
  letter-spacing: 0.12em;
  text-indent: 0.12em;
}
.intro.intro--instant .intro__rule span {
  transform: scaleX(1) !important;
}
.intro__pulse {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 55%, rgba(124, 58, 237, 0.45), transparent 55%);
  animation: intro-pulse 3.4s ease-in-out infinite;
}
@keyframes intro-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}
.intro__inner {
  position: relative;
  text-align: center;
  padding: 32px;
}
.intro__dot {
  width: 14px;
  height: 14px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--violet-3), var(--violet));
  box-shadow: 0 0 32px var(--glow);
  transform: scale(0);
  opacity: 0;
}
.intro--stage-logo .intro__dot {
  animation: pop-in 0.95s var(--ease) forwards;
}
.intro__brand {
  margin: 0;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 0.55em;
  text-indent: 0.55em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
}
.intro--stage-logo .intro__brand {
  animation: brand-in 1.25s 0.22s var(--ease) forwards;
}
@keyframes pop-in {
  to {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes brand-in {
  to {
    letter-spacing: 0.12em;
    text-indent: 0.12em;
    opacity: 1;
    transform: translateY(0);
  }
}
.intro__rule {
  max-width: 160px;
  margin: 28px auto 0;
  height: 2px;
}
.intro__rule span {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-2), var(--violet-3), transparent);
  transform: scaleX(0);
  transform-origin: 50% 50%;
}
.intro--stage-line .intro__rule span {
  animation: rule-draw 1s 0.08s var(--ease) forwards;
}
@keyframes rule-draw {
  to {
    transform: scaleX(1);
  }
}
.intro__hint {
  margin: 20px 0 0;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  transform: translateY(8px);
}
.intro--stage-hint .intro__hint {
  animation: fade-up 0.8s 0.15s var(--ease) forwards;
}
@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.skip-intro {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10001;
  padding: 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.skip-intro:hover {
  color: #fff;
  border-color: rgba(167, 139, 250, 0.5);
  background: rgba(124, 58, 237, 0.2);
}
/* Cursor effects removed for performance — single OS cursor on all devices. */
.cursor-glow,
.cursor-dot { display: none !important; }/* Spline background */.spline-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  display: block;
}/* Cache le logo Spline (si visible en bottom-right) */.spline-bg::part(logo) {
  display: none !important;
}/* Starfield + vignette */.starfield {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.vignette {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.85) 100%);
}/* Header */.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 20px 0;
  transition: padding 0.35s var(--ease);
}
.site-header.is-scrolled {
  padding-top: 12px;
}
.header-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  z-index: 2;
}
.brand-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--violet-3), var(--violet));
  box-shadow: 0 0 18px var(--glow);
}
.brand-text {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-pill {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 5, 20, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
.nav-pill a {
  position: relative;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav-pill a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-3), transparent);
  transform: scaleX(0);
  transition: transform 0.35s var(--ease);
  opacity: 0.9;
}
.nav-pill a:hover::after,
.nav-pill a:focus-visible::after {
  transform: scaleX(1);
}
.nav-pill a:hover {
  color: var(--fg);
  background: rgba(255, 255, 255, 0.06);
}
.ext {
  font-size: 0.85em;
  opacity: 0.85;
}
.burger {
  justify-self: end;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(10, 5, 20, 0.6);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 2;
}
.burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.burger span {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}
.nav-drawer {
  margin: 12px auto 0;
  max-width: var(--max);
  padding: 12px 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 4, 16, 0.96);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-drawer[hidden] {
  display: none !important;
}
.nav-drawer a {
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 500;
}
.nav-drawer a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}/* Hero */.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header) + 48px) 0 52px;
  overflow: clip;
}
.hero-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transition: transform 0.65s ease-out;
  transform: translate3d(calc(var(--lookX) * 22px), calc(var(--lookY) * 16px), 0);
}
.blob {
  position: absolute;
  border-radius: 50%;
  /* Reduced from 72px → 40px. Blur cost scales quadratically with radius;
     this is the single biggest paint hot-spot in the hero. mix-blend-mode
     also removed (screen on dark bg is barely visible anyway). */
  filter: blur(40px);
  opacity: 0.7;
  animation: float-blob 20s ease-in-out infinite;
  will-change: transform;
}
.blob-a {
  width: min(560px, 85vw);
  height: min(500px, 80vw);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  filter: blur(50px);
  opacity: 0.75;
  background: radial-gradient(
      ellipse 90% 58% at 50% 38%,
      rgba(196, 181, 253, 0.32) 0%,
      rgba(124, 58, 237, 0.22) 42%,
      transparent 62%
    ),
    radial-gradient(ellipse 85% 55% at 50% 68%, rgba(76, 29, 149, 0.55) 0%, rgba(124, 58, 237, 0.2) 48%, transparent 58%);
}
.blob-b {
  width: 320px;
  height: 320px;
  right: 6%;
  top: 18%;
  opacity: 0.5;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32), rgba(124, 58, 237, 0.1), transparent 68%);
  animation-delay: -4s;
}
.blob-c {
  width: 300px;
  height: 300px;
  left: 8%;
  bottom: 14%;
  opacity: 0.45;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.26), rgba(76, 29, 149, 0.22), transparent 65%);
  animation-delay: -7s;
}
@keyframes float-blob {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-48%, -52%) scale(1.06);
  }
}
.blob-b,
.blob-c {
  animation-name: float-blob-sides;
}
@keyframes float-blob-sides {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: translate(12px, -18px) scale(1.05);
    opacity: 0.95;
  }
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
/* ── Hero split layout ── */
.hero-inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
}
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-text-col .hero-title,
.hero-text-col .hero-lead { margin-left: 0; margin-right: 0; text-align: left; }
.hero-text-col .hero-cta { justify-content: flex-start; }
/* ── Hero robot mascot ── */
.hero-visual-col {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-robot-wrap {
  position: relative;
  width: clamp(260px, 40vw, 520px);
  animation: robot-float 6s ease-in-out infinite;
}
@keyframes robot-float {
  0%, 100% { transform: translateY(0px); }
  33%       { transform: translateY(-16px) rotate(1deg); }
  66%       { transform: translateY(8px) rotate(-0.8deg); }
}
.hero-robot-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 50px rgba(124,58,237,0.6)) drop-shadow(0 30px 40px rgba(0,0,0,0.55));
}
.hero-robot-glow {
  position: absolute;
  bottom: -5%;
  left: 50%;
  transform: translateX(-50%);
  width: 65%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(124,58,237,0.55) 0%, transparent 70%);
  filter: blur(18px);
  z-index: 0;
}
@media (max-width: 860px) {
  .hero-inner--split { grid-template-columns: 1fr; text-align: center; }
  .hero-text-col { align-items: center; }
  .hero-text-col .hero-title, .hero-text-col .hero-lead { text-align: center; }
  .hero-text-col .hero-cta { justify-content: center; }
  .hero-visual-col { order: -1; }
  .hero-robot-wrap { width: clamp(180px, 60vw, 300px); }
}
/* ── Service 3D icon ── */
.svc-icon-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-icon-3d {
  height: 112px;
  width: auto;
  object-fit: contain;
  transition: transform 0.55s cubic-bezier(0.16,1,0.3,1), filter 0.4s ease;
  filter: drop-shadow(0 8px 24px rgba(124,58,237,0.45));
  animation: icon-idle 5s ease-in-out infinite;
}
@keyframes icon-idle {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-6px) scale(1.03); }
}
.svc-card:hover .svc-icon-3d {
  transform: translateY(-10px) scale(1.09) rotate(4deg);
  filter: drop-shadow(0 16px 40px rgba(124,58,237,0.75));
  animation-play-state: paused;
}
/* ── About banner image ── */
.about-banner-wrap {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 48px;
  aspect-ratio: 16 / 6;
  border: 1px solid rgba(167,139,250,0.15);
}
.about-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.72) saturate(1.25);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}
.about-banner-wrap:hover .about-banner-img { transform: scale(1.04); }
.about-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(3,0,12,0.88) 0%, rgba(3,0,12,0.45) 55%, transparent 100%),
    radial-gradient(ellipse 55% 80% at 18% 50%, rgba(124,58,237,0.32), transparent 70%);
  display: flex;
  align-items: center;
  padding: clamp(24px, 5%, 60px);
}
.about-banner-overlay .about-quote {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-style: italic;
  color: #fff;
  max-width: 460px;
  margin: 0;
  line-height: 1.45;
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
  border-left: 3px solid rgba(167,139,250,0.6);
  padding-left: 20px;
}
.hero-title {
  margin: 0 auto clamp(20px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: min(100%, 20ch);
  font-size: clamp(2.35rem, 6.2vw, 3.85rem);
  color: var(--fg);
}
.hero-title__in {
  display: inline-block;
  transform: translateY(108%);
  opacity: 0;
}
html.intro-done .hero-title__in {
  animation: rise 1.15s var(--ease) forwards;
}
@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.hero-lead {
  margin: 0 auto 32px;
  max-width: min(52ch, 100%);
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.82);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}/* Hero CTAs — fond sombre, bord fin (ref. hero minimal) */.btn-hero-solid,
.btn-hero-ghost {
  border-radius: 10px;
  padding: 12px 22px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-hero-solid:hover,
.btn-hero-ghost:hover {
  background: rgba(124, 58, 237, 0.12);
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: 0 0 32px rgba(124, 58, 237, 0.32);
  transform: translateY(-2px);
}
.btn.magnetic {
  will-change: transform;
}/* ── Hero Chat Bar — néon violet animé ── */@property --chat-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.hero-chat {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 32px auto 0;
  padding: 14px 22px 14px 18px;
  min-width: min(360px, 88vw);
  border-radius: 999px;
  background: rgba(8, 4, 18, 0.92);
  color: inherit;
  text-decoration: none;
  font-family: inherit;
  cursor: pointer;
  isolation: isolate;
  --chat-angle: 0deg;
  transition: transform 0.35s var(--ease);
}/* Halo flou rotatif derrière */.hero-chat::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--chat-angle),
    transparent 0deg,
    var(--violet-deep) 30deg,
    var(--violet) 90deg,
    var(--violet-3) 150deg,
    var(--accent-hero) 200deg,
    var(--violet-2) 260deg,
    var(--violet-deep) 320deg,
    transparent 360deg
  );
  filter: blur(14px);
  opacity: 0.4;
  z-index: -2;
  animation: chat-rotate 4.5s linear infinite;
}/* Anneau néon net */.hero-chat::after {
  content: "";
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  padding: 1.5px;
  background: conic-gradient(
    from var(--chat-angle),
    transparent 0deg,
    var(--violet-3) 40deg,
    var(--accent-hero) 100deg,
    var(--violet) 160deg,
    var(--violet-2) 220deg,
    var(--violet-3) 280deg,
    transparent 360deg
  );
  -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, linear-gradient(#000 0 0);
  mask-composite: exclude;
  z-index: -1;
  animation: chat-rotate 4.5s linear infinite;
}
@keyframes chat-rotate {
  to { --chat-angle: 360deg; }
}/* Fallback pour navigateurs sans @property (rotation transform) */@supports not (background: conic-gradient(from 0deg, red, blue)) {
  .hero-chat::before,
  .hero-chat::after {
    animation: none;
  }
}
.hero-chat:hover {
  transform: translateY(-3px);
}
.hero-chat:hover::before {
  opacity: 0.55;
  filter: blur(18px);
}
.hero-chat-spark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.15);
  border: 1px solid rgba(196, 181, 253, 0.25);
  flex-shrink: 0;
  animation: chat-spark-pulse 2.4s ease-in-out infinite;
}
.hero-chat-spark svg {
  filter: drop-shadow(0 0 6px rgba(196, 181, 253, 0.7));
}
@keyframes chat-spark-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.hero-chat-text {
  flex: 1;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.78);
  text-align: left;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-chat-cursor {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--violet-3);
  border-radius: 1px;
  box-shadow: 0 0 8px rgba(196, 181, 253, 0.8);
  animation: chat-cursor-blink 1.1s steps(2, end) infinite;
  flex-shrink: 0;
}
@keyframes chat-cursor-blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}
@media (max-width: 520px) {
  .hero-chat {
    padding: 12px 18px 12px 14px;
    gap: 10px;
  }

  .hero-chat-text {
    font-size: 0.88rem;
  }
}/* Deuxième section — accroche type Chatflow (noir + menthe) */.statement {
  --st-mint: #b5ffd9;
  --st-pill-bg: rgba(6, 46, 42, 0.55);
  --st-pill-border: rgba(94, 234, 212, 0.35);
  position: relative;
  z-index: 2;
  margin-top: clamp(-48px, -8vh, -24px);
  padding: clamp(12px, 2.5vw, 28px) 0 clamp(80px, 12vw, 140px);
  text-align: center;
  overflow: clip;
  background: var(--bg);
}
.statement-glow {
  position: absolute;
  left: 50%;
  top: 0;
  width: min(140%, 900px);
  height: min(72%, 520px);
  transform: translate(-50%, -35%);
  pointer-events: none;
  background: radial-gradient(
    ellipse 85% 70% at 50% 100%,
    rgba(45, 212, 191, 0.28) 0%,
    rgba(20, 184, 166, 0.12) 42%,
    transparent 70%
  );
  filter: blur(48px);
  opacity: 0.95;
}
.statement-inner {
  position: relative;
  z-index: 1;
}
.statement-title {
  margin: 0 auto;
  max-width: min(100%, 24em);
  font-weight: 800;
  font-size: clamp(2.15rem, 6.2vw, 4.35rem);
  letter-spacing: -0.038em;
  line-height: 1.08;
}
.statement-line {
  display: block;
}
.statement-line + .statement-line {
  margin-top: 0.08em;
}
.statement-w {
  color: var(--fg);
}
.statement-m {
  color: var(--st-mint);
  text-shadow: 0 0 40px rgba(45, 212, 191, 0.25);
}
.statement-emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0.12em;
  padding: 0.12em 0.42em 0.14em;
  vertical-align: 0.1em;
  font-size: 0.52em;
  line-height: 1;
  border-radius: 999px;
  border: 1px solid var(--st-pill-border);
  background: linear-gradient(180deg, rgba(15, 60, 52, 0.85), var(--st-pill-bg));
  box-shadow: 0 0 24px rgba(45, 212, 191, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}/* Marquee */.kinetic {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  padding: 56px 0 60px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 2, 18, 0.9), var(--bg));
  overflow: hidden;
}
.marquee {
  overflow: hidden;
  white-space: nowrap;
  margin: 10px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-inner {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding-left: 20px;
  animation: mx var(--dur, 48s) linear infinite;
  will-change: transform;
}
.marquee--rev .marquee-inner {
  animation-name: mx-rev;
}
.marquee-inner span {
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 2.4rem);
  letter-spacing: -0.03em;
}
.marquee .sep {
  opacity: 0.35;
  font-weight: 500;
}
.marquee .hi {
  color: var(--accent-hero);
}
.marquee .spark {
  font-size: 1.35rem;
}
@keyframes mx {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes mx-rev {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.logo-fallback {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
  color: var(--tc, #fff);
  flex-shrink: 0;
  letter-spacing: 0;
}/* Premium Marquee Header */.kinetic-header {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 20px;
}
.kinetic-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.15);
  color: var(--accent-hero);
  border: 1px solid rgba(196, 181, 253, 0.3);
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.2);
}
.kinetic-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin: 0 0 8px;
}
.kinetic-subtitle {
  font-size: 1rem;
  color: var(--muted);
  margin: 0;
  max-width: 600px;
  margin-inline: auto;
}/* Premium Interactive Tool Marquee */.marquee--tools {
  margin: 12px 0;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee--tools:hover .marquee-inner {
  animation-play-state: paused;
}
.marquee--tools .marquee-inner {
  gap: 0;
  padding-left: 0;
}
.marquee-part {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}/* Glassmorphism tool pill */.glass-tool {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: default;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.35s ease, box-shadow 0.4s ease, background 0.35s ease;
  will-change: transform;
  white-space: nowrap;
}/* Subtle top-light sheen */.glass-tool::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(175deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%);
  pointer-events: none;
}/* Hover: glow with brand colour */.glass-tool:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--tc, var(--violet-3));
  box-shadow:
    0 0 22px color-mix(in srgb, var(--tc, var(--violet)) 30%, transparent),
    0 12px 28px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}/* Logo icon */.glass-tool img,
.glass-tool svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 6px;
  transition: transform 0.35s var(--ease), filter 0.35s ease;
  object-fit: contain;
  fill: var(--tc);
}
.glass-tool:hover img,
.glass-tool:hover svg {
  transform: scale(1.14) rotate(3deg);
  filter: drop-shadow(0 0 6px var(--tc, var(--violet-3)));
}/* Tool name */.glass-tool span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(250, 250, 250, 0.85);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}
.glass-tool:hover span {
  color: #fff;
}/* Sections */.section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section .container {
  width: 85%;
  max-width: 85%;
}
.section-head {
  margin-bottom: 40px;
}
.h-section {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.h-section__w {
  color: var(--fg);
}
.h-section__a {
  color: var(--accent-hero);
  background-image: linear-gradient(110deg, var(--accent-hero) 0%, #ffffff 45%, var(--accent-hero) 90%);
  background-size: 220% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: accent-shimmer 7s linear infinite;
}
@keyframes accent-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -100% 0; }
}
.h-section--sm {
  font-size: clamp(1.5rem, 3vw, 2rem);
}/* Bento procédé */.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.card-bento {
  grid-column: span 2;
  padding: 22px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(18, 8, 36, 0.95), rgba(5, 2, 10, 0.98));
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 100%;
  transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s;
}
.card-bento:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.card-bento--wide {
  grid-column: span 3;
}
.canvas-3d-placeholder {
  min-height: 140px;
  width: 100%;
  position: relative;
}
.code-win .s {
  color: #c4b5fd;
}
.h-card {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent-hero);
}
.num {
  color: inherit;
  margin-right: 4px;
}
.p-card {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}/* Meters */.meters.is-in .meter-track i {
  width: var(--v);
}/* Globe */@keyframes spin-globe {
  to {
    transform: rotate(360deg);
  }
}
@keyframes nudge-cursor {
  0%,
  100% {
    transform: translate(36px, 20px) rotate(-12deg);
  }
  50% {
    transform: translate(48px, 30px) rotate(-8deg);
  }
}

/* === Reveal premium ===
   "Bloqué puis progressivement révélé" : translation + flou plus prononcé,
   transitions LONGUES pour un effet cinématique calme. */
[data-reveal],
.hero-lead,
.hero-cta {
  opacity: 0;
  transform: translateY(38px);
  filter: blur(14px);
  transition:
    opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in,
.hero-lead.is-in,
.hero-cta.is-in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}/* Services */.services {
  background: radial-gradient(ellipse 90% 45% at 50% 0%, rgba(76, 29, 149, 0.2), transparent 55%);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.svc-card {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: rgba(10, 5, 18, 0.85);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.svc-card:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateY(-4px);
}
.svc-card[data-reveal].is-in .chart-line {
  animation: draw-line 3.1s var(--ease) forwards;
}
.svc-card[data-reveal].is-in .chart-area {
  animation: fade-in 1.7s 0.28s var(--ease) forwards;
}
@keyframes draw-line {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade-in {
  to {
    opacity: 1;
  }
}
.chat-msg {
  font-size: 0.8rem;
}
.chat-msg.soft {
  color: var(--muted);
}
.svc-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}
.svc-desc {
  margin: 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}/* Projects — liste + laptop (ref. Chatflow) */.proj-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.95fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding-top: 8px;
}
.proj-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.proj-list li + li {
  border-top: 1px solid var(--line);
}
.proj-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease, transform 0.45s var(--ease);
}
.proj-row:hover {
  opacity: 0.92;
  transform: translateX(4px);
}
.proj-row-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.proj-y {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.proj-name {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.proj-arrow {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent-hero);
  opacity: 0.85;
}
.proj-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}
.proj-stage-lines {
  position: absolute;
  inset: 10% 8% 18% 8%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.12) 0%, transparent 55%),
    repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg 11deg, rgba(167, 139, 250, 0.07) 11deg 12deg);
  border-radius: 24px;
  pointer-events: none;
  z-index: 0;
}
@keyframes wave-shift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(3%, -2%) scale(1.04);
  }
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}/* ── Project logo & narrative ── */.proj-row-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.proj-logo {
  height: 24px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.95;
  vertical-align: middle;
  flex-shrink: 0;
  border-radius: 4px;
}
.proj-story {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.78;
  margin: 0 0 28px;
  max-width: 580px;
}
.proj-story strong {
  color: var(--fg);
  font-weight: 600;
}
/* ── Accordion button reset ── */button.proj-row {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
}/* ── Arrow rotation on open ── */.proj-arrow {
  display: inline-block;
  transition: transform 0.35s var(--ease), color 0.25s;
}
.proj-item.is-open .proj-arrow {
  transform: rotate(45deg);
  color: var(--accent-hero);
}/* ── Accordion detail panel ── */.proj-detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--ease);
  overflow: hidden;
}
.proj-item.is-open .proj-detail {
  grid-template-rows: 1fr;
}
.proj-detail-inner {
  min-height: 0;
  overflow: hidden;
}/* ── Project visuals (right panel) ── */.proj-visuals {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
}
.proj-visual {
  position: absolute;
  inset: 0;
  opacity: 0;
  /* Premium between-project transition: subtle 3D flip + blur + scale */
  transform: translateY(18px) scale(0.94) rotateX(8deg);
  transform-origin: center 70%;
  filter: blur(8px);
  transition:
    opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border-radius: 20px;
  overflow: hidden;
}
.proj-visual--active {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
  filter: blur(0);
  pointer-events: auto;
}
.proj-visual-inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  overflow: hidden;
}/* ── Background image fills the card ── */.proj-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.78) saturate(1.15);
  will-change: transform;
}
.proj-visual--active .proj-visual-bg,
.proj-visual-inner:hover .proj-visual-bg {
  transform: scale(1.04);
  filter: brightness(0.72) saturate(1.25);
}/* ── Gradient overlay for text readability ── */.proj-visual-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(3, 0, 12, 0.92) 0%,
      rgba(3, 0, 12, 0.55) 40%,
      rgba(3, 0, 12, 0.15) 70%,
      transparent 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(124,58,237,0.28), transparent 70%);
  border-radius: 20px;
  pointer-events: none;
}/* ── Text content sits at the bottom ── */.proj-visual-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 26px;
  gap: 4px;
}/* Brand-specific tint overlays (subtle) */.proj-visual--bank .proj-visual-overlay {
  background:
    linear-gradient(to top, rgba(0,16,60,0.88) 0%, rgba(0,16,60,0.4) 45%, transparent 80%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,48,135,0.35), transparent 70%);
}
.proj-visual--micro .proj-visual-overlay {
  background:
    linear-gradient(to top, rgba(5,10,40,0.90) 0%, rgba(5,10,40,0.45) 45%, transparent 80%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(20,80,20,0.25), transparent 70%);
}
.proj-visual--health .proj-visual-overlay {
  background:
    linear-gradient(to top, rgba(5,15,35,0.90) 0%, rgba(5,15,35,0.45) 45%, transparent 80%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0,70,80,0.28), transparent 70%);
}
.proj-visual--transit .proj-visual-overlay {
  background:
    linear-gradient(to top, rgba(10,5,25,0.90) 0%, rgba(10,5,25,0.45) 45%, transparent 80%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(60,20,0,0.30), transparent 70%);
}
.proj-visual-client {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.7);
}
.proj-visual-stat {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-hero);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-shadow: 0 0 24px rgba(124,58,237,0.6), 0 2px 8px rgba(0,0,0,0.8);
}
.proj-visual-type {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}
.proj-visual-logo {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
  margin-bottom: 12px;
  border-radius: 6px;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.75));
}
@media (max-width: 900px) {
  .proj-split {
    grid-template-columns: 1fr;
  }

  .proj-stage {
    order: -1;
    min-height: 220px;
  }

  .proj-list {
    text-align: left;
  }

  .proj-detail-cols {
    grid-template-columns: 1fr;
  }

  .proj-visuals {
    aspect-ratio: 16 / 7;
  }
}/* Contact form */.contact .section-head--contact {
  margin-bottom: 28px;
}/* ── Chat Panel ── */.chat-panel {
  position: fixed;
  inset: 0;
  z-index: 8000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.chat-panel.is-open {
  opacity: 1;
  pointer-events: auto;
}
.chat-card {
  width: min(440px, 100%);
  height: min(560px, 85vh);
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  border: 1px solid rgba(167, 139, 250, 0.2);
  background: rgba(8, 4, 18, 0.97);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
  transform: scale(0.94) translateY(16px);
  transition: transform 0.38s var(--ease);
}
.chat-panel.is-open .chat-card {
  transform: scale(1) translateY(0);
}/* Header */.chat-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  flex-shrink: 0;
}
.chat-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.chat-brand-name {
  color: var(--fg);
}
.chat-online {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--muted);
  margin-left: auto;
}
.chat-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
  animation: online-pulse 2.2s ease-in-out infinite;
}
@keyframes online-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
.chat-close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.chat-close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--fg);
  border-color: rgba(255,255,255,0.15);
}/* Messages */.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.3) transparent;
}
.chat-messages::-webkit-scrollbar {
  width: 4px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.3);
  border-radius: 2px;
}
.chat-msg {
  display: flex;
  animation: msg-in 0.32s var(--ease) both;
}
@keyframes msg-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chat-msg--user {
  justify-content: flex-end;
}
.chat-msg--bot {
  justify-content: flex-start;
}
.chat-msg-bubble {
  max-width: 82%;
  padding: 11px 15px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.chat-msg--bot .chat-msg-bubble {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.chat-msg--user .chat-msg-bubble {
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  border: 1px solid rgba(196, 181, 253, 0.2);
  color: #fff;
  border-bottom-right-radius: 4px;
}/* Typing indicator */.chat-msg--typing .chat-msg-bubble {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 14px 18px;
}
.chat-typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--violet-3);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-typing-dot:nth-child(2) { animation-delay: 0.18s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}/* Footer / Input */.chat-footer {
  border-top: 1px solid var(--line);
  padding: 14px 16px 12px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.01);
}
.chat-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-input-field {
  flex: 1;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fg);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chat-input-field::placeholder {
  color: rgba(161, 161, 170, 0.55);
}
.chat-input-field:focus {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.12);
}
.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, opacity 0.2s;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}
.chat-send-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(124, 58, 237, 0.55);
}
.chat-send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.chat-footer-note {
  margin: 8px 0 0;
  font-size: 0.65rem;
  color: rgba(161, 161, 170, 0.4);
  text-align: center;
  letter-spacing: 0.02em;
}
@media (max-width: 520px) {
  .chat-card {
    height: 90vh;
    border-radius: 20px 20px 0 0;
  }

  .chat-panel {
    align-items: flex-end;
    padding: 0;
  }
}/* ── Contact redesign ── */.contact-head {
  text-align: center;
  margin-bottom: 48px;
}
.contact-hero {
  text-align: center;
  margin-bottom: 56px;
}
.contact-headline {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--fg);
}
.contact-sub {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}/* Primary CTAs */.contact-primary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 52px;
}
.contact-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(10, 5, 18, 0.85);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.4s var(--ease), box-shadow 0.4s, background 0.3s;
}
.contact-cta:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}
.contact-cta--tg:hover {
  border-color: rgba(39, 174, 239, 0.5);
  background: rgba(39, 174, 239, 0.05);
}
.contact-cta--wa:hover {
  border-color: rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.05);
}
.contact-cta--call:hover {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(124, 58, 237, 0.06);
}
.contact-cta-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.3s, background 0.3s;
}
.contact-cta--call .contact-cta-icon {
  color: var(--violet-3);
}
.contact-cta--tg:hover .contact-cta-icon {
  border-color: rgba(39, 174, 239, 0.4);
  background: rgba(39, 174, 239, 0.1);
}
.contact-cta--wa:hover .contact-cta-icon {
  border-color: rgba(37, 211, 102, 0.4);
  background: rgba(37, 211, 102, 0.1);
}
.contact-cta--call:hover .contact-cta-icon {
  border-color: rgba(167, 139, 250, 0.4);
  background: rgba(124, 58, 237, 0.12);
}
.contact-cta-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 0;
}
.contact-cta-name {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.contact-cta-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}
.contact-cta-arrow {
  font-size: 1.15rem;
  color: var(--accent-hero);
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.contact-cta:hover .contact-cta-arrow {
  transform: translate(3px, -3px);
  opacity: 1;
}/* Secondary socials */.contact-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.contact-secondary-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.social-link {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease), box-shadow 0.3s, color 0.2s;
}
.social-link:hover {
  border-color: var(--sc, var(--violet-3));
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
  color: #fff;
}
@media (max-width: 860px) {
  .contact-primary {
    grid-template-columns: 1fr;
  }

  .contact-headline {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
}/* Footer */.site-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 22px 0 40px;
  background: #000;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #71717a;
}
.foot-time {
  margin: 0;
}
@media (max-width: 980px) {
  .bento {
    grid-template-columns: 1fr;
  }

  .card-bento,
  .card-bento--wide {
    grid-column: span 1;
  }

  .svc-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .fg-span2 {
    grid-column: span 1;
  }
}
@media (max-width: 860px) {
  .nav-pill {
    display: none;
  }

  .burger {
    display: flex;
  }
}/* ── About ── */.about {
  background: radial-gradient(ellipse 70% 35% at 50% 20%, rgba(124, 58, 237, 0.07), transparent 65%);
  min-height: unset;
  padding: 120px 0 140px;
}
.about-head {
  text-align: center;
  margin-bottom: 56px;
}/* 2. Citation cinématique */.about-opening {
  text-align: center;
  margin-bottom: 64px;
}
.about-quote {
  margin: 0;
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.06;
  color: var(--accent-hero);
  font-style: normal;
  text-shadow: 0 0 80px rgba(196, 181, 253, 0.15);
}/* 3. Bande de stats */.about-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0 clamp(24px, 5vw, 64px);
}
.about-stat-val {
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.about-stat-lbl {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-stat-sep {
  width: 1px;
  height: 40px;
  background: var(--line);
  flex-shrink: 0;
}/* 4. Histoire */.about-story {
  max-width: 680px;
  margin: 0 auto 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.about-p {
  margin: 0 0 28px;
  font-size: 1.08rem;
  color: var(--muted);
  line-height: 1.82;
  text-align: center;
}
.about-p strong {
  color: var(--fg);
  font-weight: 600;
}
.about-p--em {
  margin: 8px 0 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--fg);
  font-style: italic;
  text-align: center;
  color: var(--accent-hero);
}
.about-rule {
  display: flex;
  justify-content: center;
  margin: 8px 0 28px;
}
.about-rule span {
  display: block;
  width: 40px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--violet-2), transparent);
  opacity: 0.6;
}/* 5. Fondateurs */.about-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 80px;
}
.founder-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(10, 5, 18, 0.85);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.45s var(--ease), box-shadow 0.45s;
}
.founder-card:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.5);
}
.founder-photo {
  position: relative;
  width: 100%;
  height: 280px;
  background: linear-gradient(160deg, rgba(76, 29, 149, 0.4) 0%, rgba(12, 4, 26, 0.9) 100%);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.founder-photo--b {
  background: linear-gradient(160deg, rgba(14, 35, 64, 0.7) 0%, rgba(4, 10, 26, 0.9) 100%);
}
.founder-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Yanis — portrait pied : recentrer sur le visage et adoucir le bord bas */
.founder-photo--yanis {
  background: #000;
}
.founder-photo--yanis .founder-photo-img {
  object-position: center 18%;
}
.founder-photo--yanis::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 4, 18, 0.55) 65%, rgba(8, 4, 18, 0.95) 100%);
  pointer-events: none;
}
.founder-photo-placeholder {
  font-size: 4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: rgba(196, 181, 253, 0.15);
  user-select: none;
  pointer-events: none;
}
.founder-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 28px 30px;
}
.founder-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.founder-name {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.founder-role {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--violet-3);
}
.founder-bio {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.75;
}/* 6. Mission */.about-mission {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 0 clamp(0px, 5vw, 80px);
}
.about-mission-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-hero);
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(196, 181, 253, 0.25);
}
.about-mission-text {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 600;
  color: var(--fg);
  line-height: 1.65;
  letter-spacing: -0.015em;
  max-width: 52ch;
}
.about-mission-text strong {
  color: var(--accent-hero);
}
@media (max-width: 860px) {
  .about {
    padding: 80px 0 100px;
  }

  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
    padding: 28px 0;
  }

  .about-stat-sep {
    display: none;
  }

  .about-stat {
    padding: 0 20px;
  }

  .about-story {
    margin-bottom: 56px;
  }

  .about-p {
    text-align: left;
  }

  .about-p--em {
    text-align: left;
  }

  .about-founders {
    grid-template-columns: 1fr;
    margin-bottom: 56px;
  }

  .founder-photo {
    height: 240px;
  }

  .about-mission {
    text-align: left;
    align-items: flex-start;
    padding: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .marquee-inner {
    animation: none !important;
    transform: none !important;
  }

  .blob,
  .globe {
    animation: none !important;
  }

  .intro__pulse {
    animation: none !important;
  }
}/* ============================================================
   AWWWARDS UPGRADE — NEON DIVIDERS + 3D CARD SCENES + REACT FX
   ============================================================ *//* === Neon Purple Curvy Section Dividers === */.section-divider {
  position: relative;
  width: 100%;
  height: 160px;
  margin: -40px 0;
  pointer-events: none;
  overflow: visible;
  z-index: 3;
  isolation: isolate;
}
.section-divider__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.section-divider__path-blur,
.section-divider__path-glow,
.section-divider__path-core,
.section-divider__path-spark {
  fill: none;
  stroke-linecap: round;
}
.section-divider__path-blur {
  stroke: #a78bfa;
  stroke-width: 10;
  opacity: 0.35;
  filter: blur(10px);
}
.section-divider__path-glow {
  stroke: url(#agi-neon-grad);
  stroke-width: 3.5;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.9))
          drop-shadow(0 0 18px rgba(124, 58, 237, 0.6));
}
.section-divider__path-core {
  stroke: #f5f3ff;
  stroke-width: 1.1;
  opacity: 0.9;
}
.section-divider__path-spark {
  stroke: #ffffff;
  stroke-width: 2.6;
  stroke-dasharray: 14 320;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px #c4b5fd);
  animation: agi-spark-flow 12.00s linear infinite;
}
@keyframes agi-spark-flow {
  to { stroke-dashoffset: -334; }
}

/* === Scroll-driven divider trace ===
   The line draws from left to right as the user scrolls past it, controlled
   by the --trace-progress CSS variable (0 to 1) set from JS.
   Only the divider closest to the viewport centre gets is-active-divider —
   ALL others are fully transparent so we never see 2 lines at once. */
.section-divider__path-blur,
.section-divider__path-glow,
.section-divider__path-core {
  stroke-dasharray: 2400;
  /* dashoffset = (1 - progress) * 2400 → line draws as progress goes 0→1 */
  stroke-dashoffset: calc(2400 * (1 - var(--trace-progress, 0)));
  /* Very short CSS transition — just enough to smooth between rAF frames
     without adding scroll lag. Was 0.18s (felt sluggish), now 60ms. */
  transition: stroke-dashoffset 0.06s linear, opacity 0.5s ease-out;
}

/* The whole divider fades in only when active, out otherwise (sharp & clean) */
.section-divider {
  opacity: 0;
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-divider.is-active-divider {
  opacity: 1;
}

/* Spark + nodes follow the divider's opacity (no separate fade needed) */
.section-divider__path-spark,
.section-divider__node {
  transition: opacity 0.4s ease-out;
}
.section-divider:not(.is-active-divider) .section-divider__path-spark,
.section-divider:not(.is-active-divider) .section-divider__node {
  opacity: 0;
}

/* satellite floating dots that ride the curve */
.section-divider__node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #f5f3ff, #a78bfa 40%, #4c1d95 100%);
  box-shadow: 0 0 14px #a78bfa, 0 0 28px rgba(124, 58, 237, 0.7);
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: agi-node-drift 18.00s ease-in-out infinite;
}
.section-divider__node--a { left: 18%; animation-delay: 0s; }
.section-divider__node--b { left: 52%; animation-delay: 1.6s; }
.section-divider__node--c { left: 82%; animation-delay: 3.4s; }
@keyframes agi-node-drift {
  0%, 100% { transform: translate(-50%, calc(-50% - 18px)); opacity: 0.2; }
  50%      { transform: translate(-50%, calc(-50% + 22px)); opacity: 1; }
}/* === 3D / Animated Mini-Scenes inside card placeholders === */.canvas-3d-placeholder {
  min-height: 156px;
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(124, 58, 237, 0.18), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(167, 139, 250, 0.12), transparent 60%),
    linear-gradient(140deg, rgba(10, 4, 22, 0.9), rgba(2, 0, 8, 0.95));
  border: 1px solid rgba(167, 139, 250, 0.18);
  isolation: isolate;
  perspective: 900px;
}
.canvas-3d-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%);
  opacity: 0.6;
  z-index: 0;
}
.canvas-3d-placeholder::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(196, 181, 253, 0.35) 50%, transparent 70%);
  filter: blur(14px);
  opacity: 0;
  transition: opacity 0.6s;
  z-index: 0;
}
.card-bento:hover .canvas-3d-placeholder::after,
.svc-card:hover .canvas-3d-placeholder::after { opacity: 1; }
.scene {
  position: absolute; inset: 0; z-index: 1;
  transform-style: preserve-3d;
  /* All scene contents are decorative — letting events pass through to the
     parent card avoids 30+ unnecessary hit-test boxes per scene during
     mousemove (huge win on the procedure + services rows). */
  pointer-events: none;
}
.scene * { box-sizing: border-box; pointer-events: none; }/* Scene 01 — CONTACT : noyau central + bulles en orbite */.scene-contact .core {
  position: absolute; left: 50%; top: 50%; width: 38px; height: 38px;
  border-radius: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(circle at 30% 30%, #f5f3ff, #a78bfa 40%, #4c1d95 90%);
  box-shadow: 0 0 30px rgba(167,139,250,.9), 0 0 60px rgba(124,58,237,.6);
  animation: agi-pulse 5.20s ease-in-out infinite;
}
.scene-contact .ring {
  position: absolute; left: 50%; top: 50%; border-radius: 50%;
  border: 1px dashed rgba(196, 181, 253, 0.4);
  transform: translate(-50%, -50%) rotate(0deg);
  animation: agi-spin 28.00s linear infinite;
}
.scene-contact .ring--a { width: 80%; height: 130%; }
.scene-contact .ring--b { width: 55%; height: 90%; animation-direction: reverse; animation-duration: 10s; }
.scene-contact .bubble {
  position: absolute; left: 50%; top: 50%;
  width: 26px; height: 22px; border-radius: 8px 8px 8px 2px;
  background: linear-gradient(135deg, rgba(167,139,250,.9), rgba(124,58,237,.85));
  box-shadow: 0 0 14px rgba(167,139,250,.7);
  transform-origin: -64px center;
  animation: agi-orbit 16.00s linear infinite;
}
.scene-contact .bubble--a { transform-origin: -64px center; animation-duration: 16s;  animation-delay: 0s; }
.scene-contact .bubble--b { transform-origin: -72px center; animation-duration: 22s; animation-delay: -2s; background: linear-gradient(135deg, #c4b5fd, #7c3aed); }
.scene-contact .bubble--c { transform-origin: -56px center; animation-duration: 26s; animation-delay: -5s; background: linear-gradient(135deg, #ddd6fe, #a78bfa); }
@keyframes agi-orbit {
  from { transform: translate(-50%, -50%) rotate(0deg) translateX(60px); }
  to   { transform: translate(-50%, -50%) rotate(360deg) translateX(60px); }
}
@keyframes agi-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes agi-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(167,139,250,.9), 0 0 60px rgba(124,58,237,.6); }
  50%      { box-shadow: 0 0 50px rgba(196,181,253,1), 0 0 100px rgba(124,58,237,.85); }
}/* Scene 02 — AUDIT IA : scan beam + grille radar (boosté en visibilité) */.scene-audit .radar {
  position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(124,58,237,.45) 0%, rgba(124,58,237,.15) 40%, transparent 75%);
}
.scene-audit .radar::before {
  /* PERMANENT concentric arcs (visible even between sweeps) */
  content: ""; position: absolute; left: 50%; bottom: -10px;
  width: 220%; height: 220%; transform: translateX(-50%);
  background:
    repeating-radial-gradient(circle at 50% 100%, transparent 0 20px, rgba(167,139,250,.45) 20px 21px);
  opacity: 0.7;
}
.scene-audit .radar::after {
  /* RADAR SWEEP wedge — cheap triangular gradient, no conic, no mix-blend.
     Visually identical to a swept beam but ~5x cheaper to paint each frame. */
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 60%; height: 110%; transform-origin: 50% 100%;
  background: linear-gradient(85deg, transparent 0%, rgba(196,181,253,.45) 50%, transparent 100%);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  opacity: 0.7;
  animation: agi-sweep 9.00s linear infinite;
}
@keyframes agi-sweep {
  0%   { transform: translateX(-50%) rotate(-55deg); }
  100% { transform: translateX(-50%) rotate(55deg); }
}
.scene-audit .beam {
  position: absolute; left: 50%; top: 50%; transform-origin: bottom center;
  width: 3px; height: 70%; bottom: 0; top: auto;
  background: linear-gradient(to top, rgba(196,181,253,1) 0%, rgba(167,139,250,.7) 30%, transparent 100%);
  filter: drop-shadow(0 0 10px #c4b5fd) drop-shadow(0 0 20px #7c3aed);
  animation: agi-beam 9.00s linear infinite;
}
.scene-audit .blip {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px #c4b5fd;
  animation: agi-blip 6.80s ease-in-out infinite;
}
.scene-audit .blip--a { left: 24%; top: 55%; animation-delay: 0.4s; }
.scene-audit .blip--b { left: 70%; top: 40%; animation-delay: 1.4s; }
.scene-audit .blip--c { left: 50%; top: 30%; animation-delay: 2.2s; }
@keyframes agi-radar { from { transform: translateX(-50%) scale(0.3); opacity: 0.8; } to { transform: translateX(-50%) scale(1.2); opacity: 0; } }
@keyframes agi-beam {
  0%   { transform: translate(-50%, 0) rotate(-55deg); }
  100% { transform: translate(-50%, 0) rotate(55deg); }
}
@keyframes agi-blip {
  0%, 70%, 100% { opacity: 0; transform: scale(0.4); }
  10%, 30%      { opacity: 1; transform: scale(1.4); }
}/* Scene 03 — FORMATION : réseau de neurones */.scene-formation svg { width: 100%; height: 100%; display: block; }
.scene-formation .nn-line { stroke: rgba(167,139,250,.35); stroke-width: 1; fill: none; }
.scene-formation .nn-pulse {
  stroke: #c4b5fd; stroke-width: 2; fill: none;
  stroke-dasharray: 8 200; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px #c4b5fd);
  animation: agi-nn-flow 6.40s linear infinite;
}
.scene-formation .nn-node {
  fill: #fff; filter: drop-shadow(0 0 8px #a78bfa);
  animation: agi-pulse-soft 4.80s ease-in-out infinite;
}
.scene-formation .nn-node:nth-child(odd) { animation-delay: 0.6s; }
@keyframes agi-nn-flow { to { stroke-dashoffset: -208; } }
@keyframes agi-pulse-soft {
  0%, 100% { opacity: 0.55; transform-origin: center; }
  50%      { opacity: 1; }
}/* Scene 04 — INTÉGRATION : pipes de données entre outils */.scene-integration .pipe-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-integration .pipe { stroke: rgba(167,139,250,.25); stroke-width: 2.5; fill: none; }
.scene-integration .pipe-flow {
  stroke: #c4b5fd; stroke-width: 2.5; fill: none;
  stroke-dasharray: 12 24; stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px #a78bfa);
  animation: agi-pipe 2.80s linear infinite;
}
@keyframes agi-pipe { to { stroke-dashoffset: -36; } }
.scene-integration .tool {
  position: absolute; width: 30px; height: 30px; border-radius: 8px;
  background: rgba(20, 8, 38, 0.95);
  border: 1px solid rgba(196,181,253,.5);
  box-shadow: 0 0 14px rgba(124,58,237,.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: #ddd6fe; font-weight: 700;
  animation: agi-float 8.00s ease-in-out infinite;
}
.scene-integration .tool--a { left: 8%; top: 22%; }
.scene-integration .tool--b { right: 8%; top: 22%; animation-delay: -1.5s; }
.scene-integration .tool--c { left: 8%; bottom: 18%; animation-delay: -2.5s; }
.scene-integration .tool--d { right: 8%; bottom: 18%; animation-delay: -3.5s; }
.scene-integration .hub {
  position: absolute; left: 50%; top: 50%; width: 44px; height: 44px;
  transform: translate(-50%, -50%); border-radius: 14px;
  background:
    radial-gradient(circle at 30% 30%, #f5f3ff, #c4b5fd 30%, #7c3aed 70%, #4c1d95);
  box-shadow:
    0 0 24px rgba(167,139,250,.85),
    0 0 48px rgba(124,58,237,.45),
    inset 0 0 10px rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; color: white; font-size: 13px;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255,255,255,.7);
  /* keep text always readable: gentle pulse instead of full Y-flip */
  animation: agi-hub-pulse 6.00s ease-in-out infinite;
}
@keyframes agi-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
@keyframes agi-hub-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 24px rgba(167,139,250,.85), 0 0 48px rgba(124,58,237,.45), inset 0 0 10px rgba(255,255,255,.4);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 0 36px rgba(196,181,253,1), 0 0 70px rgba(124,58,237,.7), inset 0 0 14px rgba(255,255,255,.6);
  }
}/* Scene 05 — LEADER : couronne stylisée plus reconnaissable (5 pointes + base + gemme) */.scene-leader .crown {
  position: absolute; left: 50%; top: 56%; transform: translate(-50%, -50%);
  width: 84px; height: 60px;
  background: linear-gradient(180deg, #f5f3ff 0%, #c4b5fd 30%, #7c3aed 100%);
  clip-path: polygon(
    0% 100%, 0% 55%,
    8% 55%, 15% 22%, 25% 55%,
    32% 55%, 42% 8%, 52% 55%,
    58% 55%, 70% 22%, 78% 55%,
    100% 55%, 100% 100%
  );
  filter: drop-shadow(0 0 12px rgba(196,181,253,.95))
          drop-shadow(0 4px 8px rgba(124,58,237,.55));
  animation: agi-crown 7.20s ease-in-out infinite;
}
.scene-leader .crown::before {
  /* horizontal band on the crown base */
  content: ""; position: absolute; bottom: 6px; left: 8%; right: 8%; height: 8px;
  background: linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,0));
  border-top: 1px solid rgba(255,255,255,.4);
  border-bottom: 1px solid rgba(0,0,0,.25);
}
.scene-leader .crown::after {
  /* centre gemme */
  content: ""; position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #fbbf24 50%, #d97706);
  box-shadow: 0 0 8px #fbbf24, 0 0 16px rgba(251,191,36,.6);
}
.scene-leader .spark {
  position: absolute; width: 6px; height: 6px;
  background: white; border-radius: 50%;
  box-shadow: 0 0 10px #fff, 0 0 20px #c4b5fd;
  animation: agi-spark 4.80s ease-in infinite;
}
.scene-leader .spark--a { left: 22%; top: 30%; animation-delay: 0s; }
.scene-leader .spark--b { left: 75%; top: 25%; animation-delay: 0.5s; }
.scene-leader .spark--c { left: 30%; top: 75%; animation-delay: 1s; }
.scene-leader .spark--d { left: 70%; top: 70%; animation-delay: 1.5s; }
.scene-leader .spark--e { left: 50%; top: 18%; animation-delay: 2s; }
@keyframes agi-spark {
  0%   { opacity: 0; transform: scale(0); }
  40%  { opacity: 1; transform: scale(1.4); }
  100% { opacity: 0; transform: scale(0.4) translateY(-20px); }
}
@keyframes agi-crown {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -55%) scale(1.04); }
}/* Scene SVC 01 — AUDIT & CONSEIL : magnifier + bars */.scene-svc-audit .bars { position: absolute; bottom: 16%; left: 12%; right: 36%; height: 64%; display: flex; align-items: flex-end; gap: 8px; }
.scene-svc-audit .bar {
  flex: 1; background: linear-gradient(180deg, #c4b5fd, #7c3aed);
  border-radius: 4px 4px 0 0; box-shadow: 0 0 12px rgba(124,58,237,.6);
  transform-origin: bottom; animation: agi-bar 5.60s ease-in-out infinite;
}
.scene-svc-audit .bar:nth-child(1) { animation-delay: 0s; height: 40%; }
.scene-svc-audit .bar:nth-child(2) { animation-delay: 0.2s; height: 65%; }
.scene-svc-audit .bar:nth-child(3) { animation-delay: 0.4s; height: 80%; }
.scene-svc-audit .bar:nth-child(4) { animation-delay: 0.6s; height: 55%; }
.scene-svc-audit .bar:nth-child(5) { animation-delay: 0.8s; height: 95%; }
@keyframes agi-bar {
  0%, 100% { transform: scaleY(0.7); filter: brightness(0.85); }
  50%      { transform: scaleY(1); filter: brightness(1.15); }
}
.scene-svc-audit .lens {
  position: absolute; right: 12%; top: 28%; width: 56px; height: 56px;
  border-radius: 50%;
  border: 3px solid #c4b5fd;
  box-shadow: 0 0 18px rgba(196,181,253,.7), inset 0 0 12px rgba(167,139,250,.4);
  animation: agi-float 10.00s ease-in-out infinite;
}
.scene-svc-audit .lens::after {
  content: ""; position: absolute; bottom: -22px; right: -18px;
  width: 24px; height: 4px; background: #c4b5fd;
  border-radius: 4px; transform: rotate(45deg);
  box-shadow: 0 0 10px #a78bfa;
}/* Scene SVC 02 — FORMATIONS : graduation cap redessinée pour être lisible.
   Le carré du dessus est maintenant un VRAI losange (rotate 45deg) qui
   ressemble à une mortier-board vue de 3/4. */.scene-svc-train .cap {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 110px; height: 90px;
}
.scene-svc-train .cap-board {
  /* diamond mortar board */
  position: absolute; top: 4px; left: 50%;
  width: 78px; height: 78px;
  transform: translateX(-50%) rotate(45deg) scaleY(0.55);
  background: linear-gradient(135deg, #1a0a3a 0%, #2a1148 50%, #0c0420 100%);
  border: 2px solid #7c3aed;
  box-shadow:
    0 0 22px rgba(124,58,237,.6),
    inset 0 0 20px rgba(167,139,250,.25);
  border-radius: 2px;
}
.scene-svc-train .cap-base {
  /* trapezoidal head section under the board */
  position: absolute; bottom: 18px; left: 50%;
  width: 44px; height: 24px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #c4b5fd 0%, #7c3aed 100%);
  border-radius: 4px 4px 8px 8px / 4px 4px 18px 18px;
  box-shadow: 0 0 14px rgba(167,139,250,.55);
}
.scene-svc-train .cap-base::after {
  content: ""; position: absolute; left: 50%; top: 4px;
  width: 6px; height: 6px; border-radius: 50%; transform: translateX(-50%);
  background: #fbbf24; box-shadow: 0 0 6px #fbbf24;
}
.scene-svc-train .tassel {
  /* tassel hanging from the centre of the board */
  position: absolute; top: 28px; left: 50%; width: 2px; height: 36px;
  background: linear-gradient(180deg, #c4b5fd, #fbbf24);
  transform-origin: top center;
  animation: agi-tassel 6.00s ease-in-out infinite;
}
.scene-svc-train .tassel::after {
  content: ""; position: absolute; bottom: -8px; left: -4px;
  width: 10px; height: 14px; border-radius: 4px;
  background: linear-gradient(180deg, #fbbf24, #d97706);
  box-shadow: 0 0 10px #fbbf24;
}
@keyframes agi-tassel {
  0%, 100% { transform: rotate(-12deg); }
  50%      { transform: rotate(12deg); }
}
.scene-svc-train .particle {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: white; box-shadow: 0 0 8px #c4b5fd;
  animation: agi-particle 8.00s ease-in infinite;
}
.scene-svc-train .particle--a { left: 20%; top: 70%; animation-delay: 0s; }
.scene-svc-train .particle--b { left: 80%; top: 65%; animation-delay: 0.8s; }
.scene-svc-train .particle--c { left: 30%; top: 85%; animation-delay: 1.6s; }
.scene-svc-train .particle--d { left: 70%; top: 80%; animation-delay: 2.4s; }
.scene-svc-train .particle--e { left: 50%; top: 90%; animation-delay: 3.2s; }
@keyframes agi-particle {
  0%   { opacity: 0; transform: translateY(0) scale(0); }
  20%  { opacity: 1; transform: translateY(-10px) scale(1); }
  100% { opacity: 0; transform: translateY(-60px) scale(0.4); }
}/* Scene SVC 03 — SOLUTIONS IA : cerveau + anneaux circuit */.scene-svc-ai .brain {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #c4b5fd, #7c3aed 50%, #2e1065 100%);
  box-shadow:
    0 0 28px rgba(167,139,250,.85),
    inset -6px -8px 20px rgba(0,0,0,.4),
    inset 4px 4px 14px rgba(255,255,255,.2);
  animation: agi-pulse 5.20s ease-in-out infinite;
}
.scene-svc-ai .brain::before,
.scene-svc-ai .brain::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  border-radius: 50%; border: 1px solid rgba(196,181,253,.4);
  transform: translate(-50%, -50%) rotateX(70deg) rotateZ(0deg);
}
.scene-svc-ai .brain::before { width: 130px; height: 130px; animation: agi-ring-a 12.00s linear infinite; }
.scene-svc-ai .brain::after  { width: 170px; height: 170px; animation: agi-ring-b 18.00s linear infinite; }
@keyframes agi-ring-a { to { transform: translate(-50%, -50%) rotateX(70deg) rotateZ(360deg); } }
@keyframes agi-ring-b { to { transform: translate(-50%, -50%) rotateX(60deg) rotateZ(-360deg); } }
.scene-svc-ai .circuit-dot {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #f5f3ff; box-shadow: 0 0 10px #c4b5fd;
}
.scene-svc-ai .circuit-dot--a { left: 12%; top: 50%; animation: agi-orbit-h 12.00s linear infinite; }
.scene-svc-ai .circuit-dot--b { right: 12%; top: 50%; animation: agi-orbit-h 12.00s linear infinite reverse; }
.scene-svc-ai .circuit-dot--c { left: 50%; top: 10%; animation: agi-orbit-v 18.00s linear infinite; }
@keyframes agi-orbit-h {
  0%   { transform: translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateX(190px); opacity: 0; }
}
@keyframes agi-orbit-v {
  0%   { transform: translate(-50%, 0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(-50%, 140px); opacity: 0; }
}/* ensure visual layer above grid */.scene-contact, .scene-audit, .scene-formation,
.scene-integration, .scene-leader,
.scene-svc-audit, .scene-svc-train, .scene-svc-ai { z-index: 2; }/* === React FX Mount === */.react-fx {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.react-orbit-node {
  position: absolute;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #a78bfa 60%);
  box-shadow: 0 0 10px #a78bfa, 0 0 22px rgba(124,58,237,.7);
  will-change: transform;
}/* hover boost on scenes when card hovered */.card-bento:hover .scene > *,
.svc-card:hover .scene > * { animation-duration: 0.8s; }
.card-bento:hover .canvas-3d-placeholder,
.svc-card:hover .canvas-3d-placeholder {
  border-color: rgba(196, 181, 253, 0.45);
  box-shadow: inset 0 0 30px rgba(124, 58, 237, 0.25);
}/* === FIX TILT JANK ===
   Le bug "grignote" vient du conflit entre :
     1. La transition CSS `transform 0.45s` sur ces 4 sélecteurs
     2. Le `:hover { transform: translateY(-Xpx) }` qui se déclenche au survol
     3. GSAP qui anime rotateX/Y/y/scale via quickTo en parallèle
   → Les 2 transforms se battent. Solution : retirer `transform` des hover
   CSS quand le tilt JS est actif. La classe `tilt-js` est posée par script.js
   uniquement si GSAP + non-reduce + pointer-fine sont satisfaits. */
html.tilt-js .card-bento,
html.tilt-js .svc-card,
html.tilt-js .founder-card,
html.tilt-js .contact-cta {
  /* Retire transform de la liste des transitions — GSAP pilote */
  transition: border-color 0.3s, box-shadow 0.4s, background 0.3s;
  /* Assure le rendu 3D propre */
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}
html.tilt-js .card-bento:hover,
html.tilt-js .svc-card:hover,
html.tilt-js .founder-card:hover,
html.tilt-js .contact-cta:hover {
  /* On garde border + shadow, mais ON ENLEVE le transform translateY
     (GSAP applique déjà y: -lift) */
  transform: none;
}

/* Perspective sur les containers grids → 3D propre sans inline transform GSAP */
.bento,
.svc-grid,
.about-founders,
.contact-primary {
  perspective: 1200px;
}

/* === REVEAL DIRECTIONNEL pour les cartes ===
   Tous les sélecteurs ont la MÊME spécificité (parent > enfant:nth-child).
   L'ordre source garantit que .is-in vient après les rules initiales.
   Pas de prefixe `html.tilt-js` ici → fonctionne sur TOUS les devices. */

/* État initial commun : opacity 0 + flou léger.
   Spécificité (0,3,0) — élevée pour battre les règles génériques [data-reveal]. */
.bento > .card-bento[data-reveal],
.svc-grid > .svc-card[data-reveal],
.about-founders > .founder-card[data-reveal],
.contact-primary > .contact-cta[data-reveal] {
  opacity: 0;
  filter: blur(8px) brightness(0.55);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* === Directions VARIÉES par carte (spécificité 0,4,0) === */
/* PROCÉDÉ (5 cartes bento) */
.bento > .card-bento:nth-child(1)[data-reveal] { transform: translateY(80px); }
.bento > .card-bento:nth-child(2)[data-reveal] { transform: translateX(-100px); }
.bento > .card-bento:nth-child(3)[data-reveal] { transform: translateY(80px); }
.bento > .card-bento:nth-child(4)[data-reveal] { transform: translateX(100px); }
.bento > .card-bento:nth-child(5)[data-reveal] { transform: translateY(80px) scale(0.92); }

/* SERVICES (3 cartes) */
.svc-grid > .svc-card:nth-child(1)[data-reveal] { transform: translateX(-100px); }
.svc-grid > .svc-card:nth-child(2)[data-reveal] { transform: translateY(80px); }
.svc-grid > .svc-card:nth-child(3)[data-reveal] { transform: translateX(100px); }

/* FOUNDERS (2 cartes) */
.about-founders > .founder-card:nth-child(1)[data-reveal] {
  transform: translateX(-120px) rotate(-3deg);
}
.about-founders > .founder-card:nth-child(2)[data-reveal] {
  transform: translateX(120px) rotate(3deg);
}

/* CONTACT CTAs */
.contact-primary > .contact-cta:nth-child(1)[data-reveal] {
  transform: translateY(-80px);
}
.contact-primary > .contact-cta:nth-child(2)[data-reveal] {
  transform: scale(0.7);
}
.contact-primary > .contact-cta:nth-child(3)[data-reveal] {
  transform: translateY(80px);
}

/* === ÉTAT FINAL (.is-in) — spécificité (0,5,0) pour battre les directional (0,4,0) ===
   `:not(.x)` ajoute +1 à b sans matcher exclusivement, on l'utilise comme bump. */
.bento > .card-bento[data-reveal].is-in:not(.never),
.svc-grid > .svc-card[data-reveal].is-in:not(.never),
.about-founders > .founder-card[data-reveal].is-in:not(.never),
.contact-primary > .contact-cta[data-reveal].is-in:not(.never) {
  opacity: 1;
  transform: translate(0, 0) scale(1) rotate(0);
  filter: blur(0) brightness(1);
}

/* Une fois la transition terminée (.is-revealed posé par JS), on retire
   `transform` de la liste des transitions pour que GSAP tilt n'ait plus
   à se battre contre une transition CSS sur transform. */
html.tilt-js .card-bento[data-reveal].is-revealed,
html.tilt-js .svc-card[data-reveal].is-revealed,
html.tilt-js .founder-card[data-reveal].is-revealed,
html.tilt-js .contact-cta[data-reveal].is-revealed {
  transition:
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Variation aussi pour les projets (alterné gauche/droite) */
.proj-list > .proj-item[data-reveal]:nth-child(odd) { transform: translateX(-60px); }
.proj-list > .proj-item[data-reveal]:nth-child(even) { transform: translateX(60px); }
.proj-list > .proj-item[data-reveal].is-in:not(.never) { transform: translateX(0); }
/* Sur les CTAs contact, le hover CSS ajoute aussi un box-shadow.
   On le garde — il ne touche pas au transform. */

/* === Premium static illustrations (replaces 5 of the 8 animated scenes) === */
.canvas-3d-placeholder.is-static {
  /* Static illustrations get a slightly richer base — they don't move so they
     can afford a bit more visual weight via the grid + corner sheen. */
  perspective: none;
}
.canvas-3d-placeholder.is-static::before,
.canvas-3d-placeholder.is-static::after {
  /* Keep the subtle grid + sheen but no animation */
  opacity: 0.45;
}
.illu {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 1;
}

/* === Reveal stagger + smooth bidirectional transitions === */
[data-reveal] {
  /* Promote to its own paint layer so reveal transforms don't repaint parents.
     Note: we keep will-change ON even after .is-in so re-exit animations
     are also smooth (we toggle is-in both ways now). */
  will-change: opacity, transform, filter;
}

/* Split-text reveal containers — used on hero/contact/about quote */
.hero-title .split-word,
.contact-headline .split-word,
.about-quote .split-word,
.kinetic-title .split-word,
.statement-title .split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero-title .split-word-inner,
.contact-headline .split-word-inner,
.about-quote .split-word-inner,
.kinetic-title .split-word-inner,
.statement-title .split-word-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* (Anciennes règles supprimées — remplacées par les directions variées
   dans le bloc "REVEAL DIRECTIONNEL" plus haut.) *//* Anchor scroll polish — reserve space under the sticky header */html {
  scroll-padding-top: 96px;
}
:target {
  scroll-margin-top: 96px;
}/* Cheaper hover transitions everywhere — 200ms feels snappier than 400ms */.btn,
.contact-cta,
.social-link,
.glass-tool,
.proj-row,
.svc-card,
.card-bento,
.founder-card {
  transition-duration: 0.25s;
}
@media (max-width: 760px) {
  .section-divider { height: 110px; margin: -28px 0; }
  .canvas-3d-placeholder { min-height: 130px; }
  /* On mobile, kill the section divider parallax (no mouse anyway) */
  .section-divider__svg { transform: none !important; transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .section-divider__path-spark,
  .scene-contact .core, .scene-contact .ring, .scene-contact .bubble,
  .scene-audit .radar::before, .scene-audit .beam, .scene-audit .blip,
  .scene-formation .nn-pulse, .scene-formation .nn-node,
  .scene-integration .pipe-flow, .scene-integration .tool, .scene-integration .hub,
  .scene-leader .crown, .scene-leader .spark,
  .scene-svc-audit .bar, .scene-svc-audit .lens,
  .scene-svc-train .tassel, .scene-svc-train .particle,
  .scene-svc-ai .brain, .scene-svc-ai .brain::before, .scene-svc-ai .brain::after,
  .scene-svc-ai .circuit-dot {
    animation: none !important;
  }
}/* ============================================================
   PERF PASS — keep every effect, just make them render only when
   visible and on the GPU layer. ~3-4x smoother on mid-tier laptops.
   ============================================================ *//* Skip painting off-screen sections (huge win).
   NOTE: excludes .projects because the visual stage is sticky-positioned. */.statement,
.kinetic,
.about,
.contact,
.procedure,
.services {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}/* Promote ONLY the actively animated SVG container — overusing will-change
   creates too many GPU layers and hurts perf. Browsers already promote
   transform/opacity animations automatically. */.section-divider__svg {
  transform: translateZ(0);
}/* Pause every scene animation until the scene is in the viewport */.scene:not(.is-active),
.scene:not(.is-active) *,
.scene:not(.is-active) *::before,
.scene:not(.is-active) *::after {
  animation-play-state: paused !important;
}

/* Pause divider spark + drifting nodes when the divider is not the active
   one (only one divider runs animations at a time → big perf win). */
.section-divider:not(.is-active-divider) .section-divider__path-spark,
.section-divider:not(.is-active-divider) .section-divider__node {
  animation-play-state: paused !important;
}/* Lighter blur on divider halo (10px → 6px). Same look, 2x cheaper paint */.section-divider__path-blur {
  filter: blur(6px);
  opacity: 0.45;
}/* Single shared drop-shadow instead of double */.section-divider__path-glow {
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.85));
}/* Use CSS var for the parallax tilt so we transform ONE root, not 7 SVGs */.section-divider__svg {
  transform: translate3d(var(--divX, 0px), var(--divY, 0px), 0);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}/* Containment on cards so hover repaints stay local */.card-bento,
.svc-card,
.canvas-3d-placeholder {
  contain: layout paint;
}/* Marquees: keep transform animation on GPU */.marquee-inner {
  transform: translateZ(0);
}/* Force each marquee-part to be at least 1 viewport wide so the 2-part
   setup loops seamlessly even on ultra-wide / 4K screens (>2320px).
   Without this, content shorter than viewport leaves a gap at end of cycle. */.marquee-part {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-width: max-content;
}
@media (min-width: 2000px) {
  .marquee-part {
    /* On very wide displays, pad each part to fill the screen */
    min-width: 100vw;
    justify-content: space-around;
  }
}/* Hard kill the WebGL scene + starfield + blobs when the hero is off-screen.
   This is the single biggest perf win — the GPU stops rendering a heavy
   3D scene the user can't even see. Brought back instantly on scroll-up. */.spline-bg.is-out,
.starfield.is-out,
.hero-blobs.is-out {
  display: none !important;
}/* Spline background: containment so it can't trigger global layout */.spline-bg {
  contain: layout paint;
}/* Hide the "Built with Spline" watermark (free tier badge — pollue le look pro).
   It's rendered inside the spline-viewer shadow DOM and as a slotted child.
   We hide it via a mask over the corner. */.spline-bg::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 180px;
  height: 60px;
  background: linear-gradient(135deg, transparent 0%, transparent 30%, #050108 65%, #050108 100%);
  z-index: 2;
  pointer-events: none;
}
spline-viewer::part(logo),
spline-viewer #logo,
spline-viewer [class*="logo"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}/* === Logo badge fallback ===
   When a clearbit / icon.horse logo fails to load (very common on file:// or
   offline preview), a styled violet letter badge replaces the image so the
   layout stays clean instead of showing empty gray squares. */.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 60%, #a78bfa 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border: 1px solid rgba(196, 181, 253, 0.4);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25) inset,
    0 4px 10px rgba(124, 58, 237, 0.35),
    0 0 12px rgba(167, 139, 250, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
}
.logo-badge--lg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.25rem;
  letter-spacing: 1px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.3) inset,
    0 8px 24px rgba(124, 58, 237, 0.5),
    0 0 28px rgba(167, 139, 250, 0.55);
}/* === Targeted heavy-property kills === *//* 200 .glass-tool nodes (25 tools × 4 marquee copies × 2 rows) each had
   backdrop-filter: blur(12px). Behind them is a solid dark gradient so the
   blur was invisible anyway, but it forced 200 GPU layer composites every
   frame. Killing only the unhovered state — hover still gets the glow + lift.
   Background opacity slightly raised to keep the glass feel. */.glass-tool {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255, 255, 255, 0.05);
}
/* backdrop-filter on hover was triggering a new GPU layer per tool — kept
   the bg tint for the glassy feel without the blur cost. *//* Marquee container: contain repaints so hover on one tool doesn't repaint
   the whole row (the row has 100+ children) */.marquee {
  contain: paint;
}
.marquee-inner {
  contain: layout;
}/* Kinetic section paints a lot — give it its own layer */.kinetic {
  isolation: isolate;
}

/* ═══════════════════════════════════════════════════════════════
   AWWWARDS UPGRADE LAYER — typography, grain, scroll bar, cursor,
   SVG arrow draw, editorial accents. Sits at the end of the file
   so it cascades over earlier rules without touching them.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Editorial typography refresh ──
   Hero title, statement, section titles, about quote → Fraunces variable
   serif with optical-size + tighter tracking. Keep Inter for body & UI. */
.hero-title,
.statement-title,
.about-quote,
.contact-headline,
.h-section,
.kinetic-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -0.025em;
}
.hero-title {
  font-size: var(--fs-display-lg);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.statement-title {
  font-size: clamp(2rem, 2.6vw + 1.2rem, 3.6rem);
  line-height: 1.08;
}
.about-quote {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.contact-headline {
  font-size: var(--fs-display-md);
  font-weight: 600;
}
.h-section {
  font-size: var(--fs-h);
  letter-spacing: -0.02em;
}
/* Italic accent for the "accent" span of section titles — premium editorial */
.h-section__a,
.statement-m {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(120deg, var(--cream) 0%, var(--violet-3) 55%, var(--cream-soft) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Eyebrow labels (uppercase mono) */
.kinetic-badge,
.about-mission-label,
.about-stat-lbl,
.contact-secondary-label {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
/* Numbers in stats / counters get tabular feel */
.about-stat-val {
  font-family: var(--font-display);
  font-feature-settings: "tnum" 1, "ss01" 1;
  font-variation-settings: "opsz" 96;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* ── 2. Scroll progress bar (top edge) ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 9998;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
}
.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--violet-deep), var(--violet), var(--violet-3) 60%, var(--cream));
  transform-origin: 0 50%;
  transform: scaleX(var(--scroll-progress, 0));
  transition: transform 0.05s linear;
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.55), 0 0 28px rgba(124, 58, 237, 0.3);
  will-change: transform;
}
html.intro-lock .scroll-progress { opacity: 0; }

/* Grain overlay removed for performance (extra full-viewport layer). */
.grain { display: none !important; }

/* Custom cursor system removed for performance. Default OS cursor used. */

/* ── 5. SVG arrow draw on hover for CTAs & project rows ── */
.btn-hero-solid,
.btn-hero-ghost,
.contact-cta,
.proj-row {
  position: relative;
  overflow: hidden;
}
.btn-hero-solid::before,
.btn-hero-ghost::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(167, 139, 250, 0.28), transparent 55%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-soft);
  pointer-events: none;
  z-index: 0;
}
.btn-hero-solid:hover::before,
.btn-hero-ghost:hover::before { opacity: 1; }
.btn-hero-solid > *,
.btn-hero-ghost > * { position: relative; z-index: 1; }

/* Animated arrow on project rows — the existing .proj-arrow gets a stroke-draw */
.proj-row {
  transition: background 0.4s var(--ease-soft);
}
.proj-row::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-3), var(--cream), var(--violet-3), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.75s var(--ease-soft);
}
.proj-row:hover::after,
.proj-item.is-open .proj-row::after { transform: scaleX(1); }
.proj-arrow {
  display: inline-block;
  transition: transform 0.45s var(--ease-spring), color 0.3s;
}
.proj-row:hover .proj-arrow,
.proj-item.is-open .proj-arrow {
  transform: translate(4px, -4px) rotate(-2deg);
  color: var(--cream);
}

/* ── 6. Marquee tools: micro-tilt + cream tint on hover ── */
.glass-tool {
  transition: transform 0.4s var(--ease-spring), background 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.glass-tool:hover {
  transform: translateY(-3px) rotate(-1.2deg) scale(1.04);
  background: rgba(243, 233, 210, 0.08);
  border-color: rgba(243, 233, 210, 0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 22px rgba(167, 139, 250, 0.25);
}

/* ── 7. Hero CTA solid gets cream edge accent ── */
.btn-hero-solid {
  position: relative;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18) 0%, rgba(0, 0, 0, 0.55) 60%);
  border: 1px solid rgba(196, 181, 253, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 0 0 1px rgba(0,0,0,0.4),
    0 12px 30px rgba(124, 58, 237, 0.25);
  transition: transform 0.35s var(--ease-spring), border-color 0.3s, box-shadow 0.3s;
}
.btn-hero-solid:hover {
  border-color: rgba(243, 233, 210, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 0 1px rgba(0,0,0,0.4),
    0 18px 42px rgba(124, 58, 237, 0.45),
    0 0 24px rgba(243, 233, 210, 0.18);
}

/* ── 8. Editorial accent on hero brand dot ── */
.brand-dot {
  position: relative;
}
.brand-dot::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(243, 233, 210, 0.25);
  animation: pulse-ring 2.4s var(--ease-soft) infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(0.7); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ── 9. Section heads: italic Fraunces span gets cream-violet gradient ──
   already covered by .h-section__a above. Add a thin animated rule below. */
.section-head { position: relative; }
.section-head::after {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--violet-3), var(--cream), transparent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.9s var(--ease-soft) 0.2s;
}
.section-head.is-in::after { transform: scaleX(1); }

/* ── 10. About founders names → Fraunces ── */
.founder-name,
.founder-role {
  font-family: var(--font-display);
}
.founder-name {
  font-weight: 600;
  letter-spacing: -0.015em;
}
.founder-role {
  font-style: italic;
  font-weight: 400;
  color: var(--cream-soft);
  opacity: 0.85;
}

/* ── 11. About mission text gets a cream accent for the strong ── */
.about-mission-text strong,
.about-p strong {
  background: linear-gradient(180deg, transparent 64%, rgba(243, 233, 210, 0.22) 64%, rgba(243, 233, 210, 0.22) 92%, transparent 92%);
  color: var(--fg);
  padding: 0 2px;
}

/* ── 12. Proj-name gets Fraunces for editorial weight ── */
.proj-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 0.9vw + 0.85rem, 1.45rem);
  letter-spacing: -0.012em;
}

/* ── 13. Contact CTA names → Fraunces ── */
.contact-cta-name {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.012em;
}

/* Visually-hidden util (accessible labels) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Founder socials — discret, sous la bio */
.founder-socials {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.founder-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(196, 181, 253, 0.18);
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.founder-social img,
.founder-social svg { display: block; opacity: 0.78; transition: opacity 0.2s, filter 0.2s; }
.founder-social:hover {
  background: rgba(124, 58, 237, 0.18);
  border-color: rgba(196, 181, 253, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -8px rgba(124, 58, 237, 0.65);
}
.founder-social:hover img,
.founder-social:hover svg { opacity: 1; }
.founder-social--li:hover { background: rgba(10, 102, 194, 0.22); border-color: rgba(110, 180, 255, 0.55); box-shadow: 0 8px 20px -8px rgba(10, 102, 194, 0.6); }
.founder-social--ig:hover { background: linear-gradient(135deg, rgba(245, 133, 41, 0.22), rgba(221, 42, 123, 0.22), rgba(129, 52, 175, 0.22)); border-color: rgba(255, 138, 174, 0.55); box-shadow: 0 8px 20px -8px rgba(221, 42, 123, 0.55); }
.founder-social--fb:hover { background: rgba(24, 119, 242, 0.22); border-color: rgba(112, 178, 255, 0.55); box-shadow: 0 8px 20px -8px rgba(24, 119, 242, 0.55); }
.founder-social--yt:hover { background: rgba(255, 0, 0, 0.22); border-color: rgba(255, 120, 120, 0.55); box-shadow: 0 8px 20px -8px rgba(255, 0, 0, 0.6); }
.founder-social--tt:hover { background: linear-gradient(135deg, rgba(37, 244, 238, 0.2), rgba(254, 44, 85, 0.22)); border-color: rgba(254, 44, 85, 0.55); box-shadow: 0 8px 20px -8px rgba(254, 44, 85, 0.55); }
.founder-social--tg:hover { background: rgba(38, 161, 226, 0.22); border-color: rgba(110, 200, 255, 0.55); box-shadow: 0 8px 20px -8px rgba(38, 161, 226, 0.6); }
.founder-social--x:hover  { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 8px 20px -8px rgba(255, 255, 255, 0.45); }

/* ─────────────────────────────────────────────────────────────
   14. Mid-funnel CTA bands — after Procedure & Projects
   Strategic conversion blocks: high contrast, restrained density.
   ───────────────────────────────────────────────────────────── */
.cta-band {
  position: relative;
  margin: clamp(56px, 7vw, 96px) auto 0;
  padding: clamp(28px, 4vw, 48px) clamp(22px, 4vw, 56px);
  border-radius: 22px;
  background:
    radial-gradient(120% 180% at 0% 0%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(120% 180% at 100% 100%, rgba(196, 181, 253, 0.14), transparent 60%),
    linear-gradient(180deg, rgba(20, 10, 40, 0.85), rgba(8, 4, 18, 0.9));
  border: 1px solid rgba(196, 181, 253, 0.18);
  box-shadow:
    0 30px 80px -30px rgba(124, 58, 237, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  isolation: isolate;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(196, 181, 253, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.cta-band-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.35), transparent 55%);
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
  animation: ctaBandGlow 9s ease-in-out infinite alternate;
}
@keyframes ctaBandGlow {
  0%   { transform: translate3d(-6%, -3%, 0) scale(1);   opacity: 0.45; }
  100% { transform: translate3d( 6%,  3%, 0) scale(1.08); opacity: 0.7;  }
}
.cta-band-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
  flex-wrap: wrap;
}
.cta-band-text {
  flex: 1 1 360px;
  min-width: 0;
}
.cta-band-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-hero, #d8b4fe);
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(196, 181, 253, 0.28);
  margin-bottom: 14px;
}
.cta-band-title {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.022em;
  font-size: clamp(1.45rem, 2.1vw + 0.6rem, 2.35rem);
  line-height: 1.12;
  color: #fff;
  margin: 0 0 10px;
}
.cta-band-sub {
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.05rem);
  color: rgba(232, 226, 248, 0.78);
  margin: 0;
  max-width: 56ch;
  line-height: 1.55;
}
.cta-band-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-cta {
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.btn-cta--solid {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 55%, #5b21b6 100%);
  color: #fff;
  border: 1px solid rgba(196, 181, 253, 0.5);
  box-shadow:
    0 10px 30px -10px rgba(124, 58, 237, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-cta--solid:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 42px -12px rgba(124, 58, 237, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn-cta--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-cta--ghost:hover {
  background: rgba(124, 58, 237, 0.14);
  border-color: rgba(196, 181, 253, 0.5);
  transform: translateY(-2px);
}

/* "Projects" variant — slight accent shift to feel like the proof crescendo */
.cta-band--projects {
  background:
    radial-gradient(120% 180% at 100% 0%, rgba(196, 181, 253, 0.18), transparent 60%),
    radial-gradient(120% 180% at 0% 100%, rgba(124, 58, 237, 0.22), transparent 60%),
    linear-gradient(180deg, rgba(24, 12, 48, 0.88), rgba(8, 4, 18, 0.92));
}

@media (max-width: 720px) {
  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-band-actions {
    width: 100%;
  }
  .btn-cta {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-band-glow { animation: none; }
}

/* ─────────────────────────────────────────────────────────
   BROUILLARD INTERACTIF — hero
   Un seul radial-gradient qui suit la souris via CSS vars.
   Pas de filter:blur (le gradient est déjà flou). 1 layer GPU.
   ───────────────────────────────────────────────────────── */
.hero-fog {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background:
    radial-gradient(
      circle 420px at var(--fx, 50%) var(--fy, 40%),
      rgba(167, 139, 250, 0.22),
      rgba(124, 58, 237, 0.10) 35%,
      transparent 65%
    ),
    radial-gradient(
      circle 800px at var(--fx, 50%) var(--fy, 40%),
      rgba(124, 58, 237, 0.08),
      transparent 70%
    );
  transition: opacity 0.6s ease;
  will-change: background-position;
  /* Drift permanent très lent quand la souris est immobile */
  animation: hero-fog-drift 18s ease-in-out infinite;
}
.hero-fog.is-on { opacity: 1; }

@keyframes hero-fog-drift {
  0%, 100% { transform: translate3d(-2%, -1%, 0); }
  50%      { transform: translate3d( 2%,  1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-fog { animation: none; }
}

/* ═══════════════════════════════════════════════════════════
   FOUNDER CERTIFICATIONS — petits badges sous la bio Yanis
   ═══════════════════════════════════════════════════════════ */
.founder-certs {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.founder-cert {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(196, 181, 253, 0.28);
  color: var(--cream-soft);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.founder-cert:hover {
  background: rgba(124, 58, 237, 0.22);
  border-color: rgba(196, 181, 253, 0.55);
}
.founder-cert-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet-3), var(--violet));
  box-shadow: 0 0 8px rgba(196, 181, 253, 0.6);
}

/* ═══════════════════════════════════════════════════════════
   SECTION HEAD — eyebrow + lead (réutilisé sur Références, Sécurité, FAQ)
   ═══════════════════════════════════════════════════════════ */
.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet-3);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.section-lead {
  max-width: 640px;
  margin: 1rem auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.1rem);
  line-height: 1.6;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   RÉFÉRENCES — 3 cards verticales, CTA d'appel direct
   ═══════════════════════════════════════════════════════════ */
.references { padding-block: clamp(4rem, 8vw, 7rem); }
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.ref-card {
  position: relative;
  display: flex;
  flex-direction: column;
  /* Fond solide opaque : 0 backdrop-filter (gain perf scroll majeur) */
  background: linear-gradient(180deg, rgba(28, 16, 56, 0.92), rgba(14, 8, 32, 0.96));
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 18px;
  padding: 1.6rem 1.4rem 1.4rem;
  transition: transform 0.5s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.ref-card:hover {
  border-color: rgba(196, 181, 253, 0.5);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.22);
}
.ref-card-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}
.ref-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.06);
  padding: 5px;
}
.ref-meta { display: flex; flex-direction: column; gap: 2px; }
.ref-company { font-weight: 700; font-size: 1rem; color: var(--fg); }
.ref-sector { font-size: 0.78rem; color: var(--muted); }
.ref-quote {
  margin: 0 0 1.2rem;
  padding: 0;
  border-left: 2px solid var(--violet);
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-style: italic;
  line-height: 1.55;
  font-size: 0.95rem;
  flex: 1;
}
.ref-quote em { color: var(--violet-3); font-style: italic; }
.ref-person {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-block: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ref-person-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: linear-gradient(135deg, var(--violet), var(--violet-deep));
  color: #fff;
  font-size: 0.95rem;
}
.ref-person-meta { display: flex; flex-direction: column; gap: 1px; }
.ref-person-name { font-weight: 600; font-size: 0.92rem; }
.ref-person-role { font-size: 0.75rem; color: var(--muted); }
.ref-actions { display: flex; gap: 0.6rem; margin-top: 0.4rem; }
.ref-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  background: linear-gradient(135deg, var(--violet), var(--violet-2));
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s ease;
}
.ref-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(124, 58, 237, 0.45); }
.ref-stat {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--cream);
  background: rgba(124, 58, 237, 0.25);
  border: 1px solid rgba(196, 181, 253, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
}
.ref-disclaimer {
  margin-top: 2.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 720px;
  margin-inline: auto;
}
.ref-disclaimer a { color: var(--violet-3); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   SÉCURITÉ — 6 cards icône + titre + description
   ═══════════════════════════════════════════════════════════ */
.trust { padding-block: clamp(4rem, 8vw, 7rem); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  margin-top: 3rem;
}
.trust-card {
  background: rgba(15, 8, 30, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 16px;
  padding: 1.6rem 1.4rem;
  transition: transform 0.5s var(--ease), border-color 0.3s ease;
}
.trust-card:hover {
  border-color: rgba(196, 181, 253, 0.45);
  transform: translateY(-3px);
}
.trust-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.25), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(196, 181, 253, 0.3);
  display: grid;
  place-items: center;
  color: var(--violet-3);
  margin-bottom: 1.1rem;
}
.trust-title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--fg);
}
.trust-desc {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
}
.trust-desc strong { color: var(--cream); font-weight: 600; }
.trust-footer {
  margin-top: 2.5rem;
  text-align: center;
}
.trust-footer-text {
  display: inline-block;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.10);
  border: 1px solid rgba(196, 181, 253, 0.22);
  color: var(--muted);
  font-size: 0.88rem;
}
.trust-footer-text strong { color: var(--cream); }

/* ═══════════════════════════════════════════════════════════
   FAQ — accordéon natif <details>
   ═══════════════════════════════════════════════════════════ */
.faq { padding-block: clamp(4rem, 8vw, 7rem); }
.faq-list {
  max-width: 820px;
  margin: 3rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.faq-item {
  background: rgba(15, 8, 30, 0.55);
  border: 1px solid rgba(167, 139, 250, 0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.faq-item[open] { border-color: rgba(196, 181, 253, 0.45); }
.faq-q {
  cursor: pointer;
  list-style: none;
  padding: 1.2rem 1.5rem 1.2rem 1.4rem;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--fg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: "+";
  display: inline-block;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  color: var(--violet-3);
  text-align: center;
  font-size: 1.4rem;
  line-height: 26px;
  transition: transform 0.3s var(--ease-spring), background 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-q::after {
  transform: rotate(45deg);
  background: rgba(124, 58, 237, 0.4);
}
.faq-a {
  padding: 0 1.4rem 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.faq-a strong { color: var(--cream); }

/* ═══════════════════════════════════════════════════════════
   FOOTER PRO — grid 4 colonnes + bottom + panneaux légaux
   ═══════════════════════════════════════════════════════════ */
.site-footer {
  border-top: 1px solid rgba(167, 139, 250, 0.18);
  margin-top: 3rem;
  padding-block: 3.5rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(15, 8, 30, 0.5));
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col--brand { grid-column: 1 / -1; }
}
.footer-col { display: flex; flex-direction: column; gap: 0.7rem; }
.brand--footer {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--fg);
}
.footer-tagline {
  margin: 0.3rem 0 0;
  font-style: italic;
  color: var(--violet-3);
  font-size: 0.95rem;
}
.footer-mission {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
  max-width: 320px;
}
.footer-heading {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-3);
  font-weight: 700;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--fg); }
.footer-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(124, 58, 237, 0.25);
  color: var(--violet-3);
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 6px;
  vertical-align: middle;
}
.footer-clocks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-clocks li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.15);
}
.footer-clock-city { color: var(--muted); font-size: 0.85rem; }
.footer-clock-time {
  font-family: var(--font-mono);
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(167, 139, 250, 0.12);
}
.footer-copy { margin: 0; color: var(--muted); font-size: 0.82rem; }
.footer-legal {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}
.footer-legal a {
  color: var(--muted);
  font-size: 0.82rem;
  transition: color 0.2s ease;
}
.footer-legal a:hover { color: var(--violet-3); }
.footer-legal-panel {
  max-width: 1080px;
  margin: 1.5rem auto 0;
  padding: 0 20px;
  scroll-margin-top: 90px;
}
.footer-legal-panel summary {
  cursor: pointer;
  padding: 0.8rem 1rem;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 8px;
  color: var(--violet-3);
  font-size: 0.88rem;
  font-weight: 600;
  list-style: none;
}
.footer-legal-panel summary::-webkit-details-marker { display: none; }
.footer-legal-content {
  padding: 1rem 1rem 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.7;
}
.footer-legal-content a { color: var(--violet-3); text-decoration: underline; }
.footer-legal-content strong { color: var(--cream); }

/* ─────────────────────────────────────────────────────────
   PERFORMANCE — content-visibility:auto
   Le navigateur SAUTE complètement layout/paint/composite
   des sections hors-écran. Sur cette page très chargée
   (29 blur + 15 backdrop-filter), c'est le levier #1 de
   fluidité. `contain-intrinsic-size` réserve la place
   pour empêcher les sauts de scroll lors du mount/unmount.
   ───────────────────────────────────────────────────────── */
.statement,
.kinetic,
.section.procedure,
.section.services,
.section.projects,
.section.about,
.section.references,
.section.trust,
.section.faq,
.section.contact {
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}
/* On NE met PAS content-visibility sur .hero — il doit être prêt
   immédiatement (au-dessus du pli). */

/* ─────────────────────────────────────────────────────────
   ÉTOILES BRILLANTES — boost visuel du starfield existant
   La logique de scintillement est dans script.js (canvas).
   Ici on rend le canvas plus présent + on ajoute un léger
   bloom additif via mix-blend-mode (zéro coût composite).
   ───────────────────────────────────────────────────────── */
.starfield {
  mix-blend-mode: screen;
  opacity: 0.95;
}



