﻿/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FONTS â€” LOCAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@font-face {
  font-family: 'ModernPlate';
  src: url('../public/font/ModernPlate-BC.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GatteModern';
  src: url('../public/font/GatteModern-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GatteModern';
  src: url('../public/font/GatteModern-Extralight.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GatteModern';
  src: url('../public/font/GatteModern-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GatteModern';
  src: url('../public/font/GatteModern-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GatteModern';
  src: url('../public/font/GatteModern-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESET
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: none; }
::selection { background: rgba(255,255,255,0.2); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TOKENS â€” MONOCHROME
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
:root {
  --black:    #000000;
  --g900:     #0d0d0d;
  --g800:     #1a1a1a;
  --g700:     #2d2d2d;
  --g600:     #444444;
  --g500:     #666666;
  --g400:     #888888;
  --g300:     #aaaaaa;
  --g200:     #cccccc;
  --g100:     #e5e5e5;
  --g50:      #f2f2f2;
  --white:    #ffffff;

  --serif: 'GatteModern', Georgia, serif;
  --sans:  'GatteModern', system-ui, sans-serif;
  --ease:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.4, 0, 0.2, 1);
  --section-py: 120px;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BASE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
body {
  font-family: var(--sans);
  color: var(--g800);
  background: var(--black);
  overflow-x: hidden;
  cursor: none;
}
body.no-scroll { overflow: hidden; }

.lbl {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--g400);
  margin-bottom: 16px;
}
.lbl--light { color: rgba(255,255,255,0.4); }

.st {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--g800);
  margin-bottom: 64px;
}
.st em { font-style: italic; color: var(--black); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   INTRO SPLASH
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.intro {
  position: fixed; inset: 0; z-index: 8000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  animation: introOut 0.7s var(--ease) 2.6s forwards;
}
.intro.gone { display: none; }
@keyframes introOut {
  to { opacity: 0; }
}
.intro-inner {
  display: flex; flex-direction: column;
  align-items: center; gap: 28px;
}
.intro-logo {
  width: 240px; height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0;
  animation: introLogoIn 0.9s var(--ease) 0.2s forwards;
}
@keyframes introLogoIn {
  from { opacity: 0; transform: scale(0.88) translateY(10px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
.intro-line {
  width: 0; height: 1px;
  background: rgba(255,255,255,0.25);
  animation: introLineGrow 0.8s var(--ease) 0.9s forwards;
}
@keyframes introLineGrow {
  to { width: 200px; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CUSTOM CURSOR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.c-ring, .c-dot {
  position: fixed; pointer-events: none;
  z-index: 9999; border-radius: 50%;
  transform: translate(-50%,-50%);
}
.c-ring {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border: 1.5px solid white;
  mix-blend-mode: difference;
  transition: width 0.35s var(--ease), height 0.35s var(--ease);
}
.c-dot {
  width: 5px; height: 5px;
  background: white;
  mix-blend-mode: difference;
}
.c-ring.big { width: 60px; height: 60px; }
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HEADER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hdr {
  position: fixed; top: 16px; left: 20px; right: 20px;
  z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px;
  height: 72px;
  border-radius: 100px;
  background: rgba(10,10,10,0.72);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.09);
  transition: background 0.5s, box-shadow 0.4s, border-color 0.4s;
  overflow: hidden;
}
.hdr-star-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border-radius: 100px;
  pointer-events: none;
  z-index: 0;
}
.logo-link, .mbtn, .main-nav { position: relative; z-index: 1; }
.hdr.solid {
  background: rgba(8,8,8,0.90);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 28px rgba(0,0,0,0.45);
}
.hdr.on-dark { background: rgba(10,10,10,0.60); }

.logo-link {
  display: flex; align-items: center;
  flex-shrink: 0;
  margin-left: 8px;
  margin-top: 0;
}
.logo-img {
  width: auto;
  height: 50px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.4s;
}
.hdr.solid .logo-img {
  filter: brightness(0) invert(1);
}

.main-nav {
  display: flex; align-items: center; gap: 40px;
}
.nav-link {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  cursor: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--white);
  transition: width 0.4s var(--ease);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link.active { color: var(--white); }

.hdr.solid .nav-link { color: var(--g500); }
.hdr.solid .nav-link::after { background: var(--black); }
.hdr.solid .nav-link:hover { color: var(--black); }
.hdr.solid .nav-link.active { color: var(--black); }

/* hamburger â€” toujours visible */
.mbtn {
  display: flex;
  flex-direction: column;
  gap: 6px; padding: 12px;
  z-index: 600;
  min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.mbtn-bar {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s, background 0.4s;
}
.hdr.solid .mbtn-bar { background: var(--white); }
.mbtn.open .mbtn-bar.t { transform: translateY(3.75px) rotate(45deg); }
.mbtn.open .mbtn-bar.b { transform: translateY(-3.75px) rotate(-45deg); }

/* â”€â”€ Nav Panel (right-side drawer) â”€â”€ */
.nav-panel {
  position: fixed;
  top: 0; right: 0;
  width: min(480px, 48vw);
  height: 100%;
  background: var(--g900);
  z-index: 510;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease);
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 80px 64px;
  border-left: 1px solid rgba(255,255,255,0.06);
}
.nav-panel.open { transform: translateX(0); }

.nav-panel-close {
  position: absolute; top: 28px; right: 36px;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.4);
  cursor: none;
  min-width: 44px; min-height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.3s;
}
.nav-panel-close:hover { color: var(--white); }

.nav-panel-nav {
  display: flex; flex-direction: column;
  gap: 8px;
}
.nav-panel-link {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  font-weight: 300;
  color: rgba(255,255,255,0.25);
  letter-spacing: -0.02em;
  line-height: 1.15;
  cursor: none;
  position: relative;
  transition: color 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}
.nav-panel-link:hover,
.nav-panel-link.active {
  background: linear-gradient(90deg, #e66110, #e9005e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.01em;
}

.nav-panel.open .nav-panel-link { animation: fadeSlideUp 0.6s var(--ease) both; }
.nav-panel.open .nav-panel-link:nth-child(1) { animation-delay: 0.12s; }
.nav-panel.open .nav-panel-link:nth-child(2) { animation-delay: 0.22s; }
.nav-panel.open .nav-panel-link:nth-child(3) { animation-delay: 0.32s; }
.nav-panel.open .nav-panel-link:nth-child(4) { animation-delay: 0.42s; }

.nav-panel-footer {
  position: absolute; bottom: 40px; left: 64px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

.nav-backdrop {
  position: fixed; inset: 0;
  z-index: 505;
  background: rgba(0,0,0,0.6);
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s var(--ease);
}
.nav-backdrop.open { opacity: 1; pointer-events: all; }

@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(24px); }
  to   { opacity:1; transform:translateY(0); }
}

/* Mobile: panel plein Ã©cran */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE SYSTEM
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page {
  display: none;
  min-height: 100vh;
}
.page.active { display: block; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE HERO (small variant for inner pages)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.page-hero {
  background: var(--black);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 0 60px 60px;
}
.page-hero--sm {
  height: 38vh; min-height: 260px;
  padding-top: 88px;
}
.page-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO â€” HOME (geometric)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero {
  position: relative;
  height: 100vh; height: 100svh; min-height: 600px;
  background: var(--black);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

/* ── Hero background video ── */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.82;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.06) 100%),
    linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
}

/* â”€â”€ Hero copy â”€â”€ */
.hero-copy {
  position: relative; z-index: 3;
  pointer-events: none;
  padding: 0 60px 100px;
  max-width: 900px;
}
.hero-title-block {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 100%;
}

/* â”€â”€ Gradient text utility â”€â”€ */
.txt-grad {
  display: inline-block;
  background: linear-gradient(90deg, #e66110, #e9005e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-h {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--white);
}
.h-line {
  display: block;
  clip-path: inset(0 0 -5% 0);
  animation: lineUp 1.3s var(--ease) both;
}
.h-line:nth-child(1) { font-weight: 300; white-space: nowrap; font-size: 0.54em; animation-delay: 3.1s; }
.h-line:nth-child(2) { font-weight: 500; animation-delay: 3.28s; }
.h-line--spread { display: flex; gap: 28px; }
.h-line:nth-child(3) { animation-delay: 3.46s; }
.h-line.it { font-style: italic; color: rgba(255,255,255,0.5); }
@keyframes lineUp { from{transform:translateY(105%);opacity:0} to{transform:translateY(0);opacity:1} }
@keyframes fadeUp  { from{opacity:0;transform:translateY(12px)} to{opacity:1;transform:translateY(0)} }

/* â”€â”€ Hero CTA button â”€â”€ */
.hero-cta-wrap {
  margin-top: 48px;
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 3.6s both;
}

/* â”€â”€ Hero secondary CTA â”€â”€ */
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.42);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: none;
  pointer-events: all;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding-bottom: 2px;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.hero-cta-secondary:hover {
  color: rgba(255,255,255,0.85);
  border-bottom-color: rgba(255,255,255,0.55);
}
.hero-cta-secondary .cta-sec-arrow {
  transition: transform 0.35s var(--ease);
  display: inline-block;
}
.hero-cta-secondary:hover .cta-sec-arrow { transform: translate(3px,-3px); }

/* â”€â”€ Hero social proof â”€â”€ */
.hero-proof {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-shadow: 0 0 20px rgba(0,0,0,0.9);
  opacity: 0;
  animation: fadeUp 1s var(--ease) 4.05s both;
  pointer-events: none;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 40px;
  border: none;
  border-radius: 100px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,0.06);
  transition: background 0.4s, letter-spacing 0.4s var(--ease);
}
.hero-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.5px;
  background: linear-gradient(90deg, #e66110, #e9005e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.hero-cta:hover {
  background: rgba(255,255,255,0.12);
  letter-spacing: 0.24em;
}
.hero-cta-arrow {
  transition: transform 0.35s var(--ease);
}
.hero-cta:hover .hero-cta-arrow { transform: translateX(5px); }

/* â”€â”€ Hero CTA ghost variant (AR demo button) â”€â”€ */
.hero-cta--ghost {
  background: transparent;
  color: rgba(255,255,255,0.62);
}
.hero-cta--ghost::before {
  opacity: 0.5;
}
.hero-cta--ghost:hover {
  background: rgba(255,255,255,0.06);
  color: var(--white);
}
.hero-cta--ghost:hover::before {
  opacity: 1;
}

/* â”€â”€ Hero CTA VR variant â”€â”€ */
.hero-cta--vr {
  background: linear-gradient(135deg, rgba(230,97,16,0.22), rgba(233,0,94,0.14));
  color: var(--white);
}
.hero-cta--vr::before {
  opacity: 1;
}
.hero-cta--vr:hover {
  background: linear-gradient(135deg, rgba(230,97,16,0.38), rgba(233,0,94,0.28));
  letter-spacing: 0.24em;
}
.hero-cta-vr-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e66110;
  box-shadow: 0 0 8px 1px rgba(230,97,16,0.7);
  flex-shrink: 0;
  animation: vr-pulse 1.8s ease-in-out infinite;
}
@keyframes vr-pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px 1px rgba(230,97,16,0.7); }
  50% { opacity: 0.75; transform: scale(1.4); box-shadow: 0 0 14px 3px rgba(230,97,16,0.45); }
}

/* â”€â”€ Scroll pill â€” right side â”€â”€ */
.sc-pill-wrap {
  position: absolute; z-index: 2;
  right: 52px; bottom: 40px;
  display: flex; flex-direction: column;
  align-items: center; gap: 14px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 3.5s forwards;
}
.sc-pill {
  width: 26px; height: 46px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  display: flex; justify-content: center;
  padding-top: 7px;
}
.sc-pill-dot {
  width: 4px; height: 8px;
  background: var(--white);
  border-radius: 2px;
  animation: pillScroll 2s ease-in-out infinite;
}
@keyframes pillScroll {
  0%   { transform: translateY(0);   opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  61%  { transform: translateY(0);   opacity: 0; }
  100% { transform: translateY(0);   opacity: 1; }
}
.sc-pill-wrap span {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  writing-mode: vertical-rl;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   DEMOS â€” HOME
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.demos {
  padding: var(--section-py) 60px;
  background: var(--white);
}
.demos-hdr { max-width: 600px; margin: 0 auto 64px; text-align: center; }

.demos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--g100);
}
.demos-grid--single {
  grid-template-columns: 1fr;
  background: none;
}
.demo-card {
  background: var(--white);
  display: flex; flex-direction: column;
  overflow: hidden;
}
.demo-card--dark { background: var(--g50); }

.demo-card--wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.demo-card--wide .demo-img-wrap { height: 100%; min-height: 480px; }
.demo-card--wide .demo-body {
  padding: 60px;
  justify-content: center;
}

.demo-img-wrap {
  position: relative;
  height: 320px;
  overflow: hidden;
}
.demo-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.9s var(--ease), filter 0.5s;
  will-change: transform;
}
.demo-card:hover .demo-img-wrap img {
  transform: scale(1.06);
  filter: grayscale(80%);
}
.demo-veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
}
.demo-label {
  position: absolute; bottom: 20px; left: 24px;
  display: flex; flex-direction: column; gap: 4px;
}
.demo-type {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.demo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* placeholder card */
.demo-placeholder {
  background: var(--g800);
}
.placeholder-grid {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px;
}
.placeholder-grid div {
  background: var(--g700);
}

.demo-body {
  padding: 32px 28px 36px;
  flex: 1;
  display: flex; flex-direction: column;
}
.demo-n {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--g300);
  margin-bottom: 14px;
}
.demo-body h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--g800);
  margin-bottom: 12px;
}
.demo-body p {
  font-size: 0.84rem;
  font-weight: 300;
  color: var(--g500);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 28px;
}
.demo-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--g800);
  border: 1px solid transparent;
  background: var(--white) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  padding: 11px 20px;
  border-radius: 2px;
  transition: gap 0.35s var(--ease), background 0.3s, color 0.3s;
  cursor: none;
}
.demo-btn:hover { gap: 16px; background: var(--g50) padding-box, linear-gradient(90deg, #e66110, #e9005e) border-box; }
.demo-btn--off {
  color: var(--g300);
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STRIP CTA â€” HOME
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.strip-cta {
  background: var(--black);
  padding: 100px 60px;
}
.strip-inner {
  max-width: 900px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.strip-h {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.strip-h em { font-style: italic; color: rgba(255,255,255,0.5); }
.strip-email {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  border-bottom: none;
  padding-bottom: 6px;
  background-image: linear-gradient(90deg, #e66110, #e9005e);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: left bottom;
  white-space: nowrap;
  transition: color 0.3s;
}
.strip-email:hover { color: var(--white); }
.strip-email span { font-size: 1.1rem; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTFOLIO â€” MASONRY + CARD FLIP REVEAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.masonry-section {
  background: var(--black);
  padding: 60px;
}
.masonry {
  columns: 3;
  column-gap: 12px;
}
/* â‰¤ 6 images â†’ grille uniforme */
.masonry--uniform {
  columns: unset;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.masonry--uniform .masonry-item {
  break-inside: unset;
  margin-bottom: 0;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  cursor: none;
  perspective: 1400px;
}

/* 3D flip container */
.flip-inner {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Front face â€” black card */
.flip-front {
  position: absolute;
  inset: 0;
  background: var(--g800);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  z-index: 1;
  border: 1px solid var(--g700);
}

/* Back face â€” image */
.flip-back {
  display: block;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: rotateY(180deg);
  overflow: hidden;
}
.flip-back img {
  display: block;
  width: 100%;
  height: auto;
  filter: none;
  transition: transform 0.7s var(--ease);
}
.masonry-item:hover .flip-back img { transform: scale(1.04); }

/* tall item */
.masonry-item--tall .flip-back img { min-height: 520px; object-fit: cover; }

/* Triggered when in viewport */
.masonry-item.flipped .flip-inner {
  transform: rotateY(180deg);
}

/* Caption */
.m-cap {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 50%);
  display: flex; align-items: flex-end;
  padding: 22px 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
  pointer-events: none;
}
.masonry-item:hover .m-cap { opacity: 1; }
.m-cap span {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IMMERSION BUTTON
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.demo-btns {
  display: flex;
  align-items: stretch;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: auto;
}

.imm-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: none;
  background: rgba(255,255,255,0.1);
  padding: 13px 28px;
  border-radius: 100px;
  cursor: none;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.35s, letter-spacing 0.4s var(--ease);
}
.imm-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.5px;
  background: linear-gradient(90deg, #e66110, #e9005e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.imm-btn:hover {
  background: rgba(255,255,255,0.18);
  letter-spacing: 0.18em;
}

/* Star particles container */
.imm-btn-stars { position: absolute; inset: 0; pointer-events: none; }
.imm-btn-stars .star-p {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  animation: starFly var(--d, 0.6s) ease forwards;
}
@keyframes starFly {
  0%   { opacity: 1; transform: translate(0,0) scale(1); }
  100% { opacity: 0; transform: translate(var(--tx,0px), var(--ty,-30px)) scale(0); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IMMERSION 360 OVERLAY
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.imm-overlay {
  position: fixed; inset: 0; z-index: 7000;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.5s var(--ease);
}
.imm-overlay.open { opacity: 1; pointer-events: all; }

.imm-canvas {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  cursor: grab;
}
.imm-canvas:active { cursor: grabbing; }

.imm-close {
  position: absolute; top: 24px; right: 28px; z-index: 10;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  border: 1px solid transparent;
  background: rgba(0,0,0,0.4) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: color 0.3s;
}
.imm-close:hover { color: var(--white); }

/* Floor change hotspot â€” bottom center */
.imm-switch {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  cursor: none;
}
/* Outer pulse ring */
.imm-switch-ring {
  position: absolute;
  width: 72px; height: 72px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: immRingPulse 2.6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes immRingPulse {
  0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.45; }
  50%      { transform: translate(-50%,-50%) scale(1.22); opacity: 0.08; }
}
/* Icon button */
.imm-switch-btn {
  position: relative;
  width: 52px; height: 52px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(0,0,0,0.55) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.imm-switch:hover .imm-switch-btn {
  background: rgba(0,0,0,0.8) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
}
.imm-switch svg {
  width: 22px; height: 22px;
  color: rgba(255,255,255,0.85);
}
.imm-switch span {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  white-space: nowrap;
}

.imm-hint {
  position: absolute;
  top: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  pointer-events: none;
  animation: immHintFade 3s ease 1.5s forwards;
}
@keyframes immHintFade { to { opacity: 0; } }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SERVICE PAGE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.svc-section {
  padding: var(--section-py) 60px;
  background: var(--white);
  text-align: center;
}
.svc-section .lbl { text-align: center; }
.svc-list {
  max-width: 1000px; margin: 0 auto;
  display: flex; flex-direction: column;
}
.svc-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--g100);
  align-items: start;
}
.svc-item:first-child { border-top: 1px solid var(--g100); }
.svc-num {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--g300);
  letter-spacing: 0.05em;
  padding-top: 2px;
}
.svc-info h3 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 300;
  color: var(--g800);
  line-height: 1.2;
  margin-bottom: 10px;
  transition: color 0.3s;
}
.svc-item:hover .svc-info h3 { color: var(--black); }
.svc-info p {
  font-size: 0.86rem;
  font-weight: 300;
  color: var(--g500);
  line-height: 1.75;
  max-width: 560px;
}
.tag-4k {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  background: var(--black);
  color: var(--white);
  padding: 2px 6px;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 6px;
}

.contact-strip {
  background: var(--g900);
  padding: 80px 60px;
  display: flex; align-items: center; justify-content: center;
}
.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-pre {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  font-style: italic;
}
.contact-link,
.contact-phone {
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.contact-link {
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--white);
  border-bottom: none;
  padding-bottom: 8px;
  background-image: linear-gradient(90deg, #e66110, #e9005e);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: left bottom;
  transition: letter-spacing 0.4s var(--ease);
}
.contact-link:hover {
  letter-spacing: 0.07em;
}
.contact-link span { font-size: 1.2rem; }
.contact-link svg, .contact-phone svg { width: 18px; height: 18px; justify-self: center; }
.contact-phone {
  margin-top: 16px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s;
}
.contact-phone:hover { color: #fff; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  background: var(--black);
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-left {
  flex: 1;
}
.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-slogan {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  margin: 0;
  letter-spacing: 0.01em;
}
.footer-slogan em { font-style: italic; }
.fcopy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  margin: 0;
}
.footer-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0;
}
.footer-contact-email,
.footer-contact-phone {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-email svg,
.footer-contact-phone svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.footer-contact-email svg, .footer-contact-phone svg { width: 14px; height: 14px; justify-self: center; }
.footer-contact-email {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.footer-contact-email:hover { color: #fff; }
.footer-contact-phone {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-phone:hover { color: #fff; }
.footer-socials {
  display: flex;
  gap: 22px;
  margin-top: 6px;
}
.footer-socials a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-socials a:hover { color: #fff; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
  margin-top: 4px;
}
.footer-legal a {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  text-decoration: none;
  transition: color 0.3s var(--ease);
  cursor: none;
}
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SCROLL REVEALS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
.demo-card:nth-child(2)[data-reveal] { transition-delay: 0.1s; }
.demo-card:nth-child(3)[data-reveal] { transition-delay: 0.2s; }
.svc-item:nth-child(2)[data-reveal]  { transition-delay: 0.04s; }
.svc-item:nth-child(3)[data-reveal]  { transition-delay: 0.08s; }
.process-step:nth-child(2)[data-reveal] { transition-delay: 0.08s; }
.process-step:nth-child(3)[data-reveal] { transition-delay: 0.16s; }
.process-step:nth-child(4)[data-reveal] { transition-delay: 0.24s; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PROCESS SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.process-section {
  padding-top: var(--section-py);
  padding-bottom: 0;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.process-inner { max-width: none; margin: 0; }
.process-header {
  margin-bottom: 64px;
  text-align: center;
  padding: 0 60px;
}
.process-h {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
}
.process-h em {
  font-style: italic;
  color: rgba(255,255,255,0.38);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  min-height: 72vh;
}
.process-step {
  background: var(--black);
  padding: 64px 52px 80px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: background 0.4s var(--ease);
}
.process-step:hover { background: rgba(255,255,255,0.03); }
.process-n {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  display: block;
  margin-bottom: 8px;
}
.process-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.process-desc {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.5);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HOME â€” CTA FINAL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.home-cta-section {
  padding: 140px 60px;
  background: var(--black);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.home-cta-inner {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.home-cta-h {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.home-cta-h em { font-style: italic; color: rgba(255,255,255,0.38); }
.home-cta-actions { margin-top: 4px; }
.home-cta-contact {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.22);
  margin-top: 4px;
}
.home-cta-contact a {
  color: rgba(255,255,255,0.32);
  cursor: none;
  transition: color 0.3s var(--ease);
}
.home-cta-contact a:hover { color: rgba(255,255,255,0.78); }
.home-cta-contact span { color: rgba(255,255,255,0.14); }

/* â”€â”€ Nav panel contact link â”€â”€ */
/* Logo dans le nav panel — masqué par défaut sur desktop */
.nav-panel-logo-wrap { display: none; }
.nav-panel-logo-img  { height: 52px; width: auto; display: block; filter: brightness(0) invert(1); }

.nav-panel-contact {
  display: block;
  margin-top: 10px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.28);
  cursor: none;
  transition: color 0.3s var(--ease);
}
.nav-panel-contact:hover { color: rgba(255,255,255,0.7); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   AVANT / APRÃˆS SLIDER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ba-section {
  padding: var(--section-py) 52px;
  background: var(--g900);
}

.ba-hdr {
  text-align: center;
  margin-bottom: 56px;
}
.ba-hdr .st { color: var(--g100); margin-bottom: 0; }

.ba-stage {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 3px;
  cursor: ew-resize;
  -webkit-user-select: none;
  user-select: none;
}

.ba-layer {
  position: absolute;
  inset: 0;
}
.ba-layer img {
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-layer--after  { z-index: 1; }
.ba-layer--before { z-index: 2; clip-path: inset(0 50% 0 0); }

/* â”€â”€ Ã‰tiquettes â”€â”€ */
.ba-tag {
  position: absolute;
  top: 20px;
  z-index: 10;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  background: rgba(0,0,0,0.45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  padding: 5px 10px;
  border-radius: 2px;
  pointer-events: none;
  transition: opacity 0.3s;
}
.ba-tag--before { left: 20px; }
.ba-tag--after  { right: 20px; }

/* â”€â”€ SÃ©parateur â”€â”€ */
.ba-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* La ligne lumineuse */
.ba-glow-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(255, 215, 80, 0.35) 12%,
    rgba(255, 255, 255, 0.92) 35%,
    #ffffff 50%,
    rgba(255, 255, 255, 0.92) 65%,
    rgba(255, 215, 80, 0.35) 88%,
    transparent 100%
  );
  box-shadow:
    0 0  5px 1px rgba(255, 230, 100, 1),
    0 0 12px 2px rgba(255, 200,  50, 0.75),
    0 0 24px 4px rgba(255, 170,   0, 0.45),
    0 0 48px 8px rgba(255, 140,   0, 0.2);
  overflow: visible;
  pointer-events: none;
}

/* Shimmer â€” spot brillant qui glisse */
.ba-shimmer {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(255,255,255,1) 0%,
    rgba(255,240,150,0.7) 50%,
    transparent 100%
  );
  filter: blur(1px);
  animation: ba-shimmer 2.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes ba-shimmer {
  0%   { top: -5%;  opacity: 0; }
  8%   { opacity: 1; }
  50%  { top: 87%; }
  92%  { opacity: 1; }
  100% { top: 87%; opacity: 0; }
}

/* Handle â€” poignÃ©e circulaire */
.ba-handle {
  position: relative;
  z-index: 3;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--black);
  border: 1.5px solid rgba(255, 215, 80, 0.75);
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    0 0  8px 2px rgba(255, 215, 80, 0.6),
    0 0 18px 4px rgba(255, 180,  0, 0.35),
    0 0 36px 8px rgba(255, 140,  0, 0.15);
  color: rgba(255, 215, 80, 0.9);
  flex-shrink: 0;
  animation: ba-handle-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
.ba-handle svg {
  width: 22px; height: auto;
}
@keyframes ba-handle-pulse {
  0%, 100% {
    box-shadow:
      0 0  8px 2px rgba(255, 215, 80, 0.6),
      0 0 18px 4px rgba(255, 180,  0, 0.35),
      0 0 36px 8px rgba(255, 140,  0, 0.15);
  }
  50% {
    box-shadow:
      0 0 12px 3px rgba(255, 215, 80, 0.9),
      0 0 26px 6px rgba(255, 180,  0, 0.55),
      0 0 52px 12px rgba(255, 140, 0, 0.25);
  }
}

/* Conteneur particules */
.ba-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
}

/* Particule scintillante */
.ba-spark {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 230, 100, 0.9);
  pointer-events: none;
  line-height: 1;
  animation: ba-spark-fly var(--dur, 1.2s) ease-out forwards;
}
@keyframes ba-spark-fly {
  0%   { opacity: 1;   transform: translate(-50%, 0)     scale(1); }
  100% { opacity: 0;   transform: translate(calc(-50% + var(--dx, 0px)), var(--dy, -30px)) scale(0.3); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   LIGHTBOX
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.lightbox {
  position: fixed; inset: 0; z-index: 7000;
  background: rgba(0, 0, 0, 0.96);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.open { opacity: 1; pointer-events: all; }

.lb-inner {
  display: flex; align-items: center; justify-content: center;
  width: 100%; flex: 1;
  padding: 80px 100px 60px;
}
.lb-img {
  max-width: 100%; max-height: 80vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 2px;
  opacity: 1;
  transform-origin: center center;
  transform: translate(0, 0) scale(1);
  transition: opacity 0.2s, transform 0.2s var(--ease);
  cursor: zoom-in;
  -webkit-user-select: none;
  user-select: none;
}
.lb-img.fading { opacity: 0; transform: translate(0,0) scale(0.97); }
.lb--zoomed .lb-img { cursor: grab; }
.lb--zoomed .lb-img:active { cursor: grabbing; }

.lb-close {
  position: absolute; top: 24px; right: 32px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  z-index: 10; cursor: none;
  padding: 8px;
  transition: color 0.2s;
}
.lb-close:hover { color: var(--white); }

.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  color: rgba(255,255,255,0.35);
  padding: 20px 16px;
  cursor: none;
  transition: color 0.2s, opacity 0.2s;
}
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-prev:hover, .lb-next:hover { color: var(--white); }
.lb-prev svg, .lb-next svg { width: 32px; height: 32px; display: block; }
.lb--zoomed .lb-prev,
.lb--zoomed .lb-next { opacity: 0; pointer-events: none; }

.lb-footer {
  position: absolute; bottom: 28px; left: 0; right: 0;
  display: flex; justify-content: space-between; align-items: center;
  padding: 0 40px;
  pointer-events: none;
}
.lb-caption {
  font-size: 0.6rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: rgba(255,255,255,0.35);
}
.lb-counter {
  font-size: 0.6rem; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.2);
  font-variant-numeric: tabular-nums;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   IMMERSION â€” MINIMAP
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.imm-minimap {
  position: absolute;
  bottom: 110px; left: 32px;
  z-index: 10;
  width: 300px;           /* large pour lisibilitÃ© sur Quest 3 */
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(0,0,0,0.65);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.imm-minimap-title {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-align: center;
  padding: 8px 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.imm-minimap-plan-wrap {
  position: relative;
  width: 100%;
}
.imm-minimap-img {
  display: block;
  width: 100%; height: auto;
  opacity: 0.5;
  filter: grayscale(70%);
}
.imm-minimap-dots {
  position: absolute;
  inset: 0;
}
.imm-hotspot-dot {
  position: absolute;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 2px solid transparent;
  background: rgba(255,255,255,0.2) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  transform: translate(-50%, -50%);
  cursor: none;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
}
.imm-hotspot-dot span {
  font-size: 0.6rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  pointer-events: none;
  line-height: 1;
}
.imm-hotspot-dot:hover {
  background: rgba(255,255,255,0.45) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  box-shadow: 0 0 14px rgba(233,0,94,0.4);
}
.imm-hotspot-dot.active {
  background: rgba(233,0,94,0.85) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  box-shadow: 0 0 0 4px rgba(233,0,94,0.2), 0 0 18px rgba(230,97,16,0.5);
  transform: translate(-50%, -50%) scale(1.3);
  animation: dotPulse 2.2s ease-in-out infinite;
}
.imm-hotspot-dot.active span {
  color: rgba(255,255,255,0.95);
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(233,0,94,0.2), 0 0 18px rgba(230,97,16,0.5); }
  50%      { box-shadow: 0 0 0 8px rgba(233,0,94,0.05), 0 0 28px rgba(230,97,16,0.2); }
}

/* â”€â”€ Bouton VR â”€â”€ */
.imm-vr-btn {
  position: absolute;
  top: 24px; right: 80px;
  z-index: 10;
  display: none;          /* affichÃ© seulement si WebXR dÃ©tectÃ© */
  align-items: center; gap: 8px;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border: 1px solid transparent;
  background: rgba(0,0,0,0.45) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  padding: 9px 20px;
  border-radius: 100px;
  cursor: none;
  transition: color 0.3s, background 0.3s, box-shadow 0.3s;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.imm-vr-btn:hover {
  color: var(--white);
  background: rgba(0,0,0,0.65) padding-box,
              linear-gradient(90deg, #e66110, #e9005e) border-box;
  box-shadow: 0 0 18px rgba(233,0,94,0.18);
}
.imm-vr-btn.active {
  color: var(--white);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.12);
}

/* â”€â”€ Wipe divider (immersion 360) â”€â”€ */
.wipe-divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.1s;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   STATS & CHART â€” HOME
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.stats-section {
  background: var(--black);
  margin-top: 6px;
  padding: var(--section-py) 60px;
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.stats-header {
  text-align: center;
  margin-bottom: 72px;
}
.stats-h {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.stats-h em {
  font-style: italic;
  color: rgba(255,255,255,0.4);
}

/* â”€â”€ Compteurs â”€â”€ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 80px;
}
.stat-card {
  background: var(--black);
  padding: 44px 32px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.stat-top {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--white);
}
.stat-sfx {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 300;
  line-height: 1;
  color: rgba(255,255,255,0.35);
}
.stat-desc {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

/* â”€â”€ Graphique â”€â”€ */
.chart-wrap { position: relative; }
.chart-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
}
.chart-meta-lbl {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
}
.chart-meta-trend {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.45);
}
.chart-body {
  display: flex;
  gap: 14px;
  align-items: stretch;
}
.chart-y {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 28px;
  width: 22px;
  flex-shrink: 0;
  text-align: right;
}
.chart-y span {
  font-size: 0.52rem;
  color: rgba(255,255,255,0.18);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.chart-plot {
  flex: 1;
  height: 280px;
  display: flex;
  position: relative;
  overflow: visible;
}

/* grille horizontale */
.chart-hline {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.chart-hline:nth-child(1) { bottom: 280px; }
.chart-hline:nth-child(2) { bottom: 196px; }
.chart-hline:nth-child(3) { bottom: 112px; }
.chart-hline--base { bottom: 28px; background: rgba(255,255,255,0.12); }

/* hauteurs des barres */
.chart-bar--h33  { --h: 33%; }
.chart-bar--h67  { --h: 67%; }
.chart-bar--h100 { --h: 100%; }

/* colonnes */
.chart-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  border-left: 1px solid rgba(255,255,255,0.04);
}
.chart-col:first-child { border-left: none; }

.chart-bar-track {
  flex: 1;
  position: relative;
}

/* barre */
.chart-bar {
  position: absolute;
  bottom: 0;
  left: 20%;
  right: 20%;
  height: var(--h);
  background: rgba(255,255,255,0.13);
  border-radius: 2px 2px 0 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.9s var(--ease);
  will-change: transform;
}
.chart-col--peak .chart-bar { background: rgba(255,255,255,0.5); }

/* Les 4 .chart-hline prÃ©cÃ¨dent les .chart-col â†’ nth-child commence Ã  5 */
.chart-wrap.is-animated .chart-col:nth-child(5) .chart-bar { transform: scaleY(1); transition-delay: 0.00s; }
.chart-wrap.is-animated .chart-col:nth-child(6) .chart-bar { transform: scaleY(1); transition-delay: 0.12s; }
.chart-wrap.is-animated .chart-col:nth-child(7) .chart-bar { transform: scaleY(1); transition-delay: 0.24s; }
.chart-wrap.is-animated .chart-col:nth-child(8) .chart-bar { transform: scaleY(1); transition-delay: 0.36s; }
.chart-wrap.is-animated .chart-col:nth-child(9) .chart-bar { transform: scaleY(1); transition-delay: 0.48s; }

/* valeur au dessus de la barre */
.chart-bar-val {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.chart-col--peak .chart-bar-val { color: rgba(255,255,255,0.7); }

.chart-wrap.is-animated .chart-col:nth-child(5) .chart-bar-val { opacity: 1; transition-delay: 0.75s; }
.chart-wrap.is-animated .chart-col:nth-child(6) .chart-bar-val { opacity: 1; transition-delay: 0.85s; }
.chart-wrap.is-animated .chart-col:nth-child(7) .chart-bar-val { opacity: 1; transition-delay: 0.95s; }
.chart-wrap.is-animated .chart-col:nth-child(8) .chart-bar-val { opacity: 1; transition-delay: 1.05s; }
.chart-wrap.is-animated .chart-col:nth-child(9) .chart-bar-val { opacity: 1; transition-delay: 1.15s; }

/* label annÃ©e */
.chart-col-lbl {
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.56rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.18);
}
.chart-col--peak .chart-col-lbl { color: rgba(255,255,255,0.5); }

/* SVG overlay courbe + points + annotations */
.chart-line-svg {
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: 28px;
  width: 100%;
  height: calc(100% - 28px);
  pointer-events: none;
  overflow: visible;
}
.chart-polyline {
  fill: none;
  stroke: rgba(255,255,255,0.55);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  transition: stroke-dashoffset 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}
.chart-wrap.is-animated .chart-polyline { stroke-dashoffset: 0; }

.chart-dot {
  fill: var(--black);
  stroke: rgba(255,255,255,0.45);
  stroke-width: 1.5;
  opacity: 0;
  transform: scale(0);
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity 0.3s ease, transform 0.35s var(--ease);
}
.chart-dot--peak {
  stroke: rgba(255,255,255,0.8);
  fill: rgba(255,255,255,0.08);
}
.chart-wrap.is-animated circle.chart-dot:nth-of-type(1) { opacity:1; transform:scale(1); transition-delay:0.55s; }
.chart-wrap.is-animated circle.chart-dot:nth-of-type(2) { opacity:1; transform:scale(1); transition-delay:0.90s; }
.chart-wrap.is-animated circle.chart-dot:nth-of-type(3) { opacity:1; transform:scale(1); transition-delay:1.20s; }
.chart-wrap.is-animated circle.chart-dot:nth-of-type(4) { opacity:1; transform:scale(1); transition-delay:1.55s; }
.chart-wrap.is-animated circle.chart-dot:nth-of-type(5) { opacity:1; transform:scale(1); transition-delay:1.85s; }

/* annotations SVG */
.chart-anns {
  opacity: 0;
  transition: opacity 0.5s ease 2.1s;
}
.chart-wrap.is-animated .chart-anns { opacity: 1; }

.chart-ann-lbl {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  fill: rgba(255,255,255,0.28);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.chart-ann-lbl--r { text-anchor: end; }

.chart-ann-ln {
  stroke: rgba(255,255,255,0.25);
  stroke-width: 1;
}
.chart-ann-ln--peak { stroke: rgba(255,255,255,0.42); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ 1100px : grille demos + masonry 2 colonnes â”€â”€ */
/* â”€â”€ 1024px : hero-right masquÃ©, reel compact â”€â”€ */
/* â”€â”€ 860px : header compact + stats 2 colonnes â”€â”€ */
/* â”€â”€ 768px : tablette portrait â”€â”€ */
/* â”€â”€ 600px : stats + chart â”€â”€ */
/* â”€â”€ 480px : mobile portrait â”€â”€ */
/* â”€â”€ 400px : trÃ¨s petits Ã©crans â”€â”€ */
/* â”€â”€ 380px : trÃ¨s petits mobiles â”€â”€ */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   VIDEO REEL
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* FEAT CARDS — 3D Coverflow Carousel */
.feat-cards-section {
  width: 100%;
  background: var(--black);
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  perspective: 900px;
  perspective-origin: 50% 50%;
  overflow: hidden;
}
.feat-cards-track {
  position: relative;
  height: 520px;
  width: 100%;
  transform-style: preserve-3d;
}
.feat-card {
  position: absolute;
  width: 380px;
  height: 390px;
  left: calc(50% - 190px);
  top: 25px;
  padding: 44px 38px 48px;
  border-radius: 20px;
  background: rgba(12,12,12,0.97);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 60px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  cursor: default;
  transform-origin: 50% 50%;
  transition: transform 0.85s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              opacity 0.75s ease,
              border-color 0.5s ease,
              box-shadow 0.5s ease;
}
.feat-card.is-front {
  transform: translateZ(100px);
  opacity: 1;
  z-index: 3;
}
.feat-card.is-right {
  transform: translateX(340px) translateZ(-70px) rotateY(-18deg) scale(0.9);
  opacity: 0.48;
  z-index: 2;
}
.feat-card.is-left {
  transform: translateX(-340px) translateZ(-70px) rotateY(18deg) scale(0.9);
  opacity: 0.48;
  z-index: 1;
}
.feat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent);
}
.feat-card--active {
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 16px 80px rgba(0,0,0,0.6),
              0 0 50px rgba(230,97,16,0.08),
              inset 0 1px 0 rgba(255,255,255,0.07);
}
.feat-card--active::before {
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}
.feat-card-num {
  display: block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  margin-bottom: 20px;
}
.feat-card--active .feat-card-num { color: rgba(255,255,255,0.45); }
.feat-card-title {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.feat-card--active .feat-card-title {
  background: linear-gradient(90deg, #e66110, #e9005e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.feat-card-title em { font-style: italic; }
.feat-card-desc {
  font-size: 0.87rem;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.32);
  flex: 1;
}
.feat-card--active .feat-card-desc { color: rgba(255,255,255,0.42); }
/* dots nav */
.feat-cards-nav {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.feat-cards-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.feat-dot {
  width: 6px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.18);
  border: none;
  cursor: none;
  padding: 0;
  transition: background 0.35s, width 0.35s var(--ease);
}
.feat-dot--active {
  background: var(--white);
  width: 28px;
}
@media (pointer: coarse) {
  .feat-dot { cursor: pointer; }
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CATÃ‰GORIES PORTFOLIO
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cat-section {
  width: 100%;
  background: var(--black);
  margin-top: 100px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  height: 90vh;
  min-height: 500px;
}
.cat-card {
  position: relative;
  overflow: hidden;
  cursor: none;
}
.cat-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
  filter: brightness(0.4);
}
.cat-card:hover img {
  transform: scale(1.06);
  filter: brightness(0.25);
}
.cat-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 40px 36px;
  z-index: 2;
}
.cat-num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  transition: color 0.4s;
}
.cat-card:hover .cat-num { color: #fff; }
.cat-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin-bottom: 18px;
  transition: letter-spacing 0.4s var(--ease);
}
.cat-card:hover .cat-title { letter-spacing: 0.02em; }
.cat-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 9px 22px;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 100px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.cat-card:hover .cat-cta,
.cat-slide-item:hover .cat-cta {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.cat-overlay .imm-btn {
  margin-top: 20px;
  align-self: flex-start;
  font-size: 0.7rem;
  opacity: 1;
  transform: translateY(0);
}
/* SÃ©parateur entre cartes */
.cat-card:not(:last-child) {
  border-right: 1px solid rgba(255,255,255,0.06);
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTFOLIO â€” GRANDES CARTES PROJETS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pf-projects-section {
  background: var(--black);
}
.pf-projects {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--black);
}
.pf-proj-card {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  cursor: none;
}
/* Parallax wrapper for the image */
.pf-img-wrap {
  position: absolute;
  top: -6%;
  bottom: -6%;
  left: 0;
  right: 0;
  will-change: transform;
}
.pf-proj-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.pf-proj-card:hover img {
  transform: scale(1.04);
}
.pf-proj-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 60px 80px;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.55) 30%, rgba(0,0,0,0.12) 65%, transparent 100%);
}
.pf-proj-num {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 18px;
  transition: color 0.4s;
}
.pf-proj-card:hover .pf-proj-num { color: rgba(255,255,255,0.55); }
.pf-proj-text { margin-bottom: 28px; }
.pf-proj-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 10px;
  transition: letter-spacing 0.5s var(--ease);
}
.pf-proj-card:hover .pf-proj-title { letter-spacing: 0.01em; }
.pf-proj-sub {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  margin: 0;
}
.pf-proj-cta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0);
  transform: translateX(-14px);
  transition: color 0.45s var(--ease), transform 0.5s var(--ease);
}
.pf-proj-card:hover .pf-proj-cta {
  color: rgba(255,255,255,0.6);
  transform: translateX(0);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTFOLIO â€” VUE DÃ‰TAIL PROJET
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.pf-detail {
  display: none;
  background: var(--g900);
}
.pf-detail.open { display: block; }
.pf-detail-nav {
  padding: 44px 80px 0;
}
.pf-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  cursor: none;
  transition: color 0.3s, gap 0.35s var(--ease);
  padding: 12px 0;
  min-height: 44px;
}
.pf-detail-back:hover { color: var(--white); gap: 16px; }
.pf-detail-back svg { flex-shrink: 0; transition: transform 0.35s var(--ease); }
.pf-detail-back:hover svg { transform: translateX(-4px); }
.pf-detail-header {
  padding: 36px 80px 52px;
}
.pf-detail-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 5.5vw, 5.5rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 10px;
}

/* Cat-card subtitle */


/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE PORTFOLIO â€” FOND SOMBRE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#page-portfolio .masonry-section { background: var(--g900); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PAGE â€” Ã€ PROPOS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Keyframes spÃ©cifiques Ã€ propos â”€â”€ */
@keyframes aboutLineDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes aboutValSlide {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes aboutPulse {
  0%, 100% { transform: scale(1);   opacity: 0.18; }
  50%       { transform: scale(1.5); opacity: 0; }
}
@keyframes aboutShimmer {
  from { transform: translateX(0); }
  to   { transform: translateX(300%); }
}
@keyframes aboutCardIn {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}
@keyframes aboutOverlaySlide {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
@keyframes aboutRoleIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* â”€â”€ Intro â”€â”€ */
.about-intro-section {
  background: var(--g900);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}
.about-intro-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transform-origin: left;
  animation: aboutLineDraw 1.4s var(--ease) 0.3s both;
}
.about-intro-inner {
  max-width: none;
  padding: 0 7vw;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 8vw;
  align-items: start;
}
.about-intro-text .lbl {
  font-size: 0.68rem;
  letter-spacing: 0.32em;
}
.about-intro-h {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 4.4rem);
  font-weight: 200;
  color: var(--white);
  line-height: 1.12;
  margin: 24px 0 48px;
  letter-spacing: -0.01em;
}
.about-intro-h em {
  font-style: normal;
  color: rgba(255,255,255,0.32);
}
.about-intro-p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  line-height: 1.9;
  margin-bottom: 28px;
  max-width: 560px;
}

/* SÃ©parateur animÃ© entre les deux paragraphes */
.about-intro-text[data-reveal].in .about-intro-p:first-of-type {
  animation: fadeUp 0.8s var(--ease) 0.15s both;
}
.about-intro-text[data-reveal].in .about-intro-p:last-of-type {
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

/* Valeurs */
.about-intro-values {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0;
  margin-top: 40px;
}
.about-val {
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
  cursor: default;
  transition: background 0.4s var(--ease);
}
.about-val::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.02);
  transform: translateX(-100%);
  transition: transform 0.55s var(--ease);
}
.about-val:hover::before { transform: translateX(0); }

.about-val-n {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.18);
  display: block;
  margin-bottom: 16px;
  transition: color 0.3s;
}
.about-val:hover .about-val-n { color: rgba(255,255,255,0.5); }

.about-val-title {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 14px;
  transition: letter-spacing 0.4s var(--ease);
}
.about-val:hover .about-val-title { letter-spacing: 0.03em; }

.about-val-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  line-height: 1.85;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.4s var(--ease);
}
.about-val:hover .about-val-desc {
  max-height: 120px;
  opacity: 1;
}

/* Stagger des valeurs au scroll */
.about-intro-values .about-val:nth-child(1)[data-reveal] { transition-delay: 0s; }
.about-intro-values .about-val:nth-child(2)[data-reveal] { transition-delay: 0.12s; }
.about-intro-values .about-val:nth-child(3)[data-reveal] { transition-delay: 0.24s; }

/* â”€â”€ Ã‰quipe â”€â”€ */
.team-section {
  background: var(--black);
  padding: 160px 0 200px;
  position: relative;
}
.team-section::before {
  content: '';
  position: absolute;
  top: 0; left: 7vw; right: 7vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.team-header {
  max-width: none;
  margin: 0 0 100px;
  padding: 0 7vw;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.team-h {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 6vw, 6rem);
  font-weight: 200;
  color: var(--white);
  margin-top: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.team-count {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.22);
  padding-bottom: 8px;
}

.team-grid {
  max-width: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

/* Carte membre */
.team-card {
  background: var(--g900);
  overflow: hidden;
  position: relative;
  cursor: default;
  transform-origin: center bottom;
}
.team-card[data-reveal] {
  opacity: 0;
  transform: translateY(80px) scale(0.96);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.team-card[data-reveal].in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.team-card:nth-child(1)[data-reveal] { transition-delay: 0s; }
.team-card:nth-child(2)[data-reveal] { transition-delay: 0.1s; }
.team-card:nth-child(3)[data-reveal] { transition-delay: 0.2s; }
.team-card:nth-child(4)[data-reveal] { transition-delay: 0.3s; }
.team-card:nth-child(5)[data-reveal] { transition-delay: 0.4s; }

/* Photo */
.team-card-img-wrap {
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  position: relative;
  background: var(--g800);
}
.team-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(40%) brightness(0.88);
  transition: transform 1.1s var(--ease), filter 0.8s var(--ease);
}
.team-card:hover .team-card-img-wrap img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

/* Overlay sombre animÃ© sur la photo */
.team-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.18) 45%,
    transparent 100%
  );
  opacity: 0.6;
  transition: opacity 0.6s var(--ease);
}
.team-card:hover .team-card-img-wrap::after { opacity: 0.85; }

/* Shimmer au hover sur la photo */
.team-card-img-wrap::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: -100%;
  width: 100%;
  z-index: 2;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255,255,255,0.07) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  animation: aboutShimmer 1.4s ease both;
  animation-play-state: paused;
}
.team-card:hover .team-card-img-wrap::before {
  opacity: 1;
  animation-play-state: running;
}

/* Avatar anonyme */
.team-card-img-wrap--anon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-anon-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.team-anon-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  animation: aboutPulse 4s ease-in-out infinite;
}

/* Corps de la carte */
.team-card-body {
  padding: 40px 40px 52px;
  border-top: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}
.team-card-body::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0%;
  background: rgba(255,255,255,0.15);
  transition: width 0.6s var(--ease);
}
.team-card:hover .team-card-body::before { width: 100%; }

.team-card-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.01em;
  line-height: 1.25;
  transition: letter-spacing 0.4s var(--ease);
}
.team-card:hover .team-card-name { letter-spacing: 0.03em; }

.team-card-role {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
  display: block;
  transition: color 0.4s var(--ease), letter-spacing 0.4s var(--ease);
  transform: translateY(4px);
  opacity: 0.7;
}
.team-card:hover .team-card-role {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3em;
  transform: translateY(0);
  opacity: 1;
}

/* NumÃ©ro de position flottant en haut gauche */
.team-card-num {
  position: absolute;
  top: 28px;
  right: 36px;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  color: rgba(255,255,255,0.16);
  text-transform: uppercase;
  transition: color 0.4s;
}
.team-card:hover .team-card-num { color: rgba(255,255,255,0.4); }

/* â”€â”€ Responsive â”€â”€ */
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SERVICE â€” REDESIGN MODERNE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.svc-section {
  background: var(--g900);
  padding: 0;
}
.svc-list {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.svc-item {
  display: grid;
  grid-template-columns: 80px 1fr 64px;
  gap: 0 48px;
  align-items: center;
  padding: 52px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: relative;
  overflow: hidden;
  cursor: none;
  transition: background 0.4s var(--ease), padding 0.35s var(--ease);
}
.svc-item::before {
  content: attr(data-n);
  position: absolute;
  right: 40px; top: 50%;
  transform: translateY(-50%);
  font-size: 9rem;
  font-weight: 700;
  color: rgba(255,255,255,0.025);
  pointer-events: none;
  line-height: 1;
  transition: color 0.4s, font-size 0.4s var(--ease);
}
.svc-item:hover {
  background: rgba(255,255,255,0.03);
  padding-left: 24px;
  padding-right: 24px;
}
.svc-item:hover::before {
  color: rgba(255,255,255,0.055);
  font-size: 10rem;
}
.svc-idx {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.2);
  transition: color 0.35s;
  padding-top: 4px;
  align-self: start;
}
.svc-item:hover .svc-idx { color: rgba(255,255,255,0.55); }
.svc-body { display: flex; flex-direction: column; gap: 0; }
.svc-title {
  font-size: clamp(1.5rem, 2.6vw, 2.4rem);
  font-weight: 400;
  font-family: var(--sans);
  color: var(--white);
  line-height: 1.2;
  transition: letter-spacing 0.35s var(--ease);
}
.svc-item:hover .svc-title { letter-spacing: 0.02em; }
.svc-desc {
  font-size: 0.84rem;
  color: rgba(255,255,255,0);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: color 0.4s 0.05s, max-height 0.5s var(--ease);
  margin-top: 0;
}
.svc-item:hover .svc-desc {
  color: rgba(255,255,255,0.38);
  max-height: 200px;
  margin-top: 12px;
}
.svc-item--featured:hover .svc-desc {
  color: rgba(255,255,255,0.38);
  max-height: 300px;
  margin-top: 12px;
}
.svc-arrow {
  font-size: 1.6rem;
  color: rgba(255,255,255,0.12);
  transition: transform 0.35s var(--ease), color 0.35s;
  text-align: center;
  align-self: center;
}
.svc-item:hover .svc-arrow {
  transform: translate(5px, -5px);
  color: var(--white);
}
.tag-4k {
  display: inline-block;
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border-radius: 2px;
  padding: 2px 7px;
  margin-left: 8px;
  vertical-align: middle;
  border: 1px solid rgba(255,255,255,0.12);
}
.svc-item--featured {
  border-top: 1px solid rgba(230, 97, 16, 0.3);
  border-bottom: 1px solid rgba(233, 0, 94, 0.3);
  background: linear-gradient(135deg, rgba(230,97,16,0.05) 0%, rgba(233,0,94,0.05) 100%);
  padding: 40px 20px;
  border-radius: 4px;
}
.svc-item--featured .tag-4k {
  background: linear-gradient(90deg, #e66110, #e9005e);
  color: #fff;
  border: none;
}
.contact-strip {
  background: var(--black);
  padding: 120px 60px;
}
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.contact-pre {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  color: rgba(255,255,255,0.35);
  font-style: italic;
  margin-bottom: 32px;
}
.contact-link {
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--white);
  border-bottom: none;
  padding-bottom: 4px;
  background-image: linear-gradient(90deg, #e66110, #e9005e);
  background-repeat: no-repeat;
  background-size: 100% 1px;
  background-position: left bottom;
  transition: letter-spacing 0.4s var(--ease);
  letter-spacing: 0.04em;
}
.contact-link:hover {
  letter-spacing: 0.07em;
}
/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER â€” FOND SOMBRE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer {
  background: var(--g900);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-slogan {
  color: rgba(255,255,255,0.8);
}
.footer-slogan em {
  font-style: italic;
  color: var(--white);
}
.fcopy { color: rgba(255,255,255,0.2); }
.footer-contact-label { color: rgba(255,255,255,0.3); }
.footer-contact-email { color: rgba(255,255,255,0.65); }
.footer-socials a { color: rgba(255,255,255,0.4); }
.footer-socials a:hover { color: var(--white); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   CAT-SECTION â€” SLIDER GAUCHE / DROITE
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.cat-slot {
  position: relative;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.cat-slot:last-child { border-right: none; }
.cat-card--static { border-right: 1px solid rgba(255,255,255,0.06); }

/* Slide items dynamiques */
.cat-slide-item {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: none;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}
.cat-slide-item img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s var(--ease);
  filter: brightness(0.4);
}
.cat-slide-item .cat-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 48px 40px;
  z-index: 2;
}
.cat-slide-item:hover img { transform: scale(1.06); filter: brightness(0.25); }
.cat-slide-item:hover .cat-num  { color: #fff; }
.cat-slide-item:hover .cat-title { letter-spacing: 0.02em; }

/* Animation â€” entrÃ© depuis la droite */
.cat-slide-item.is-enter {
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
}
/* Animation â€” sortie vers la gauche */
.cat-slide-item.is-exit {
  transform: translateX(-100%);
  opacity: 0;
  pointer-events: none;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   VIDEO REEL â€” INTERACTIVE (PLAY / PAUSE)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   PORTFOLIO â€” PARALLAX & ESPACEMENT
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
/* Ensure overlay text is fully legible */
.pf-proj-num,
.pf-proj-title,
.pf-proj-sub,
.pf-proj-cta {
  position: relative;
  z-index: 1;
}
/* Black gap between project cards is handled by gap:4px on .pf-projects */

/* ============================================================
   RESPONSIVE
============================================================ */

/* ── Touch devices: curseur natif ── */
@media (pointer: coarse) {
  .c-ring, .c-dot { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
  a, [role="button"] { cursor: pointer; }
  .nav-link, .nav-panel-link, .nav-panel-contact,
  .hero-cta, .hero-cta-secondary,
  .cat-card, .cat-slide-item,
  .pf-proj-card, .pf-detail-back,
  .demo-btn, .svc-item,
  .footer-contact-email, .footer-contact-phone,
  .footer-socials a,
  .contact-link, .contact-phone,
  .lb-close, .lb-prev, .lb-next,
  .imm-btn, .imm-close, .imm-vr-btn, .imm-switch,
  .login-btn, .admin-logout, .client-logout { cursor: pointer; }
  .input-wrap input { cursor: text; }
}

/* ── Service desc toujours visible sur touch ── */
@media (pointer: coarse) {
  .svc-desc {
    color: rgba(255,255,255,0.38);
    max-height: 300px;
    margin-top: 12px;
  }
}


/* ── 860px : tablette compact ── */
@media (max-width: 860px) {
  .hdr { top: 10px; left: 12px; right: 12px; padding: 0 22px; height: 64px; }
  .logo-link { margin-left: 4px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 768px : tablette portrait ── */
@media (max-width: 768px) {
  :root { --section-py: 80px; }

  /* Header */
  .hdr { top: 10px; left: 10px; right: 10px; padding: 0 18px; height: 60px; }
  .logo-link { margin-left: 2px; }
  .logo-img { height: 44px; }

  /* Nav panel plein ecran */
  .nav-panel { width: 100%; border-left: none; padding: 80px 36px; }
  .nav-panel-logo-wrap {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
  }
  .nav-panel-logo-img {
    height: 96px;
  }
  .nav-panel-nav { align-items: center; }
  .nav-panel-link { text-align: center; width: 100%; }
  .nav-panel-footer {
    left: 0; right: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  /* Hero */
  .hero { justify-content: flex-end; }
  .hero-copy { padding: 0 28px max(6vh, 55px); max-width: 100%; text-align: left; }
  .hero-title-block { width: 70%; min-width: 70%; max-width: 100%; }
  .hero-h { font-size: clamp(2.8rem, 9vw, 3.8rem); }
  .hero-cta { padding: 18px 0; font-size: 0.78rem; letter-spacing: 0.17em; min-width: 62vw; justify-content: center; }
  .hero-cta-wrap { margin-top: 22px; gap: 12px; align-items: flex-start; }
  .sc-pill-wrap { right: 20px; }

  /* Feat cards 3D — 768px */
  .feat-cards-section { min-height: 0; padding: 80px 0 60px; perspective: 640px; display: block; }
  .feat-cards-track { height: 360px; }
  .feat-card {
    width: min(300px, 72vw);
    height: 310px;
    left: calc(50% - min(150px, 36vw));
    padding: 32px 26px 36px;
  }
  .feat-card.is-front { transform: translateZ(80px); }
  .feat-card.is-right { transform: translateX(250px) translateZ(-50px) rotateY(-15deg) scale(0.88); }
  .feat-card.is-left  { transform: translateX(-250px) translateZ(-50px) rotateY(15deg) scale(0.88); }
  .feat-card-title { font-size: clamp(1.2rem, 4.5vw, 1.6rem); margin-bottom: 14px; }
  .feat-card-desc { font-size: 0.83rem; }

  /* Cat grid -> colonne unique */
  .cat-section { margin-top: 60px; }
  .cat-grid { grid-template-columns: 1fr; height: auto; }
  .cat-card { height: 55vw; min-height: 240px; }
  .cat-card:not(:last-child) { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cat-slot { height: 55vw; min-height: 240px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cat-slot:last-child { border-bottom: none; }
  .cat-card--static { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .cat-overlay { padding: 28px 24px; }

  /* Stats */
  .stats-section { padding: 80px 24px; }
  .chart-ann-lbl { display: none; }
  .chart-ann-ln  { display: none; }
  .chart-plot { height: 200px; overflow: hidden; }

  /* Process */
  .process-section { padding-top: 80px; }
  .process-header { padding: 0 24px; margin-bottom: 48px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); min-height: 0; }
  .process-step { padding: 44px 32px 52px; }

  /* Home CTA */
  .home-cta-section { padding: 100px 24px; }
  .home-cta-contact { font-size: 0.68rem; gap: 12px; }

  /* Services */
  .svc-list { padding: 0 24px; }
  .svc-item {
    grid-template-columns: 1fr 40px;
    gap: 0 14px;
    padding: 28px 0;
    align-items: start;
  }
  .svc-item:hover { padding-left: 8px; padding-right: 8px; }
  .svc-item::before { display: none; }
  .svc-body  { grid-column: 1; grid-row: 1; min-width: 0; }
  .svc-idx   { grid-column: 2; grid-row: 1; text-align: right; align-self: start; padding-top: 6px; }
  .svc-arrow { display: none; }

  /* Contact */
  .ba-section { padding: 80px 20px; }
  .contact-strip { padding: 80px 24px; }

  /* Portfolio */
  .pf-proj-card { height: 100svh; min-height: 380px; }
  .pf-proj-overlay { padding: 28px 24px; }
  .pf-detail-nav { padding: 28px 24px 0; }
  .pf-detail-header { padding: 20px 24px 32px; }
  .masonry-section { padding: 24px; }
  .masonry { columns: 1; }

  /* Page hero inner pages */
  .page-hero { padding: 0 24px 44px; }
  .page-hero--sm { height: 26vh; min-height: 195px; }
  .page-title { font-size: clamp(2.4rem, 8vw, 4rem); }

  /* Portfolio — textes visibles sur touch/mobile */
  .pf-proj-num   { color: rgba(255,255,255,0.65); }
  .pf-proj-sub   { color: rgba(255,255,255,0.62); }
  .pf-proj-title { font-size: clamp(1.8rem, 7vw, 3.2rem); }
  .pf-proj-cta   { transform: translateX(0); color: rgba(255,255,255,0.55); }

  /* Services — texte lisible */
  .svc-title { overflow-wrap: break-word; text-align: left; }
  .svc-desc  { overflow-wrap: break-word; hyphens: auto; text-align: left; }

  /* About */
  .about-intro-section { padding: 80px 0; }
  .about-intro-inner { padding: 0 6vw; gap: 60px; grid-template-columns: 1fr; }
  .about-intro-h { font-size: clamp(2rem, 8vw, 2.8rem); }
  .about-intro-p { font-size: 0.95rem; }
  .about-val { padding: 36px 0; }
  .about-intro-values { margin-top: 0; }
  .team-section { padding: 100px 0 120px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-header { padding: 0 5vw; margin-bottom: 60px; }
  .team-h { font-size: clamp(2.8rem, 10vw, 4rem); }
  .team-card-body { padding: 24px 24px 36px; }
  .team-section::before { left: 5vw; right: 5vw; }

  /* Lightbox */
  .lb-inner { padding: 64px 20px 52px; }
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
  .lb-prev svg, .lb-next svg { width: 24px; height: 24px; }

  /* Footer */
  .footer { flex-direction: column; align-items: center; padding: 52px 24px; gap: 36px; }
  .footer-left { display: flex; justify-content: center; order: 0; }
  .footer-logo { height: 80px; }
  .footer-right { align-items: center; text-align: center; order: 1; }
  .footer-center { align-items: center; order: 2; }
  .footer-contacts { align-items: center; }
  .footer-socials { justify-content: center; }
}

/* ── 480px : mobile portrait ── */
@media (max-width: 480px) {
  /* Hero */
  .hero-copy { padding: 0 20px max(7vh, 65px); }
  .hero-title-block { width: 72%; min-width: 72%; max-width: 100%; }
  .hero-h { font-size: clamp(2.6rem, 10vw, 3.2rem); }
  .h-line--spread { gap: 16px; }
  .hero-cta { padding: 16px 0; font-size: 0.74rem; letter-spacing: 0.15em; gap: 10px; min-width: 60vw; justify-content: center; }
  .hero-cta-wrap { margin-top: 20px; gap: 10px; align-items: flex-start; }
  .hero-cta--ghost { font-size: 0.66rem; }
  .sc-pill-wrap { display: none; }

  /* Feat cards — 480px */
  .feat-cards-section { padding: 56px 0 44px; perspective: none; }
  .feat-cards-track { height: 310px; }
  .feat-card {
    width: min(260px, 78vw);
    height: 272px;
    left: calc(50% - min(130px, 39vw));
    top: 19px;
    padding: 26px 20px 30px;
  }
  .feat-card.is-front { transform: none; }
  .feat-card.is-right { transform: translateX(175px) scale(0.86); }
  .feat-card.is-left  { transform: translateX(-175px) scale(0.86); }
  .feat-card-title { font-size: clamp(1.05rem, 5vw, 1.3rem); margin-bottom: 10px; }
  .feat-card-desc { font-size: 0.78rem; line-height: 1.7; }

  /* Cat */
  .cat-section { margin-top: 40px; }
  .cat-card { height: 60vw; }
  .cat-slot { height: 60vw; }

  /* Stats */
  .stat-card { padding: 28px 16px 24px; }

  /* Process */
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 36px 20px 44px; }
  .process-step + .process-step { border-top: 1px solid rgba(255,255,255,0.06); }

  /* Home CTA */
  .home-cta-section { padding: 72px 16px; }
  .home-cta-h { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .home-cta-contact { flex-wrap: wrap; justify-content: center; gap: 8px; }

  /* Services */
  .svc-list  { padding: 0 16px; }
  .svc-item  { grid-template-columns: 1fr 36px; gap: 0 10px; }
  .svc-title { font-size: clamp(1.1rem, 5.5vw, 1.6rem); }

  /* Contact */
  .contact-strip { padding: 64px 16px; }

  /* Page hero */
  .page-hero { padding: 0 16px 36px; }
  .page-hero--sm { height: 22vh; min-height: 170px; }

  /* About */
  .about-intro-section { padding: 64px 0; }
  .team-section { padding: 80px 0 100px; }

  /* Footer */
  .footer { padding: 44px 16px; gap: 28px; }
  .footer-slogan { font-size: 1.2rem; }
  .footer-contact-email { font-size: 0.82rem; }
  .footer-contact-phone { font-size: 0.78rem; }
  .footer-socials { gap: 16px; }

  /* Nav panel */
  .nav-panel { padding: 80px 20px; }
  .nav-panel-logo-img { height: 80px; }
  .nav-panel-footer { left: 20px; }
  .nav-panel-link { font-size: clamp(2.2rem, 8vw, 3.2rem); }
}

/* ── 380px : tres petits mobiles ── */
@media (max-width: 380px) {
  .hero-h { font-size: clamp(1.6rem, 9vw, 2rem); }
  .cat-card, .cat-slot { height: 65vw; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-panel-link { font-size: clamp(1.8rem, 9vw, 2.6rem); }
}

/* ════════════════════════════════════════════════════════
   OPTIMISATIONS PERFORMANCE MOBILE
════════════════════════════════════════════════════════ */

/* content-visibility : ne pas rendre les sections hors écran au chargement */
.cat-section,
.stats-section,
.process-section,
.home-cta-section,
.svc-section,
.ba-section,
.contact-strip,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

@media (max-width: 768px) {
  /* Supprimer backdrop-filter sur les CTAs (GPU-heavy) */
  .hero-cta {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255,255,255,0.10);
  }
  /* Désactiver les animations de glow */
  .sc-pill-dot { animation: none; box-shadow: 0 0 6px 1px rgba(230,97,16,0.55); }
  /* Réduire backdrop-filter header */
  .hdr {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
  /* Supprimer backdrop-filter sur les overlays (GPU-heavy sur mobile) */
  .nav-panel {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(8,8,8,0.98);
  }
  .pf-proj-overlay {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
  }
  /* Feat-cards : cartes latérales sans 3D (rotateY = couche GPU séparée) */
  .feat-card.is-right { transform: translateX(250px) scale(0.88); }
  .feat-card.is-left  { transform: translateX(-250px) scale(0.88); }
  /* Supprimer box-shadow sur les cartes latérales (pas visibles) */
  .feat-card:not(.is-front) { box-shadow: none; }
  /* Supprimer la transition box-shadow sur mobile */
  .feat-card { transition: transform 0.75s cubic-bezier(0.25,0.46,0.45,0.94), opacity 0.6s ease; }
}

/* Respecter les préférences d'accessibilité */
@media (prefers-reduced-motion: reduce) {
  .feat-card { transition: none; }
  .hero-bg-video { display: none; }
  .sc-pill { animation: none; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}


/* ════════════════════════════════════════════════════════
   PAGE LOGIN
════════════════════════════════════════════════════════ */
.login-canvas {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}

.login-page {
  position: relative;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  z-index: 1;
}

/* ─ Colonne gauche : vidéo ─ */
.login-media {
  flex: 1 1 45%;
  min-width: 0;
  position: relative;
  overflow: hidden;
  /* Halos extérieurs blancs */
  box-shadow:
    0  0  28px  6px rgba(255,255,255,0.18),
    0  0  70px 20px rgba(255,255,255,0.10),
    0  0 130px 40px rgba(255,255,255,0.05);
}
.login-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ─ Colonne droite : formulaire ─ */
.login-right {
  flex: 0 0 55%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

/* ─ Card verre sombre (dark glass) ─ */
.login-card {
  position: relative;
  width: min(420px, 100%);
  background: rgba(38,38,42,0.72);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  border-radius: 20px;
  padding: 52px 48px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow:
    0 24px 64px rgba(0,0,0,0.65),
    0  8px 24px rgba(0,0,0,0.40),
    inset 0 1px 0 rgba(255,255,255,0.07);
}
.login-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(
    160deg,
    rgba(255,255,255,0.70) 0%,
    rgba(255,255,255,0.30) 35%,
    rgba(255,255,255,0.10) 65%,
    rgba(255,255,255,0.40) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.login-logo-link {
  width: 80px;
  margin-bottom: 32px;
  display: block;
}
.login-logo-link img {
  width: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ─ Bouton retour ─ */
.login-back {
  position: fixed;
  top: 24px;
  left: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(20,20,20,0.80);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 100px;
  color: #fff;
  font-size: 0.85rem;
  font-family: var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.50);
  transition: background 0.2s, border-color 0.2s;
}
.login-back:hover {
  background: rgba(40,40,40,0.90);
  border-color: rgba(255,255,255,0.60);
}
.login-back svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.login-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 200;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  text-align: center;
}

.login-sub {
  font-size: 0.8rem;
  color: var(--g300);
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  text-align: center;
}

.login-form {
  width: 100%;
}

.login-field {
  margin-bottom: 20px;
}

.login-field label {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g200);
  margin-bottom: 10px;
}

/* ─ Input avec bordure gradient ─ */
.input-wrap {
  background: linear-gradient(90deg, #e66110, #e9005e);
  padding: 1.5px;
  border-radius: 100px;
}
.input-wrap input {
  width: 100%;
  display: block;
  background: var(--g900);
  border: none;
  border-radius: 100px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--white);
  outline: none;
  cursor: none;
  transition: background 0.25s var(--ease);
}
.input-wrap input:focus { background: var(--g800); }
.input-wrap input::placeholder { color: var(--g500); }

.login-error {
  font-size: 0.76rem;
  color: #e06060;
  margin-bottom: 16px;
  min-height: 1em;
  line-height: 1.4;
  text-align: center;
}

.login-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: none;
  position: relative;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.4s var(--ease), letter-spacing 0.4s var(--ease);
}
.login-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 1.5px;
  background: linear-gradient(90deg, #e66110, #e9005e);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}
.login-btn:hover { background: rgba(255,255,255,0.12); letter-spacing: 0.24em; }
.login-btn:active { transform: scale(0.99); }
.login-btn:disabled { opacity: 0.45; pointer-events: none; }
.login-btn .login-btn-arrow { transition: transform 0.35s var(--ease); }
.login-btn:hover .login-btn-arrow { transform: translateX(5px); }

.login-footer-note {
  margin-top: 36px;
  font-size: 0.72rem;
  color: var(--g300);
  text-align: center;
  line-height: 1.8;
}
.login-contact-link {
  color: var(--g200);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-contact-link:hover { color: var(--white); }

@media (max-width: 768px) {
  .login-media { display: none; }
  .login-right  { flex: 1 1 100%; max-width: 100%; padding: 24px 16px; }
  .login-card   { width: min(420px, 100%); }
}
@media (max-width: 480px) {
  .login-card { padding: 36px 20px 32px; }
  .input-wrap input { padding: 12px 18px; }
}

/* ════════════════════════════════════════════════════════
   PAGE DASHBOARD
════════════════════════════════════════════════════════ */
.dashboard-page {
  min-height: 100vh;
  background: var(--black);
  padding: 120px 64px 100px;
}

.dash-hidden { display: none; }

.dash-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
  max-width: 1100px;
  margin-inline: auto;
}

.dash-role-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--g500);
  border: 1px solid var(--g800);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 12px;
}

.dash-welcome {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 200;
  color: var(--white);
  letter-spacing: -0.01em;
}

.dash-logout {
  background: none;
  border: 1px solid var(--g700);
  border-radius: 3px;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--g400);
  cursor: none;
  transition: border-color 0.2s, color 0.2s;
}
.dash-logout:hover { border-color: var(--g400); color: var(--white); }

.dash-section-title {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--g600);
  margin-bottom: 28px;
  max-width: 1100px;
  margin-inline: auto;
}

/* Admin overview cards */
.dash-admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin-inline: auto;
  margin-bottom: 52px;
}

.dash-admin-card {
  background: var(--g900);
  border: 1px solid var(--g800);
  border-radius: 6px;
  padding: 28px 24px;
}

.dash-admin-card-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 200;
  color: var(--white);
  line-height: 1;
  margin-bottom: 10px;
}

.dash-admin-card-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--g600);
}

/* Projects grid */
.dash-projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin-inline: auto;
}

.dash-proj-card {
  background: var(--g900);
  border: 1px solid var(--g800);
  border-radius: 6px;
  padding: 28px 24px;
  transition: border-color 0.2s var(--ease2);
}
.dash-proj-card:hover { border-color: var(--g600); }

.dash-proj-status {
  display: inline-block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 18px;
}
.dash-proj-status--cours   { color: #f0b433; background: rgba(240,180,51,0.09); border: 1px solid rgba(240,180,51,0.18); }
.dash-proj-status--termine { color: #4ea87a; background: rgba(78,168,122,0.09); border: 1px solid rgba(78,168,122,0.18); }
.dash-proj-status--livre   { color: var(--g300); background: rgba(170,170,170,0.06); border: 1px solid var(--g800); }

.dash-proj-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 10px;
  line-height: 1.3;
}

.dash-proj-desc {
  font-size: 0.8rem;
  color: var(--g500);
  line-height: 1.65;
}

/* Empty state */
.dash-empty {
  max-width: 1100px;
  margin-inline: auto;
  padding: 80px 0;
  text-align: center;
}

.dash-empty-icon {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.dash-empty-text {
  font-size: 0.85rem;
  color: var(--g600);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .dashboard-page { padding: 100px 24px 60px; }
  .dash-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .dash-projects { grid-template-columns: 1fr; }
}

