/* ==========================================================================
   ELVEN GUERIN — STUDIO D'AUTEUR & DIRECTION CRÉATIVE
   Palette Noble, Ténébreuse & Matérielle (Anti-clichés IA)
   ========================================================================== */

:root {
  --void: #050608;
  --surface-1: #090b0f;
  --surface-2: #11141b;
  --surface-glass: rgba(12, 14, 19, 0.72);
  --border-hairline: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.24);

  --text-bone: #f4f1ea;
  --text-secondary: rgba(244, 241, 234, 0.7);
  --text-muted: rgba(244, 241, 234, 0.4);

  --amber-smoky: #ffffff;
  --amber-glow: rgba(255, 255, 255, 0.18);
  --gold-platine: #ffffff;

  /* Typographies : Satoshi (corps) & Clash Display (titres) */
  --font-text: 'Satoshi', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-title: 'Clash Display', 'Satoshi', sans-serif;
  --font-mono: var(--font-text);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --radius-full: 999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--void);
  color: var(--text-bone);
  font-family: var(--font-text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  /* Réserve l'espace scrollbar en permanence → empêche le layout shift
     quand overflow:hidden est appliqué sur body (overlay projet) */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background-color: var(--void);
  color: var(--text-bone);
  font-family: var(--font-text);
  overflow-x: hidden;
  position: relative;
}

body:not(.is-site-ready) {
  overflow: hidden;
}

/* ==========================================================================
   Grain Argentique / Pellicule Cinématographique (Texture Tactile Réelle)
   ========================================================================== */

.film-grain {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Curseur lueur interactive tamisée (Chiaroscuro feutré) */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 480px;
  height: 480px;
  margin-left: -240px;
  margin-top: -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 45%, transparent 70%);
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-1000px, -1000px, 0);
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              height 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              margin 0.32s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.28s ease, 
              background 0.32s ease, 
              filter 0.32s ease;
}

@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* (is-word-hover supprimé pour éliminer tout halo/aura sur la souris au survol des mots) */

/* ==========================================================================
   Fond Vidéo Cosmique (Trou Noir Cinématique en Boucle) & Canvas
   ========================================================================== */

.site-bg-video-wrapper {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #030406;
  /* L'opacité est pilotée frame-par-frame par JS au scroll */
  opacity: 1;
  will-change: opacity;
}

.site-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.06) brightness(0.94);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.site-bg-video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(3, 4, 6, 0.12) 0%, rgba(3, 4, 6, 0.38) 55%, rgba(3, 4, 6, 0.72) 100%),
              linear-gradient(180deg, rgba(3, 4, 6, 0.35) 0%, transparent 22%, transparent 78%, rgba(3, 4, 6, 0.6) 100%);
  pointer-events: none;
}

/* Fond noir solide derrière la vidéo — toujours visible quand la vidéo disparaît */
.site-bg-video-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: #050608;
  z-index: -1;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  background-color: #050608;
  opacity: 0.15;
}

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

/* ==========================================================================
   Boutons d'Atelier Architecturaux & Typographie
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-smoky);
  margin-bottom: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 48px;
  padding: 0 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.button:hover {
  transform: translateY(-2px);
}

/* Bouton Plein Platine */
.button--solid {
  background-color: var(--text-bone);
  color: #050608;
  border-color: var(--text-bone);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.button--solid:hover {
  background-color: #dfdbd1;
  border-color: #dfdbd1;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.6);
}

/* Bouton Contour Fumé */
.button--outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--border-hairline);
  color: var(--text-bone);
  backdrop-filter: blur(12px);
}

.button--outline:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--border-hover);
}

/* Bouton Minimal Ligne Mono */
.button--line {
  height: 42px;
  padding: 0 20px;
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-bone);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  border-radius: var(--radius-xs);
}

.button--line:hover {
  border-color: var(--text-bone);
  background: rgba(255, 255, 255, 0.04);
}

/* Bouton Header CTA */
.button--header-cta,
.header-cta {
  height: 44px;
  padding: 0 24px;
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  justify-self: end;
  pointer-events: auto;
}

/* ==========================================================================
   Voile Dégradé Flou Supérieur (Header Veil)
   Dissimule délicatement le contenu en scroll sous le header & le logo
   ========================================================================== */
.header-veil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 130px;
  z-index: 990;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(3, 4, 6, 0.96) 0%,
    rgba(3, 4, 6, 0.85) 40%,
    rgba(3, 4, 6, 0.40) 72%,
    rgba(3, 4, 6, 0) 100%
  );
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 50%, transparent 100%);
}

/* ==========================================================================
   Navigation Haute & Segmented Control Pill (Menu d'origine restauré)
   ========================================================================== */

.header-bar {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  z-index: 1000;
  pointer-events: none;
}

.header-brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.header-brand:hover {
  opacity: 0.85;
}

.header-brand img {
  height: 30px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Le Segmented Pill Bar (Centré au pixel près) */
.nav-pill-control {
  position: relative;
  justify-self: center;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  width: 440px;
  height: 52px;
  padding: 4px;
  border-radius: var(--radius-full);
  background: rgba(30, 32, 36, 0.82);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}

/* Curseur / Slider fluide qui glisse sous l'élément actif */
.nav-pill-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  height: calc(100% - 8px);
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.4), 0 0 16px rgba(255, 255, 255, 0.1);
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Boutons d'onglets du pill */
.nav-pill-tab {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  background: transparent;
  border: none;
  cursor: pointer;
  outline: none;
  transition: color 0.2s ease, transform 0.12s ease;
  user-select: none;
}

.nav-pill-tab:hover {
  color: #ffffff;
}

.nav-pill-tab:active {
  transform: scale(0.96);
}

.nav-pill-tab.is-active {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   MOTEUR SCROLLYTELLING // VIEWPORT FIXE & SCÈNES EN SUPERPOSITION
   ========================================================================== */

.scroll-experience {
  height: 1050svh;
  position: relative;
}

.scroll-experience__viewport {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background-color: transparent;
  contain: paint;
}

/* Scènes superposées dans le viewport fixe avec isolation GPU */
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  will-change: transform, opacity;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  z-index: 1;
}

.scene.is-active {
  pointer-events: auto;
  opacity: 1;
  z-index: 10;
}

.scene:first-child,
.scene[data-scene="0"] {
  opacity: 1;
}

/* ==========================================================================
   Scène 00 — HERO Trou Noir Cosmique & Contenu Épuré
   ========================================================================== */

.hero,
.hero-blackhole,
.hero-alpine {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 24px;
  height: 100svh;
  min-height: 100svh;
  overflow: hidden;
  background: transparent;
  box-sizing: border-box;
}

/* Contenu Typographique Épuré */
.hero-blackhole__content,
.hero-alpine__content {
  position: relative;
  z-index: 10;
  max-width: 980px;
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  will-change: transform, opacity;
  padding: 0 16px;
  box-sizing: border-box;
}

.hero-blackhole__kicker,
.hero-alpine__kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 5px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(14, 16, 22, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-pill);
  font-family: var(--font-text);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-alpine__title {
  font-family: var(--font-title);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 18px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.75), 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero-alpine__highlight {
  font-family: var(--font-text);
  font-style: normal;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.01em;
  font-size: 1.15em;
  line-height: 0.8;
  display: inline-block;
  text-shadow: 0 0 35px rgba(255, 235, 210, 0.6), 0 4px 24px rgba(0, 0, 0, 0.8);
}

.hero-alpine__copy {
  font-family: var(--font-text);
  font-size: clamp(14.5px, 1.15vw, 17px);
  line-height: 1.6;
  color: rgba(245, 243, 240, 0.85);
  max-width: 580px;
  margin-bottom: 28px;
  font-weight: 400;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.85);
}

.hero-alpine__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 10px;
}

/* Bouton Pill Sombre Épuré (Style .eva "Join Beta") */
.button--alpine-pill {
  height: 48px;
  padding: 0 34px;
  border-radius: var(--radius-full);
  background: rgba(14, 17, 24, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 1px 1px rgba(255, 255, 255, 0.08);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.button--alpine-pill:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(24, 28, 38, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.7), 0 0 28px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.button--alpine-pill:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   CARROUSEL DES MARQUES ÉPURÉ (DÉFILEMENT PUR SANS BOÎTE NI TEXTE FIGÉ)
   ========================================================================== */
.hero__brands-carousel {
  width: min(1140px, 95vw);
  overflow: hidden;
  position: relative;
  margin-top: clamp(16px, 3vh, 32px);
  padding: 16px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}

.hero__brands-track {
  display: flex;
  align-items: center;
  gap: clamp(42px, 5.5vw, 80px);
  width: max-content;
  animation: hero-brands-glide 28s linear infinite;
  will-change: transform;
}

.hero__brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  flex-shrink: 0;
}

.hero__brand-item img {
  max-height: 28px;
  height: auto;
  width: auto;
  opacity: 0.85;
  filter: brightness(0) invert(1);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero__brand-item:hover img {
  opacity: 1;
  transform: scale(1.08);
}

.hero__brand-item img {
  height: clamp(23px, 2.3vw, 30px);
  width: auto;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.25s ease, filter 0.25s ease;
  filter: brightness(1.7) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
}

.hero__brand-item:hover img {
  opacity: 1;
  filter: brightness(2.2) drop-shadow(0 0 16px rgba(255, 255, 255, 0.8));
}

@keyframes hero-brands-glide {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   Scène 01 — Posture & Philosophie Éditoriale (Anti-SaaS)
   ========================================================================== */

.manifesto-scene {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(70px, 9vh, 100px) clamp(24px, 4vw, 56px);
  background: transparent;
  position: relative;
  overflow: hidden;
}

.manifesto-grid {
  width: min(1320px, 100%);
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin: auto;
}

.manifesto-left {
  position: relative;
  padding: clamp(28px, 3.8vw, 46px);
  background: rgba(8, 10, 16, 0.86);
  backdrop-filter: blur(36px);
  -webkit-backdrop-filter: blur(36px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.manifesto-index {
  display: inline-flex;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber-smoky);
  margin-bottom: 20px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.manifesto-title,
.manifesto-left h2 {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.3vw, 46px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.038em;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.manifesto-title__accent,
.manifesto-left h2 span {
  background: linear-gradient(135deg, #ffffff 30%, #b8c0d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
  display: inline-block;
}

.manifesto-lead {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.65;
  color: rgba(240, 244, 252, 0.92);
  margin-bottom: 16px;
  max-width: 540px;
  font-weight: 400;
}

.manifesto-body {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(180, 188, 205, 0.82);
  margin-bottom: 26px;
  max-width: 520px;
  font-weight: 400;
}

.manifesto-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 18px;
  padding: 24px 26px;
  background: rgba(10, 12, 19, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.13);
  transition: transform var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.pillar-item:hover {
  transform: translateX(6px);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(16, 20, 30, 0.95);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--amber-smoky);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-top: 2px;
}

.pillar-content h3 {
  font-family: var(--font-title);
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 6px;
}

.pillar-content p {
  font-family: var(--font-text);
  font-size: 13px;
  line-height: 1.6;
  color: rgba(190, 198, 215, 0.82);
  margin: 0;
}

/* ==========================================================================
   Scène 02 — Galerie Projets 3D Diagonale & Dossier Éditorial (Style A24)
   ========================================================================== */

.projects-scene {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(16px, 2.5vh, 32px) clamp(20px, 3.5vw, 56px);
  background: transparent;
  position: absolute;
  inset: 0;
  overflow: hidden;
  box-sizing: border-box;
}

/* ==========================================================================
   Fond Neutre Section Projets — SANS orbes colorés ni stroboscopes
   Fond pur noir avec juste une légère vignette périphérique propre
   ========================================================================== */

.projects-ambient-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background: #050608;
}

/* Éléments colorés supprimés — classes conservées vides pour compatibilité HTML */
.projects-ambient-mesh { display: none; }
.projects-ambient-orb { display: none; }
.projects-ambient-orb--amber { display: none; }
.projects-ambient-orb--violet { display: none; }
.projects-ambient-orb--emerald { display: none; }
.projects-ambient-lightbeam { display: none; }

/* Légère vignette périphérique neutre (bords sombres uniquement) */
.projects-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 82% 78% at 50% 50%, transparent 45%, rgba(3, 4, 6, 0.72) 100%);
  pointer-events: none;
}

/* Grille Asymétrique Dual-Pane façon A24 Films */
.projects-container {
  width: 100%;
  max-width: 1420px;
  height: min(640px, 74vh);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(340px, 420px) 1fr;
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  position: relative;
  z-index: 10;
}

/* Volet Gauche : Fiche Éditoriale & Métadonnées A24 */
.project-dossier {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 15;
  pointer-events: none; /* Empêche le conteneur éditorial d'intercepter le survol de la carte 3D inclinée */
  transition: opacity 0.28s ease, transform 0.28s ease;
  will-change: opacity, transform;
}

.project-dossier a,
.project-dossier button,
.project-dossier input,
.project-dossier .project-dossier__actions,
.project-dossier .project-dossier__btn {
  pointer-events: auto;
  position: relative;
  z-index: 35;
}

.project-dossier.is-transitioning {
  opacity: 0.35;
  transform: translateY(6px);
}

.project-dossier__header {
  margin-bottom: 20px;
}

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

.project-dossier__num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--amber-smoky);
  letter-spacing: 0.08em;
}

.project-dossier__badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-dossier__title {
  font-family: var(--font-title);
  font-size: clamp(34px, 4.2vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.96;
  color: var(--text-bone);
  margin: 0;
}

/* Tableau de métadonnées avec hairlines fines (Style A24 Catalogue) */
.project-dossier__table {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  gap: 16px;
}

.dossier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  flex-shrink: 0;
}

.dossier-val {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-bone);
  text-align: right;
  letter-spacing: -0.01em;
}

.project-dossier__pitch {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.62;
  color: var(--text-secondary);
  margin: 0 0 22px 0;
  font-weight: 400;
}

.project-dossier__actions {
  display: flex;
  align-items: center;
}

.project-dossier__btn {
  height: 42px;
  padding: 0 22px;
  font-size: 13px;
}

/* Volet Droit : Scène 3D Diagonale */
.project-diagonal-stage {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100%;
  perspective: 1500px;
  perspective-origin: 50% 50%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  touch-action: none;
  pointer-events: auto;
}

.project-diagonal-stage.is-dragging {
  cursor: grabbing;
}

.project-diagonal-track {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform;
  pointer-events: none;
}

/* Monolithes 3D flottant sur l'axe diagonal A24 */
.project-card {
  position: absolute;
  width: min(580px, calc(100% - 24px));
  height: min(440px, 58vh);
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition: opacity 0.35s ease;
  pointer-events: none;
  opacity: 0;
  outline: none;
}

.project-card.is-active {
  pointer-events: auto;
  opacity: 1;
  filter: brightness(1);
  cursor: pointer;
}

.project-card.is-prev,
.project-card.is-next {
  pointer-events: auto;
  cursor: pointer;
  filter: brightness(0.68) saturate(0.85);
}

.project-card.is-prev:hover,
.project-card.is-next:hover {
  filter: brightness(0.9) saturate(1);
}

.project-card.is-far {
  opacity: 0;
  pointer-events: none;
}

/* Canevas d'effet liquide & light sweep 3D (strictement non-bloquants) */
.project-card__lightning-canvas {
  position: absolute;
  top: -38px;
  left: -38px;
  width: calc(100% + 76px);
  height: calc(100% + 76px);
  pointer-events: none;
  z-index: 10;
}

.project-card__saber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 8;
  border-radius: inherit;
}

/* Structure Monolithe en verre noir obsidienne (plus opaque pour lisibilité) */
.project-card__monolith {
  width: 100%;
  height: 100%;
  background: rgba(8, 10, 14, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.9), 0 0 1px 1px rgba(255, 255, 255, 0.06);
  transform-style: preserve-3d;
  position: relative;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card.is-active .project-card__monolith {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 42px 105px rgba(0, 0, 0, 0.9), 0 0 45px rgba(255, 255, 255, 0.12);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.45s ease;
}

/* EFFET DE LOURDEUR PHYSIQUE AU SURVOL DU PROJET ACTIF */
.project-card.is-active:hover .project-card__monolith {
  transform: translateZ(-10px) scale(0.99);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 55px 140px rgba(0, 0, 0, 0.98), 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(255, 255, 255, 0.2);
}

/* Visuel et cadre photo / device (fond très sombre pour isolation maximale) */
.project-card__frame {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 28px);
  overflow: hidden;
  background: rgba(5, 6, 8, 0.96);
}

/* Aura Animée Respirante au Cœur du Cadre de Chaque Projet */
.project-card__ambient-glow {
  position: absolute;
  inset: -20%;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.65;
  animation: cardAuraPulse 12s ease-in-out infinite alternate;
  animation-play-state: paused;
  transition: opacity 0.5s ease;
}

.project-card.is-active .project-card__ambient-glow {
  opacity: 0.95;
  animation-play-state: running;
}

.project-card.is-active:hover .project-card__ambient-glow {
  opacity: 1;
  animation-duration: 7s;
}

@keyframes cardAuraPulse {
  0% {
    transform: scale(0.90) translate3d(-3%, -2%, 0);
  }
  50% {
    transform: scale(1.14) translate3d(3%, 3%, 0);
  }
  100% {
    transform: scale(0.96) translate3d(1%, -3%, 0);
  }
}

/* Nuances chromatiques sur-mesure par projet */
.project-card__ambient-glow--amber {
  background: radial-gradient(circle at 50% 50%, rgba(217, 119, 54, 0.35) 0%, rgba(217, 119, 54, 0.12) 38%, transparent 72%);
}

.project-card__ambient-glow--emerald {
  background: radial-gradient(circle at 50% 50%, rgba(45, 140, 90, 0.38) 0%, rgba(15, 65, 42, 0.14) 38%, transparent 72%);
}

.project-card__ambient-glow--violet {
  background: radial-gradient(circle at 50% 50%, rgba(145, 75, 235, 0.36) 0%, rgba(85, 35, 165, 0.12) 38%, transparent 72%);
}

.project-card__ambient-glow--cyan {
  background: radial-gradient(circle at 50% 50%, rgba(35, 185, 220, 0.34) 0%, rgba(15, 90, 125, 0.12) 38%, transparent 72%);
}

.project-card__ambient-glow--blue {
  background: radial-gradient(circle at 50% 50%, rgba(55, 125, 245, 0.35) 0%, rgba(25, 65, 175, 0.12) 38%, transparent 72%);
}

.project-card__ambient-glow--coral {
  background: radial-gradient(circle at 50% 50%, rgba(235, 95, 75, 0.35) 0%, rgba(165, 45, 35, 0.12) 38%, transparent 72%);
}

.project-card__ambient-glow--gold {
  background: radial-gradient(circle at 50% 50%, rgba(235, 180, 50, 0.35) 0%, rgba(160, 110, 20, 0.12) 38%, transparent 72%);
}

.project-card__ambient-glow--silver {
  background: radial-gradient(circle at 50% 50%, rgba(220, 230, 245, 0.35) 0%, rgba(140, 160, 190, 0.14) 38%, transparent 72%);
}

.project-card__img {
  position: relative;
  z-index: 2;
  width: auto;
  height: 100%;
  max-height: 340px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7);
  transform: translateZ(28px);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.25, 1);
}

.project-card__img--device {
  object-fit: contain;
  max-height: 330px;
  width: auto;
  border: none;
  box-shadow: none;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.9));
  transform: translateZ(42px);
}

.project-card.is-active:hover .project-card__img {
  transform: translateZ(48px) scale(1.025);
}

.project-card.is-active:hover .project-card__img--device {
  transform: translateZ(62px) scale(1.035);
}

/* CONTOUR GLOWING LIQUIDE & CRISTALLIN (DÉFORMATION FLUIDE & DISPERSION CHROMATIQUE) */
.project-card__lightning-canvas {
  position: absolute;
  inset: -38px;
  width: calc(100% + 76px);
  height: calc(100% + 76px);
  pointer-events: none;
  z-index: 32;
  transform: translateZ(26px);
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 0 16px rgba(180, 220, 255, 0.28)) drop-shadow(0 0 6px rgba(255, 255, 255, 0.35));
}

.project-card.is-active:hover .project-card__lightning-canvas,
.project-card.is-active .project-card__lightning-canvas.is-active {
  opacity: 1;
}

/* CANEVAS LIGHT SWEEP RÉACTIF À LA POSITION DU CURSEUR & AU TILT 3D */
.project-card__saber-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  z-index: 28;
  transform: translateZ(32px);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card.is-active:hover .project-card__saber-canvas,
.project-card.is-active .project-card__saber-canvas.is-active {
  opacity: 1;
}

/* Ancien glint CSS statique désactivé au profit de la lame laser cinétique dynamique */
.project-card__sword-glint {
  display: none !important;
}

/* Lueur spéculaire liquide */
.project-card__glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255, 255, 255, 0.16) 0%, transparent 60%);
  opacity: 0.45;
}

/* Bandeau inférieur de la carte */
.project-card__caption {
  padding: 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.32);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.project-card__caption-title {
  color: var(--text-bone);
  font-weight: 600;
}

.project-card__caption-sub {
  color: var(--amber-smoky);
}

/* HUD Minimaliste A24 */
.project-hud {
  position: relative;
  width: min(1420px, calc(100% - 48px));
  margin: 16px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 20;
}

.project-hud__hint {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
}

.project-hud__pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.4);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
}

.project-hud__pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pilules de pagination studio luxueuses (Revisité selon capture 2) */
.at-hud-pill {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(244, 241, 234, 0.52);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: 999px;
  min-width: 40px;
  height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  outline: none;
  user-select: none;
}

.at-hud-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.at-hud-pill.is-active {
  background: #ffffff;
  color: #07090d;
  border-color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.38), 0 2px 8px rgba(0, 0, 0, 0.6);
  transform: scale(1.05);
}

.project-hud__nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Flèches circulaires A24 (selon capture 1) */
.project-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 17, 23, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  color: var(--text-bone);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 16px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  outline: none;
  user-select: none;
}

/* Bouton actif / survolé avec l'anneau blanc pur de la capture 1 */
.project-nav-btn:hover {
  border: 2px solid #ffffff;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.35);
  transform: scale(1.08);
}

.project-nav-btn:active {
  transform: scale(0.95);
}

.project-nav-btn.is-disabled {
  opacity: 0.22;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none;
}

@media (max-width: 960px) {
  .projects-scene {
    padding: 76px 18px 20px;
    justify-content: flex-start;
  }

  .projects-container {
    grid-template-columns: 1fr;
    height: auto;
    gap: 12px;
  }

  .project-dossier {
    order: 2;
  }

  .project-dossier__header {
    margin-bottom: 12px;
  }

  .project-dossier__title {
    font-size: clamp(26px, 7vw, 36px);
  }

  .project-dossier__table {
    margin-bottom: 10px;
  }

  .dossier-row {
    padding: 6px 0;
  }

  .project-dossier__pitch {
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0 0 14px 0;
  }

  .project-diagonal-stage {
    order: 1;
    height: 38vh;
    perspective: 1200px;
  }

  .project-card {
    width: 92%;
    height: 100%;
  }

  .project-card__frame {
    padding: 12px;
  }

  .project-card__img {
    width: auto;
    max-height: 220px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }

  .project-card__img--device {
    max-height: 220px;
  }

  .project-hud {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
  }

  .project-hud__hint {
    display: none;
  }
}

/* ==========================================================================
   Scène 03 — Paper Tiger Full-Page Stacking Reveal
   ========================================================================== */

.stacking-scene {
  height: 100%;
  width: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: transparent;
  padding: 0;
}

.stacking-deck {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.stack-sheet {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  overflow: hidden;
}

/* Fiche 1 : DESIGN (Fond noir d'encre absolu) */
.stack-sheet--design {
  background-color: #060709;
  color: var(--text-bone);
  z-index: 1;
  transform: translate3d(0, 0, 0);
}

/* Fiche 2 : VIDÉO (Nuit pourpre fumée / Aubergine sombre) */
.stack-sheet--video {
  background-color: #120e1a;
  color: var(--text-bone);
  z-index: 2;
  box-shadow: 0 -35px 90px rgba(0, 0, 0, 0.75);
  transform: translate3d(0, calc(100% - 36px), 0);
}

/* Fiche 3 : STRATÉGIE (Vert pétrole ténébreux / Forêt nocturne) */
.stack-sheet--strategy {
  background-color: #081211;
  color: var(--text-bone);
  z-index: 3;
  box-shadow: 0 -35px 90px rgba(0, 0, 0, 0.75);
  transform: translate3d(0, 100%, 0);
}

/* Structure interne d'une fiche — STRICTEMENT IDENTIQUE SUR LES 3 FICHES */
.stack-sheet__inner {
  height: 100%;
  width: min(1360px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: stretch;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(75px, 9.8vh, 100px) clamp(24px, 4vw, 56px) clamp(24px, 3vh, 36px);
}

.stack-sheet__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  z-index: 2;
}

.stack-sheet__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(14px, 2vh, 24px);
}

.circled-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  flex-shrink: 0;
  user-select: none;
}

.stack-sheet__lead {
  font-family: var(--font-text);
  font-size: clamp(14px, 1.15vw, 16.5px);
  font-weight: 400;
  line-height: 1.6;
  max-width: 470px;
  letter-spacing: -0.01em;
  opacity: 0.94;
}

.stack-sheet__bottom {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  padding-top: clamp(16px, 2.5vh, 32px);
}

.stack-sheet__title {
  font-family: var(--font-title);
  font-size: clamp(68px, 12.5vw, 175px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  color: inherit;
  user-select: none;
}

.stack-sheet__action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 14px;
  color: var(--text-bone);
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  text-decoration: none;
  font-family: var(--font-text);
  font-size: clamp(12px, 0.95vw, 13px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.stack-sheet__action:hover {
  opacity: 1;
  border-top-color: var(--text-bone);
  transform: translateX(4px);
}

.stack-sheet__arrow {
  font-size: 18px;
  transition: transform 0.2s ease;
}

.stack-sheet__action:hover .stack-sheet__arrow {
  transform: translate(3px, -3px);
}

/* Colonne Poster Plié — MÊME TAILLE, MÊME FORME, MÊME STYLE SUR LES 3 FICHES */
.stack-sheet__poster-col {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  perspective: 1200px;
}

.paper-poster-wrap {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 0.72;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(2deg);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.stack-sheet--design .paper-poster-wrap,
.stack-sheet--video .paper-poster-wrap,
.stack-sheet--strategy .paper-poster-wrap {
  transform: rotate(2deg);
}

.paper-poster-wrap:hover {
  transform: rotate(0deg) scale(1.03);
}

.paper-poster {
  width: 100%;
  height: 100%;
  max-height: clamp(380px, 60vh, 520px);
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.42);
  display: block;
}

/* ==========================================================================
   Typographic Agency Word Wall Collage (Style Paper Tiger)
/* ==========================================================================
   Scène 04 — Mur de Mots Clés / Word Wall Marquee (Style Paper Tiger)
   ========================================================================== */

.marquee-scene {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: transparent;
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: 0;
  user-select: none;
}

.marquee-wall {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  overflow: hidden;
  padding: clamp(82px, 11vh, 108px) 0 clamp(48px, 6.5vh, 75px) 0;
  box-sizing: border-box;
}

.marquee-row {
  flex: 1;
  display: flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  min-height: 0;
}

.marquee-track {
  display: flex;
  align-items: baseline;
  gap: clamp(36px, 4.5vw, 84px);
  padding-right: clamp(36px, 4.5vw, 84px);
  will-change: transform;
  flex-shrink: 0;
}

/* Animations infinies lentes en sens alterné (défilement régulier et fluide) */
.marquee-row--left .marquee-track {
  animation: marquee-scroll-left 56s linear infinite;
}

.marquee-row--right .marquee-track {
  animation: marquee-scroll-right 58s linear infinite;
}

.marquee-row .marquee-track {
  animation-play-state: running !important;
}

@keyframes marquee-scroll-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

@keyframes marquee-scroll-right {
  0% { transform: translate3d(-100%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Éléments de mots clés cliquables */
.word-key {
  display: inline-flex;
  align-items: baseline;
  gap: clamp(8px, 1vw, 20px);
  color: var(--text-bone);
  text-decoration: none;
  cursor: pointer;
  position: relative;
  padding: 6px 12px;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}

.word-key .word-text {
  font-family: var(--font-title);
  font-size: clamp(52px, 8.8vw, 144px);
  line-height: 0.94;
  font-weight: 900;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.42);
  background: transparent !important;
  text-shadow: none !important;
  transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.word-key .word-sup {
  font-family: var(--font-mono);
  font-size: clamp(16px, 1.8vw, 28px);
  font-weight: 600;
  color: rgba(244, 241, 234, 0.32);
  letter-spacing: 0;
  transform: translateY(-0.85em);
  background: transparent !important;
  text-shadow: none !important;
  transition: color 0.28s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none; /* Empêche tout décalage ou capture de clic parasite */
}

/* ==========================================================================
   AU SURVOL : PURE TRANSITION TYPOGRAPHIQUE (ÉCLAT BLANC PUR 100% & GLOW SOYEUX)
   Activation conjointe :hover natif + .is-hovered par suivi de curseur
   ========================================================================== */
.word-key:hover .word-text,
.word-key.is-hovered .word-text,
.word-key:focus-visible .word-text {
  color: #ffffff !important;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.95), 0 0 54px rgba(255, 255, 255, 0.45), 0 0 95px rgba(255, 255, 255, 0.22) !important;
  background: transparent !important;
  transform: translateY(-2px);
}

.word-key:hover .word-sup,
.word-key.is-hovered .word-sup,
.word-key:focus-visible .word-sup {
  color: #ffffff !important;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.95), 0 0 32px rgba(255, 255, 255, 0.5) !important;
  background: transparent !important;
}

/* Petit bandeau d'indication sous le mur de mots */
.marquee-hint {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  pointer-events: none;
}

.marquee-hint__scroll {
  pointer-events: auto;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.marquee-hint__scroll:hover {
  opacity: 0.8;
}

/* ==========================================================================
   PAGE DÉDIÉE // DRAWER MODAL THÉMATIQUE
   ========================================================================== */

.topic-drawer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  padding: clamp(16px, 3.5vw, 44px);
  box-sizing: border-box;
}

.topic-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.topic-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
}

.topic-drawer__panel {
  position: relative;
  z-index: 2;
  width: min(780px, 100%);
  max-height: min(88vh, 720px);
  background: linear-gradient(175deg, #0e1218 0%, #080a0e 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-lg);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.9), 0 0 60px rgba(230, 200, 160, 0.04);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.topic-drawer.is-open .topic-drawer__panel {
  transform: translateY(0) scale(1);
}

.topic-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(13, 16, 22, 0.6);
}

.topic-drawer__head-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
}

.topic-drawer__close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  color: var(--text-bone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topic-drawer__close:hover {
  background: var(--text-bone);
  color: #050608;
  border-color: var(--text-bone);
}

.topic-drawer__body {
  padding: clamp(32px, 4.5vw, 52px);
}

.topic-drawer__editorial {
  display: flex;
  flex-direction: column;
}

.topic-drawer__title {
  font-family: var(--font-title);
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--text-bone);
  margin-bottom: 18px;
}

.topic-drawer__lead {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.6vw, 18px);
  line-height: 1.6;
  color: var(--amber-smoky);
  margin-bottom: 24px;
  font-weight: 400;
}

.topic-drawer__text {
  font-family: var(--font-text);
  font-size: clamp(14px, 1.4vw, 15.5px);
  line-height: 1.8;
  color: rgba(230, 230, 230, 0.85);
  margin-bottom: 36px;
}

.topic-drawer__text p {
  margin: 0 0 16px 0;
}

.topic-drawer__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 10px;
}

/* ==========================================================================
   Scène 05 — Contact Direct // Formulaire Clair & Épuré
   ========================================================================== */

.contact-scene {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(84px, 11vh, 120px) clamp(20px, 4vw, 48px) clamp(20px, 2.5vh, 32px);
  background: transparent;
  position: relative;
  overflow-y: auto;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .contact-scene {
    justify-content: flex-start;
    padding-top: 116px;
    padding-bottom: 50px;
  }
}

.contact-form-container {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: auto 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .contact-form-container {
    margin: 0;
  }
}

/* Carte formulaire verre obsidienne & hairline */
.contact-form-card {
  width: 100%;
  background: rgba(10, 13, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  padding: clamp(28px, 4vh, 44px) clamp(22px, 3.8vw, 44px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  box-sizing: border-box;
}

@media (max-width: 620px) {
  .contact-form-card {
    padding: 24px 18px;
  }
}

/* En-tête concis */
.contact-form-head {
  margin-bottom: clamp(20px, 2.8vh, 28px);
}

.contact-form-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-form-title {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.contact-form-lead {
  font-family: var(--font-text);
  font-size: clamp(13.5px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.2vh, 20px);
}

.contact-form-row {
  display: grid;
  gap: 16px;
}

.contact-form-row--dual {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 620px) {
  .contact-form-row--dual {
    grid-template-columns: 1fr;
  }
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--text-bone);
  text-transform: uppercase;
  font-weight: 500;
}

.contact-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #ffffff;
  font-family: var(--font-text);
  font-size: 14px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.18);
}

.contact-input::placeholder {
  color: rgba(244, 241, 234, 0.35);
}

.contact-textarea {
  resize: vertical;
  min-height: 95px;
  line-height: 1.55;
}

/* Pills de type de projet */
.contact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.contact-pill:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-pill.is-active {
  background: #ffffff;
  border-color: #ffffff;
  color: #050608;
  font-weight: 600;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

/* Action & Fallback */
.contact-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: #050608;
  border: 1px solid #ffffff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-submit-btn:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-direct-link {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.direct-email-highlight {
  color: var(--text-bone);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.contact-direct-link:hover .direct-email-highlight {
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.6);
}

/* Feedback d'état */
.contact-status-feedback {
  display: none;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  line-height: 1.5;
  box-sizing: border-box;
}

.contact-status-feedback.is-success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.45);
  color: #34d399;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.contact-status-feedback.is-error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #f87171;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

/* Footer d'agence noble */
.agency-footer {
  width: min(760px, 100%);
  margin-top: clamp(24px, 3.5vh, 40px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.footer-time {
  color: var(--text-bone);
}

.footer-time span {
  color: #ffffff;
  font-weight: 600;
}

.footer-top-btn {
  color: var(--text-bone);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-top-btn:hover {
  color: #ffffff;
}

/* ==========================================================================
   PAGE DÉDIÉE // TEMPLATE PROJET STAR (SITUATION, TÂCHE, ACTION, RÉSULTAT)
   Modal plein écran ultra-fluide avec storytelling d'auteur & CTAs répartis
   ========================================================================== */

.project-star-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.project-star-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.project-star-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.94);
  backdrop-filter: blur(34px);
  -webkit-backdrop-filter: blur(34px);
}

.project-star-scroller {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

/* Barre de navigation supérieure flottante & fixe */
.star-nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px clamp(20px, 4vw, 56px);
  background: rgba(5, 7, 10, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.star-nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.star-nav-archive {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
}

.star-nav-project-id {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  color: var(--text-muted);
}

.star-nav-title {
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.star-nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.star-nav-cta {
  padding: 9px 20px;
  font-size: 11px;
}

.star-nav-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-hairline);
  color: var(--text-bone);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.star-nav-close:hover {
  background: #ffffff;
  color: #050608;
  border-color: #ffffff;
}

/* Conteneur principal de l'étude de cas */
.star-container {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(36px, 5vh, 64px) 0 clamp(64px, 8vh, 120px);
}

/* 00. Hero de Projet */
.star-hero {
  margin-bottom: clamp(48px, 7vh, 84px);
}

.star-hero__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.star-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-hairline);
  color: #ffffff;
}

.star-year {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--amber-smoky);
}

.star-hero__title {
  font-family: var(--font-title);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 24px 0;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.85);
}

.star-hero__lead {
  font-family: var(--font-text);
  font-size: clamp(16px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 860px;
  margin: 0 0 clamp(32px, 4.5vh, 52px) 0;
}

/* Barre de métadonnées / Fiche technique */
.star-specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: clamp(36px, 5vh, 60px);
}

.star-spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.star-spec-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber-smoky);
  text-transform: uppercase;
}

.star-spec-val {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-bone);
}

/* Média principal héroïque */
.star-hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.85);
  background: #090c10;
}

.star-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.star-hero__media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber-smoky);
  text-transform: uppercase;
}

/* ==============================================================
   MÉTHODE STAR : SECTIONS S, T, A, R
   ============================================================== */

.star-flow {
  display: flex;
  flex-direction: column;
  gap: clamp(64px, 9vh, 120px);
}

.star-section {
  display: flex;
  flex-direction: column;
  padding-top: clamp(32px, 4vh, 52px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.star-section__header {
  display: flex;
  align-items: flex-start;
  gap: clamp(20px, 3vw, 36px);
  margin-bottom: clamp(28px, 4vh, 44px);
}

.star-letter-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.06);
}

.pillar-letter {
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.pillar-word {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
  margin-top: 3px;
}

.star-section__titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.star-section__eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
}

.star-section__title {
  font-family: var(--font-title);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
}

/* Grilles & Textes */
.star-section__grid--split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: start;
}

.star-section__grid--columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}

.star-prose {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.12vw, 17px);
  line-height: 1.75;
  color: var(--text-secondary);
}

.star-prose p {
  margin: 0 0 20px 0;
}

.star-prose p:last-child {
  margin-bottom: 0;
}

.star-prose--wide {
  max-width: 920px;
  margin-bottom: clamp(32px, 4vh, 52px);
}

/* S : Callout card friction */
.star-callout-card {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(13, 16, 22, 0.7);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  backdrop-filter: blur(20px);
}

.callout-card__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.callout-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.callout-list li {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-muted);
  position: relative;
  padding-left: 20px;
}

.callout-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--amber-smoky);
}

.callout-list li strong {
  color: #ffffff;
  font-weight: 600;
}

/* T : Task Cards */
.star-task-card {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(13, 16, 22, 0.55);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.star-task-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
}

.task-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--amber-smoky);
}

.task-title {
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin: 0;
}

.task-desc {
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

/* A : Action Gallery & Mid CTA */
.star-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(48px, 6.5vh, 80px);
}

.star-gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.star-gallery__item--wide {
  grid-column: 1 / -1;
}

.gallery-frame {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #090c10;
}

.gallery-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.star-gallery__item figcaption {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

/* CTA Intermédiaire : au cœur de l'étude de cas */
.star-mid-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 3.5vw, 48px);
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.06) 0%, rgba(13, 16, 22, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
  box-sizing: border-box;
}

.star-mid-cta__content {
  max-width: 640px;
}

.mid-cta-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.mid-cta-title {
  font-family: var(--font-title);
  font-size: clamp(20px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.mid-cta-desc {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.star-mid-cta__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* R : KPIs & Retrospective */
.star-kpis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.2vw, 32px);
  margin-bottom: clamp(40px, 5.5vh, 68px);
}

.star-kpi-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(13, 16, 22, 0.55);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  border-top: 2px solid #ffffff;
}

.kpi-num {
  font-family: var(--font-title);
  font-size: clamp(32px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.03em;
}

.kpi-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Rétrospective d'Auteur / Regard d'Elven */
.star-personal-retrospective {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  padding: clamp(28px, 4vw, 48px);
  background: rgba(10, 13, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.retrospective-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  color: #050608;
  display: grid;
  place-items: center;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}

.retrospective-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.retrospective-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
}

.retrospective-quote {
  font-family: var(--font-text);
  font-size: clamp(15px, 1.25vw, 18px);
  font-style: normal;
  line-height: 1.7;
  color: var(--text-bone);
  margin: 0;
}

.retrospective-author {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* Footer d'étude de cas : CTA final & Next Project */
.star-footer {
  margin-top: clamp(64px, 9vh, 120px);
  padding-top: clamp(40px, 5vh, 64px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.footer-contact-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--amber-smoky);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-contact-title {
  font-family: var(--font-title);
  font-size: clamp(24px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.star-footer__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.star-footer__next-project {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.next-proj-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.next-proj-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 28px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-hairline);
  cursor: pointer;
  text-align: left;
  transition: all 0.28s ease;
  width: 100%;
  box-sizing: border-box;
}

.next-proj-card:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: #ffffff;
  transform: translateX(6px);
}

.next-proj-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--amber-smoky);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.next-proj-title {
  font-family: var(--font-title);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 4px;
}

.next-proj-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 960px) {
  .contact-email-monolith {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .contact-email-controls {
    width: 100%;
    justify-content: flex-start;
  }
  .contact-hairline-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .star-specs-bar {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
  .star-section__grid--split {
    grid-template-columns: 1fr;
  }
  .star-section__grid--columns {
    grid-template-columns: 1fr;
  }
  .star-gallery {
    grid-template-columns: 1fr;
  }
  .star-mid-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .star-kpis-grid {
    grid-template-columns: 1fr 1fr;
  }
  .star-personal-retrospective {
    flex-direction: column;
  }
  .star-footer {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN ADAPTATIF // MOBILE, TABLETTE & PETITS ÉCRANS (v4.5)
   ========================================================================== */

/* 1. TABLETTES & ÉCRANS MOYENS (<= 1024px) */
@media (max-width: 1024px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-height: calc(100svh - 90px);
    overflow-y: auto;
  }
  
  .projects-container {
    grid-template-columns: 1fr;
    height: auto;
    gap: 16px;
  }

  .project-dossier {
    order: 2;
  }

  .project-diagonal-stage {
    order: 1;
    height: 38vh;
  }
}

/* 2. SMARTPHONES & TABLETTES COMPACTES (<= 860px) */
@media (max-width: 860px) {
  /* Header & Navigation Haute - Centré horizontalement au pixel près */
  .header-bar {
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: min(440px, calc(100% - 24px));
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 1000;
  }
  
  .header-brand,
  .header-cta {
    display: none;
  }

  .nav-pill-control {
    width: 100%;
    max-width: 360px;
    height: 46px;
    padding: 3px;
    margin: 0 auto;
    pointer-events: auto;
  }

  .nav-pill-tab {
    font-size: 13.5px;
    padding: 0 10px;
  }

  /* Scène 0 : Hero Centré dans le Viewport */
  .hero,
  .hero-blackhole,
  .hero-alpine {
    padding: 0 16px;
    height: 100svh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  .hero-alpine__content {
    margin: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 580px;
  }

  .hero-alpine__kicker {
    font-size: 9.5px;
    padding: 5px 14px;
    margin-bottom: 14px;
    gap: 8px;
  }

  .hero-alpine__title {
    font-size: clamp(28px, 7.8vw, 42px);
    line-height: 1.1;
    margin-bottom: 12px;
  }

  .hero-alpine__highlight {
    font-size: 1.08em;
  }

  .hero-alpine__copy {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 92%;
  }

  .button--alpine-pill {
    height: 46px;
    padding: 0 28px;
    font-size: 14px;
  }

  /* Carrousel des marques agrandi pour utiliser l'espace vertical disponible */
  .hero__brands-carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-top: clamp(20px, 3.8vh, 38px);
    padding: 16px 0;
  }

  .hero__brands-track {
    gap: 48px;
  }

  .hero__brand-item {
    height: 48px;
  }

  .hero__brand-item img {
    max-height: 30px;
    height: 30px;
    width: auto;
  }

  /* Scène 1 : Manifeste */
  .manifesto-scene {
    padding: 68px 16px 16px;
  }

  .manifesto-grid {
    padding: 0;
    gap: 14px;
    max-height: calc(100svh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .manifesto-left {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .manifesto-index {
    font-size: 10px;
    margin-bottom: 6px;
  }

  .manifesto-title {
    font-size: clamp(20px, 5.5vw, 26px);
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .manifesto-lead {
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 8px;
  }

  .manifesto-body {
    font-size: 12px;
    line-height: 1.4;
  }

  .manifesto-pillars {
    gap: 8px;
  }

  .pillar-item {
    padding: 10px 12px;
    border-radius: var(--radius-sm);
  }

  .pillar-num {
    font-size: 13px;
  }

  .pillar-content h3 {
    font-size: 13.5px;
    margin-bottom: 2px;
  }

  .pillar-content p {
    font-size: 11.5px;
    line-height: 1.35;
  }

  /* Scène 2 : Projets */
  .projects-scene {
    padding: 68px 16px 16px;
  }

  .project-diagonal-stage {
    height: 32vh;
    min-height: 180px;
  }

  .project-card {
    width: 88%;
    max-width: 320px;
  }

  .project-card__frame {
    padding: 10px;
  }

  .project-card__img {
    max-height: 160px;
  }

  .project-dossier {
    padding: 14px 16px;
    border-radius: var(--radius-md);
  }

  .project-dossier__title {
    font-size: clamp(22px, 6vw, 30px);
  }

  .project-dossier__pitch {
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .project-hud {
    margin-top: 6px;
  }

  .project-hud__hint {
    display: none;
  }

  /* Scène 3 : Lexique */
  .marquee-wall {
    padding: 68px 0 35px 0;
  }

  .word-key .word-text {
    font-size: clamp(24px, 6.8vw, 40px);
  }

  .word-key .word-sup {
    font-size: 9.5px;
  }

  .marquee-track {
    gap: 32px;
    padding-right: 32px;
  }

  /* Scène 4 : Contact */
  .contact-scene {
    padding: 68px 16px 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-form-card {
    padding: 20px 16px;
    border-radius: var(--radius-md);
  }

  .contact-form-title {
    font-size: clamp(20px, 5.2vw, 28px);
  }

  .contact-form-lead {
    font-size: 12.5px;
  }

  .contact-form-row--dual {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-submit-btn {
    width: 100%;
    justify-content: center;
  }

  .agency-footer {
    flex-direction: column;
    gap: 6px;
    font-size: 10.5px;
    text-align: center;
    padding: 14px 0 8px;
  }

  .agency-footer .footer-time {
    display: none;
  }

  /* Modale Topic */
  .topic-drawer__panel {
    width: calc(100% - 20px);
    max-height: 88vh;
    border-radius: var(--radius-md);
  }

  .topic-drawer__head {
    padding: 14px 18px;
  }

  .topic-drawer__body {
    padding: 18px 18px 24px;
  }

  .topic-drawer__title {
    font-size: 22px;
  }

  .topic-drawer__lead {
    font-size: 13px;
  }
}

/* 3. MOBILES COMPACTS (<= 440px) */
@media (max-width: 440px) {
  .header-bar {
    top: 12px;
    width: calc(100% - 16px);
  }

  .nav-pill-control {
    max-width: 320px;
    height: 42px;
    padding: 2.5px;
  }

  .nav-pill-tab {
    font-size: 12px;
    padding: 0 6px;
  }

  .hero-alpine__title {
    font-size: 26px;
  }

  .hero-alpine__copy {
    font-size: 13px;
    line-height: 1.45;
  }

  .hero__brand-item {
    height: 42px;
  }

  .hero__brand-item img {
    max-height: 26px;
    height: 26px;
  }

  .manifesto-scene,
  .projects-scene,
  .contact-scene {
    padding: 58px 12px 12px;
  }

  .pillar-item {
    padding: 9px 11px;
  }

  .pillar-content h3 {
    font-size: 12.5px;
  }

  .pillar-content p {
    font-size: 11px;
  }

  .project-diagonal-stage {
    height: 28vh;
  }

  .project-card {
    width: 92%;
  }

  .project-dossier {
    padding: 10px 12px;
  }

  .project-dossier__title {
    font-size: 19px;
  }

  .dossier-row {
    padding: 3px 0;
    font-size: 10.5px;
  }

  .project-dossier__pitch {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .project-dossier__btn {
    height: 36px;
    font-size: 12px;
  }

  .contact-form-card {
    padding: 16px 14px;
  }

  .contact-form-title {
    font-size: 19px;
  }

  .contact-input {
    padding: 9px 11px;
    font-size: 13px;
  }

  .contact-textarea {
    min-height: 70px;
  }
}

/* ==========================================================================
   PRÉLOADER CINÉMATIQUE STUDIO (LOGO LIQUIDE & COMPTEUR 0% - 100%)
   ========================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background-color: #050608;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  user-select: none;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.85s;
}

.site-preloader.is-loaded {
  opacity: 0;
  transform: translateY(-28px) scale(1.015);
  pointer-events: none;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  max-width: min(520px, 90vw);
  text-align: center;
}

.preloader-logo-wrapper {
  position: relative;
  width: min(290px, 70vw);
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 16px 45px rgba(0, 0, 0, 0.9));
}

.preloader-logo {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.preloader-meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.preloader-counter {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f4f1ea;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.35);
}

.preloader-bar {
  width: 180px;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ffffff, #f4f1ea);
  border-radius: 999px;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.7);
  transition: width 0.08s linear;
}

.preloader-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: rgba(210, 202, 190, 0.55);
  text-transform: uppercase;
  transition: color 0.3s ease;
}

/* ==========================================================================
   ÉTUDE DE CAS PLEIN ÉCRAN CINÉMATIQUE — PROJET OVERLAY VIEW (STYLE ATELIER)
   Transition GPU ultra-fluide sans rechargement de page (évite de réactiver
   le préloader), largeur 1420px calée strictement sur .projects-container.
   ========================================================================== */

.project-overlay-view {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: #030406;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 72px, 0) scale(0.985);
  transition:
    opacity 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.56s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.56s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.project-overlay-view.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Le header de l'étude reprend exactement la composition du header d'accueil. */
.overlay-project-header {
  z-index: 60;
}

.overlay-project-header .nav-pill-slider {
  transform: translateX(100%);
}

.project-overlay-view.is-closing {
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition:
    opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Fond Ambiant Cosmique de l'Overlay */
.overlay-cosmic-glow {
  position: fixed;
  inset: -20%;
  width: 140%;
  height: 140%;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.035) 0%, transparent 56%);
  filter: blur(120px);
  will-change: transform;
  animation: overlayCosmicDrift 26s ease-in-out infinite alternate;
}

@keyframes overlayCosmicDrift {
  0% { transform: scale(1) translate3d(0, 0, 0); }
  50% { transform: scale(1.06) translate3d(-18px, 14px, 0); }
  100% { transform: scale(0.98) translate3d(14px, -14px, 0); }
}

/* Header Flottant Studio Elven Guerin dans l'Overlay */
.overlay-header-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 18px 0;
  background: rgba(7, 9, 12, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 50;
}

.overlay-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.overlay-header-inner .header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.overlay-header-inner .header-brand:hover {
  opacity: 0.85;
}

.overlay-header-inner .header-brand img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}

.overlay-header-inner .header-brand-title {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
}

.overlay-pill-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: rgba(22, 26, 34, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #FFFFFF;
}

.overlay-pill-status .tab-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
}

.project-exit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  color: #FFFFFF;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-exit-btn:hover {
  background: #FFFFFF;
  color: #07090C;
  border-color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.2);
}

.project-exit-btn span {
  font-size: 11px;
}

/* Bandeau Contextuel Sortie Rapide & Fil d'Ariane */
.project-breadcrumb-bar {
  padding-top: 24px;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
}

.project-breadcrumb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  background: rgba(18, 22, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.breadcrumb-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(220, 226, 238, 0.85);
  background: transparent;
  border: none;
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.breadcrumb-back-link:hover {
  color: #FFFFFF;
}

.breadcrumb-back-link:hover .back-arrow {
  transform: translateX(-3px);
}

.back-arrow {
  transition: transform 0.2s ease;
}

.key-hint {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(160, 172, 196, 0.65);
}

.breadcrumb-project-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.info-num {
  font-family: var(--font-mono);
  color: #10B981;
  font-weight: 600;
}

.info-sep {
  color: rgba(255, 255, 255, 0.35);
}

.info-title {
  color: #FFFFFF;
  font-weight: 600;
}

.info-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10B981;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Conteneur Éditorial Unique — Strictement aligné sur la largeur 1420px de .projects-container */
.editorial-container {
  width: 100%;
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3.5vw, 56px);
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.overlay-scroll-body {
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

/* Révélation d'entrée soignée des contenus de l'overlay */
.project-overlay-view.is-open .editorial-hero__title {
  animation: overlayReveal 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.project-overlay-view.is-open .editorial-hero__sub {
  animation: overlayReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.project-overlay-view.is-open .fullwidth-visual-wrap:first-of-type {
  animation: overlayReveal 0.72s cubic-bezier(0.16, 1, 0.3, 1) 0.14s both;
}

@keyframes overlayReveal {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* Section Hero Éditorial */
.editorial-hero {
  padding: clamp(32px, 5vh, 60px) 0 clamp(40px, 6vh, 70px);
}

/* L'overlay n'a qu'un seul header fixe : on réserve son espace avant le récit. */
.project-overlay-view .editorial-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 78svh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(150px, 20vh, 190px) 0 clamp(54px, 8vh, 94px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.project-overlay-view .editorial-hero::before,
.project-overlay-view .editorial-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.project-overlay-view .editorial-hero::before {
  z-index: -2;
  background: url("projets/casoria/hugo-photo3.webp") center 42% / cover no-repeat;
  filter: saturate(0.68) brightness(0.58) contrast(1.08);
  transform: scale(1.02);
}

.project-overlay-view .editorial-hero::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.96) 0%, rgba(3, 4, 6, 0.82) 37%, rgba(3, 4, 6, 0.30) 100%),
    linear-gradient(0deg, rgba(3, 4, 6, 0.88) 0%, transparent 48%, rgba(3, 4, 6, 0.36) 100%);
}

.hero-meta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #10B981;
  margin-bottom: 20px;
}

.editorial-hero__title {
  font-family: var(--font-title);
  font-size: clamp(48px, 6.8vw, 96px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 24px;
}

.editorial-hero__title em {
  font-family: var(--font-title);
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  color: #FFFFFF;
}

.editorial-hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
  color: rgba(238, 237, 228, 0.76);
  max-width: 780px;
  margin-bottom: 36px;
}

.editorial-hero__sub strong {
  display: block;
  margin-bottom: 12px;
  color: #f1eee6;
  font-weight: 600;
}

.case-video-embed {
  width: min(1420px, calc(100% - clamp(40px, 7vw, 112px)));
  aspect-ratio: 16 / 9;
  margin: clamp(36px, 6vw, 82px) auto 0;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.case-video-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Images Pleine Largeur — Prennent 100% de la largeur du conteneur (alignées au texte) */
.fullwidth-visual-wrap {
  width: 100%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0E1218;
  margin-top: 20px;
}

.fullwidth-visual-img {
  width: 100%;
  height: auto;
  min-height: 420px;
  max-height: 680px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.fullwidth-visual-wrap:hover .fullwidth-visual-img {
  transform: scale(1.015);
}

.visual-glass-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 22px;
  background: rgba(10, 13, 18, 0.76);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
}

.visual-glass-text {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 500;
}

.visual-glass-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #10B981;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 8px;
}

/* Manifeste Typographique Noir Profond */
.editorial-manifesto-section {
  padding: clamp(60px, 9vh, 120px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.editorial-manifesto {
  font-family: var(--font-title);
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  max-width: 1180px;
  margin: 0 auto 14px;
  text-align: center;
}

.editorial-manifesto em {
  font-family: var(--font-title);
  font-weight: 700;
  font-style: normal;
  display: inline-block;
  color: #E3EBD4;
  background: linear-gradient(105deg, #375534 0%, #6B9071 30%, #E3EBD4 48%, #6B9071 68%, #0F2A1D 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 14px rgba(107, 144, 113, 0.32));
  animation: casoriaConversionGlow 7s ease-in-out infinite;
}

.editorial-manifesto-sub {
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(160, 172, 196, 0.58);
  letter-spacing: 0.02em;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

@keyframes casoriaConversionGlow {
  0%, 100% { background-position: 0% 50%; filter: drop-shadow(0 0 10px rgba(107, 144, 113, 0.18)); }
  50% { background-position: 100% 50%; filter: drop-shadow(0 0 20px rgba(227, 235, 212, 0.40)); }
}

/* Chapitres Éditoriaux Épurés (Sans Préfixes STAR, Sans Cards Superflues) */
.editorial-chapter {
  padding: clamp(60px, 8vh, 110px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.editorial-chapter__header {
  margin-bottom: 30px;
}

.editorial-chapter__kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #10B981;
  margin-bottom: 12px;
}

.editorial-chapter__title {
  font-family: var(--font-title);
  font-size: clamp(34px, 4.6vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 20px;
}

.editorial-chapter__title em {
  font-family: var(--font-title);
  font-weight: 700;
  font-style: normal;
  color: #FFFFFF;
}

.editorial-chapter__body {
  font-size: clamp(16px, 1.3vw, 17.5px);
  line-height: 1.75;
  color: rgba(220, 226, 238, 0.8);
  max-width: 920px;
  margin-bottom: 36px;
}

.editorial-chapter__body p + p {
  margin-top: 16px;
}

/* Présentation courte du fondateur : la photo accompagne le récit sans le dominer. */
.case-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.46fr);
  align-items: center;
  gap: clamp(32px, 6vw, 88px);
}

.case-intro-grid .editorial-chapter__body {
  margin: 0;
}

.case-intro-copy .editorial-chapter__header {
  margin-bottom: 14px;
}

.founder-profile {
  justify-self: end;
  width: clamp(280px, 24vw, 330px);
  height: clamp(280px, 24vw, 330px);
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(241, 238, 230, 0.24);
  background: #151611;
}

.founder-profile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 20%;
  transform: scale(2.5);
  transform-origin: 52% 18%;
}

/* Bloc Scindé 2 Colonnes Aligné */
.split-chapter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 36px;
}

.split-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #0E1218;
}

.split-visual img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
}

.split-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.split-subblock h4 {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 8px;
}

.split-subblock p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(220, 226, 238, 0.8);
}

/* Section Métriques & KPIs (Les seules cards de toute la page) */
.metrics-section {
  padding: clamp(60px, 8vh, 110px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.metric-card {
  background: rgba(16, 20, 28, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.metric-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(24, 30, 42, 0.85);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
}

.metric-card__val {
  font-family: var(--font-title);
  font-size: clamp(38px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 10px;
}

.metric-card__label {
  font-size: 13.5px;
  color: rgba(160, 172, 196, 0.58);
  line-height: 1.5;
}

/* Témoignage Fondateur Hugo */
.testimonial-block {
  padding: clamp(60px, 8vh, 100px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonial-quote {
  font-family: var(--font-text);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 500;
  font-style: normal;
  line-height: 1.45;
  color: #FFFFFF;
  width: 100%;
  position: relative;
  margin-bottom: 40px;
  padding: clamp(24px, 3vw, 40px);
  background: linear-gradient(135deg, rgba(232, 229, 215, 0.10), rgba(122, 143, 102, 0.10));
  border: 1px solid rgba(232, 229, 215, 0.20);
  border-radius: 28px 28px 28px 7px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.05s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 1.05s;
  will-change: opacity, transform;
}

.testimonial-quote::after {
  content: '';
  position: absolute;
  left: 30px;
  bottom: -10px;
  width: 19px;
  height: 19px;
  background: rgba(190, 194, 176, 0.13);
  border-right: 1px solid rgba(232, 229, 215, 0.20);
  border-bottom: 1px solid rgba(232, 229, 215, 0.20);
  transform: rotate(45deg);
}

.testimonial-quote.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
}

.testimonial-author-name {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
}

.testimonial-author-meta {
  font-size: 13px;
  color: rgba(160, 172, 196, 0.58);
}

.testimonial-chat {
  width: 100%;
}

.testimonial-message--agency {
  width: min(620px, 88%);
  margin-left: auto;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1) 3.35s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1) 3.35s;
  will-change: opacity, transform;
}

.agency-reply {
  margin: 0;
  padding: 20px 24px;
  background: linear-gradient(135deg, #E3EBD4, #BFD1B5);
  color: #0F2A1D;
  border-radius: 22px 22px 7px 22px;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.55;
  font-weight: 600;
  box-shadow: 0 18px 45px rgba(107, 144, 113, 0.16);
}

.agency-reply-meta {
  margin: 2px 0 0;
  text-align: left;
  font-size: 12px;
  color: rgba(227, 235, 212, 0.52);
}

.agency-reply-author {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.agency-avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.agency-avatar img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.agency-reply-author-name {
  color: #E3EBD4;
  font-size: 13px;
  font-weight: 700;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 28px 0 18px 10px;
  padding: 12px 14px;
  border: 1px solid rgba(227, 235, 212, 0.16);
  border-radius: 999px;
  background: rgba(227, 235, 212, 0.06);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.chat-typing--client {
  margin-top: 0;
  transition-delay: 0.12s;
}

.chat-typing--agency {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: 10px;
  transition-delay: 2.05s;
}

.chat-typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6B9071;
  animation: chatTypingPulse 1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

.testimonial-block.is-chat-active .chat-typing,
.testimonial-block.is-chat-active .testimonial-message--agency {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.testimonial-block.is-chat-active .chat-typing--client {
  animation: chatTypingExit 0.2s ease 1.02s forwards;
}

.testimonial-block.is-chat-active .chat-typing--agency {
  animation: chatTypingExit 0.2s ease 3.25s forwards;
}

@keyframes chatTypingPulse {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-3px); opacity: 1; }
}

@keyframes chatTypingExit {
  to { opacity: 0; transform: translateY(-6px) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-quote,
  .testimonial-message--agency,
  .chat-typing { transition-delay: 0s; animation: none !important; }
}

/* Section Contact & Sortie */
.editorial-contact {
  padding: clamp(80px, 10vh, 130px) 0 60px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-title {
  font-family: var(--font-title);
  font-size: clamp(36px, 4.8vw, 62px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  line-height: 1.08;
  margin-bottom: 20px;
}

.contact-title em {
  font-family: var(--font-title);
  font-weight: 700;
  font-style: normal;
  color: #10B981;
}

.contact-lead {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(220, 226, 238, 0.8);
  margin-bottom: 32px;
  max-width: 480px;
}

.contact-mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-mail-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(18, 22, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #10B981;
}

.btn-submit-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: #FFFFFF;
  color: #07090C;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-submit-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.25);
}

.project-footer-nav {
  margin-top: 80px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.btn-footer-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  color: #FFFFFF;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-footer-back:hover {
  background: #FFFFFF;
  color: #07090C;
  transform: translateX(-3px);
}

.editorial-footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: rgba(160, 172, 196, 0.45);
  font-size: 12.5px;
}

/* Responsive */
@media (max-width: 960px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .split-chapter-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .case-intro-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .founder-profile {
    justify-self: start;
    width: min(100%, 340px);
    height: 340px;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .overlay-header-inner {
    flex-wrap: wrap;
  }
  .overlay-pill-status {
    display: none;
  }
}

@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .visual-glass-overlay {
    flex-direction: column;
    align-items: flex-start;
  }
  .project-footer-nav {
    flex-direction: column;
    align-items: stretch;
  }
}


/* ==========================================================================
   OPTIMISATIONS PERFORMANCE (v4.0)
   ========================================================================== */

/* Animations en boucle gelées dans les scènes hors écran */
.scene:not(.is-active) *,
.scene:not(.is-active) *::before,
.scene:not(.is-active) *::after {
  animation-play-state: paused !important;
}

/* Overlays fermés sortis du rendu (leurs backdrop-filter plein écran ne sont plus calculés) */
.topic-drawer,
.project-star-overlay {
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.4s;
}

.topic-drawer.is-open,
.project-star-overlay.is-open {
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

/* Mobiles et petites cartes graphiques : flous d'arrière-plan allégés */
@media (max-width: 960px) {
  .manifesto-left,
  .pillar-item,
  .contact-form-card {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
