/* Base minimal, premium, lisible */
:root {
  --bg: #07070a;
  --fg: rgba(246, 246, 248, 0.92);
  --muted: rgba(246, 246, 248, 0.72);
  --stroke: rgba(255, 255, 255, 0.12);
  --stroke2: rgba(255, 255, 255, 0.16);
  --violet: #7c5cff;
  --ease: cubic-bezier(0.2, 0.85, 0.2, 1);
  --ease2: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Offset pour nav sticky + respiration */
  scroll-padding-top: 24px;
  background: var(--bg);
}

body {
  margin: 0;
  padding: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--fg);
  background: var(--bg);
  position: relative;
  overflow-x: clip;
}

/* --- Loader + transition d'arrivée (global) --- */
.pageLoader {
  position: fixed;
  inset: 0;
  z-index: 100001;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms var(--ease2);
  background:
    radial-gradient(1200px 820px at 50% 35%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 720px at 18% 22%, rgba(188, 166, 255, 0.10), transparent 62%),
    radial-gradient(760px 560px at 86% 70%, rgba(124, 92, 255, 0.10), transparent 62%),
    linear-gradient(180deg, rgba(7, 7, 10, 0.96), rgba(5, 5, 9, 0.98));
  backdrop-filter: blur(10px);
  overflow: hidden;
  --lp: 0%;
}

html.is-booting .pageLoader {
  opacity: 1;
  pointer-events: auto;
}

html.is-booting {
  overflow: hidden;
}

.pageLoader__fx,
.pageLoader__grid,
.pageLoader__noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.pageLoader__fx {
  background:
    conic-gradient(from 210deg at 55% 45%, rgba(124, 92, 255, 0.18), transparent 35%, rgba(255, 255, 255, 0.04), transparent 70%, rgba(124, 92, 255, 0.14)),
    radial-gradient(70% 55% at 50% 28%, rgba(255, 255, 255, 0.045), transparent 70%),
    radial-gradient(1200px 800px at 50% 40%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.82) 72%);
  opacity: 0.92;
  filter: saturate(1.05);
  animation: pageLoaderDrift 12s var(--ease2) infinite alternate;
}

@keyframes pageLoaderDrift {
  from { transform: translate3d(-1.5%, -1.0%, 0) scale(1); }
  to   { transform: translate3d(1.5%, 1.2%, 0) scale(1.02); }
}

.pageLoader__grid {
  opacity: 0.20;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0px,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 72px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.045) 0px,
      rgba(255, 255, 255, 0.045) 1px,
      transparent 1px,
      transparent 72px
    );
  mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 52%, rgba(0,0,0,0.0) 76%);
  -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 52%, rgba(0,0,0,0.0) 76%);
  transform: translateZ(0);
}

.pageLoader__noise {
  opacity: 0.14;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.pageLoader__center {
  width: min(860px, 100%);
  padding: clamp(28px, 4vw, 56px);
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 12px;
  transform: translate3d(0, 14px, 0);
  filter: blur(6px);
  opacity: 0;
  transition:
    transform 820ms var(--ease2),
    filter 820ms var(--ease2),
    opacity 820ms var(--ease2);
}

html.is-booting .pageLoader__center {
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  opacity: 1;
}

.pageLoader__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    0 18px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
}

.pageLoader__mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  background: url("../assets/logo.png") center / contain no-repeat;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12);
  transform: translateY(1px);
}

.pageLoader__name {
  font-weight: 750;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(246, 246, 248, 0.90);
}

.pageLoader__headline {
  margin: 8px 0 6px;
  font-size: clamp(20px, 1.25vw + 16px, 28px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(246, 246, 248, 0.92);
  text-shadow: 0 0 28px rgba(124, 92, 255, 0.14), 0 18px 70px rgba(0, 0, 0, 0.55);
}

.pageLoader__progress {
  width: min(620px, 100%);
  display: grid;
  gap: 12px;
}

.pageLoader__progressTrack {
  height: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
}

.pageLoader__progressFill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--lp);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(124, 92, 255, 0.70), rgba(188, 166, 255, 0.40)),
    radial-gradient(120% 180% at 20% 20%, rgba(255, 255, 255, 0.18), transparent 62%);
  transition: width 260ms var(--ease2);
}

.pageLoader__progressSheen {
  position: absolute;
  inset: -40% -30%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.05) 34%, rgba(255, 255, 255, 0.14) 46%, rgba(188, 166, 255, 0.10) 52%, transparent 68%);
  transform: translate3d(-80%, 0, 0) rotate(8deg);
  opacity: 0.65;
  mix-blend-mode: screen;
  animation: pageLoaderSheen 1.35s var(--ease2) infinite;
}

@keyframes pageLoaderSheen {
  0% { transform: translate3d(-80%, 0, 0) rotate(8deg); }
  100% { transform: translate3d(80%, 0, 0) rotate(8deg); }
}

.pageLoader__progressMeta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.pageLoader__spinner {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(124, 92, 255, 0.90);
  animation: pageLoaderSpin 0.9s linear infinite;
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.14);
}

@keyframes pageLoaderSpin {
  to { transform: rotate(360deg); }
}

.pageLoader__hint {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.60);
}

.pageLoader__pct {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.68);
  font-variant-numeric: tabular-nums;
}

/* Cache le contenu pendant le boot, puis le révèle (évite le flash) */
html.is-booting body > main {
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  filter: blur(8px);
}

html.is-ready body > main {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
  transition:
    opacity 760ms var(--ease2),
    transform 760ms var(--ease2),
    filter 760ms var(--ease2);
}

/* Accueil : pas de translation sur main (évite un fin liseré en haut du hero) */
html.is-booting body > main:has(> .hero) {
  transform: none;
}

html.is-ready body > main:has(> .hero) {
  transform: none;
  transition:
    opacity 760ms var(--ease2),
    filter 760ms var(--ease2);
}

@media (prefers-reduced-motion: reduce) {
  .pageLoader,
  .pageLoader__center,
  html.is-ready body > main {
    transition: none !important;
  }
  .pageLoader__spinner,
  .pageLoader__fx,
  .pageLoader__progressSheen {
    animation: none !important;
  }
  html.is-booting body > main {
    transform: none !important;
    filter: none !important;
  }
}

/* --- Scroll snap vertical (sections clés) --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html {
  /* Desktop: pas de snap = inertie native bien fluide */
  scroll-snap-type: none;
}

@media (pointer: coarse) {
  html {
    /* Mobile: snap léger OK (plus contrôlable au doigt) */
    scroll-snap-type: y proximity;
  }
}

html.is-programmatic-scroll {
  /* Pendant un scroll déclenché par JS, on coupe le snap pour éviter l’overshoot */
  scroll-snap-type: none !important;
}

@media (pointer: coarse) {
  .hero,
  .about,
  .portfolio,
  .contact {
    scroll-snap-align: start;
  }
}

/* Scrollbar globale (premium, discret) */
* {
  scrollbar-color: rgba(124, 92, 255, 0.55) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(188, 166, 255, 0.65), rgba(124, 92, 255, 0.55));
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(188, 166, 255, 0.80), rgba(124, 92, 255, 0.70));
}

/* Curseur custom (activé via JS, desktop uniquement) */
body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  margin-left: -22px;
  margin-top: -22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(closest-side, rgba(124, 92, 255, 0.22), rgba(124, 92, 255, 0.04) 60%, transparent 72%);
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.12) inset,
    0 0 34px rgba(124, 92, 255, 0.18);
  backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 160ms var(--ease2);
  will-change: transform;
}

.cursorDot {
  position: fixed;
  left: 0;
  top: 0;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  margin-top: -2px;
  border-radius: 999px;
  background: rgba(188, 166, 255, 0.78);
  box-shadow:
    0 0 0 2px rgba(124, 92, 255, 0.10),
    0 0 18px rgba(124, 92, 255, 0.22);
  filter: blur(0.1px);
  pointer-events: none;
  z-index: 100000;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 160ms var(--ease2);
  will-change: transform;
}

body.has-custom-cursor .cursor,
body.has-custom-cursor .cursorDot {
  opacity: 1;
}

.toTop {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.46);
  color: rgba(246, 246, 248, 0.88);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
  backdrop-filter: blur(10px);
  transform: translate3d(0, 10px, 0);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 220ms var(--ease2),
    opacity 220ms var(--ease2),
    border-color 220ms var(--ease2),
    box-shadow 220ms var(--ease2),
    background-color 220ms var(--ease2);
}

.toTop.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.toTop:hover {
  transform: translate3d(0, -2px, 0);
  border-color: rgba(124, 92, 255, 0.50);
  background: rgba(0, 0, 0, 0.40);
  box-shadow:
    0 28px 88px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(124, 92, 255, 0.14) inset,
    0 0 44px rgba(124, 92, 255, 0.12);
}

.toTop:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow:
    0 0 0 4px rgba(124, 92, 255, 0.18),
    0 0 54px rgba(124, 92, 255, 0.14);
}

.toTop__icon {
  width: 14px;
  height: 14px;
  position: relative;
  opacity: 0.92;
}

.toTop__icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-left: 2px solid rgba(246, 246, 248, 0.86);
  border-top: 2px solid rgba(246, 246, 248, 0.86);
  transform: rotate(45deg);
}

.toTop__label {
  line-height: 1;
}

@media (max-width: 720px) {
  .toTop {
    right: 14px;
    bottom: 14px;
  }
  .toTop__label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .toTop {
    transition: none !important;
  }
}

main {
  position: relative;
  z-index: 1;
  margin: 0;
}

main:has(> .hero) {
  padding: 0;
  margin: 0;
}

main:not(:has(> .hero)) {
  padding-top: 16px;
}


a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 0 0 54px;
  margin: 0;
  position: relative;
  top: 0;
  perspective: 1000px;
  perspective-origin: 50% 40%;
  overflow: hidden;
  background: var(--bg);
  box-shadow: inset 0 12px 0 var(--bg);
  contain: layout style paint;
  --mx: 0;
  --my: 0;
  --lx: 0;
  --ly: 0;
  --rx: 0;
  --ry: 0;
}

.hero--lite {
  perspective: none;
}

.hero__threeRoot--off {
  display: none !important;
}

/* Premium abstract geometric layer (CSS-only, lightweight). */
.hero__bgFx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 1;
}

.hero__bgFx::before,
.hero__bgFx::after {
  content: "";
  position: absolute;
  inset: -14%;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

/* Fond hero léger (2 dégradés + grille simple) */
.hero__bgFx::before {
  background:
    radial-gradient(120% 95% at 50% 0%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.75) 72%, rgba(0, 0, 0, 0.92) 100%),
    radial-gradient(56% 72% at 22% 30%, rgba(124, 92, 255, 0.26), transparent 62%),
    radial-gradient(52% 66% at 78% 26%, rgba(188, 166, 255, 0.1), transparent 60%),
    repeating-linear-gradient(
      45deg,
      rgba(124, 92, 255, 0.06) 0 1px,
      transparent 1px 96px
    );
  filter: none;
  mix-blend-mode: normal;
  transform:
    translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0)
    scale(1.04);
  animation: heroBgDrift 22s var(--ease2) infinite alternate;
}

/* Specular sheen + soft “motion” */
.hero__bgFx::after {
  background:
    linear-gradient(115deg, transparent 0%, rgba(246, 246, 248, 0.08) 45%, rgba(124, 92, 255, 0.12) 55%, transparent 78%),
    radial-gradient(60% 40% at 50% 30%, rgba(124, 92, 255, 0.14), transparent 62%);
  opacity: 0.45;
  filter: none;
  mix-blend-mode: normal;
  transform:
    translate3d(calc(var(--mx) * 14px), calc(var(--my) * 12px), 0)
    scale(1.03);
  animation: heroBgSheen 14s var(--ease2) infinite alternate;
}

@keyframes heroBgDrift {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  to {
    background-position: 0 0, -2% 1%, 1.5% -1%, 0 24px;
  }
}

@keyframes heroBgSheen {
  from { transform: translate3d(calc(var(--mx) * 14px), calc(var(--my) * 12px), 0) scale(1.02); }
  to   { transform: translate3d(calc(var(--mx) * 20px), calc(var(--my) * 16px), 0) scale(1.05); }
}

/* Three.js background: pleine largeur/hauteur de la section */
.hero__threeRoot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__threeRoot canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

.hero__container {
  width: min(1140px, calc(100% - 96px));
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
  padding-top: clamp(76px, 10vh, 96px);
  /* Important: avoid the container "eating" hit-testing in 3D contexts */
  pointer-events: none;
}

/* Re-enable interactions inside the hero container */
.hero__container .heroCard,
.hero__container a,
.hero__container button,
.hero__container input,
.hero__container textarea,
.hero__container select {
  pointer-events: auto;
}

.nav {
  position: sticky;
  top: 16px;
  width: min(1140px, calc(100% - 96px));
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  margin: 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(120% 140% at 18% 30%, rgba(124, 92, 255, 0.10), transparent 58%),
    rgba(0, 0, 0, 0.40);
  backdrop-filter: blur(10px);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
}

/* Perf: sur petites configs on évite le blur (très coûteux). */
.hero--lite .nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(0, 0, 0, 0.72);
}

@media (pointer: coarse) {
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(0, 0, 0, 0.72);
  }
}

/* Accueil : nav sticky sur toute la page, hero remonté sous la barre */
main:has(> .nav:first-child + .hero) > .nav {
  position: sticky;
  top: max(12px, env(safe-area-inset-top, 0px));
  z-index: 30;
  margin-top: max(12px, env(safe-area-inset-top, 0px));
  pointer-events: auto;
}

main:has(> .nav:first-child + .hero) > .hero {
  margin-top: calc(-1 * var(--nav-stack, 76px));
  z-index: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(246, 246, 248, 0.90);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand__mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  background: url("../assets/logo.png") center / contain no-repeat;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12);
  transform: translateY(1px);
}

.nav__links {
  display: flex;
  gap: 14px;
}

.nav__link {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.62);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}

.nav__link:hover {
  color: rgba(246, 246, 248, 0.86);
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.10);
}

.nav__link:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(246, 246, 248, 0.9);
  cursor: pointer;
  flex-shrink: 0;
  transition:
    border-color 180ms var(--ease),
    background-color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}

.nav__toggle:hover {
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.12);
}

.nav__toggle:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.nav__toggleIcon {
  display: grid;
  gap: 6px;
  width: 18px;
}

.nav__toggleBar {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 260ms var(--ease2), opacity 200ms var(--ease);
  transform-origin: center;
}

.nav.nav--open .nav__toggleBar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav.nav--open .nav__toggleBar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.4);
}

.nav.nav--open .nav__toggleBar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

html.is-nav-open {
  overflow: hidden;
}

html.is-nav-open body {
  overflow: hidden;
}

.heroCard {
  min-height: clamp(620px, 80vh, 820px);
  display: grid;
  grid-template-columns: 58% 42%;
  gap: 18px;
  padding: 22px;
  border-radius: 28px;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--mx) * -10px), calc(var(--my) * -8px), 0)
    rotateX(calc(2.6deg + var(--my) * -5.2deg))
    rotateY(calc(-2.0deg + var(--mx) * 6.0deg));
  transition: transform 90ms linear;
}

.hero--lite .heroCard,
.hero--lite .heroCard__content,
.hero--lite .heroCard__panel {
  transform: none !important;
  transition: none !important;
  transform-style: flat;
}

/* Banner 3D optimisé : parallaxe via --mx/--my, pas d’anim CSS infinie sur le fond */
.hero--3d .hero__bgFx::before,
.hero--3d .hero__bgFx::after,
html.perf-balanced .hero--3d .hero__bgFx::before,
html.perf-balanced .hero--3d .hero__bgFx::after {
  animation: none !important;
}

html.perf-balanced body.is-hero-active .hero--3d .panelVideo__el,
body.is-hero-active .hero--3d .panelVideo__el {
  animation: none !important;
}

.hero--3d {
  contain: layout style;
}

.hero--3d .hero__container {
  transform-style: preserve-3d;
}

.hero--interacting.hero--3d .hero__bgFx::before,
.hero--interacting.hero--3d .hero__bgFx::after {
  will-change: transform;
}

.hero--interacting.hero--3d .heroCard,
.hero--interacting.hero--3d .heroCard__content,
.hero--interacting.hero--3d .heroCard__panel {
  will-change: transform;
}

.heroCard__content {
  transform:
    translate3d(calc(var(--lx) * -5px), calc(var(--ly) * -4px), 22px)
    rotateZ(calc(var(--lx) * -0.7deg));
  transform-style: preserve-3d;
  transition: transform 90ms linear;
  position: relative;
  z-index: 3;
}

.heroCard__panel {
  transform:
    translate3d(calc(var(--rx) * 16px), calc(var(--ry) * 13px), 48px)
    rotateZ(calc(var(--rx) * 0.95deg));
  transform-style: preserve-3d;
  transition: transform 90ms linear;
  position: relative;
  z-index: 2;
}

.heroCard__content {
  padding: clamp(22px, 3.4vw, 44px);
  display: grid;
  align-content: center;
  gap: 12px;
}

.heroCard__panel {
  padding: clamp(18px, 2.2vw, 26px);
  display: grid;
  align-content: center;
}

.panelGlass {
  border-radius: 12px;
  border: none;
  background: transparent;
  box-shadow: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.panelVideo {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.52;
  filter: saturate(0.85) contrast(1.12);
  border-radius: 12px;
}

.panelVideo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: none;
  z-index: 1;
}

.panelVideo__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(0.88) contrast(1.1) saturate(0.95);
}

body.is-hero-active .panelVideo__el {
  animation: videoFloat 9s var(--ease2) infinite alternate;
}

@keyframes videoFloat {
  from { transform: scale(1.02) translate3d(-0.6%, -0.4%, 0); }
  to   { transform: scale(1.04) translate3d(0.6%, 0.5%, 0); }
}

.panelGlass::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.62));
  opacity: 0.85;
}

.panelControls {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
}

.panelControl {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.44);
  color: rgba(246, 246, 248, 0.86);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  /* No glassy blur */
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.panelControl:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 36px rgba(124, 92, 255, 0.18);
}

.panelControl:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.panelControl__icon {
  width: 14px;
  height: 14px;
  position: relative;
  opacity: 0.9;
}

/* Pause icon */
.panelControl__icon[data-icon="pause"]::before,
.panelControl__icon[data-icon="pause"]::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 4px;
  border-radius: 2px;
  background: rgba(246, 246, 248, 0.86);
}
.panelControl__icon[data-icon="pause"]::before {
  left: 2px;
}
.panelControl__icon[data-icon="pause"]::after {
  right: 2px;
}

/* Play icon */
.panelControl__icon[data-icon="play"]::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 2px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(246, 246, 248, 0.86);
}

/* Fullscreen icon */
.panelControl__icon[data-icon="fullscreen"]::before,
.panelControl__icon[data-icon="fullscreen"]::after {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(246, 246, 248, 0.80);
  border-radius: 3px;
  opacity: 0.9;
}

.panelControl__label {
  line-height: 1;
}

/* Fullscreen state */
.panelGlass.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  border-radius: 0;
  border: none;
  background: #000;
  box-shadow: none;
  width: 100vw;
  height: 100dvh;
  aspect-ratio: auto;
  min-height: 0;
}

/* Lorsque le panel sort en "fullscreen CSS", on neutralise les transforms 3D
   (sinon `position: fixed` se comporte comme du `absolute` dans un ancêtre transformé). */
body.is-panel-fullscreen .heroCard,
body.is-panel-fullscreen .heroCard__content,
body.is-panel-fullscreen .heroCard__panel,
body.is-panel-fullscreen .ctaRow {
  transform: none !important;
}

body.is-panel-fullscreen {
  overflow: hidden;
  touch-action: none;
}

.panelGlass.is-fullscreen .panelVideo {
  opacity: 0.72;
}
.kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.64);
}

.title {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.title__accent {
  display: inline-block;
  color: rgba(246, 246, 248, 0.90);
  text-shadow: 0 0 22px rgba(124, 92, 255, 0.14), 0 0 48px rgba(124, 92, 255, 0.08);
}

.subtitle {
  margin: 2px 0 10px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
  max-width: 52ch;
}

.ctaRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 6px;
  /* CTA: plus proche de la caméra, et suit la colonne gauche */
  transform: translate3d(calc(var(--lx) * -2px), calc(var(--ly) * -2px), 86px);
  transform-style: preserve-3d;
  position: relative;
  z-index: 4;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--stroke2);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(246, 246, 248, 0.90);
  font-weight: 600;
  letter-spacing: -0.01em;
  user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    border-color 220ms var(--ease),
    background-color 220ms var(--ease),
    color 220ms var(--ease);
  font-size: 14px;
}

.btn:hover {
  transform: translate3d(0, -2px, 0) scale(1.02);
  border-color: rgba(124, 92, 255, 0.42);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.50),
    0 0 0 1px rgba(124, 92, 255, 0.14) inset,
    0 0 44px rgba(124, 92, 255, 0.18);
}

.btn:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.50),
    0 0 0 1px rgba(124, 92, 255, 0.18) inset,
    0 0 0 4px rgba(124, 92, 255, 0.18),
    0 0 54px rgba(124, 92, 255, 0.16);
}

.btn--primary {
  border-color: rgba(124, 92, 255, 0.55);
  background: radial-gradient(120% 140% at 30% 20%, rgba(124, 92, 255, 0.22), rgba(124, 92, 255, 0.10)),
    rgba(124, 92, 255, 0.08);
  box-shadow: 0 0 0 1px rgba(124, 92, 255, 0.18) inset;
}

/* Entry animations (non intrusive) */
@keyframes heroIn {
  from {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
}

.nav,
.heroCard__content > * ,
.heroCard__panel {
  animation: heroIn 760ms var(--ease2) both;
}

.nav {
  animation-delay: 40ms;
}

.heroCard__content .kicker { animation-delay: 90ms; }
.heroCard__content .title { animation-delay: 140ms; }
.heroCard__content .subtitle { animation-delay: 190ms; }
.heroCard__content .ctaRow { animation-delay: 250ms; }
.heroCard__panel { animation-delay: 220ms; }

@media (prefers-reduced-motion: reduce) {
  .nav,
  .heroCard__content > * ,
  .heroCard__panel {
    animation: none !important;
    filter: none !important;
  }
  .panelVideo__el {
    animation: none !important;
  }
  .hero__bgFx::before,
  .hero__bgFx::after {
    animation: none !important;
    transform: none !important;
  }
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(246, 246, 248, 0.78);
}


.stub {
  padding: 60px 0;
}

.stub__inner {
  width: min(1100px, calc(100% - 96px));
  margin: 0 auto;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(246, 246, 248, 0.70);
}

/* --- Équipe (entre Portfolio et Engagements) --- */
.team {
  position: relative;
  padding: clamp(78px, 11vh, 132px) 0 clamp(76px, 11vh, 126px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  /* Fond légèrement translucide pour laisser les cercles globaux traverser */
  background:
    radial-gradient(1000px 680px at 18% 16%, rgba(124, 92, 255, 0.08), transparent 64%),
    radial-gradient(860px 620px at 84% 26%, rgba(188, 166, 255, 0.04), transparent 60%),
    linear-gradient(
      180deg,
      rgba(7, 7, 11, 0.92),
      rgba(5, 5, 9, 0.92) 56%,
      rgba(6, 6, 12, 0.92) 100%
    );
}

.team::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: auto, 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.16;
}

.team__inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.teamHead {
  text-align: left;
  max-width: min(820px, 100%);
  margin: 0 0 clamp(26px, 4vh, 48px);
  margin-left: 0;
}

.teamHead__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.teamHead__title {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.4vw + 14px, 62px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: rgba(246, 246, 248, 0.94);
  text-shadow: 0 0 26px rgba(124, 92, 255, 0.10);
}

.teamHead__text {
  margin: 0;
  max-width: 60ch;
  font-size: clamp(15px, 0.8vw + 13px, 18px);
  line-height: 1.6;
  color: rgba(246, 246, 248, 0.66);
}

.teamGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  perspective: 1100px;
  perspective-origin: 50% 35%;
}

.teamCard {
  --tx: 0; /* -1..1 */
  --ty: 0; /* -1..1 */
  --lift: 0; /* 0..1 */
  --sx: 50%;
  --sy: 26%;
  --photo: none;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.028);
  box-shadow:
    0 26px 100px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  padding: 0;
  min-height: 360px;
  display: grid;
  grid-template-rows: 168px 1fr;
  transition:
    transform 420ms var(--ease2),
    border-color 420ms var(--ease2),
    box-shadow 420ms var(--ease2),
    background-color 420ms var(--ease2),
    filter 420ms var(--ease2);
  transform-style: preserve-3d;
  will-change: transform;
  transform:
    translate3d(0, calc(var(--lift) * -10px), calc(var(--lift) * 26px))
    rotateX(calc(var(--ty) * -10deg))
    rotateY(calc(var(--tx) * 12deg)) !important;
  position: relative;
  overflow: hidden;
}

.teamCard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.0;
  background:
    radial-gradient(520px 360px at var(--sx) var(--sy), rgba(124, 92, 255, 0.18), transparent 62%),
    radial-gradient(520px 360px at calc(var(--sx) + 18%) calc(var(--sy) + 26%), rgba(255, 255, 255, 0.06), transparent 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 32%, rgba(0, 0, 0, 0.20));
  transition: opacity 320ms var(--ease2);
  mix-blend-mode: screen;
  filter: saturate(1.05);
}

.teamCard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 72%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 32%, rgba(0, 0, 0, 0.26));
  opacity: 1;
  transform: translateZ(1px);
  transition: opacity 420ms var(--ease2), transform 420ms var(--ease2);
}

.teamCard > * {
  position: relative;
  z-index: 1;
  transform-style: preserve-3d;
}

.teamCard__media {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background-image:
    var(--photo),
    radial-gradient(120% 140% at 20% 30%, rgba(188, 166, 255, 0.25), transparent 55%),
    radial-gradient(110% 140% at 80% 70%, rgba(124, 92, 255, 0.18), transparent 58%),
    repeating-linear-gradient(
      135deg,
      rgba(188, 166, 255, 0.00) 0px,
      rgba(188, 166, 255, 0.00) 10px,
      rgba(188, 166, 255, 0.08) 10px,
      rgba(188, 166, 255, 0.08) 12px,
      rgba(124, 92, 255, 0.00) 12px,
      rgba(124, 92, 255, 0.00) 26px
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.12));
  background-repeat: no-repeat;
  background-position: center, 0 0, 0 0, 0 0, 0 0;
  background-size: cover, auto, auto, auto, auto;
  background-blend-mode: normal;
}

/* Photo réelle (fallback fiable) */
.teamPhoto {
  display: none;
}

/* Fallback visible même sans fichier photo */
.teamCard__media::marker {
  content: "";
}

.teamCard__media::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(520px 360px at var(--sx) var(--sy), rgba(255, 255, 255, 0.10), transparent 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  background-size: auto, 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.28;
}

.teamCard__media::after {
  content: attr(data-mono);
  position: absolute;
  left: 18px;
  bottom: 14px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: rgba(246, 246, 248, 0.10);
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(124, 92, 255, 0.12),
    0 0 54px rgba(124, 92, 255, 0.08);
}

/* Lire le monogramme depuis la card (plus simple que dupliquer des attributs) */
.teamCard[data-mono] .teamCard__media::after {
  content: attr(data-mono);
}

/* (dédupliqué) */

/* Éléments “réels” dans le media */
.teamMediaTop {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  z-index: 2;
}

.teamMediaCenter {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 18px;
  text-align: center;
  pointer-events: none;
}

.teamMediaIdentity {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  pointer-events: none;
  transform: translateY(14px);
  filter: drop-shadow(0 22px 70px rgba(0, 0, 0, 0.55));
  position: relative;
}

.teamMediaIdentity::before {
  content: "";
  position: absolute;
  inset: -22px -26px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.00) 70%),
    radial-gradient(closest-side, rgba(124, 92, 255, 0.16), rgba(124, 92, 255, 0.00) 68%);
  opacity: 0.85;
  filter: blur(0.2px);
  mix-blend-mode: screen;
}

.teamMediaIdentity__avatar {
  width: 62px;
  height: 62px;
  border-radius: 999px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    var(--photo) center / cover no-repeat,
    radial-gradient(circle at 30% 30%, rgba(188, 166, 255, 0.85), rgba(124, 92, 255, 0.20));
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
  overflow: hidden;
  position: relative;
}

.teamAvatarImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.96;
}

.teamMediaIdentity__text {
  display: grid;
  gap: 4px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.teamMediaIdentity__name {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: rgba(246, 246, 248, 0.94);
  line-height: 1.02;
  text-shadow:
    0 0 26px rgba(124, 92, 255, 0.18),
    0 18px 60px rgba(0, 0, 0, 0.55);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teamMediaIdentity__role {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.78);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teamPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(246, 246, 248, 0.76);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.teamTopPerson {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
  max-width: min(100%, 320px);
}

.teamTopPerson__avatar {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    var(--photo) center / cover no-repeat,
    radial-gradient(circle at 30% 30%, rgba(188, 166, 255, 0.85), rgba(124, 92, 255, 0.20));
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.22);
}

.teamTopPerson__text {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.teamTopPerson__name {
  font-size: 12px;
  letter-spacing: -0.01em;
  font-weight: 650;
  color: rgba(246, 246, 248, 0.92);
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teamTopPerson__role {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.05;
}

.teamMetric {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.teamMetric__k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.52);
}

.teamMetric__v {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.86);
}

.teamMediaShapes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.teamOrb {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(188, 166, 255, 0.70), rgba(124, 92, 255, 0.10) 58%, transparent 72%);
  opacity: 0.34;
  filter: blur(6px) saturate(1.08);
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: teamOrbFloat 10s var(--ease2) infinite alternate;
}

.teamOrb--a { left: -28px; top: 46px; animation-duration: 12s; }
.teamOrb--b { right: -38px; top: 22px; width: 160px; height: 160px; opacity: 0.22; animation-duration: 14s; }
.teamOrb--c { left: 42%; bottom: -68px; width: 200px; height: 200px; opacity: 0.18; animation-duration: 16s; }

@keyframes teamOrbFloat {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .teamOrb {
    animation: none !important;
  }
}

.teamCard__body {
  padding: 18px 18px 16px;
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.teamCard__details {
  display: grid;
}

.teamCard:hover {
  transform:
    translate3d(0, -12px, 30px)
    rotateX(calc(var(--ty) * -12deg))
    rotateY(calc(var(--tx) * 14deg));
  border-color: rgba(124, 92, 255, 0.48);
  background: rgba(255, 255, 255, 0.032);
  box-shadow:
    0 44px 140px rgba(0, 0, 0, 0.70),
    0 0 0 1px rgba(124, 92, 255, 0.16) inset,
    0 0 66px rgba(124, 92, 255, 0.12);
  filter: saturate(1.02) contrast(1.03);
}

.teamCard:hover::before,
.teamCard:focus-within::before {
  opacity: 0.9;
}

.teamCard:hover::after,
.teamCard:focus-within::after {
  transform: translateZ(1px);
  opacity: 1;
}

.teamCard:focus-within {
  border-color: rgba(124, 92, 255, 0.65);
  box-shadow:
    0 32px 92px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.16) inset,
    0 0 0 4px rgba(124, 92, 255, 0.18);
}

.teamCard__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.teamAvatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(closest-side at 35% 30%, rgba(188, 166, 255, 0.95), rgba(124, 92, 255, 0.18) 62%, transparent 72%),
    rgba(0, 0, 0, 0.25);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(124, 92, 255, 0.12) inset;
  flex: 0 0 auto;
  position: relative;
  overflow: hidden;
}

.teamAvatar__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.88);
  text-shadow: 0 0 22px rgba(124, 92, 255, 0.18);
}

.teamId {
  min-width: 0;
}

.teamName {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.01em;
  font-weight: 650;
  color: rgba(246, 246, 248, 0.94);
}

.teamName--big {
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-shadow: 0 0 22px rgba(124, 92, 255, 0.10);
}

.teamRole {
  margin: 6px 0 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.teamRole--big {
  margin-top: 0;
  font-size: 14px;
  letter-spacing: 0.22em;
  color: rgba(246, 246, 248, 0.66);
}

.teamBio {
  margin: 0 0 14px;
  color: rgba(246, 246, 248, 0.66);
  font-size: 14px;
  line-height: 1.6;
  max-width: 42ch;
}

.teamTags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.teamTag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(246, 246, 248, 0.72);
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease);
}

.teamCard:hover .teamTag {
  border-color: rgba(124, 92, 255, 0.30);
  background: rgba(124, 92, 255, 0.08);
  color: rgba(246, 246, 248, 0.80);
}

.teamSocial {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.teamSocial__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(246, 246, 248, 0.74);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), background-color 220ms var(--ease);
  min-width: min(320px, 100%);
  justify-content: center;
}

.teamSocial__link:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.40);
  background: rgba(124, 92, 255, 0.08);
  color: rgba(246, 246, 248, 0.88);
}

.teamSocial__link:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.teamSocial__icon {
  width: 14px;
  height: 14px;
  position: relative;
  opacity: 0.92;
}

/* Icône LinkedIn (simple) */
.teamSocial__icon::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 3px;
  border: 1px solid rgba(246, 246, 248, 0.72);
  box-shadow:
    inset -6px 0 0 0 rgba(246, 246, 248, 0.72),
    inset 0 0 0 0 rgba(246, 246, 248, 0.0);
}

/* Variante Instagram (simple) */
.teamSocial__icon--ig::before {
  inset: 1px;
  border-radius: 4px;
  border: 1px solid rgba(246, 246, 248, 0.72);
  box-shadow: none;
}
.teamSocial__icon--ig::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 1px solid rgba(246, 246, 248, 0.62);
}

@media (max-width: 980px) {
  .team__inner {
    width: min(980px, calc(100% - 44px));
  }
  .teamGrid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teamCard {
    transition: none !important;
    transform: none !important;
  }
  .teamCard:hover {
    transform: none;
  }
  .teamCard::before {
    opacity: 0 !important;
    transform: none !important;
  }
}

/* --- Portfolio vidéos (immersif + Three.js) --- */
.portfolio,
.team,
.aboutEditorial {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

.portfolio {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vh, 120px) 0 clamp(64px, 9vh, 110px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(1200px 720px at 16% 18%, rgba(124, 92, 255, 0.18), transparent 62%),
    radial-gradient(980px 720px at 86% 22%, rgba(188, 166, 255, 0.08), transparent 58%),
    radial-gradient(820px 560px at 50% 86%, rgba(124, 92, 255, 0.09), transparent 60%),
    conic-gradient(from 210deg at 52% 28%, rgba(124, 92, 255, 0.08), transparent 42%, rgba(255, 255, 255, 0.03), transparent 78%, rgba(124, 92, 255, 0.06)),
    linear-gradient(180deg, #07070b, #050509 52%, #06060c 100%);
}

.portfolio::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background:
    /* Micro grille + noise: profondeur sans poids réseau */
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.035) 0px,
      rgba(255, 255, 255, 0.035) 1px,
      transparent 1px,
      transparent 68px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.028) 0px,
      rgba(255, 255, 255, 0.028) 1px,
      transparent 1px,
      transparent 68px
    ),
    radial-gradient(70% 50% at 50% 8%, rgba(124, 92, 255, 0.18), transparent 66%),
    radial-gradient(55% 45% at 50% 35%, rgba(255, 255, 255, 0.05), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: 68px 68px, 68px 68px, auto, auto, 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.22;
  transform: translateZ(0);
  animation: portfolioBgDrift 16s var(--ease2) infinite alternate;
}

.portfolio__threeRoot {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
}

.portfolio__threeRoot--off,
.aboutEditorial__threeRoot--off {
  display: none !important;
}

.portfolioShapes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}

.portfolioStripes {
  position: absolute;
  inset: 0;
  /* Derrière le canvas Three.js (mais au-dessus du fond) */
  z-index: 1;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(
      135deg,
      rgba(188, 166, 255, 0.00) 0px,
      rgba(188, 166, 255, 0.00) 8px,
      rgba(188, 166, 255, 0.24) 8px,
      rgba(188, 166, 255, 0.24) 11px,
      rgba(124, 92, 255, 0.00) 11px,
      rgba(124, 92, 255, 0.00) 22px
    );
  background-size: 56px 56px;
  filter: blur(0.15px) saturate(1.15) contrast(1.15);
  animation: portfolioStripesMove 10s linear infinite;
}

@keyframes portfolioStripesMove {
  from { background-position: 0 0; }
  to   { background-position: 220px 220px; }
}

.portfolioShape {
  position: absolute;
  width: clamp(180px, 22vw, 360px);
  height: clamp(180px, 22vw, 360px);
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(188, 166, 255, 0.85), rgba(124, 92, 255, 0.10) 55%, transparent 72%);
  filter: blur(10px) saturate(1.08);
  opacity: 0.30;
  mix-blend-mode: screen;
  transform: translate3d(0, 0, 0);
  animation: portfolioFloatA 16s var(--ease2) infinite alternate;
}

.portfolioShape::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.10), transparent 60%);
  opacity: 0.55;
}

.portfolioShape--a {
  left: -6%;
  top: 6%;
  animation-duration: 18s;
}

.portfolioShape--b {
  right: -8%;
  top: 18%;
  width: clamp(220px, 26vw, 420px);
  height: clamp(220px, 26vw, 420px);
  opacity: 0.24;
  animation-name: portfolioFloatB;
  animation-duration: 22s;
}

.portfolioShape--c {
  left: 12%;
  bottom: -10%;
  width: clamp(240px, 28vw, 520px);
  height: clamp(240px, 28vw, 520px);
  opacity: 0.22;
  animation-name: portfolioFloatC;
  animation-duration: 26s;
}

.portfolioShape--d {
  right: 18%;
  bottom: 8%;
  width: clamp(140px, 18vw, 280px);
  height: clamp(140px, 18vw, 280px);
  opacity: 0.20;
  animation-name: portfolioFloatD;
  animation-duration: 20s;
}

@keyframes portfolioFloatA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(6%, 10%, 0) scale(1.06); }
}

@keyframes portfolioFloatB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-7%, 7%, 0) scale(1.05); }
}

@keyframes portfolioFloatC {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(8%, -6%, 0) scale(1.08); }
}

@keyframes portfolioFloatD {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-5%, -10%, 0) scale(1.07); }
}

.portfolio::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    /* Vignette + contrast local */
    radial-gradient(120% 90% at 50% 18%, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78) 72%),
    radial-gradient(80% 60% at 50% 30%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.55) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62));
  opacity: 0.88;
}

@keyframes portfolioBgDrift {
  from { background-position: 0px 0px, 0px 0px, 0 0, 0 0, 0px 0px; }
  to   { background-position: 34px 18px, -18px 34px, 0 0, 0 0, 110px 70px; }
}

@media (prefers-reduced-motion: reduce) {
  .portfolio::before {
    animation: none !important;
  }
  .portfolioShape {
    animation: none !important;
  }
  .portfolioStripes {
    animation: none !important;
  }
}

.portfolio__inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.portfolioHead {
  text-align: right;
  max-width: min(760px, 100%);
  margin: 0 0 clamp(26px, 4vh, 44px);
  margin-left: auto;
}

.portfolioHead__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.portfolioHead__title {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.4vw + 14px, 62px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: rgba(246, 246, 248, 0.94);
  text-shadow: 0 0 26px rgba(124, 92, 255, 0.10);
}

.portfolioHead__text {
  margin: 0;
  max-width: 46ch;
  margin-left: auto;
  font-size: clamp(15px, 0.8vw + 13px, 18px);
  line-height: 1.6;
  color: rgba(246, 246, 248, 0.66);
}

.portfolioSources {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.portfolioGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 22px);
  --gridx: 0;
  --gridy: 0;
  --gridz: 0;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 240ms var(--ease2);
  transform:
    translate3d(calc(var(--gridx) * 10px), calc(var(--gridy) * 8px), calc(var(--gridz) * 1px));
}

.portfolio__inner {
  --px: 0;
  --py: 0;
  perspective: 1000px;
  perspective-origin: 50% 35%;
  transform-style: preserve-3d;
}

.portfolio .portfolioCard {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
  transition:
    transform 420ms var(--ease2),
    border-color 420ms var(--ease2),
    box-shadow 420ms var(--ease2),
    background-color 420ms var(--ease2);
  --camx: 0;
  --camy: 0;
  --camz: 0;
  transform:
    translate3d(calc(var(--camx) * 10px), calc(var(--camy) * 8px), calc(var(--camz) * 1px))
    rotateX(calc(var(--py) * -2.2deg + var(--camy) * -7.5deg))
    rotateY(calc(var(--px) * 2.8deg + var(--camx) * 9deg))
    translateZ(0px);
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
  z-index: 0;
}

.portfolioCard__tap {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
}

.portfolioCard__tap:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.22);
}

.portfolioCard__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.portfolioCard.is-loading .portfolioCard__video {
  opacity: 0;
}

.portfolioCard.is-ready .portfolioCard__video {
  opacity: 1;
}

.portfolioCard__video {
  opacity: 0;
  transition: opacity 420ms var(--ease2), transform 720ms var(--ease2), filter 720ms var(--ease2);
}

/* PNG “au hasard” (mini data-URI) + spinner */
.portfolioCard__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 320ms var(--ease2);
  background:
    radial-gradient(70% 55% at 50% 45%, rgba(124, 92, 255, 0.10), rgba(0, 0, 0, 0.68) 70%),
    url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mP8/x8AAwMCAO3v3hUAAAAASUVORK5CYII=");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  filter: saturate(0.9) contrast(1.08);
}

.portfolioCard.is-loading .portfolioCard__media::before {
  opacity: 1;
}

.portfolioCard__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.62)),
    radial-gradient(70% 55% at 50% 35%, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  opacity: 0.86;
}

.portfolioCard.is-loading .portfolioCard__media::after {
  opacity: 0.92;
}

.portfolioCard.is-loading .portfolioCard__tap::after {
  content: "";
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: rgba(124, 92, 255, 0.85);
  top: 14px;
  left: 14px;
  z-index: 4;
  animation: portfolioSpin 1.0s linear infinite;
}

@keyframes portfolioSpin {
  to { transform: rotate(360deg); }
}

.portfolioCard__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: contrast(1.12) saturate(0.95) brightness(0.86);
}

.portfolioCard__meta {
  padding: 14px 14px 16px;
  display: grid;
  gap: 6px;
}

.portfolioCard__title {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: rgba(246, 246, 248, 0.92);
  font-weight: 620;
}

.portfolioCard__tag {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.portfolio .portfolioCard:hover {
  transform:
    /* “Caméra” = dolly vers l'avant (pas un zoom via scale) */
    translate3d(calc(var(--camx) * 10px), calc(var(--camy) * 8px - 10px), calc(36px + var(--camz) * 1.35px))
    rotateX(calc(var(--py) * -2.2deg + var(--camy) * -8.5deg))
    rotateY(calc(var(--px) * 2.8deg + var(--camx) * 10deg))
    translateZ(0px);
  border-color: rgba(124, 92, 255, 0.48);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 32px 92px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.16) inset,
    0 0 54px rgba(124, 92, 255, 0.10);
  z-index: 5;
}

.portfolio .portfolioCard:hover .portfolioCard__video {
  /* La “caméra” est appliquée à la carte entière (cadre + loader + overlay + vidéo). */
  filter: contrast(1.10) saturate(1.0) brightness(0.92);
}

.portfolioModal {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 0;
  background: rgba(0, 0, 0, 0.68);
  color: rgba(246, 246, 248, 0.92);
  width: min(980px, calc(100% - 28px));
  box-shadow:
    0 26px 110px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(124, 92, 255, 0.14) inset;
  overflow: hidden;
}

.portfolioModal::backdrop {
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(6px);
}

.portfolioModal__frame {
  position: relative;
  background: #000;
}

.portfolioModal__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.48);
  color: rgba(246, 246, 248, 0.88);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 2;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}

.portfolioModal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 36px rgba(124, 92, 255, 0.18);
}

.portfolioModal__close:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.portfolioModal__video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: min(76vh, 720px);
  background: #000;
}

/* Fullscreen tweaks (when video/frame enters fullscreen) */
.portfolioModal__video:fullscreen,
.portfolioModal__frame:fullscreen .portfolioModal__video {
  width: 100vw;
  height: 100vh;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}

.portfolioModal__frame:fullscreen {
  width: 100vw;
  height: 100vh;
  background: #000;
}

.portfolioModal__frame:fullscreen .playerUi {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 18px;
}

/* Reduce heavy effects during fullscreen video (perf) */
body.is-video-fullscreen .portfolioModal::backdrop {
  backdrop-filter: none;
}

body.is-video-fullscreen .playerUi {
  backdrop-filter: none;
}

body.is-video-fullscreen .cursor {
  backdrop-filter: none;
}

.portfolioModal__frame:fullscreen .portfolioModal__close {
  top: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.36);
  border-color: rgba(255, 255, 255, 0.10);
}

/* Player UI (custom controls) */
.playerUi {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px 12px 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00), rgba(0, 0, 0, 0.72));
}

.playerBtn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.42);
  color: rgba(246, 246, 248, 0.86);
  border-radius: 999px;
  width: 42px;
  height: 42px;
  padding: 0;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms var(--ease), box-shadow 200ms var(--ease), border-color 200ms var(--ease);
  display: inline-grid;
  place-items: center;
}

.playerBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow: 0 0 28px rgba(124, 92, 255, 0.16);
}

.playerBtn:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.playerTime {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(246, 246, 248, 0.72);
  white-space: nowrap;
}

.playerIcon {
  width: 18px;
  height: 18px;
  position: relative;
  opacity: 0.92;
}

/* Play */
.playerIcon[data-icon="play"]::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid rgba(246, 246, 248, 0.86);
}

/* Pause */
.playerIcon[data-icon="pause"]::before,
.playerIcon[data-icon="pause"]::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: rgba(246, 246, 248, 0.86);
}
.playerIcon[data-icon="pause"]::before { left: 4px; }
.playerIcon[data-icon="pause"]::after { right: 4px; }

/* Muted / Unmuted */
.playerIcon[data-icon="unmuted"]::before,
.playerIcon[data-icon="muted"]::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 6px;
  height: 6px;
  background: rgba(246, 246, 248, 0.86);
  clip-path: polygon(0 30%, 45% 30%, 100% 0, 100% 100%, 45% 70%, 0 70%);
  border-radius: 1px;
}
.playerIcon[data-icon="unmuted"]::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 6px;
  height: 8px;
  border-right: 2px solid rgba(246, 246, 248, 0.72);
  border-top: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-radius: 8px;
  transform: rotate(0deg);
  opacity: 0.9;
}
.playerIcon[data-icon="muted"]::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  border-right: 2px solid rgba(246, 246, 248, 0.60);
  transform: rotate(45deg);
  box-shadow: -6px 0 0 -5px rgba(246, 246, 248, 0.60);
  opacity: 0.95;
}

/* Fullscreen */
.playerIcon[data-icon="fullscreen"]::before,
.playerIcon[data-icon="fullscreen"]::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(246, 246, 248, 0.80);
  border-radius: 3px;
  opacity: 0.9;
}

.playerSeek {
  width: 100%;
  accent-color: var(--violet);
  touch-action: none;
  cursor: pointer;
}

.playerSeek:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
  border-radius: 999px;
}

@media (max-width: 720px) {
  .playerUi {
    grid-template-columns: auto 1fr auto auto;
  }
  .playerTime {
    display: none;
  }
}

@media (max-width: 980px) {
  .portfolio__inner {
    width: min(980px, calc(100% - 44px));
  }
  .portfolioGrid {
    grid-template-columns: 1fr;
  }
  .portfolioHead {
    text-align: left;
  }
  .portfolioHead__text {
    margin-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portfolioCard,
  .portfolioCard__video,
  .portfolioModal__close {
    transition: none !important;
  }
  .portfolioCard:hover {
    transform: none;
  }
  .portfolioCard:hover .portfolioCard__video {
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero__container {
    width: min(980px, calc(100% - 44px));
    padding-top: clamp(68px, 9vh, 84px);
  }
  main:has(> .nav:first-child + .hero) > .nav {
    width: min(980px, calc(100% - 44px));
  }

  .nav {
    z-index: 200;
  }

  .nav.nav--open {
    position: fixed;
    inset: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding:
      max(14px, env(safe-area-inset-top, 0px))
      clamp(16px, 5vw, 24px)
      max(16px, env(safe-area-inset-bottom, 0px));
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    align-items: flex-start;
    justify-content: space-between;
    pointer-events: none;
  }

  .nav.nav--open .brand,
  .nav.nav--open .nav__toggle {
    pointer-events: auto;
  }

  .nav__toggle {
    display: inline-flex;
    position: relative;
    z-index: 202;
    width: 48px;
    height: 48px;
  }

  .nav__links {
    position: fixed;
    inset: 0;
    z-index: 201;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    min-height: 100dvh;
    max-width: none;
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: clamp(14px, 2.8vh, 22px);
    padding:
      max(88px, calc(72px + env(safe-area-inset-top, 0px)))
      clamp(20px, 6vw, 32px)
      max(40px, env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    background:
      radial-gradient(120% 90% at 50% -10%, rgba(124, 92, 255, 0.22), transparent 55%),
      radial-gradient(80% 60% at 80% 100%, rgba(124, 92, 255, 0.10), transparent 50%),
      rgba(4, 4, 8, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.04);
    clip-path: inset(0 0 100% 0);
    transition:
      opacity 420ms var(--ease2),
      visibility 420ms var(--ease2),
      transform 520ms var(--ease2),
      clip-path 520ms var(--ease2);
  }

  .nav.nav--open .nav__links {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    clip-path: inset(0 0 0 0);
  }

  .nav__links .nav__link {
    opacity: 0;
    transform: translateY(28px);
    transition:
      opacity 380ms var(--ease2),
      transform 480ms var(--ease2),
      border-color 180ms var(--ease),
      background-color 180ms var(--ease),
      color 180ms var(--ease);
  }

  .nav.nav--open .nav__links .nav__link {
    opacity: 1;
    transform: translateY(0);
  }

  .nav.nav--open .nav__links .nav__link:nth-child(1) {
    transition-delay: 120ms;
  }

  .nav.nav--open .nav__links .nav__link:nth-child(2) {
    transition-delay: 190ms;
  }

  .nav.nav--open .nav__links .nav__link:nth-child(3) {
    transition-delay: 260ms;
  }

  .nav__link {
    width: 100%;
    max-width: none;
    text-align: center;
    font-size: clamp(22px, 6.2vw, 32px);
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: clamp(22px, 4.2vh, 30px) clamp(20px, 5vw, 28px);
    color: rgba(246, 246, 248, 0.88);
    border-color: rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.04);
    border-radius: clamp(16px, 3vw, 22px);
  }

  .nav__link:active {
    transform: scale(0.98);
    background: rgba(124, 92, 255, 0.20);
    border-color: rgba(124, 92, 255, 0.45);
    color: rgba(246, 246, 248, 1);
  }

  @media (prefers-reduced-motion: reduce) {
    .nav__links,
    .nav__links .nav__link {
      transition-duration: 0.01ms !important;
      transition-delay: 0ms !important;
      transform: none !important;
      clip-path: none !important;
    }
  }
  .heroCard {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 16px;
  }
  .heroCard__panel {
    padding-top: 4px;
  }
  .panelGlass {
    min-height: 280px;
  }
}

/* --- About / Values / Process (3× plein écran + process horizontal) --- */
.about {
  position: relative;
  padding: 0;
  overflow-x: hidden;
  overflow-y: visible !important;
  background:
    radial-gradient(1200px 900px at 18% 10%, rgba(124, 92, 255, 0.10), transparent 60%),
    linear-gradient(180deg, #07070b 0%, #06060c 55%, #06060c 100%);
}

/* (déplacé sur `main::before/after` pour être global et non “coupé”) */

/* Hard override: empêche toute scrollbar interne sur la section About */
section#about.about {
  /* Empêche toute scrollbar interne (même si un injecteur force overflow:auto). */
  /* IMPORTANT: on garde le contrôle horizontal, mais on laisse le background déborder en vertical */
  overflow-y: visible !important;
  overflow-x: hidden !important;
}

.aboutScreen {
  min-height: max(88dvh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(36px, 6vh, 96px) clamp(24px, 5vw, 72px);
  box-sizing: border-box;
}

.aboutScreen.aboutScreen--process {
  align-items: center;
  justify-content: center;
  padding: clamp(36px, 6vh, 96px) clamp(24px, 5vw, 72px) clamp(28px, 5vh, 56px);
}

.aboutScreen__inner {
  width: min(1420px, calc(100% - 48px));
  margin: 0 auto;
}

.aboutScreen--intro {
  position: relative;
  overflow: hidden;
}

/* --- Core Values: background plus premium (halos + grain subtil) --- */
.aboutScreen--values,
.aboutScreen--process {
  position: relative;
  overflow: hidden;
}

/* Désactivé: on passe sur un background au niveau de `.about` pour une continuité parfaite */
.aboutScreen--values::before,
.aboutScreen--values::after,
.aboutScreen--process::before,
.aboutScreen--process::after {
  content: none;
}

/* Core Values: background dédié (et qui peut déborder) */
.aboutScreen--values {
  overflow: visible;
}

.aboutScreen--values::before {
  content: "";
  position: absolute;
  inset: -26% -18% -34%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 640px at 14% 30%, rgba(124, 92, 255, 0.22), transparent 62%),
    radial-gradient(820px 560px at 86% 72%, rgba(188, 166, 255, 0.12), transparent 64%),
    radial-gradient(1100px 820px at 52% 8%, rgba(255, 255, 255, 0.06), transparent 66%);
  mix-blend-mode: screen;
  opacity: 0.85;
  filter: blur(16px) saturate(1.1);
  transform: translate3d(0, 0, 0);
}

.aboutScreen--values::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat, repeat;
  background-size: cover, 220px 220px;
  opacity: 0.18;
  mix-blend-mode: overlay;
}

.aboutScreen__inner--process {
  width: min(1600px, 100%);
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(16px, 2.5vh, 28px);
  flex: 0 1 auto;
  min-height: 0;
  margin-inline: auto;
}

.aboutIntro {
  max-width: min(920px, 100%);
}

.aboutIntroLayout {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(18px, 3.2vw, 54px);
  position: relative;
  z-index: 1;
}

.aboutIntro__ornament {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  width: clamp(220px, 28vw, 520px);
  height: clamp(220px, 28vw, 520px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  mix-blend-mode: screen;
  transform: translateZ(0);

  background:
    radial-gradient(circle at 32% 30%, rgba(188, 166, 255, 0.32), rgba(124, 92, 255, 0.00) 58%),
    radial-gradient(circle at 70% 68%, rgba(124, 92, 255, 0.22), rgba(124, 92, 255, 0.00) 62%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cdefs%3E%3CradialGradient id='g' cx='30%25' cy='28%25'%3E%3Cstop offset='0%25' stop-color='rgba(188,166,255,0.65)'/%3E%3Cstop offset='52%25' stop-color='rgba(124,92,255,0.20)'/%3E%3Cstop offset='100%25' stop-color='rgba(124,92,255,0)'/%3E%3C/radialGradient%3E%3C/defs%3E%3Cpath d='M192 42c30 28 31 76 16 111-15 35-46 58-83 64-37 6-80-6-102-35-22-29-23-73-6-109 17-36 52-63 90-70 38-7 55 11 85 39z' fill='url(%23g)'/%3E%3Cg opacity='.42'%3E%3Ccircle cx='58' cy='78' r='1.6' fill='rgba(246,246,248,0.55)'/%3E%3Ccircle cx='84' cy='64' r='1.1' fill='rgba(246,246,248,0.35)'/%3E%3Ccircle cx='126' cy='88' r='1.4' fill='rgba(246,246,248,0.40)'/%3E%3Ccircle cx='152' cy='62' r='1.2' fill='rgba(246,246,248,0.32)'/%3E%3Ccircle cx='168' cy='96' r='1.6' fill='rgba(246,246,248,0.38)'/%3E%3Ccircle cx='92' cy='120' r='1.3' fill='rgba(246,246,248,0.28)'/%3E%3Ccircle cx='146' cy='132' r='1.4' fill='rgba(246,246,248,0.26)'/%3E%3Ccircle cx='176' cy='148' r='1.2' fill='rgba(246,246,248,0.22)'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;

  filter: blur(0.15px) saturate(1.08);
  mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 0%, rgba(0,0,0,0.92) 52%, rgba(0,0,0,0.0) 76%);
  -webkit-mask-image: radial-gradient(closest-side, rgba(0,0,0,1) 0%, rgba(0,0,0,0.92) 52%, rgba(0,0,0,0.0) 76%);

  will-change: transform, opacity;
  animation: aboutOrnamentDrift 12s var(--ease2) infinite alternate;
}

.aboutIntro__ornament::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.20), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.55;
  filter: blur(2px);
  transform: translate3d(0, 0, 0) scale(1);
  animation: aboutOrnamentHalo 8.5s var(--ease2) infinite alternate;
  pointer-events: none;
}

.aboutIntro__ornament::after {
  content: "";
  position: absolute;
  inset: -8%;
  border-radius: 999px;
  background: conic-gradient(
    from 210deg at 50% 50%,
    rgba(188, 166, 255, 0.00),
    rgba(188, 166, 255, 0.22),
    rgba(124, 92, 255, 0.00),
    rgba(124, 92, 255, 0.18),
    rgba(188, 166, 255, 0.00)
  );
  opacity: 0.35;
  mix-blend-mode: screen;
  filter: blur(10px);
  transform: translate3d(0, 0, 0) rotate(0deg);
  animation: aboutOrnamentSpin 18s linear infinite;
  pointer-events: none;
}

/* --- Gating des animations “infinies” (évite qu'elles tournent hors écran) --- */
html:not(.is-booting) .pageLoader__fx,
html:not(.is-booting) .pageLoader__grid,
body:not(.is-hero-active) .hero__bgFx,
body:not(.is-hero-active) .hero__bgFx::before,
body:not(.is-hero-active) .hero__bgFx::after,
body:not(.is-hero-active) .panelVideo__el,
body:not(.is-contact-active) .contact__fx,
body:not(.is-about-active) .aboutIntro__ornament,
body:not(.is-about-active) .aboutIntro__ornament::before,
body:not(.is-about-active) .aboutIntro__ornament::after,
body:not(.is-team-active) .teamOrb,
body:not(.is-portfolio-active) .portfolio::before,
body:not(.is-portfolio-active) .portfolioStripes,
body:not(.is-portfolio-active) .portfolioShape {
  animation-play-state: paused !important;
}

html.is-scrolling .hero__bgFx,
html.is-scrolling .hero__bgFx::before,
html.is-scrolling .hero__bgFx::after,
html.is-scrolling .portfolioStripes,
html.is-scrolling .portfolioShape,
html.is-scrolling .aboutIntro__ornament,
html.is-scrolling .aboutIntro__ornament::before,
html.is-scrolling .aboutIntro__ornament::after,
html.is-scrolling .teamOrb,
html.is-scrolling .contact__fx {
  animation-play-state: paused !important;
}

html.perf-lite .portfolioCard__media,
html.perf-lite .panelGlass {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.perf-lite .portfolio::before,
html.perf-lite .portfolioStripes,
html.perf-lite .portfolioShape,
.portfolio--lite::before,
.portfolio--lite .portfolioStripes,
.portfolio--lite .portfolioShape {
  mix-blend-mode: normal;
  opacity: 0.85;
  animation: none !important;
}

html.perf-balanced .portfolio--lite::before,
html.perf-balanced .portfolio--lite .portfolioStripes,
html.perf-balanced .portfolio--lite .portfolioShape,
.portfolio--lite .portfolioStripes {
  display: none;
}

html.perf-balanced .portfolio--lite .portfolioShape,
.portfolio--lite .portfolioShape {
  filter: none;
  opacity: 0.2;
}

html.perf-lite .hero {
  perspective: none;
}

html.perf-lite .heroCard,
html.perf-lite .heroCard__content,
html.perf-lite .heroCard__panel {
  transform-style: flat;
}

html.perf-lite .portfolio__inner,
html.perf-lite .portfolioGrid {
  perspective: none;
  transform-style: flat;
  will-change: auto;
}

.aboutScreen__inner {
  position: relative;
  z-index: 1;
}

.aboutIntroLayout .aboutIntro {
  justify-self: end;
  text-align: left;
}

.aboutIntroLayout .aboutIntro__title,
.aboutIntroLayout .aboutIntro__text {
  text-align: left;
}

@keyframes aboutOrnamentDrift {
  from { transform: translate3d(0, 0, 0) rotate(-6deg) scale(1); opacity: 0.86; }
  to   { transform: translate3d(-3.5%, -2.5%, 0) rotate(4deg) scale(1.04); opacity: 0.98; }
}

@keyframes aboutOrnamentBreath {
  from { filter: blur(0.15px) saturate(1.05); }
  to   { filter: blur(0.35px) saturate(1.12); }
}

@keyframes aboutOrnamentHalo {
  from { transform: translate3d(-1%, -1%, 0) scale(0.98); opacity: 0.42; }
  to   { transform: translate3d(1.2%, 1.4%, 0) scale(1.05); opacity: 0.62; }
}

@keyframes aboutOrnamentSpin {
  to { transform: translate3d(0, 0, 0) rotate(360deg); }
}

.aboutIntro__title {
  margin: 0 0 clamp(20px, 3vh, 36px);
  font-size: clamp(40px, 5.2vw + 12px, 96px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: rgba(246, 246, 248, 0.94);
}

.aboutIntro__text {
  margin: 0;
  font-size: clamp(18px, 1.35vw + 14px, 28px);
  line-height: 1.55;
  max-width: 38ch;
  color: rgba(246, 246, 248, 0.72);
}

@media (max-width: 980px) {
  .aboutIntroLayout {
    grid-template-columns: 1fr;
  }

  .aboutIntro__ornament {
    order: -1;
    justify-self: start;
    margin-bottom: clamp(10px, 2vh, 18px);
  }

  .aboutIntroLayout .aboutIntro {
    justify-self: start;
  }
}

.aboutValues__title {
  margin: 0 0 clamp(12px, 1.5vh, 18px);
  font-size: clamp(11px, 0.9vw + 8px, 14px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.aboutProcess__title {
  margin: 0 0 clamp(12px, 1.5vh, 18px);
  font-size: clamp(18px, 1.6vw + 14px, 34px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.62);
}

/* Remonte légèrement “Core Values” sans impacter “Our Process” */
.aboutValues__title {
  transform: translateY(-6px);
}

.aboutProcessHead {
  text-align: center;
  max-width: min(980px, 100%);
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.aboutProcess__hint {
  margin: 0;
  font-size: clamp(16px, 1.15vw + 12px, 22px);
  letter-spacing: 0.02em;
  line-height: 1.55;
  color: rgba(246, 246, 248, 0.45);
}

.aboutProcess__scrollHint {
  display: none;
  margin: 0;
}

.valuesGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 32px);
  perspective: 1100px;
  perspective-origin: 50% 35%;
}

.valueCard {
  border-radius: clamp(18px, 1.5vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(120% 140% at 18% 12%, rgba(124, 92, 255, 0.10), transparent 58%),
    radial-gradient(100% 120% at 78% 88%, rgba(255, 255, 255, 0.05), transparent 62%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.020));
  padding: clamp(22px, 2.4vw, 36px) clamp(22px, 2.4vw, 36px) clamp(20px, 2vw, 32px);
  min-height: clamp(160px, 18vh, 220px);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  --vx: 0;
  --vy: 0;
  --vz: 0;
  transition:
    transform 420ms var(--ease2),
    border-color 420ms var(--ease2),
    box-shadow 420ms var(--ease2),
    background-color 420ms var(--ease2);

  box-shadow:
    0 22px 80px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;

  /* Base 3D (visible même sans hover) */
  --tiltX: 1.6deg;
  --tiltY: -2.2deg;
  transform:
    translateZ(0)
    rotateX(var(--tiltX))
    rotateY(var(--tiltY));
}

/* Variations d’orientation au repos (évite l’effet “toutes identiques”) */
.valuesGrid > .valueCard:nth-child(1) { --tiltX: 1.2deg; --tiltY: -3.2deg; }
.valuesGrid > .valueCard:nth-child(2) { --tiltX: -1.0deg; --tiltY: 2.8deg; }
.valuesGrid > .valueCard:nth-child(3) { --tiltX: 0.8deg; --tiltY: 3.6deg; }
.valuesGrid > .valueCard:nth-child(4) { --tiltX: -1.4deg; --tiltY: -2.6deg; }

.valueCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.0;
  background:
    radial-gradient(520px 380px at 30% 35%, rgba(124, 92, 255, 0.16), transparent 62%),
    radial-gradient(420px 320px at 70% 55%, rgba(188, 166, 255, 0.10), transparent 64%),
    conic-gradient(from 210deg at 50% 50%, rgba(124, 92, 255, 0.10), transparent 35%, rgba(255, 255, 255, 0.04), transparent 70%, rgba(124, 92, 255, 0.08));
  transform-style: preserve-3d;
  transform:
    translate3d(calc(var(--vx) * 22px), calc(var(--vy) * 18px), 0)
    rotate(calc(var(--vx) * 5deg));
  transition: opacity 320ms var(--ease2), transform 420ms var(--ease2);
  mix-blend-mode: screen;
  filter: saturate(1.08);
}

.valueCard::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(70% 55% at 30% 30%, rgba(188, 166, 255, 0.22), transparent 62%),
    radial-gradient(65% 55% at 70% 70%, rgba(124, 92, 255, 0.18), transparent 62%);
  opacity: 0.55;
  mask:
    linear-gradient(#000, #000) content-box,
    linear-gradient(#000, #000);
  -webkit-mask:
    linear-gradient(#000, #000) content-box,
    linear-gradient(#000, #000);
  padding: 1px; /* laisse apparaître une bordure "gradient" */
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transform-style: preserve-3d;
  transform: translateZ(1px);
  transition: opacity 420ms var(--ease2), transform 520ms var(--ease2);
}

.valueCard .valueCard__icon,
.valueCard .valueCard__title,
.valueCard .valueCard__text {
  will-change: transform;
}

.valueCard:hover::after,
.valueCard:focus-within::after {
  transform: translateZ(2px);
}

.valueCard > * {
  position: relative;
  z-index: 1;
}

.valueCard:hover::before,
.valueCard:focus-within::before {
  opacity: 0.9;
}

.valueCard:hover::after,
.valueCard:focus-within::after {
  opacity: 0.95;
}

.valueCard__icon,
.valueCard__title,
.valueCard__text {
  transform-style: preserve-3d;
}

.valueCard__icon {
  transform: translate3d(calc(var(--vx) * 10px), calc(var(--vy) * 8px), 34px);
}

.valueCard__title {
  transform: translate3d(calc(var(--vx) * 12px), calc(var(--vy) * 10px), 54px);
}

.valueCard__text {
  transform: translate3d(calc(var(--vx) * 14px), calc(var(--vy) * 12px), 38px);
}

.valueCard__icon {
  margin-bottom: clamp(12px, 1.5vh, 18px);
  width: clamp(44px, 3.8vw, 56px);
  height: clamp(44px, 3.8vw, 56px);
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(120% 140% at 30% 20%, rgba(124, 92, 255, 0.18), rgba(124, 92, 255, 0.06)),
    rgba(0, 0, 0, 0.28);
  box-shadow:
    0 14px 44px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
}

.valueCard__icon svg {
  width: clamp(26px, 2.2vw, 34px);
  height: clamp(26px, 2.2vw, 34px);
}

.valueCard__title {
  margin: 0 0 clamp(10px, 1vh, 14px);
  font-size: clamp(18px, 1.25vw + 14px, 28px);
  letter-spacing: -0.02em;
  color: rgba(246, 246, 248, 0.93);
}

.valueCard__text {
  margin: 0;
  font-size: clamp(15px, 0.75vw + 13px, 20px);
  line-height: 1.55;
  color: rgba(246, 246, 248, 0.68);
}

.valueCard:hover {
  transform:
    translateY(-6px)
    translate3d(calc(var(--vx) * 10px), calc(var(--vy) * 8px), calc(28px + var(--vz) * 0.85px))
    rotateX(calc(var(--vy) * -12deg))
    rotateY(calc(var(--vx) * 14deg))
    scale(1.02);
  border-color: rgba(124, 92, 255, 0.5);
  box-shadow:
    0 34px 110px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(124, 92, 255, 0.16) inset,
    0 0 56px rgba(124, 92, 255, 0.10);
}

/* Quand la souris bouge sur la card, on “remplace” progressivement le tilt fixe */
.valueCard {
  --baseRx: calc(var(--tiltX) + var(--vy) * -3.4deg);
  --baseRy: calc(var(--tiltY) + var(--vx) * 4.2deg);
}

.valueCard:hover,
.valueCard:focus-within {
  /* hover gère déjà un transform plus fort */
}

.valueCard.reveal.is-in {
  /* au repos (non-hover), utiliser un tilt vivant si --vx/--vy existent */
  transform:
    translateZ(0)
    rotateX(var(--baseRx))
    rotateY(var(--baseRy));
}

@media (prefers-reduced-motion: reduce) {
  .valueCard,
  .valueCard.reveal.is-in {
    transform: none !important;
  }
}

.valueCard:focus-within {
  transform:
    translateY(-4px)
    translate3d(0, 0, 26px)
    rotateX(2deg)
    rotateY(-2deg)
    scale(1.015);
  border-color: rgba(124, 92, 255, 0.55);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(124, 92, 255, 0.14) inset;
}

/* `reveal` applique aussi un transform: on force la priorité au hover 3D des cartes */
.valueCard.reveal.is-in:hover,
.valueCard.reveal.is-in:focus-within {
  transform:
    translateY(-6px)
    translate3d(calc(var(--vx) * 8px), calc(var(--vy) * 6px), calc(var(--vz) * 1px))
    rotateX(calc(var(--vy) * -8deg))
    rotateY(calc(var(--vx) * 10deg))
    scale(1.02) !important;
}

@media (prefers-reduced-motion: reduce) {
  .valueCard::before {
    transform: none !important;
  }
}

.aboutProcess {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 0;
}

/* --- Blocs titre / texte en alternance (sous Process) --- */
.about .aboutEditorial {
  position: relative;
  padding: clamp(56px, 9vh, 104px) clamp(24px, 5vw, 72px) clamp(72px, 11vh, 128px);
  margin: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(900px 520px at 12% 55%, rgba(124, 92, 255, 0.12), transparent 58%),
    radial-gradient(760px 480px at 88% 68%, rgba(188, 166, 255, 0.07), transparent 62%);
  perspective: 1100px;
  perspective-origin: 50% 35%;
  transform-style: preserve-3d;
  --ax: 0;
  --ay: 0;
}

.aboutEditorial__inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(44px, 7vh, 80px);
  position: relative;
  z-index: 1;
}

.aboutEditorial__offerHead {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto clamp(28px, 4vh, 48px);
  padding: clamp(32px, 5.5vh, 52px) 0 clamp(8px, 1.5vh, 16px);
}

.aboutEditorial__offerHead__glow {
  position: absolute;
  left: 50%;
  top: 52%;
  width: min(560px, 88vw);
  height: min(220px, 40vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.07), transparent 72%);
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
}

.aboutEditorial__offerHead__ornament {
  position: relative;
  z-index: 1;
  width: min(420px, 72vw);
  display: flex;
  justify-content: center;
  margin-bottom: clamp(14px, 2vh, 20px);
}

.aboutEditorial__offerHead__rule {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--stroke) 18%,
    rgba(255, 255, 255, 0.28) 50%,
    var(--stroke) 82%,
    transparent 100%
  );
}

.aboutEditorial__offerTitle {
  position: relative;
  z-index: 1;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.6vh, 8px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

.aboutEditorial__offerTitle::before {
  content: "AUXO";
  position: absolute;
  left: 50%;
  bottom: -0.08em;
  transform: translateX(-50%);
  font-size: clamp(120px, 22vw, 240px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.06);
  opacity: 0.32;
  z-index: -1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.aboutEditorial__offerTitle__line {
  font-size: clamp(13px, 1.1vw + 9px, 17px);
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.52);
}

.aboutEditorial__offerTitle__accent {
  font-size: clamp(58px, 11vw + 10px, 128px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: rgba(246, 246, 248, 0.96);
  text-shadow:
    0 0 28px rgba(124, 92, 255, 0.16),
    0 0 56px rgba(124, 92, 255, 0.07);
}

.aboutEditorial__offerTitle__accent::after {
  content: "";
  display: block;
  width: clamp(48px, 8vw, 72px);
  height: 2px;
  margin: clamp(14px, 2vh, 20px) auto 0;
  border-radius: 999px;
  background: var(--violet);
  opacity: 0.85;
}

.aboutZigzag--end:first-of-type {
  position: relative;
  z-index: 1;
}

.aboutEditorial__cta {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: clamp(20px, 4vh, 40px);
  padding: clamp(24px, 4vh, 48px) 0 clamp(8px, 1.5vh, 16px);
}

.aboutEditorial__ctaGlow {
  position: absolute;
  left: 50%;
  top: 54%;
  width: min(480px, 92vw);
  height: clamp(100px, 14vw, 140px);
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(124, 92, 255, 0.42), rgba(124, 92, 255, 0.12) 48%, transparent 72%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  animation: aboutEditorialCtaGlow 4.8s ease-in-out infinite alternate;
}

@keyframes aboutEditorialCtaGlow {
  from {
    opacity: 0.65;
    transform: translate(-50%, -50%) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.aboutEditorial__ctaBtn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.6vw, 16px);
  min-height: clamp(58px, 7.5vh, 68px);
  padding: clamp(18px, 2.4vh, 22px) clamp(32px, 5vw, 48px);
  font-size: clamp(16px, 1vw + 12px, 20px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.98);
  border-radius: 999px;
  border: 1px solid rgba(188, 166, 255, 0.5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 38%, transparent 100%),
    radial-gradient(130% 160% at 18% 0%, rgba(188, 166, 255, 0.38), rgba(124, 92, 255, 0.22) 45%, rgba(124, 92, 255, 0.12) 100%);
  box-shadow:
    0 0 0 1px rgba(124, 92, 255, 0.28) inset,
    0 28px 72px rgba(0, 0, 0, 0.48),
    0 0 56px rgba(124, 92, 255, 0.32),
    0 0 120px rgba(124, 92, 255, 0.14);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 280ms var(--ease2),
    box-shadow 280ms var(--ease2),
    border-color 280ms var(--ease2),
    color 280ms var(--ease2);
}

.aboutEditorial__ctaBtn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.16) 42%,
    transparent 58%
  );
  transform: translateX(-120%);
  transition: transform 680ms var(--ease2);
  pointer-events: none;
  z-index: -1;
}

.aboutEditorial__ctaBtn::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(188, 166, 255, 0.55), rgba(124, 92, 255, 0.2), rgba(188, 166, 255, 0.45));
  z-index: -2;
  opacity: 0.55;
  filter: blur(6px);
  transition: opacity 280ms var(--ease2);
}

.aboutEditorial__ctaBtn__label {
  position: relative;
  z-index: 1;
}

.aboutEditorial__ctaBtn__icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 4.5vw, 42px);
  height: clamp(36px, 4.5vw, 42px);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  transition: transform 280ms var(--ease2), background-color 280ms var(--ease2);
}

.aboutEditorial__ctaBtn__icon svg {
  display: block;
}

.aboutEditorial__ctaBtn:hover {
  transform: translate3d(0, -4px, 0) scale(1.03);
  border-color: rgba(210, 196, 255, 0.72);
  color: #fff;
  box-shadow:
    0 0 0 1px rgba(188, 166, 255, 0.35) inset,
    0 36px 88px rgba(0, 0, 0, 0.55),
    0 0 72px rgba(124, 92, 255, 0.45),
    0 0 140px rgba(124, 92, 255, 0.2);
}

.aboutEditorial__ctaBtn:hover::before {
  transform: translateX(120%);
}

.aboutEditorial__ctaBtn:hover::after {
  opacity: 0.85;
}

.aboutEditorial__ctaBtn:hover .aboutEditorial__ctaBtn__icon {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.16);
}

.aboutEditorial__ctaBtn:focus-visible {
  outline: none;
  border-color: rgba(210, 196, 255, 0.85);
  box-shadow:
    0 0 0 1px rgba(188, 166, 255, 0.4) inset,
    0 36px 88px rgba(0, 0, 0, 0.55),
    0 0 0 4px rgba(124, 92, 255, 0.28),
    0 0 72px rgba(124, 92, 255, 0.4);
}

.aboutEditorial__ctaBtn:active {
  transform: translate3d(0, -1px, 0) scale(1.01);
}

@media (prefers-reduced-motion: reduce) {
  .aboutEditorial__ctaGlow {
    animation: none;
  }

  .aboutEditorial__ctaBtn::before {
    display: none;
  }
}

/* --- Engagements: particules “+” en Three.js --- */
.aboutEditorial__threeRoot {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.95;
}

.aboutZigzag {
  transform-style: preserve-3d;
  --hx: 0;
  --hy: 0;
  --hz: 0;
}

.aboutZigzag__wrap {
  transform-style: preserve-3d;
  transition: transform 360ms var(--ease2);
}

/* “Groupe parallax” = label + titre + texte ensemble */
.aboutZigzag__label,
.aboutZigzag__title,
.aboutZigzag__text {
  transform-style: preserve-3d;
  transition: text-shadow 360ms var(--ease2);
}

.aboutZigzag:hover .aboutZigzag__wrap,
.aboutZigzag:focus-within .aboutZigzag__wrap {
  transform:
    translate3d(calc(var(--hx) * 10px), calc(var(--hy) * 8px), calc(var(--hz) * 0.9px))
    rotateX(calc(var(--hy) * -6deg))
    rotateY(calc(var(--hx) * 7deg))
    scale(1.035);
}

.aboutZigzag:hover .aboutZigzag__title,
.aboutZigzag:focus-within .aboutZigzag__title {
  text-shadow: 0 0 26px rgba(124, 92, 255, 0.14), 0 0 58px rgba(124, 92, 255, 0.10);
}

.aboutZigzag:hover .aboutZigzag__text,
.aboutZigzag:focus-within .aboutZigzag__text {
  text-shadow: 0 0 26px rgba(124, 92, 255, 0.10);
}

.aboutZigzag {
  display: flex;
  align-items: stretch;
  gap: clamp(18px, 2.8vw, 32px);
  width: 100%;
}

.aboutZigzag--end {
  justify-content: flex-end;
}

.aboutZigzag--start {
  justify-content: flex-start;
}

.aboutZigzag__wrap {
  max-width: min(560px, 100%);
  flex: 0 1 auto;
}

.aboutZigzag--end .aboutZigzag__wrap {
  text-align: right;
}

.aboutZigzag--start .aboutZigzag__wrap {
  text-align: left;
}

.aboutZigzag__label {
  margin: 0 0 clamp(10px, 1.2vh, 14px);
  font-size: clamp(11px, 0.75vw + 8px, 13px);
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(124, 92, 255, 0.9);
}

.aboutZigzag__title {
  margin: 0 0 clamp(16px, 2vh, 24px);
  font-size: clamp(28px, 2.8vw + 14px, 52px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.06;
  color: rgba(246, 246, 248, 0.94);
}

.aboutZigzag__text {
  margin: 0;
  font-size: clamp(16px, 0.9vw + 13px, 21px);
  line-height: 1.6;
  color: rgba(246, 246, 248, 0.66);
}

.aboutZigzag__rail {
  display: none;
  width: 3px;
  flex-shrink: 0;
  border-radius: 999px;
  margin-top: clamp(6px, 0.8vh, 10px);
  min-height: clamp(4.5em, 12vh, 7rem);
  background: linear-gradient(
    180deg,
    rgba(188, 166, 255, 0.95) 0%,
    rgba(124, 92, 255, 0.45) 42%,
    rgba(124, 92, 255, 0.08) 100%
  );
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.15);
}

.aboutZigzag--end .aboutZigzag__rail {
  align-self: flex-start;
}

.aboutZigzag--start .aboutZigzag__rail {
  align-self: flex-start;
}

@media (max-width: 720px) {
  .aboutZigzag {
    flex-direction: column;
    gap: clamp(14px, 3vw, 20px);
  }

  .aboutZigzag--end {
    justify-content: flex-start;
  }

  .aboutZigzag--end .aboutZigzag__wrap,
  .aboutZigzag--start .aboutZigzag__wrap {
    text-align: left;
    max-width: 100%;
  }

  .aboutZigzag__rail {
    width: 100%;
    height: 3px;
    min-height: 0;
    min-width: 0;
    margin-top: 0;
    margin-bottom: 0;
    background: linear-gradient(
      90deg,
      rgba(188, 166, 255, 0.95) 0%,
      rgba(124, 92, 255, 0.35) 50%,
      transparent 100%
    );
  }

  .aboutZigzag--end .aboutZigzag__rail {
    order: -1;
  }

  .aboutEditorial__offerHead__ornament {
    width: min(280px, 88vw);
  }

  .aboutEditorial__offerTitle__line {
    letter-spacing: 0.28em;
    font-size: 13px;
  }

  .aboutEditorial__offerTitle__accent {
    font-size: clamp(48px, 14vw, 76px);
  }

  .aboutEditorial__offerTitle::before {
    font-size: clamp(88px, 28vw, 140px);
  }
}

/* Bandeau pleine largeur viewport : une « page » par étape */
.processStrip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  flex: 0 1 auto;
  min-height: clamp(360px, calc(88dvh - 220px), 760px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.processScroll {
  flex: 1 1 auto;
  align-self: stretch;
  min-height: 0;
  width: 100%;
  height: 100%;
  touch-action: pan-x pinch-zoom;
  overflow-x: auto;
  overflow-y: hidden;
  /* Pas de snap : avec snap actif, certains moteurs réalignent scrollLeft et la molette semble « bloquée ». */
  scroll-snap-type: none;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  overscroll-behavior-y: auto;
  outline: none;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.processScroll--dragging {
  cursor: grabbing;
  user-select: none;
}

.processScroll::-webkit-scrollbar {
  display: none;
}

.processScroll:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(124, 92, 255, 0.45);
}

.process {
  position: relative;
  box-sizing: border-box;
  display: block;
  width: max-content;
  height: 100%;
  min-height: 100%;
  padding: clamp(20px, 4vh, 48px) 0;
}

.process__rail {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(40px, 7vh, 80px);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(124, 92, 255, 0.00),
    rgba(124, 92, 255, 0.55),
    rgba(255, 255, 255, 0.12),
    rgba(124, 92, 255, 0.55),
    rgba(124, 92, 255, 0.00)
  );
  transform-origin: left center;
  transform: scaleX(0.06);
  opacity: 0.6;
  transition: transform 1100ms var(--ease2);
}

.process.is-in .process__rail {
  transform: scaleX(1);
}

.process__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: processStep;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  align-items: stretch;
  height: 100%;
  min-height: 100%;
  width: max-content;
}

.processStep {
  position: relative;
  box-sizing: border-box;
  counter-increment: processStep;
  flex: 0 0 var(--process-slide-w, 100vw);
  width: var(--process-slide-w, 100vw);
  min-width: var(--process-slide-w, 100vw);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(24px, 5vh, 56px) clamp(20px, 5vw, 48px);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  background: radial-gradient(80% 55% at 50% 35%, rgba(124, 92, 255, 0.08), transparent 72%);
}

/* Numéro d’étape stylisé (01, 02, …) — intégré au layout */
.processStep::before,
.processStep::after {
  content: none;
}

.processStep:first-child {
  border-left: none;
}

.processStep__dot {
  display: none;
}

.processStep__body {
  /* Layout: numéro (outline) à gauche + texte à droite */
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(14px, 2.4vw, 26px);
  align-items: start;
  text-align: left;
  max-width: min(74ch, 96%);
  margin: 0 auto;
  padding-top: clamp(28px, 3.6vh, 48px);
}

.processStep__body::before {
  content: counter(processStep, decimal-leading-zero);
  display: block;
  grid-row: 1 / span 2;
  align-self: center;
  line-height: 0.86;
  letter-spacing: 0.04em;
  font-weight: 950;
  font-size: clamp(92px, 10vw + 40px, 190px);

  /* Outline */
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(246, 246, 248, 0.42);
  text-stroke: 1.4px rgba(246, 246, 248, 0.42);
  filter: drop-shadow(0 24px 90px rgba(0, 0, 0, 0.65));
  opacity: 0.95;
  transform: translateY(-2px);
  pointer-events: none;
}

.processStep__name,
.processStep__desc {
  grid-column: 2;
}

.processStep__name {
  font-size: clamp(28px, 4vw + 18px, 64px);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: rgba(246, 246, 248, 0.94);
  margin-bottom: clamp(6px, 1.1vh, 12px);
  position: relative;
}

.processStep__name::before {
  content: none;
}

.processStep__desc {
  font-size: clamp(16px, 1.2vw + 14px, 26px);
  line-height: 1.5;
  color: rgba(246, 246, 248, 0.68);
}

@media (max-width: 720px) {
  .processStep__body {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .processStep__body::before {
    grid-row: auto;
    margin: 0 auto 10px;
    font-size: clamp(84px, 18vw, 150px);
    transform: none;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, clamp(16px, 2.5vh, 28px), 0);
  transition:
    opacity 900ms var(--ease2) var(--reveal-delay, 0ms),
    transform 900ms var(--ease2) var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Engagements : fondu sans translation (évite conflit 3D / effet décalé) */
.reveal.reveal--fade {
  transform: none;
  filter: blur(6px);
  transition:
    opacity 820ms var(--ease2) var(--reveal-delay, 0ms),
    filter 820ms var(--ease2) var(--reveal-delay, 0ms);
}

.reveal.reveal--fade.is-in {
  transform: none;
  filter: blur(0);
}

.aboutEditorial .aboutZigzag.reveal.reveal--fade.is-in {
  transform: none;
}

.aboutEditorial .aboutZigzag.reveal.reveal--fade.is-in:hover .aboutZigzag__wrap,
.aboutEditorial .aboutZigzag.reveal.reveal--fade.is-in:focus-within .aboutZigzag__wrap {
  transform:
    translate3d(calc(var(--hx) * 10px), calc(var(--hy) * 8px), calc(var(--hz) * 0.9px))
    rotateX(calc(var(--hy) * -6deg))
    rotateY(calc(var(--hx) * 7deg))
    scale(1.035);
}

.processStep[data-process-step="0"] {
  --reveal-delay: 0ms;
}
.processStep[data-process-step="1"] {
  --reveal-delay: 110ms;
}
.processStep[data-process-step="2"] {
  --reveal-delay: 220ms;
}
.processStep[data-process-step="3"] {
  --reveal-delay: 330ms;
}

@media (max-width: 980px) {
  .aboutScreen {
    min-height: max(88dvh, 560px);
    padding: clamp(32px, 5.5vh, 72px) clamp(18px, 4vw, 28px);
  }

  .aboutScreen__inner {
    width: calc(100% - 32px);
  }

  .valuesGrid {
    grid-template-columns: 1fr;
    gap: clamp(14px, 3vw, 22px);
  }

  .processStrip {
    min-height: clamp(320px, calc(88dvh - 240px), 680px);
  }

  .aboutProcess__scrollHint {
    display: block;
    margin: clamp(14px, 2.2vh, 20px) 0 0;
    font-size: clamp(12px, 0.85vw + 10px, 14px);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.45;
    color: rgba(246, 246, 248, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aboutIntro__ornament {
    animation: none !important;
  }

  .reveal,
  .reveal.reveal--fade {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }

  .valueCard:hover {
    transform: none;
  }

  .process__rail {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}

/* --- Contact (formulaire interactif, cohérent avec le style premium) --- */
.contact {
  position: relative;
  padding: clamp(78px, 11vh, 132px) 0 clamp(80px, 12vh, 148px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(1100px 720px at 18% 18%, rgba(124, 92, 255, 0.12), transparent 62%),
    radial-gradient(900px 640px at 82% 24%, rgba(188, 166, 255, 0.06), transparent 58%),
    linear-gradient(180deg, #06060c, #050509 52%, #06060c 100%);
}

.contact::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 10%, rgba(124, 92, 255, 0.16), transparent 65%),
    radial-gradient(55% 45% at 50% 40%, rgba(255, 255, 255, 0.05), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: auto, auto, 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.22;
}

.contact {
  --sx: 50%;
  --sy: 20%;
  --fxo: 0.9;
}

.contact__fx {
  position: absolute;
  inset: -140px 0 -180px;
  z-index: 0;
  pointer-events: none;
  width: 140vw;
  left: 50%;
  transform: translateX(-50%);
  background:
    radial-gradient(680px 520px at var(--sx) var(--sy), rgba(124, 92, 255, 0.18), transparent 62%),
    radial-gradient(520px 440px at calc(var(--sx) + 10%) calc(var(--sy) + 22%), rgba(188, 166, 255, 0.10), transparent 64%);
  opacity: var(--fxo);
  transition: opacity 320ms var(--ease2);
}

.contact__inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contactHead {
  text-align: center;
  max-width: min(820px, 100%);
  margin: 0 auto clamp(26px, 4vh, 48px);
}

.contactHead__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.contactHead__title {
  margin: 0 0 12px;
  font-size: clamp(34px, 3.4vw + 14px, 62px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: rgba(246, 246, 248, 0.94);
  text-shadow: 0 0 26px rgba(124, 92, 255, 0.10);
}

.contactHead__text {
  margin: 0 auto;
  max-width: 60ch;
  font-size: clamp(15px, 0.8vw + 13px, 18px);
  line-height: 1.6;
  color: rgba(246, 246, 248, 0.66);
}

.contactGrid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: clamp(14px, 2.2vw, 28px);
  align-items: start;
}

.contactGrid {
  position: relative;
}

.contactGrid::before {
  content: "";
  position: absolute;
  inset: -60px;
  z-index: 0;
  pointer-events: none;
  display: none;
}

.contactGrid:hover::before {
  opacity: 1;
}

.contactGrid.is-idle::before {
  animation: none;
}

@keyframes contactSpotlight {
  0% {
    background:
      radial-gradient(520px 420px at 42% 18%, rgba(124, 92, 255, 0.18), transparent 60%),
      radial-gradient(420px 360px at 62% 48%, rgba(188, 166, 255, 0.10), transparent 62%);
  }
  100% {
    background:
      radial-gradient(520px 420px at 58% 34%, rgba(124, 92, 255, 0.20), transparent 60%),
      radial-gradient(420px 360px at 48% 62%, rgba(188, 166, 255, 0.12), transparent 62%);
  }
}

.contactForm,
.contactCard {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 140% at 18% 12%, rgba(124, 92, 255, 0.10), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 24px 90px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}

.contactForm {
  padding: clamp(20px, 2.3vw, 30px);
  display: grid;
  gap: 16px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  --px: 0;
  --py: 0;
  --pz: 0;
  transform:
    translate3d(calc(var(--px) * 10px), calc(var(--py) * 8px), calc(var(--pz) * 1px))
    scale(calc(1 + var(--pz) * 0.0035));
  transition: transform 320ms var(--ease2), border-color 320ms var(--ease2), box-shadow 320ms var(--ease2);
}

.contactForm {
  z-index: 1;
}

.contactAside {
  position: relative;
  z-index: 1;
}

.contactForm::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(520px 340px at calc(var(--sx) - 10%) calc(var(--sy) + 10%), rgba(124, 92, 255, 0.12), transparent 62%),
    radial-gradient(360px 260px at calc(var(--sx) + 18%) calc(var(--sy) + 32%), rgba(255, 255, 255, 0.06), transparent 64%);
  opacity: 0.75;
}

.contactForm:hover::before {
  opacity: 1;
}

.contactForm > * {
  position: relative;
  z-index: 2;
}

.contactForm__sheen {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  background:
    linear-gradient(
      110deg,
      transparent 0%,
      rgba(255, 255, 255, 0.06) 34%,
      rgba(255, 255, 255, 0.12) 46%,
      rgba(188, 166, 255, 0.08) 52%,
      transparent 68%
    );
  transform: translate3d(-120%, 0, 0);
  filter: blur(0.2px);
  transition: opacity 280ms var(--ease2);
  mix-blend-mode: screen;
}

.contactForm:hover .contactForm__sheen {
  opacity: 0.8;
  animation: contactSheen 1.35s var(--ease2) both;
}

@keyframes contactSheen {
  0% { transform: translate3d(-120%, 0, 0); }
  100% { transform: translate3d(120%, 0, 0); }
}

.contactForm:focus-within .contactForm__sheen {
  opacity: 0.65;
  animation: contactSheen 1.55s var(--ease2) both;
}

.contactForm:hover {
  border-color: rgba(124, 92, 255, 0.22);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset,
    0 0 56px rgba(124, 92, 255, 0.10);
}

.contactForm__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field {
  display: grid;
  gap: 8px;
}

.field__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.56);
}

.field__control {
  appearance: none;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background:
    radial-gradient(120% 140% at 18% 10%, rgba(124, 92, 255, 0.08), rgba(0, 0, 0, 0.22)),
    rgba(0, 0, 0, 0.22);
  color: rgba(246, 246, 248, 0.90);
  padding: 15px 16px;
  font-size: 14px;
  letter-spacing: -0.01em;
  outline: none;
  transition:
    border-color 220ms var(--ease),
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.field__control::placeholder {
  color: rgba(246, 246, 248, 0.38);
}

.field__control:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.16);
}

.field__control:focus-visible {
  border-color: rgba(124, 92, 255, 0.72);
  box-shadow:
    0 0 0 4px rgba(124, 92, 255, 0.16),
    0 0 64px rgba(124, 92, 255, 0.10);
}

.field__control--textarea {
  resize: vertical;
  min-height: 148px;
  line-height: 1.55;
  padding-block: 14px;
}

.field__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.field__hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(246, 246, 248, 0.48);
}

.field__counter {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(246, 246, 248, 0.46);
}

.field.is-invalid .field__control {
  border-color: rgba(255, 94, 125, 0.62);
  box-shadow: 0 0 0 4px rgba(255, 94, 125, 0.10);
}

.field.is-invalid {
  animation: fieldShake 360ms var(--ease) both;
}

.field.is-valid .field__control {
  border-color: rgba(124, 92, 255, 0.52);
}

@keyframes fieldShake {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(-3px, 0, 0); }
  50% { transform: translate3d(3px, 0, 0); }
  75% { transform: translate3d(-2px, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

.field.is-invalid .field__hint {
  color: rgba(255, 154, 175, 0.72);
}

.contactForm__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 2px;
}

.contactForm__submit[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
}

.contactForm__submit {
  position: relative;
  gap: 10px;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.contactForm__submit.btn:hover {
  transform: translate3d(0, -2px, 0) scale(1.02);
}

.contactForm__submit.btn:active {
  transform: translate3d(0, 0, 0) scale(0.99);
}

.contactForm__submit::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background: radial-gradient(220px 80px at var(--sx) var(--sy), rgba(255, 255, 255, 0.22), transparent 65%);
  opacity: 0;
  transition: opacity 240ms var(--ease2);
}

.contactForm__submit:hover::before {
  opacity: 0.9;
}

.contactForm__submitSpinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.20);
  border-top-color: rgba(246, 246, 248, 0.86);
  display: none;
  animation: contactSpin 0.9s linear infinite;
}

.contactForm.is-sending .contactForm__submitSpinner {
  display: inline-block;
}

.contactForm.is-sending .contactForm__submitLabel {
  opacity: 0.92;
}

@keyframes contactSpin {
  to { transform: rotate(360deg); }
}

.contactCard {
  position: relative;
  overflow: hidden;
  transition: transform 420ms var(--ease2), border-color 420ms var(--ease2), box-shadow 420ms var(--ease2);
}

.contactCard::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent 65%);
  opacity: 0;
  transform: translate3d(-18%, -10%, 0) rotate(18deg);
  transition: opacity 360ms var(--ease2), transform 520ms var(--ease2);
}

.contactCard:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.22);
  box-shadow:
    0 30px 110px rgba(0, 0, 0, 0.62),
    0 0 0 1px rgba(124, 92, 255, 0.08) inset,
    0 0 52px rgba(124, 92, 255, 0.08);
}

.contactCard:hover::before {
  opacity: 1;
  transform: translate3d(14%, 10%, 0) rotate(-14deg);
}

.contactForm__status {
  margin: 2px 0 0;
  min-height: 1.2em;
  font-size: 13px;
  color: rgba(246, 246, 248, 0.62);
}

.contactForm__status.is-error {
  color: rgba(255, 154, 175, 0.82);
}

.contactForm__status.is-success {
  color: rgba(188, 166, 255, 0.95);
}

.contactForm__fineprint {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(246, 246, 248, 0.40);
}

.contactForm__fineprint code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  color: rgba(246, 246, 248, 0.62);
}

.contactAside {
  display: grid;
  gap: 14px;
}

.contactAsideCard {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.14);
  box-shadow: none;
  padding: 16px 16px 18px;
  position: relative;
  overflow: hidden;
}

.contactAsideCard::before {
  content: none;
}

.contactAsideCard:hover::before {
  opacity: 0;
}

.contactAsideHead__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.56);
}

.contactAsideHead__title {
  margin: 0 0 12px;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: rgba(246, 246, 248, 0.88);
}

.contactAsideRows {
  display: grid;
  gap: 10px;
  padding: 12px 0 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contactAsideRow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.contactAsideRow__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.52);
}

.contactAsideRow__value {
  font-size: 14px;
  letter-spacing: -0.01em;
  color: rgba(246, 246, 248, 0.90);
  border-bottom: 1px solid rgba(124, 92, 255, 0.18);
  padding-bottom: 2px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

a.contactAsideRow__value:hover {
  color: rgba(246, 246, 248, 0.98);
  border-bottom-color: rgba(124, 92, 255, 0.65);
  transform: translateY(-1px);
}

.contactAsideActions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contactAsideBtn {
  padding: 11px 12px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.contactAsideFineprint {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.55;
  color: rgba(246, 246, 248, 0.46);
}

.contactInfo {
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(120% 140% at 22% 10%, rgba(124, 92, 255, 0.12), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
  box-shadow:
    0 26px 100px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset;
  padding: 18px 18px 20px;
  position: relative;
  overflow: hidden;
  transition: transform 420ms var(--ease2), border-color 420ms var(--ease2), box-shadow 420ms var(--ease2);
}

.contactInfo::before {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent 65%);
  opacity: 0;
  transform: translate3d(-18%, -10%, 0) rotate(18deg);
  transition: opacity 360ms var(--ease2), transform 520ms var(--ease2);
}

.contactInfo:hover {
  transform: translateY(-6px);
  border-color: rgba(124, 92, 255, 0.22);
  box-shadow:
    0 34px 120px rgba(0, 0, 0, 0.64),
    0 0 0 1px rgba(124, 92, 255, 0.08) inset,
    0 0 52px rgba(124, 92, 255, 0.08);
}

.contactInfo:hover::before {
  opacity: 1;
  transform: translate3d(14%, 10%, 0) rotate(-14deg);
}

.contactInfo__kicker {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.56);
}

.contactInfo__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.contactInfo__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.contactInfo__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.54);
}

.contactInfo__value {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: rgba(246, 246, 248, 0.92);
  border-bottom: 1px solid rgba(124, 92, 255, 0.22);
  padding-bottom: 3px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.contactInfo__value:hover {
  color: rgba(246, 246, 248, 0.98);
  border-bottom-color: rgba(124, 92, 255, 0.65);
  transform: translateY(-1px);
}

.contactInfo__thanks {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(246, 246, 248, 0.64);
}

@media (max-width: 980px) {
  .contact__inner {
    width: min(980px, calc(100% - 44px));
  }
  .contactGrid {
    grid-template-columns: 1fr;
  }
  .contactHead {
    text-align: left;
  }
  .contactHead__text {
    margin-left: 0;
  }
  .contactForm__row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field__control {
    transition: none !important;
  }
  .contactForm {
    transition: none !important;
    transform: none !important;
  }
  .field.is-invalid {
    animation: none !important;
  }
  .chip {
    transition: none !important;
  }
  .contactGrid.is-idle::before {
    animation: none !important;
  }
  .contactForm:hover::after {
    animation: none !important;
  }
  .contactForm__sheen {
    animation: none !important;
    transition: none !important;
  }
}

/* --- Footer (premium, discret, responsive) --- */
.siteFooter {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(34px, 6vh, 68px) 0 clamp(24px, 4.5vh, 44px);
  background:
    radial-gradient(900px 520px at 20% 10%, rgba(124, 92, 255, 0.08), transparent 62%),
    radial-gradient(760px 520px at 82% 35%, rgba(188, 166, 255, 0.04), transparent 60%),
    linear-gradient(180deg, #06060c, #050509 60%, #06060c 100%);
  overflow: hidden;
}

.siteFooter::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(255, 255, 255, 0.04), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  background-size: auto, 220px 220px;
  mix-blend-mode: overlay;
  opacity: 0.16;
}

.siteFooter__inner {
  width: min(1180px, calc(100% - 96px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.siteFooter__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.siteFooter__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.90);
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: border-color 180ms var(--ease), background-color 180ms var(--ease), transform 220ms var(--ease);
}

.siteFooter__brand:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.45);
  background: rgba(124, 92, 255, 0.10);
}

.siteFooter__brand:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.siteFooter__mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: block;
  flex: 0 0 auto;
  background: url("../assets/logo.png") center / contain no-repeat;
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.12);
  transform: translateY(1px);
}

.siteFooter__tagline {
  margin: 0;
  max-width: 70ch;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(246, 246, 248, 0.62);
}

.siteFooter__kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.56);
}

.siteFooter__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 28px);
  padding-top: clamp(16px, 2.6vh, 22px);
}

.siteFooter__row {
  display: grid;
  gap: 10px;
}

.siteFooter__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.siteFooter__metaLink {
  display: inline-flex;
  width: fit-content;
  color: rgba(246, 246, 248, 0.74);
  border-bottom: 1px solid rgba(124, 92, 255, 0.14);
  padding-bottom: 2px;
  transition: border-color 220ms var(--ease), color 220ms var(--ease), transform 220ms var(--ease);
}

.siteFooter__metaLink:hover {
  color: rgba(246, 246, 248, 0.98);
  border-bottom-color: rgba(124, 92, 255, 0.65);
  transform: translateY(-1px);
}

.siteFooter__metaLink:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
  border-radius: 10px;
}

.siteFooter__bottom {
  margin-top: clamp(18px, 3.2vh, 26px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(246, 246, 248, 0.52);
}

.siteFooter__fineprint {
  font-size: 12px;
  letter-spacing: 0.04em;
}

.siteFooter__bottomLinks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.siteFooter__toTop {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.62);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.18);
  transition: transform 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}

.siteFooter__toTop:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.45);
  color: rgba(246, 246, 248, 0.86);
}

.siteFooter__toTop:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.75);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

@media (max-width: 980px) {
  .siteFooter__inner {
    width: min(980px, calc(100% - 44px));
  }
  .siteFooter__top {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-bottom: 14px;
  }
  .siteFooter__rows {
    grid-template-columns: 1fr;
  }
  .siteFooter__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .siteFooter__bottomLinks {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteFooter__brand,
  .siteFooter__metaLink,
  .siteFooter__toTop {
    transition: none !important;
  }
}

/* --- Pages légales (mentions / confidentialité) --- */
.legalPage {
  min-height: 100vh;
  padding: 108px 0 76px;
  position: relative;
}

.legalPage__inner {
  width: min(980px, calc(100% - 96px));
  margin: 0 auto;
}

.legalPage__card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(15, 15, 20, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(18px, 3.4vw, 34px);
  overflow: hidden;
}

.legalPage__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(120% 90% at 20% 10%, rgba(124, 92, 255, 0.20), transparent 55%),
    radial-gradient(110% 90% at 80% 0%, rgba(246, 246, 248, 0.06), transparent 60%);
  opacity: 0.85;
}

.legalPage__content {
  position: relative;
  z-index: 1;
}

.legalPage h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
}

.legalPage .legalPage__lede {
  margin: 0 0 22px;
  color: rgba(246, 246, 248, 0.78);
  max-width: 75ch;
}

.legalPage h2 {
  margin: 28px 0 10px;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.88);
}

.legalPage p {
  margin: 0 0 12px;
  color: rgba(246, 246, 248, 0.84);
}

.legalPage ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(246, 246, 248, 0.84);
}

.legalPage li {
  margin: 6px 0;
}

.legalPage a {
  border-bottom: 1px solid rgba(124, 92, 255, 0.32);
}

.legalPage a:hover {
  border-bottom-color: rgba(124, 92, 255, 0.72);
}

.legalPage__metaGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 14px;
}

.legalPage__metaItem {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.18);
}

.legalPage__metaLabel {
  display: block;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.62);
  margin-bottom: 6px;
}

.legalPage__metaValue {
  margin: 0;
  color: rgba(246, 246, 248, 0.90);
}

.legalPage__backRow {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .legalPage__inner {
    width: min(980px, calc(100% - 44px));
  }
  .legalPage__metaGrid {
    grid-template-columns: 1fr;
  }
}

/* --- Cookie consent (Google Analytics) --- */
.cookieBanner {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  pointer-events: none;
}

.cookieBanner__inner {
  pointer-events: auto;
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.72);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 14px;
}

.cookieBanner__title {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.88);
}

.cookieBanner__text {
  margin: 0;
  color: rgba(246, 246, 248, 0.76);
  max-width: 80ch;
}

.cookieBanner__text a {
  border-bottom: 1px solid rgba(124, 92, 255, 0.32);
}

.cookieBanner__text a:hover {
  border-bottom-color: rgba(124, 92, 255, 0.72);
}

.cookieBanner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookieBanner__btn {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .cookieBanner__inner {
    grid-template-columns: 1fr;
  }
  .cookieBanner__actions {
    justify-content: flex-start;
  }
}

/* Permanent cookie settings button (bottom-left) */
.cookieSettingsBtn {
  position: fixed;
  left: 14px;
  bottom: 14px;
  z-index: 9998;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 14, 0.62);
  color: rgba(246, 246, 248, 0.88);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 160ms var(--ease2), border-color 160ms var(--ease2), background 160ms var(--ease2);
}

.cookieSettingsBtn:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
  background: rgba(10, 10, 14, 0.74);
}

.cookieSettingsBtn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18), 0 18px 60px rgba(0, 0, 0, 0.55);
}

/* Cookie preferences modal */
.cookieModal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 18px;
}

.cookieModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cookieModal__panel {
  position: relative;
  width: min(720px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.78);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 18px;
}

.cookieModal__panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  background: radial-gradient(120% 90% at 18% 10%, rgba(124, 92, 255, 0.22), transparent 55%),
    radial-gradient(110% 90% at 85% 0%, rgba(246, 246, 248, 0.06), transparent 60%);
  opacity: 0.9;
}

.cookieModal__head,
.cookieModal__card,
.cookieModal__foot,
.cookieModal__text {
  position: relative;
  z-index: 1;
}

.cookieModal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cookieModal__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.62);
}

.cookieModal__title {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.cookieModal__close {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.20);
  color: rgba(246, 246, 248, 0.82);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: transform 160ms var(--ease2), border-color 160ms var(--ease2);
}

.cookieModal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 92, 255, 0.55);
}

.cookieModal__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.18);
}

.cookieModal__text {
  margin: 14px 0 0;
  color: rgba(246, 246, 248, 0.78);
}

.cookieModal__card {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  padding: 14px;
}

.cookieModal__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.cookieModal__rowTitle {
  margin: 0 0 6px;
  color: rgba(246, 246, 248, 0.92);
  font-weight: 600;
}

.cookieModal__rowText {
  margin: 0;
  color: rgba(246, 246, 248, 0.74);
}

.cookieModal__rowText a {
  border-bottom: 1px solid rgba(124, 92, 255, 0.32);
}

.cookieModal__rowText a:hover {
  border-bottom-color: rgba(124, 92, 255, 0.72);
}

.cookieModal__rowActions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookieModal__hint {
  margin: 12px 0 0;
  color: rgba(246, 246, 248, 0.62);
  font-size: 12px;
}

.cookieModal__foot {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .cookieModal__row {
    grid-template-columns: 1fr;
  }
  .cookieModal__rowActions {
    justify-content: flex-start;
  }
}

/* --- OROSE — visualisation privée --- */
.orosePage {
  background: var(--bg);
}

/* Perf : fond statique, pas de grain SVG ni animations continues */
.orosePage .orose__orb {
  animation: none;
  filter: blur(6px) saturate(1.05);
  opacity: 0.28;
}

.orosePage .orose__stripes {
  animation: none;
  opacity: 0.22;
}

.orosePage .orose__grain {
  display: none;
}

.oroseFilm {
  content-visibility: auto;
  contain-intrinsic-size: auto 480px;
}

.orose {
  position: relative;
  min-height: 100vh;
  padding: clamp(96px, 12vh, 132px) 0 clamp(72px, 10vh, 110px);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(1100px 760px at 14% 12%, rgba(255, 120, 168, 0.14), transparent 58%),
    radial-gradient(980px 720px at 88% 18%, rgba(124, 92, 255, 0.20), transparent 60%),
    radial-gradient(900px 620px at 50% 92%, rgba(188, 166, 255, 0.10), transparent 62%),
    linear-gradient(180deg, #07070b, #050509 52%, #06060c 100%);
}

.orose__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orose__orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(12px) saturate(1.1);
  mix-blend-mode: screen;
  opacity: 0.34;
  animation: oroseOrbDrift 18s var(--ease2) infinite alternate;
}

.orose__orb--a {
  width: clamp(220px, 28vw, 460px);
  height: clamp(220px, 28vw, 460px);
  left: -8%;
  top: 8%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 168, 198, 0.75), rgba(124, 92, 255, 0.12) 58%, transparent 72%);
}

.orose__orb--b {
  width: clamp(260px, 32vw, 520px);
  height: clamp(260px, 32vw, 520px);
  right: -10%;
  bottom: 6%;
  opacity: 0.26;
  animation-duration: 24s;
  background: radial-gradient(circle at 40% 35%, rgba(188, 166, 255, 0.72), rgba(124, 92, 255, 0.10) 55%, transparent 72%);
}

.orose__stripes {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  mix-blend-mode: screen;
  background-image: repeating-linear-gradient(
    125deg,
    rgba(255, 168, 198, 0) 0px,
    rgba(255, 168, 198, 0) 10px,
    rgba(255, 168, 198, 0.18) 10px,
    rgba(255, 168, 198, 0.18) 12px,
    rgba(124, 92, 255, 0) 12px,
    rgba(124, 92, 255, 0) 24px
  );
  background-size: 52px 52px;
  animation: oroseStripesMove 12s linear infinite;
}

.orose__grain {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

@keyframes oroseOrbDrift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(5%, 8%, 0) scale(1.06); }
}

@keyframes oroseStripesMove {
  from { background-position: 0 0; }
  to { background-position: 180px 180px; }
}

.orose__inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.oroseHead {
  max-width: min(760px, 100%);
  margin: 0 0 clamp(40px, 6vh, 68px);
}

.oroseHead__kicker {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 168, 198, 0.62);
}

.oroseHead__title {
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
}

.oroseHead__brand {
  font-size: clamp(34px, 4.8vw + 10px, 72px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-transform: none;
  font-weight: 780;
  color: rgba(246, 246, 248, 0.96);
  text-shadow: 0 0 40px rgba(255, 120, 168, 0.18), 0 0 28px rgba(124, 92, 255, 0.14);
}

.oroseHead__text {
  margin: 0;
  max-width: 68ch;
  font-size: clamp(15px, 0.8vw + 13px, 18px);
  line-height: 1.7;
  color: rgba(246, 246, 248, 0.72);
}

.oroseRail {
  display: grid;
  gap: clamp(48px, 8vh, 88px);
}

.oroseFilm {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 2.4vw, 32px);
  align-items: start;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(255, 255, 255, 0.03);
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(124, 92, 255, 0.10) inset;
  transition:
    border-color 420ms var(--ease2),
    box-shadow 420ms var(--ease2),
    transform 420ms var(--ease2);
  scroll-margin-top: 96px;
  outline: none;
}

.oroseFilm--alt {
  grid-template-columns: 1fr auto;
}

.oroseFilm--alt .oroseFilm__index {
  order: 2;
}

.oroseFilm--alt .oroseFilm__body {
  order: 1;
}

.oroseFilm.is-focused {
  border-color: rgba(255, 140, 188, 0.42);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 140, 188, 0.14) inset,
    0 0 64px rgba(124, 92, 255, 0.12);
  transform: translateY(-4px);
}

.oroseFilm__index {
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.06);
  -webkit-text-stroke: 1px rgba(255, 168, 198, 0.22);
  user-select: none;
  padding-top: 8px;
}

.oroseFilm__body {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  min-width: 0;
}

.oroseFilm__kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 168, 198, 0.58);
}

.oroseFilm__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2vw + 12px, 34px);
  letter-spacing: -0.03em;
  color: rgba(246, 246, 248, 0.94);
}

.oroseFilm__tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.52);
}

.oroseFilm__stage {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(124, 92, 255, 0.12) inset;
}

.oroseFilm__stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    linear-gradient(120deg, rgba(255, 140, 188, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.42));
}

.oroseFilm__video {
  width: 100%;
  display: block;
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 680px);
  object-fit: contain;
  background: #000;
}

.oroseFilm__audio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.oroseFilm__stage--audio {
  min-height: min(52vw, 320px);
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 680px);
  display: grid;
  place-items: center;
}

.oroseFilm__stage--audioOnly {
  min-height: min(52vw, 320px);
  aspect-ratio: 16 / 9;
  max-height: min(72vh, 680px);
  display: grid;
  place-items: center;
}

.oroseFilm__stage--audioOnly .oroseFilm__video {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.oroseFilm__mediaArt {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: none;
  justify-items: center;
  align-content: center;
  gap: clamp(14px, 2.5vh, 22px);
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: clamp(28px, 5vw, 48px);
}

.oroseFilm__stage--audio .oroseFilm__mediaArt,
.oroseFilm__stage--audioOnly .oroseFilm__mediaArt {
  display: grid;
}

.oroseFilm__stage--audioOnly.is-playing .oroseFilm__mediaBars span,
.oroseFilm__stage--audio.is-playing .oroseFilm__mediaBars span {
  animation-play-state: running;
}

.oroseFilm__stage--audioOnly:not(.is-playing) .oroseFilm__mediaBars span,
.oroseFilm__stage--audio:not(.is-playing) .oroseFilm__mediaBars span {
  animation-play-state: paused;
  opacity: 0.45;
}

.oroseFilm__mediaArtMark {
  width: clamp(52px, 12vw, 72px);
  height: clamp(52px, 12vw, 72px);
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 168, 198, 0.35), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.28), transparent 58%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 48px rgba(124, 92, 255, 0.18);
}

.quitteriePage .oroseFilm__mediaArtMark {
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 196, 120, 0.38), transparent 62%),
    radial-gradient(circle at 70% 70%, rgba(124, 92, 255, 0.22), transparent 58%),
    rgba(255, 255, 255, 0.04);
}

.oroseFilm__mediaArtLabel {
  font-size: clamp(11px, 0.9vw + 8px, 13px);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.52);
}

.oroseFilm__mediaBars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  height: 36px;
}

.oroseFilm__mediaBars span {
  display: block;
  width: 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 168, 198, 0.95), rgba(124, 92, 255, 0.85));
  transform-origin: bottom center;
  animation: oroseAudioBar 1.1s var(--ease2) infinite alternate;
}

.quitteriePage .oroseFilm__mediaBars span {
  background: linear-gradient(180deg, rgba(255, 196, 120, 0.95), rgba(124, 92, 255, 0.85));
}

.oroseFilm__mediaBars span:nth-child(1) { height: 14px; animation-delay: 0ms; }
.oroseFilm__mediaBars span:nth-child(2) { height: 24px; animation-delay: 120ms; }
.oroseFilm__mediaBars span:nth-child(3) { height: 32px; animation-delay: 240ms; }
.oroseFilm__mediaBars span:nth-child(4) { height: 20px; animation-delay: 360ms; }
.oroseFilm__mediaBars span:nth-child(5) { height: 28px; animation-delay: 480ms; }

@keyframes oroseAudioBar {
  from { transform: scaleY(0.35); opacity: 0.55; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .oroseFilm__mediaBars span {
    animation: none !important;
    opacity: 0.7;
  }
}

.oroseFilm__seekWarn {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 56px;
  z-index: 4;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(246, 246, 248, 0.92);
  background: rgba(120, 28, 48, 0.88);
  border: 1px solid rgba(255, 140, 160, 0.45);
  pointer-events: none;
}

.oroseFilm__stage .playerUi {
  z-index: 3;
}

.oroseFilm__stage:fullscreen,
.oroseFilm__stage:fullscreen .oroseFilm__video {
  width: 100vw;
  height: 100vh;
  max-height: none;
  aspect-ratio: auto;
}

.oroseShare {
  display: grid;
  gap: 10px;
}

.oroseShare__label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 246, 248, 0.58);
}

.oroseShare__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.oroseShare__input {
  width: 100%;
  min-width: 0;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.36);
  color: rgba(246, 246, 248, 0.88);
  font-size: 13px;
  font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  letter-spacing: 0.01em;
  cursor: text;
}

.oroseShare__input:focus-visible {
  outline: none;
  border-color: rgba(124, 92, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(124, 92, 255, 0.16);
}

.oroseShare__copy {
  white-space: nowrap;
  min-width: 108px;
}

.oroseShare__copy.is-copied {
  border-color: rgba(255, 168, 198, 0.55);
}

.oroseShare__hint {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 168, 198, 0.78);
}

body.is-orose-fullscreen .oroseFilm__stage .playerUi {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
}

@media (max-width: 860px) {
  .oroseFilm,
  .oroseFilm--alt {
    grid-template-columns: 1fr;
  }

  .oroseFilm__index {
    font-size: clamp(40px, 14vw, 72px);
    padding-top: 0;
  }

  .oroseFilm--alt .oroseFilm__index,
  .oroseFilm--alt .oroseFilm__body {
    order: unset;
  }

  .oroseShare__row {
    grid-template-columns: 1fr;
  }

  .oroseShare__copy {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .orose__orb,
  .orose__stripes {
    animation: none !important;
  }
}

/* Quitterie — accent doré / ambre */
.quitteriePage .orose {
  background:
    radial-gradient(1100px 760px at 14% 12%, rgba(255, 196, 120, 0.14), transparent 58%),
    radial-gradient(980px 720px at 88% 18%, rgba(124, 92, 255, 0.18), transparent 60%),
    radial-gradient(900px 620px at 50% 92%, rgba(255, 214, 140, 0.10), transparent 62%),
    linear-gradient(180deg, #07070b, #050509 52%, #06060c 100%);
}

.quitteriePage .orose__orb--a {
  background: radial-gradient(circle at 30% 30%, rgba(255, 210, 140, 0.75), rgba(124, 92, 255, 0.12) 58%, transparent 72%);
}

.quitteriePage .oroseHead__kicker,
.quitteriePage .oroseFilm__kicker {
  color: rgba(255, 196, 120, 0.62);
}

.quitteriePage .oroseFilm.is-focused {
  border-color: rgba(255, 196, 120, 0.42);
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 196, 120, 0.14) inset,
    0 0 64px rgba(255, 196, 120, 0.10);
}

.quitteriePage .oroseShare__hint {
  color: rgba(255, 196, 120, 0.78);
}

.quitteriePage .oroseShare__copy.is-copied {
  border-color: rgba(255, 196, 120, 0.55);
}

