/* ==========================================================================
   Mvrius — feuille de style principale
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #07080c;
  --bg-elev: #0d0f17;
  --surface: rgba(255, 255, 255, .03);
  --surface-2: rgba(255, 255, 255, .06);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0f8;
  --muted: #9ba3ba;
  --dim: #646b80;
  --accent: #8b9bff;
  --accent-2: #c3a6ff;
  --accent-3: #6ee7ff;
  --grad: linear-gradient(110deg, #8b9bff 0%, #c3a6ff 50%, #6ee7ff 100%);
  --online: #3ddc84;

  --font-display: "Bricolage", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* grain */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: rgba(139, 155, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(90px, 13vw, 170px); position: relative; }

.skip {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600;
  transform: translateY(-150%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* ---------- Typo ---------- */
em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.title em { font-size: 1.08em; }
.section__head { max-width: 760px; margin-bottom: clamp(48px, 7vw, 80px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--row .section__lead { max-width: 380px; margin: 0; }
.section__lead { margin-top: 24px; color: var(--muted); font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 560px; }

/* ---------- Boutons ---------- */
.btn {
  --pad-y: 16px; --pad-x: 26px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600; font-size: 15px; line-height: 1;
  white-space: nowrap;
  isolation: isolate;
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .4s var(--ease), border-color .3s, color .3s;
  will-change: transform;
}
.btn > * { position: relative; z-index: 1; }
.btn .ico { transition: transform .45s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--text); color: #0a0b12; box-shadow: 0 10px 40px -10px rgba(139, 155, 255, .55); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: var(--grad);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
  border-radius: inherit;
}
.btn--primary:hover::before { transform: none; }
.btn--primary:hover { box-shadow: 0 16px 50px -10px rgba(139, 155, 255, .8); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); }
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  background: rgba(255, 255, 255, .07);
  transform: scale(.4); opacity: 0;
  transition: transform .5s var(--ease), opacity .4s;
}
.btn--ghost:hover::before { transform: none; opacity: 1; }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .3); }
.btn--sm { --pad-y: 11px; --pad-x: 20px; font-size: 14px; }
.btn--lg { --pad-y: 20px; --pad-x: 32px; font-size: 16px; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js:not(.intro-seen):not(.reduced) .loader {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px;
  background: var(--bg);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1s var(--ease-io);
}
.loader.is-done { clip-path: inset(0 0 100% 0) !important; }
.loader__word { display: flex; overflow: hidden; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 12vw, 9rem); letter-spacing: -.05em; line-height: 1; padding-bottom: .06em; }
.loader__word span { display: inline-block; transform: translateY(110%); animation: rise .9s var(--ease) forwards; }
.loader__word span:nth-child(2) { animation-delay: .06s; }
.loader__word span:nth-child(3) { animation-delay: .12s; }
.loader__word span:nth-child(4) { animation-delay: .18s; }
.loader__word span:nth-child(5) { animation-delay: .24s; }
.loader__word span:nth-child(6) { animation-delay: .30s; }
.loader__meta { display: flex; justify-content: space-between; width: min(360px, 70vw); color: var(--muted); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.loader__bar { width: min(360px, 70vw); height: 1px; background: var(--line-2); overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
@keyframes rise { to { transform: none; } }

/* ---------- Barre de progression & curseur ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.cursor { display: none; }
.has-cursor .cursor { display: block; position: fixed; top: 0; left: 0; z-index: 130; pointer-events: none; }
.cursor__ring {
  position: absolute; left: -18px; top: -18px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .45);
  display: grid; place-items: center;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor__label { font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #0a0b12; opacity: 0; transition: opacity .2s; }
.cursor.is-hover .cursor__ring { transform: scale(1.6); background: rgba(139, 155, 255, .12); border-color: rgba(139, 155, 255, .7); }
.cursor.is-label .cursor__ring { transform: scale(2.4); background: var(--text); border-color: transparent; }
.cursor.is-label .cursor__label { opacity: 1; }
.cursor.is-hidden .cursor__ring { opacity: 0; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 14px var(--gutter);
  transition: transform .6s var(--ease), padding .4s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.nav__inner {
  max-width: var(--container); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 10px 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background-color .4s, border-color .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.is-scrolled .nav__inner {
  background: rgba(13, 15, 23, .72);
  border-color: var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.avatar { position: relative; display: grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--grad); color: #0a0b12; flex: none; }
.avatar--sm { width: 36px; height: 36px; font-size: 16px; font-weight: 800; }
.avatar--xs { width: 24px; height: 24px; font-size: 11px; font-weight: 800; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.avatar__fallback { font-family: var(--font-display); }

.nav__links { position: relative; display: flex; gap: 4px; margin-left: auto; }
.nav__links a {
  position: relative; display: block; overflow: hidden;
  height: 40px; padding: 0 14px;
  font-size: 14.5px; font-weight: 500; line-height: 40px; color: var(--muted);
}
.nav__links a span { display: block; text-shadow: 0 40px 0 var(--text); transition: transform .5s var(--ease); }
.nav__links a:hover span { transform: translateY(-40px); }
.nav__links a.is-active span { color: var(--text); }
.nav__indicator {
  position: absolute; bottom: 2px; left: 0; height: 2px; width: 0; border-radius: 2px;
  background: var(--grad);
  opacity: 0;
  transition: transform .6s var(--ease), width .6s var(--ease), opacity .3s;
}
.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--text); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 99;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: rgba(7, 8, 12, .96);
  backdrop-filter: blur(20px);
  clip-path: circle(0 at calc(100% - 44px) 44px);
  visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 44px); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px;
  padding: 10px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -.03em; line-height: 1.1;
  opacity: 0; transform: translateY(30px);
  transition: opacity .5s, transform .7s var(--ease);
}
.menu__links small { font-family: var(--font-body); font-size: 12px; color: var(--accent); font-weight: 600; }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(1) { transition-delay: .15s; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .2s; }
.menu-open .menu__links a:nth-child(3) { transition-delay: .25s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .3s; }
.menu-open .menu__links a:nth-child(5) { transition-delay: .35s; }
.menu-open .menu__links a:nth-child(6) { transition-delay: .4s; }
.menu__foot { margin-top: 32px; color: var(--muted); font-size: 14px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: 130px 0 110px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.aurora span {
  position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
  opacity: .55;
  will-change: transform;
}
.aurora span:nth-child(1) { top: -35vmax; left: -20vmax; background: radial-gradient(closest-side, rgba(139, 155, 255, .45), transparent); animation: drift1 22s ease-in-out infinite alternate; }
.aurora span:nth-child(2) { top: -10vmax; right: -30vmax; background: radial-gradient(closest-side, rgba(195, 166, 255, .35), transparent); animation: drift2 26s ease-in-out infinite alternate; }
.aurora span:nth-child(3) { bottom: -45vmax; left: 20vw; background: radial-gradient(closest-side, rgba(110, 231, 255, .22), transparent); animation: drift3 30s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 12vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-16vw, 18vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -14vh) scale(1.2); } }
.gridlines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 10%, transparent 75%);
  opacity: .7;
}
.hero__spot {
  position: absolute; inset: 0;
  background: radial-gradient(500px circle at var(--sx, 50%) var(--sy, 40%), rgba(139, 155, 255, .12), transparent 60%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__copy { position: relative; z-index: 2; }

.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; margin-bottom: 30px;
  border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(255, 255, 255, .03);
  font-size: 13.5px; color: var(--muted);
  backdrop-filter: blur(8px);
}
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--online); flex: none; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--online); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3); opacity: 0; } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 6.1vw, 5rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0 .1em .1em 0; margin-bottom: -.1em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-size: 1.1em; letter-spacing: -.02em; }
.accent-dot { color: var(--accent); }
.hero__lead { margin-top: 30px; max-width: 520px; color: var(--muted); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.7; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.trust { display: flex; align-items: center; gap: 16px; margin-top: 36px; max-width: 540px; }
.trust__avatars { display: flex; flex: none; }
.trust__avatars span {
  --h: 232;
  width: 34px; height: 34px; border-radius: 50%; margin-left: -10px;
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  background: hsl(var(--h) 45% 30%); color: hsl(var(--h) 90% 88%);
  border: 2px solid var(--bg);
}
.trust__avatars span:first-child { margin-left: 0; background: #0b1f3f; }
.trust__avatars img { width: 100%; height: 100%; object-fit: cover; }
.trust p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.trust b { color: var(--text); font-weight: 600; }
.is-ready .trust[data-hero] { transition-delay: .75s; }

/* Intro du hero (uniquement si JS) */
.js .hero__title .line > span { transform: translateY(115%) rotate(4deg); transform-origin: left bottom; }
.js [data-hero] { opacity: 0; transform: translateY(24px); }
.js .hero__visual { opacity: 0; transform: translateY(40px) scale(.96); }
.is-ready .hero__title .line > span { transform: none; transition: transform 1.2s var(--ease) calc(var(--i) * 110ms + 100ms); }
.is-ready [data-hero] { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-ready .pill[data-hero] { transition-delay: 0s; }
.is-ready .hero__lead[data-hero] { transition-delay: .45s; }
.is-ready .hero__cta[data-hero] { transition-delay: .6s; }
.is-ready .hero__visual { opacity: 1; transform: none; transition: opacity 1.2s var(--ease) .35s, transform 1.4s var(--ease) .35s; }

/* Maquette Discord */
.hero__visual { position: relative; z-index: 1; perspective: 1400px; }
.mock {
  --rx: 6deg; --ry: -10deg;
  position: relative;
  display: grid; grid-template-columns: 58px 180px 1fr; grid-template-rows: minmax(0, 1fr);
  height: 440px;
  border-radius: 20px;
  background: rgba(16, 18, 27, .78);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset, 0 0 120px -40px rgba(139, 155, 255, .45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  overflow: hidden;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotateX(var(--rx)) rotateY(var(--ry));
  font-size: 13px;
}
.mock::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255, 255, 255, .06), transparent 40%); pointer-events: none; }
.mock__rail { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; background: rgba(0, 0, 0, .25); }
.srv {
  --h: 232;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  background: hsl(var(--h) 30% 22%); color: hsl(var(--h) 90% 85%);
  transition: border-radius .3s;
}
.srv.is-active { border-radius: 12px; background: var(--grad); color: #0a0b12; box-shadow: 0 0 0 3px rgba(139, 155, 255, .25); }
.srv--img { overflow: hidden; padding: 0; background: #0b1f3f; }
.srv--img img { width: 100%; height: 100%; object-fit: cover; }
.srv--img.is-active { background: #0b1f3f; box-shadow: 0 0 0 3px rgba(139, 155, 255, .25); }
.srv--home { background: #5865f2; color: #fff; border-radius: 12px; }
.srv--home svg { width: 20px; height: 20px; fill: currentColor; }
.srv--add { background: rgba(61, 220, 132, .12); color: var(--online); font-family: var(--font-body); font-weight: 400; font-size: 20px; }
.srv__sep { width: 22px; height: 2px; border-radius: 2px; background: var(--line-2); }
.mock__channels { display: flex; flex-direction: column; min-height: 0; padding: 14px 10px; background: rgba(0, 0, 0, .12); border-right: 1px solid var(--line); overflow: hidden; }
/* Liste « défilée » : le salon actif, en bas, reste toujours visible */
.mock__list { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.mock__server { font-weight: 700; font-size: 13.5px; padding: 2px 8px 12px; margin: 0 -10px 10px; border-bottom: 1px solid var(--line); padding-left: 18px; white-space: nowrap; }
.mock__cat { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); padding: 9px 8px 3px; flex: none; }
.ch { display: flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 6px; color: var(--muted); white-space: nowrap; font-size: 12px; line-height: 1.45; flex: none; }
.ch svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; opacity: .6; flex: none; }
.ch.is-active { background: rgba(255, 255, 255, .07); color: var(--text); }
.mock__chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.mock__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mock__head > span:first-child { display: flex; align-items: center; gap: 6px; }
.mock__head svg { width: 16px; height: 16px; fill: none; stroke: var(--dim); stroke-width: 2; }
.mock__online { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 12px; color: var(--muted); }
.mock__online svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.mock__online b { font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.mock__msgs { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 14px 16px; overflow: hidden; }
.mock__input { margin: 0 14px 14px; padding: 11px 14px; border-radius: 10px; background: rgba(255, 255, 255, .05); color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.msg { display: grid; grid-template-columns: 34px 1fr; gap: 10px; animation: msgIn .6s var(--ease) both; }
.msg.is-out { animation: msgOut .45s var(--ease) forwards; }
@keyframes msgIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes msgOut { to { opacity: 0; transform: translateY(-10px); } }
.msg__av { --h: 232; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: hsl(var(--h) 55% 62%); color: #0a0b12; }
.msg__av--me { background: var(--grad); }
.msg__name { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13px; line-height: 1.3; }
.msg__name time { font-weight: 400; font-size: 11px; color: var(--dim); }
.msg__tag { font-size: 9.5px; font-weight: 700; padding: 1px 5px; border-radius: 4px; background: #5865f2; color: #fff; letter-spacing: .02em; }
.msg__tag--mod { background: rgba(139, 155, 255, .2); color: var(--accent); }
.msg__text { color: #d5d9e6; line-height: 1.45; margin-top: 2px; }
.msg__text b { color: var(--accent); font-weight: 500; background: rgba(139, 155, 255, .14); padding: 0 3px; border-radius: 4px; }
.msg__react { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 2px 8px; border-radius: 8px; border: 1px solid rgba(139, 155, 255, .4); background: rgba(139, 155, 255, .12); font-size: 12px; animation: pop .5s var(--ease) .5s both; }
@keyframes pop { from { transform: scale(0); opacity: 0; } }
.typing { display: flex; align-items: center; gap: 8px; color: var(--dim); font-size: 12px; animation: msgIn .4s var(--ease) both; }
.typing i { display: inline-flex; gap: 3px; }
.typing i span { width: 5px; height: 5px; border-radius: 50%; background: var(--muted); animation: bounce 1.2s infinite; }
.typing i span:nth-child(2) { animation-delay: .15s; }
.typing i span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(20, 22, 33, .82);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13.5px; font-weight: 600;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, .7);
  white-space: nowrap;
}
.chip .ico { color: var(--accent); }
.chip--a { top: -22px; left: -26px; }
.chip--b { bottom: -22px; right: 28px; }
.chip--c { top: 64px; right: -40px; }
.chip > * { pointer-events: none; }
.chip { animation: float 6s ease-in-out infinite; }
.chip--b { animation-delay: -2s; }
.chip--c { animation-delay: -4s; }
@keyframes float { 50% { translate: 0 -10px; } }

.scroll-cue {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim);
}
.scroll-cue__line { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue__line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--grad); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* ---------- Marquee ---------- */
.marquee-wrap { overflow: hidden; padding-block: 28px; margin-block: -28px; position: relative; z-index: 2; }
.marquee {
  position: relative;
  padding: 26px 0;
  border-block: 1px solid var(--line);
  background: var(--bg-elev);
  overflow: hidden;
  transform: rotate(-1.5deg);
  width: 104%; margin-left: -2%;
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 3.4rem); letter-spacing: -.03em; line-height: 1.1; white-space: nowrap; }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1px rgba(238, 240, 248, .45); }
.marquee__track .star { width: 28px; height: 28px; fill: var(--accent); stroke: none; flex: none; animation: spin 8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Révélations au scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal].revealed { transition-delay: 0s; }
.js .card.revealed { transition: transform .6s var(--ease), border-color .4s; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .12em 0; margin: 0 -.08em -.12em 0; }
.w > span { display: inline-block; }
.js [data-split] .w > span { transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.js [data-split].is-in .w > span { transform: none; }
.is-split em { background: none; color: inherit; padding-right: 0; }
.is-split em .w > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nw { white-space: nowrap; }

/* ---------- Cartes & spotlight ---------- */
.spotlight { position: relative; isolation: isolate; }
.spotlight::before, .spotlight::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .5s; }
.spotlight::before { z-index: -1; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 155, 255, .13), transparent 45%); }
.spotlight::after {
  padding: 1px;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(195, 166, 255, .75), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spotlight:hover::before, .spotlight:hover::after { opacity: 1; }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  display: flex; flex-direction: column;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  transition: transform .6s var(--ease), border-color .4s, opacity 1s var(--ease);
}
.js .card[data-reveal].is-in:hover { transform: translateY(-8px); }
.card:hover { border-color: transparent; }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 46px; }
.card__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: rgba(139, 155, 255, .1); border: 1px solid rgba(139, 155, 255, .25);
  color: var(--accent); font-size: 22px;
  transition: transform .6s var(--ease), background-color .4s, color .4s;
}
.card:hover .card__icon { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #0a0b12; }
.card__num { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--dim); }
.card h3 { font-family: var(--font-display); font-weight: 650; font-size: 1.35rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 14px; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.6; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 24px; }
.tags li { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--muted); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }

/* ---------- Méthode ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps__rail { position: absolute; top: 27px; left: 28px; right: 28px; height: 1px; background: var(--line-2); }
.steps__rail span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; }
.step__dot {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); border: 1px solid var(--line-2);
  color: var(--dim); font-size: 20px;
  transition: color .5s, border-color .5s, box-shadow .5s, background-color .5s;
}
.step.is-lit .step__dot { color: #0a0b12; background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 6px rgba(139, 155, 255, .15), 0 0 40px rgba(139, 155, 255, .5); }
.step__num { margin-top: 28px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--accent); }
.step h3 { margin-top: 8px; font-family: var(--font-display); font-weight: 650; font-size: 1.4rem; letter-spacing: -.02em; }
.step p:last-child { margin-top: 10px; color: var(--muted); font-size: 15px; }
.js .step { opacity: .35; transition: opacity .6s; }
.js .step.is-lit { opacity: 1; }

/* ---------- Projets ---------- */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: 26px; overflow: hidden;
  background: var(--bg-elev); border: 1px solid var(--line);
}
.js .project.revealed { transition: transform .6s var(--ease), border-color .4s; }
.js .project.revealed:hover { transform: translateY(-6px); }
.project:hover { border-color: transparent; }
.project__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.project__cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(circle at 15% 10%, color-mix(in srgb, var(--c1) 60%, transparent), transparent 55%),
    radial-gradient(circle at 90% 95%, color-mix(in srgb, var(--c2) 55%, transparent), transparent 55%),
    #0f1119;
}
.project__cover::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
}
.project__shot {
  position: absolute; left: 50%; top: 16%;
  width: 84%; height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, .85), 0 0 0 6px rgba(255, 255, 255, .03);
  transform: translate3d(-50%, var(--py, 0px), 0) rotate(-2.5deg);
  transition: transform .9s var(--ease), top .9s var(--ease);
  will-change: transform;
}
.project:hover .project__shot { top: 11%; transform: translate3d(-50%, var(--py, 0px), 0) rotate(0) scale(1.03); }
.srv-card__role {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(10, 11, 18, .55); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600;
}
.srv-card__role i { width: 9px; height: 9px; border-radius: 50%; background: var(--c1); box-shadow: 0 0 10px var(--c1); }

.project__badge {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .7);
  transition: transform .6s var(--ease);
}
.project:hover .project__badge { transform: scale(1.08) rotate(-6deg); }
.project__bg {
  position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px);
  object-fit: cover;
  filter: blur(22px) saturate(1.3) brightness(.5);
}
.profile-card { top: 12%; overflow: hidden; background: #111214; }
.project:hover .profile-card { top: 8%; }
.profile-card__banner { display: block; width: 100%; height: auto; aspect-ratio: 300 / 93; object-fit: cover; }
.profile-card__row { margin-top: -40px; padding: 0 20px 20px; }
.profile-card__avatar { position: relative; width: 80px; height: 80px; border-radius: 50%; border: 5px solid #111214; background: #111214; }
.profile-card__info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
.profile-card__info strong { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -.02em; }
.project__body { position: relative; padding: 28px 30px 32px; border-top: 1px solid var(--line); }
.project__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.project__meta span { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--muted); border: 1px solid var(--line-2); }
.project__meta .is-role { color: #0a0b12; background: var(--grad); border-color: transparent; font-weight: 600; }
.project h3 { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 650; font-size: clamp(1.6rem, 2.4vw, 2rem); letter-spacing: -.025em; margin-bottom: 12px; }
.project h3 .ico { font-size: .8em; color: var(--accent); transition: transform .5s var(--ease); }
.project:hover h3 .ico { transform: translate(3px, -3px); }
.project__body > p:last-child { color: var(--muted); font-size: 15.5px; max-width: 520px; }

.project-cta {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 22px; padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 48px);
  border-radius: 26px;
  border: 1px dashed rgba(139, 155, 255, .35);
  background: linear-gradient(110deg, rgba(139, 155, 255, .12), rgba(195, 166, 255, .05) 55%, transparent), var(--bg-elev);
}
.project-cta__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.1; letter-spacing: -.03em; }
.project-cta__btn { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--text); color: #0a0b12; font-size: 26px; transition: transform .6s var(--ease); }
.project-cta:hover .project-cta__btn { transform: rotate(45deg) scale(1.08); }

/* ---------- Avis (carrousel) ---------- */
.t-nav { display: flex; gap: 10px; }
.t-nav__btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); font-size: 20px;
  transition: background-color .3s, color .3s, border-color .3s, transform .5s var(--ease);
}
.t-nav__btn:hover { background: var(--text); color: #0a0b12; border-color: var(--text); }
.t-nav__btn:active { transform: scale(.92); }
.js-t-prev .ico { transform: rotate(180deg); }

.testimonials__stage { display: grid; touch-action: pan-y; }
.testimonial {
  grid-area: 1 / 1;
  position: relative;
  padding: clamp(30px, 5vw, 60px);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  border: 1px solid var(--line);
  opacity: 0; visibility: hidden;
  transform: translateX(var(--from, 48px)) scale(.98);
  transition: opacity .5s var(--ease), transform .8s var(--ease), visibility 0s .8s;
}
.testimonial.is-active {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .8s var(--ease) .15s, transform 1s var(--ease) .15s, visibility 0s;
}
.testimonial__quote { width: clamp(36px, 4vw, 48px); height: clamp(36px, 4vw, 48px); margin-bottom: 26px; fill: var(--accent); stroke: none; }
.testimonial__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.45; letter-spacing: -.015em; max-width: 920px; }
.js .testimonial .w > span { transform: translateY(110%); transition: transform .8s var(--ease); }
.js .testimonial.is-active .w > span { transform: none; transition-delay: calc(var(--i, 0) * 12ms + 250ms); }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.review__av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--grad); color: #0a0b12; font-family: var(--font-display); font-weight: 700; font-size: 18px; flex: none; }
.review__av img { width: 100%; height: 100%; object-fit: cover; }
.testimonial figcaption b { display: block; font-weight: 600; font-size: 16px; }
.testimonial figcaption small { display: block; color: var(--muted); font-size: 14px; }

.t-dots { display: flex; gap: 8px; margin-top: 22px; }
.t-dot { display: grid; align-items: center; width: 52px; height: 28px; }
.t-dot::before, .t-dot span { grid-area: 1 / 1; height: 3px; border-radius: 3px; }
.t-dot::before { content: ""; background: var(--line-2); transition: background-color .3s; }
.t-dot:hover::before { background: rgba(255, 255, 255, .3); }
.t-dot span { background: var(--grad); transform-origin: left; transform: scaleX(0); }
.t-dot.is-active span { animation: tProgress var(--t-duration, 9s) linear forwards; }
.testimonials.is-paused .t-dot.is-active span,
.testimonials.is-offscreen .t-dot.is-active span { animation-play-state: paused; }
.reduced .t-dot.is-active span { animation: none; transform: scaleX(1); }
@keyframes tProgress { to { transform: scaleX(1); } }

/* ---------- Réseaux ---------- */
.social-list { border-bottom: 1px solid var(--line); }
.social {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(16px, 3vw, 32px);
  padding: clamp(18px, 2.4vw, 28px) clamp(8px, 2vw, 24px);
  border-top: 1px solid var(--line);
  transition: color .5s var(--ease);
}
.social::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--brand);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.social:hover::before, .social:focus-visible::before { transform: scaleY(1); transform-origin: top; }
.social:hover, .social:focus-visible { color: var(--brand-ink); }
.social__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2); background: var(--surface);
  transition: transform .6s var(--ease), background-color .4s, border-color .4s;
}
.social__icon svg { width: 24px; height: 24px; fill: currentColor; }
.social__icon .ico { fill: none; }
.social:hover .social__icon { transform: rotate(-10deg) scale(1.05); background: rgba(255, 255, 255, .15); border-color: transparent; }
.social__name { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4.4vw, 3.4rem); letter-spacing: -.04em; line-height: 1; transition: transform .6s var(--ease); }
.social:hover .social__name { transform: translateX(12px); }
.social__handle { color: var(--muted); font-size: 15px; transition: color .4s, opacity .4s; }
.social:hover .social__handle { color: inherit; opacity: .8; }
.social__arrow { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); font-size: 22px; transition: transform .6s var(--ease), border-color .4s; }
.social:hover .social__arrow { transform: rotate(45deg); border-color: currentColor; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; padding-block: clamp(120px, 16vw, 220px); text-align: center; border-top: 1px solid var(--line); }
.contact__bg { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line); animation: spin linear infinite; }
.orbit span { position: absolute; top: 50%; left: -5px; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.orbit--1 { width: 520px; height: 520px; animation-duration: 28s; }
.orbit--2 { width: 820px; height: 820px; animation-duration: 40s; animation-direction: reverse; }
.orbit--2 span:last-child { left: auto; right: -5px; background: var(--accent-3); box-shadow: 0 0 20px var(--accent-3); }
.orbit--3 { width: 1140px; height: 1140px; animation-duration: 60s; }
.orbit--3 span { background: var(--accent-2); box-shadow: 0 0 20px var(--accent-2); }
.contact__glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 155, 255, .28), transparent); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); } }
.contact__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.contact__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 7.6vw, 6.6rem); line-height: 1; letter-spacing: -.045em; max-width: 1000px; text-wrap: balance; }
.contact__title em { font-size: 1.06em; }
.contact__lead { margin-top: 28px; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }
.contact__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 44px; }
.contact__cta .btn .ico, .contact__cta .btn:hover .ico { transform: none; }
.ico--fill { fill: currentColor; stroke: none; }
.copy {
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 10px 12px 10px 18px;
  border-radius: 999px; border: 1px solid var(--line);
  color: var(--muted); font-size: 15px;
  transition: color .3s, border-color .3s, background-color .3s;
}
.copy:hover { color: var(--text); border-color: var(--line-2); background: var(--surface); }
.copy__icon { position: relative; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); }
.copy__icon .ico { position: absolute; transition: transform .45s var(--ease), opacity .3s; }
.copy__ok { color: var(--online); opacity: 0; transform: scale(.4); }
.copy.is-copied .copy__ico { opacity: 0; transform: scale(.4) rotate(-45deg); }
.copy.is-copied .copy__ok { opacity: 1; transform: none; }
.copy__status {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  padding: 6px 12px; border-radius: 8px;
  background: var(--text); color: #0a0b12; font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; transform: translate(-50%, 6px); pointer-events: none;
  transition: opacity .3s, transform .45s var(--ease);
}
.copy__status:empty { display: none; }
.copy.is-copied .copy__status { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Footer ---------- */
.footer { position: relative; padding-top: 80px; border-top: 1px solid var(--line); background: var(--bg-elev); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { margin-top: 18px; color: var(--muted); max-width: 340px; font-size: 15px; }
.footer__title { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer__grid a:not(.brand) { display: flex; align-items: center; gap: 6px; width: max-content; color: var(--muted); font-size: 15px; padding: 4px 0; transition: color .3s, transform .4s var(--ease); }
.footer__grid a:not(.brand):hover { color: var(--text); transform: translateX(4px); }
.footer__top .ico { transition: transform .4s var(--ease); }
.footer__top:hover .ico { transform: translateY(-3px); }
.footer__word {
  display: flex; justify-content: center;
  margin-top: 60px;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(5rem, 23vw, 22rem); line-height: .8; letter-spacing: -.06em;
  overflow: hidden; padding-bottom: .02em;
  user-select: none;
}
.footer__word span {
  display: inline-block;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0) 85%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform 1.2s var(--ease), background-position .6s;
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js .footer__word span { transform: translateY(100%); }
.js .footer__word.is-in span { transform: none; }
.footer__word span:hover { background-image: var(--grad); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 26px 30px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .chip--a { left: -8px; }
  .chip--b { right: -8px; }
  .chip--c { right: -8px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .hero { padding-top: 120px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .mock { --rx: 0deg; --ry: 0deg; height: 380px; grid-template-columns: 52px 150px 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps__rail { display: none; }
  .project-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .hero { padding-bottom: 120px; }
  .mock { grid-template-columns: 1fr; height: 360px; }
  .mock__rail, .mock__channels { display: none; }
  .chip--a { top: -18px; left: 8px; }
  .chip--b { bottom: -18px; right: 8px; }
  .chip--c { display: none; }
  .scroll-cue { display: none; }
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .project-cta__btn { width: 52px; height: 52px; font-size: 22px; }
  .project__body { padding: 24px 22px 26px; }
  .project__cover { aspect-ratio: 4 / 3; }
  .profile-card__avatar { width: 68px; height: 68px; }
  .profile-card__row { margin-top: -34px; padding: 0 16px 16px; }
  .project__badge { width: 46px; height: 46px; top: 14px; left: 14px; }
  .social__handle { display: none; }
  .t-nav__btn { width: 46px; height: 46px; font-size: 18px; }
  .social { grid-template-columns: auto 1fr; }
  .social__arrow { display: none; }
  .social__icon { width: 46px; height: 46px; border-radius: 14px; }
  .orbit--1 { width: 340px; height: 340px; }
  .orbit--2 { width: 560px; height: 560px; }
  .contact__cta .btn { width: 100%; }
  .hero__cta .btn { --pad-x: 20px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
