/* ==========================================================================
   Bamy — style.css
   Facilitateur de projets d'aménagement — DA sobre corporate, accent Bamy.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/space-grotesk-variable.woff2') format('woff2');
}

:root {
  /* Palette */
  --paper: #F5F3EE;
  --paper-dim: #ECE9E2;
  --concrete: #E4E0D7;
  --ink: #14171C;
  --ink-soft: #1E222A;
  --graphite: #6F6A61;
  --graphite-light: #9B958A;
  --accent: #0033A0;
  --accent-dim: #002470;
  --accent-soft: #EBEFF7;
  --accent-warm: #FF7338;
  --accent-warm-dim: #B35127;
  --oak: #B08A5E;
  --line: rgba(20, 23, 28, 0.12);
  --line-on-dark: rgba(245, 243, 238, 0.16);

  /* Type scale */
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing / radius */
  --radius: 4px;
  --radius-lg: 10px;
  --section-pad: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --container: 1260px;

  /* Motion tokens */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }

/* Grain overlay — casse l'aplat numérique trop propre */
.grain {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Photographie éditoriale (traitement commun) ---------- */
.editorial-photo {
  filter: grayscale(1) contrast(1.08) brightness(0.97);
}
.accent-word { color: var(--accent); }
.accent-word--warm { color: var(--accent-warm); }
.bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  opacity: 0.035;
  line-height: 0.8;
  pointer-events: none;
  z-index: 0;
  white-space: nowrap;
  user-select: none;
}
.methode .bg-word, .engagements .bg-word { color: var(--paper); opacity: 0.05; }

/* ---------- Typographie utilitaire ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--accent);
}
.eyebrow--on-dark { color: #8CA3D4; }
.eyebrow--on-dark::before { background: #8CA3D4; }

.section-title {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.12;
  max-width: 16ch;
}
.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--graphite);
  max-width: 56ch;
  margin-top: 1.1rem;
}
.section-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }

/* Reveal masks (les états initiaux réels sont posés en JS via gsap.set) */
.line-mask { overflow: hidden; }
[data-reveal], [data-cascade-item], [data-cascade-media], [data-cascade-rule] { will-change: transform, opacity; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  padding: 0 var(--gutter);
  transition: transform 0.5s var(--ease-out), background-color 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(245, 243, 238, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.on-dark .logo { color: var(--paper); }
.site-header.on-dark .header-tel { color: var(--paper); }
.site-header.on-dark .burger { border-color: var(--line-on-dark); }
.site-header.on-dark .burger-lines span { background: var(--paper); }
.site-header.on-dark.is-scrolled { background: rgba(20, 23, 28, 0.72); border-bottom-color: var(--line-on-dark); }

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.7rem;
  color: var(--ink);
}
.logo span { color: var(--accent); }
.logo small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--graphite);
  text-transform: uppercase;
}

.header-actions { display: flex; align-items: center; gap: 1.4rem; }
.header-tel {
  display: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
@media (min-width: 860px) { .header-tel { display: inline-flex; align-items: center; gap: 0.5rem; } }
.header-tel .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-warm); display: inline-block; }

.sound-toggle {
  position: relative;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.4s ease;
}
.site-header.on-dark .sound-toggle { border-color: var(--line-on-dark); }
.sound-bars { position: relative; width: 16px; height: 14px; display: flex; align-items: flex-end; gap: 2.5px; }
.sound-bars span {
  display: block; width: 2.5px; background: var(--ink);
  border-radius: 1px;
  transition: height 0.3s ease, background-color 0.4s ease, opacity 0.3s ease;
  animation: soundBar 0.9s ease-in-out infinite alternate;
}
.site-header.on-dark .sound-bars span { background: var(--paper); }
.sound-bars span:nth-child(1) { height: 6px; animation-delay: -0.6s; }
.sound-bars span:nth-child(2) { height: 14px; animation-delay: -0.3s; }
.sound-bars span:nth-child(3) { height: 9px; animation-delay: -0.9s; }
@keyframes soundBar { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
.sound-toggle.is-muted .sound-bars span { animation: none; transform: none; }
.sound-toggle.is-muted .sound-bars span:nth-child(1) { height: 2.5px; }
.sound-toggle.is-muted .sound-bars span:nth-child(2) { height: 2.5px; }
.sound-toggle.is-muted .sound-bars span:nth-child(3) { height: 2.5px; }

.burger {
  position: relative;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.burger-lines { position: relative; width: 18px; height: 12px; }
.burger-lines span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: var(--ink);
  transition: transform 0.35s var(--ease-in-out), opacity 0.3s ease, top 0.35s var(--ease-in-out), background-color 0.4s ease;
}
.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 50%; margin-top: -0.75px; }
.burger-lines span:nth-child(3) { top: 100%; margin-top: -1.5px; }
.menu-open .burger-lines span:nth-child(1) { top: 50%; transform: rotate(45deg); }
.menu-open .burger-lines span:nth-child(2) { opacity: 0; }
.menu-open .burger-lines span:nth-child(3) { top: 50%; transform: rotate(-45deg); }

/* ---------- Menu overlay plein écran (navigation immersive) ---------- */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink);
  color: var(--paper);
  clip-path: inset(0 0 100% 0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 110px var(--gutter) var(--gutter);
  pointer-events: none;
}
.menu-open .menu-overlay { pointer-events: auto; }
.menu-nav { display: flex; flex-direction: column; gap: 0.2rem; }
.menu-nav a {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--paper);
  display: block;
  position: relative;
  width: fit-content;
}
.menu-nav a .num {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--graphite-light);
  vertical-align: super;
  margin-right: 0.6em;
}
.menu-nav li:nth-child(odd) .num { color: var(--accent); }
.menu-nav li:nth-child(even) .num { color: var(--accent-warm); }
.menu-nav a::after {
  content: '';
  position: absolute; left: 0; bottom: 0.08em;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}
.menu-nav a:hover::after { transform: scaleX(1); }

.menu-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  border-top: 1px solid var(--line-on-dark);
  padding-top: 1.6rem;
  color: var(--graphite-light);
  font-size: 0.88rem;
}
.menu-foot a { color: var(--paper); }
.menu-foot a:hover { color: var(--accent-soft); }

/* ==========================================================================
   Tunnel d'entrée — traversée de pièces qui se peuplent au scroll
   ========================================================================== */
.tunnel-intro { background: #0B0D11; }
.tunnel-pin { position: relative; height: 100vh; overflow: hidden; background: #0B0D11; }
@media (prefers-reduced-motion: no-preference) {
  /* Réserve dès le CSS la hauteur que le pin GSAP (end: '+=3600', cf.
     tunnel3d.js / main.js initTunnel) n'ajoute qu'une fois créé. Sans ça, le
     document reste ~3600px trop court tant que ce pin (async côté 3D) n'est
     pas posé, et toute section pinnée plus bas (ex. .gallery-section, qui
     crée son propre pin dès fonts.ready sans attendre ce signal) calcule sa
     position sur un document temporairement trop court : les pins se
     chevauchent visuellement le temps que le refresh() post-tunnelReady
     rattrape le décalage. S'applique à toute largeur : la scène WebGL tourne
     aussi sur mobile (cf. tunnel3d.js), pas seulement sur desktop. */
  .tunnel-intro { min-height: calc(100vh + 3600px); }
}
.tunnel {
  position: absolute; inset: 0;
  perspective: 1400px;
  perspective-origin: 50% 46%;
  overflow: hidden;
}
#scene3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tunnel.has-3d .tunnel-floor,
.tunnel.has-3d .tunnel-scene { display: none; }
.tunnel-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 45% 40% at 50% 46%, rgba(115,143,203,0.22), rgba(11,13,17,0) 70%);
  opacity: 0.5;
}
.tunnel-floor {
  position: absolute; bottom: -10%; left: 50%;
  width: 220vw; height: 140vh;
  transform: translateX(-50%) rotateX(78deg);
  transform-origin: top center;
  background-image:
    linear-gradient(rgba(115,143,203,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115,143,203,0.14) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 40%, transparent 85%);
  mask-image: radial-gradient(ellipse 60% 90% at 50% 0%, #000 40%, transparent 85%);
}
.tunnel-scene { position: absolute; inset: 0; transform-style: preserve-3d; }
.t-frame {
  position: absolute; top: 50%; left: 50%;
  width: min(60vw, 760px);
  aspect-ratio: 16 / 10;
  transform: translate(-50%, -50%) translateZ(-6000px);
  transform-style: preserve-3d;
  will-change: transform;
}
.t-rect {
  position: absolute; inset: 0;
  border: 1.5px solid rgba(115, 143, 203, 0.55);
  border-radius: 6px;
  box-shadow: 0 0 60px rgba(0, 51, 160, 0.12) inset;
}
.t-module {
  position: absolute;
  border: 1.4px solid rgba(140, 163, 212, 0.75);
  background: rgba(0, 51, 160, 0.1);
  border-radius: 3px;
  opacity: 0;
}
.t-wall { top: 15%; }
.t-desk { border-radius: 4px; }
.t-chair { width: 6%; aspect-ratio: 1/1; border-radius: 50%; }
.t-table { width: 22%; aspect-ratio: 2.4/1; border-radius: 999px; transform: translateX(-50%); }
.t-plant {
  width: 5%; aspect-ratio: 1/1.6; border-radius: 50% 50% 20% 20%;
  border-color: rgba(140, 163, 212, 0.6);
}
.t-light {
  width: 10%; aspect-ratio: 4/1; border-radius: 999px;
  transform: translateX(-50%);
  box-shadow: 0 0 30px rgba(115, 143, 203, 0.35);
}

.tunnel-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem;
  pointer-events: none;
}
.tunnel-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--paper);
  letter-spacing: 0.02em;
  opacity: 0.9;
}
.scroll-cue {
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  position: absolute; bottom: 3rem;
  color: var(--graphite-light);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.5s ease;
}
.scroll-chevron {
  width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--graphite-light), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-chevron::after {
  content: '';
  position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, transparent, #8CA3D4, transparent);
  animation: chevronRun 1.8s ease-in-out infinite;
}
@keyframes chevronRun { to { top: 100%; } }

@media (max-width: 900px) {
  .t-frame { width: 78vw; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  /* Repli CSS statique (sans WebGL) : uniquement pour reduced-motion — la
     scène WebGL réelle (tunnel3d.js) tourne désormais aussi sur mobile et
     utilise la même hauteur 100vh que le desktop (cf. règle min-width
     supprimée plus haut). */
  .tunnel-intro { height: 70vh; }
  .tunnel-pin { height: 70vh; }
}

/* ==========================================================================
   Réseau d'entrée (Bamy Conseil) — pendant orange du tunnel bleu ci-dessus :
   points isolés qui se relient en maillage vers un nœud central, au scroll
   ========================================================================== */
.network-intro { background: #0B0D11; }
.network-pin { position: relative; height: 100vh; overflow: hidden; background: #0B0D11; }
@media (prefers-reduced-motion: no-preference) {
  /* Même logique que .tunnel-intro : réserve à l'avance la hauteur que le pin
     GSAP (end: '+=3400', cf. network3d.js / main.js initNetwork) n'ajoute
     qu'une fois posé, pour que le document ne soit pas temporairement trop
     court le temps que three.js charge (import dynamique async). S'applique
     à toute largeur : la scène WebGL tourne aussi sur mobile désormais. */
  .network-intro { min-height: calc(100vh + 3400px); }
}
.network { position: absolute; inset: 0; overflow: hidden; }
#scene3dNetwork { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.network-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 45% at 50% 48%, rgba(255, 115, 56, 0.22), rgba(11, 13, 17, 0) 70%);
  opacity: 0.3;
}
.network-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.4rem;
  pointer-events: none;
}
.network-atom {
  position: absolute;
  border: 1.4px solid rgba(255, 115, 56, 0.65);
  border-radius: 3px;
  transform: rotate(45deg);
  pointer-events: none;
}
.network-mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--accent-warm);
  letter-spacing: 0.02em;
  opacity: 0.9;
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
  /* Repli CSS statique (sans WebGL) : uniquement pour reduced-motion — la
     scène WebGL réelle (network3d.js) tourne désormais aussi sur mobile et
     utilise la même hauteur 100vh que le desktop (cf. règle min-width
     supprimée plus haut). */
  .network-intro { height: 70vh; }
  .network-pin { height: 70vh; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 130px var(--gutter) 70px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(620px circle at 84% 20%, rgba(0, 51, 160, 0.09), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(2.3rem, 5.1vw, 4rem);
  line-height: 1.08;
  max-width: 15ch;
}
.hero-copy .section-lead { font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.7rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  transition: color 0.35s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary::after {
  content: '';
  position: absolute; inset: auto 0 0 0; height: 0;
  background: var(--ink);
  transition: height 0.35s var(--ease-out);
  z-index: -1;
}
.btn-primary:hover::after { height: 100%; }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); transition: border-color 0.3s ease, color 0.3s ease; }
.btn-ghost:hover { border-color: var(--accent-warm); color: var(--accent-warm); }

/* --- Effet signature : croquis révélé au curseur --- */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 1px 2px rgba(20,23,28,0.12), 0 30px 60px -20px rgba(20,23,28,0.35);
}
.hero-visual img,
.hero-visual .sketch-layer {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-visual .photo-layer { z-index: 1; }
.hero-visual .sketch-layer {
  z-index: 2;
  background: var(--ink);
  -webkit-mask-image: radial-gradient(circle 170px at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(circle 170px at 50% 50%, #000 60%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero-visual .sketch-layer svg { width: 100%; height: 100%; }
.hero-visual .reveal-hint {
  position: absolute; z-index: 3; left: 50%; bottom: 20px; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; background: rgba(20,23,28,0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 0.5rem 0.9rem; border-radius: 999px;
  opacity: 1; transition: opacity 0.4s ease;
}
.hero-visual:hover .reveal-hint,
.hero-visual.is-revealing .reveal-hint { opacity: 0; }
@media (hover: none) {
  .hero-visual .sketch-layer { -webkit-mask-image: none; mask-image: none; opacity: 0; }
  .hero-visual .reveal-hint { display: none; }
}

/* ==========================================================================
   Scène d'expansion au scroll — média qui grandit, texte qui s'écarte
   ========================================================================== */
.scroll-expand { background: #0B0D11; }
.expand-pin { position: relative; height: 100vh; overflow: hidden; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  /* Même logique que .tunnel-intro ci-dessus : réserve à l'avance la
     hauteur du pin (end: '+=1600', cf. main.js initScrollExpand). */
  .scroll-expand { min-height: calc(100vh + 1600px); }
}
.expand-pin::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,13,17,0.35), rgba(11,13,17,0.75));
  z-index: 1;
  pointer-events: none;
}
.expand-bg { position: absolute; inset: 0; }
.expand-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.55);
}
.expand-media {
  position: absolute; top: 50%; left: 50%;
  width: 320px; height: 220px;
  transform: translate(-50%, -50%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6);
}
.expand-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(0.97); }
.expand-caption {
  position: absolute; inset: 0;
  z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  flex-wrap: wrap;
  pointer-events: none;
  padding: 0 1.5rem;
  text-align: center;
}
.expand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3.6rem);
  color: var(--paper);
}
.expand-word-b { color: var(--accent-warm); }
.expand-hint {
  position: absolute; left: 50%; bottom: 2.4rem; transform: translateX(-50%);
  z-index: 3;
  color: var(--graphite-light);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}
@media (max-width: 900px) {
  .expand-pin {
    height: auto; min-height: 72vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem;
    padding: 4rem var(--gutter);
  }
  .expand-media { position: static; transform: none; width: min(86vw, 420px); height: 58vw; max-height: 320px; }
  .expand-caption { position: static; }
  .expand-hint { display: none; }
}

/* ==========================================================================
   Bandeau compétences (marquee défilant)
   ========================================================================== */
.marquee-section { background: var(--ink); overflow: hidden; }
.marquee { padding: 1.5rem 0; border-top: 1px solid var(--line-on-dark); border-bottom: 1px solid var(--line-on-dark); }
.marquee-track { display: flex; width: max-content; }
.marquee-inner { display: flex; align-items: center; flex: none; white-space: nowrap; }
.marquee-inner span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.4vw, 1.6rem);
  color: var(--paper);
  padding: 0 0.9rem;
}
.marquee-inner .m-sep { color: var(--accent); font-weight: 400; padding: 0; }
@media (prefers-reduced-motion: reduce) {
  .marquee-inner:nth-child(2) { display: none; }
}

/* ==========================================================================
   En bref (facts)
   ========================================================================== */
.en-bref { padding: var(--section-pad) 0 calc(var(--section-pad) * 0.6); }
.en-bref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.en-bref-text p { color: var(--graphite); margin-top: 1.1rem; }
.en-bref-text p:first-of-type { margin-top: 0; }
.facts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.fact {
  background: var(--paper);
  padding: 1.7rem 1.6rem;
  transition: background-color 0.3s ease;
}
.fact:hover { background: var(--paper-dim); }
.fact .fact-value { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.fact .fact-label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-top: 0.3rem; }
.fact:nth-child(even) .fact-label { color: var(--accent-warm); }
.fact .fact-detail { font-size: 0.86rem; color: var(--graphite); margin-top: 0.5rem; }

/* ==========================================================================
   Bandeau photo plein cadre (split, sans texte — confiance photographique)
   ========================================================================== */
.photo-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  height: clamp(320px, 62vw, 620px);
  overflow: hidden;
}
.photo-band .pb-item { position: relative; overflow: hidden; }
.photo-band img {
  width: 100%; height: 100%; object-fit: cover;
}
.photo-band .pb-item:first-child { border-right: 1px solid rgba(245,243,238,0.15); }
@media (max-width: 700px) {
  .photo-band { grid-template-columns: 1fr; height: auto; }
  .photo-band .pb-item { height: 46vh; }
}

/* ==========================================================================
   Galerie horizontale épinglée — l'univers Bamy
   ========================================================================== */
.gallery-section { padding: var(--section-pad) 0; overflow: hidden; }
.gallery-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.h-gallery { position: relative; }
.h-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
  width: max-content;
  padding: 0 var(--gutter);
}
.h-track .g-item {
  position: relative;
  width: min(72vw, 480px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  flex: none;
  box-shadow: 0 0 0 0 var(--accent-warm);
  transition: box-shadow 0.4s ease;
}
.h-track .g-item:nth-child(even) { aspect-ratio: 3 / 4; margin-top: 3rem; }
.h-track .g-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: filter 0.6s ease, transform 0.7s var(--ease-out);
}
.h-track .g-item:hover { box-shadow: 0 0 0 2px var(--accent-warm); }
.h-track .g-item:hover img { filter: none; transform: scale(1.045); }
.h-track .g-item .g-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(0deg, rgba(20,23,28,0.75), transparent);
  color: var(--paper);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  /* overflow-x doit être sur .h-gallery (largeur contrainte à l'écran), pas
     sur .h-track (width: max-content — s'étire pour contenir son contenu,
     donc ne déborde jamais de lui-même : rien n'y serait scrollable). */
  .h-gallery { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .h-track .g-item { scroll-snap-align: start; }
}

/* ==========================================================================
   Vidéo — Bamy Studio en mouvement
   ========================================================================== */
.video-section { padding: var(--section-pad) 0; background: var(--paper-dim); }
.video-frame {
  position: relative;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
  max-width: 900px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(20,23,28,0.4);
  cursor: pointer;
}
.video-frame video {
  display: block;
  width: 100%;
  max-height: 80vh;
}
.video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,23,28,0) 50%, rgba(20,23,28,0.6) 100%);
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(60px, 8vw, 84px);
  height: clamp(60px, 8vw, 84px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.55);
  background: rgba(20,23,28,0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.22,1,0.36,1), background 0.3s ease, border-color 0.3s ease;
}
.video-play svg { transform: translateX(2px); }
.video-frame:hover .video-play,
.video-play:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--accent-warm);
  border-color: var(--accent-warm);
}
.video-play:focus-visible { outline: 2px solid var(--accent-warm); outline-offset: 4px; }
.video-caption {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.1rem, 3vw, 1.6rem);
  color: var(--paper);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  opacity: 0.9;
  transition: opacity 0.4s ease;
}
.video-frame.is-playing::after,
.video-frame.is-playing .video-play,
.video-frame.is-playing .video-caption {
  opacity: 0;
  pointer-events: none;
}
.video-frame.is-playing { cursor: default; }
@media (max-width: 700px) {
  .video-frame { border-radius: var(--radius); }
}

/* ==========================================================================
   Posture (conseil, pas catalogue)
   ========================================================================== */
.posture { padding: var(--section-pad) 0; background: var(--paper-dim); }
.posture .bg-word { top: -0.12em; left: -0.02em; font-size: clamp(6rem, 16vw, 13rem); }
.posture-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.posture-intro p + p { margin-top: 1.1rem; }
.posture-intro .section-title { max-width: 12ch; }
.posture-intro-body p { color: var(--graphite); }

.changement { padding-top: clamp(3rem, 6vw, 5rem); }
.changement-head { max-width: 62ch; }
.changement-head p { color: var(--graphite); margin-top: 1rem; }
.changement-grid {
  margin-top: clamp(2.2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.changement-item { border-top: 2px solid var(--ink); padding-top: 1.1rem; }
.changement-item:nth-child(even) { border-top-color: var(--accent-warm); }
.changement-item h4 { font-size: 1.02rem; font-weight: 600; }
.changement-item p { color: var(--graphite); font-size: 0.92rem; margin-top: 0.6rem; }

/* ==========================================================================
   Parcours "Méthode CLÉ" animé au scroll (desktop) — repli : .changement ci-dessus
   ========================================================================== */
.process { display: none; }
@media (min-width: 901px) and (prefers-reduced-motion: no-preference) {
  .changement { display: none; }
  .process {
    display: block;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: clamp(2rem, 5vw, 3.5rem);
  }
  /* Réserve à l'avance la hauteur que le pin GSAP (end:'+=2400', cf.
     main.js/initProcess) n'ajoute qu'une fois posé (cf. même logique que
     .tunnel-intro / .network-intro plus haut dans ce fichier). */
  .process { min-height: calc(100vh + 2400px); }
}
.process-pin {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(2.6rem, 6vw, 4.5rem);
  padding: 0 clamp(1.5rem, 6vw, 6vw);
  overflow: hidden;
}
.process-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.process-eyebrow {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--graphite);
}
.process-count {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  color: var(--graphite-light);
  letter-spacing: 0.02em;
}
.process-count #processCountNum { color: var(--accent-warm); }

.process-track {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.process-line-bg { position: absolute; inset: 0; background: var(--line); }
.process-line-fill {
  position: absolute; top: 0; left: 0; bottom: 0; width: 100%;
  background: var(--accent-warm);
  transform: scaleX(0);
  transform-origin: 0 0;
}
.process-nodes { position: absolute; left: 0; right: 0; top: 50%; display: flex; justify-content: space-between; pointer-events: none; }
.process-node {
  width: 30px; height: 30px; margin-top: -15px; border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--paper-dim);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: var(--graphite-light);
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.process-node.is-active {
  color: #fff;
  background: var(--accent-warm);
  border-color: var(--accent-warm);
  transform: scale(1.15);
}

.process-panels {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  min-height: clamp(220px, 24vw, 270px);
}
.process-panel {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
  opacity: 0;
}
.process-panel-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 9vw, 7rem); line-height: 0.9;
  color: var(--accent-warm);
}
.process-panel h4 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.process-panel p { color: var(--graphite); font-size: 1rem; max-width: 46ch; margin-top: 0.7rem; }
.process-result {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 1.3rem; padding: 0.55rem 1rem 0.55rem 0.8rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-size: 0.85rem; color: var(--ink);
}
.process-result::before { content: '→'; color: var(--accent-warm); font-weight: 700; }

.process-outro {
  max-width: var(--container); margin: 0 auto; width: 100%;
  text-align: center; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ink);
  opacity: 0;
}

/* ==========================================================================
   Fondateur — portrait et parcours de Steven Badsi
   ========================================================================== */
.fondateur { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.fondateur::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(480px circle at 8% 88%, rgba(226, 103, 46, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.fondateur-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.fondateur-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0/34px 34px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0/34px 34px,
    var(--paper-dim);
}
.fondateur-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fondateur-initials {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.2rem, 7vw, 4.6rem);
  color: var(--ink);
  opacity: 0.82;
  letter-spacing: 0.03em;
}
.fondateur-copy .fondateur-bio p { color: var(--graphite); margin-top: 1.1rem; }
.fondateur-copy .fondateur-bio p:first-child { margin-top: 1.4rem; }
.fondateur-quote {
  margin-top: 2rem;
  padding-left: 1.3rem;
  border-left: 3px solid var(--accent-warm);
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink);
}
.fondateur-linkedin {
  margin-top: 2.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.fondateur-linkedin svg { width: 17px; height: 17px; flex: none; }
.fondateur-linkedin:hover { border-color: #0A66C2; color: #0A66C2; }
@media (max-width: 900px) {
  .fondateur-grid { grid-template-columns: 1fr; }
  .fondateur-frame { max-width: 360px; margin: 0 auto; }
}

/* ==========================================================================
   Méthode — scénographie "plan qui se construit" (élément signature)
   ========================================================================== */
.methode {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-pad) 0;
  overflow: hidden;
}
.methode .eyebrow, .methode .section-title { color: var(--paper); }
.methode .section-lead { color: var(--graphite-light); }
.methode-scene {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.blueprint-wrap {
  position: sticky;
  top: 110px;
  aspect-ratio: 1 / 1;
  max-height: calc(100svh - 150px);
  border: 1px solid var(--line-on-dark);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(var(--line-on-dark) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(90deg, var(--line-on-dark) 1px, transparent 1px) 0 0/40px 40px,
    #10131A;
}
.blueprint-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint-wrap .bp-line { fill: none; stroke: #738FCB; stroke-width: 1.6; }
.blueprint-wrap .bp-fill { fill: rgba(0, 51, 160, 0.14); stroke: none; }
.blueprint-wrap .bp-dot { fill: var(--accent); }
.blueprint-wrap .bp-step-4.bp-line { stroke: var(--accent-warm); }

.etapes-list { display: flex; flex-direction: column; }
.etape {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 1.2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line-on-dark);
  opacity: 0.4;
  transition: opacity 0.4s ease;
}
.etape:last-child { border-bottom: 1px solid var(--line-on-dark); }
.etape.is-active { opacity: 1; }
.etape .etape-num { font-family: var(--font-display); font-size: 1.2rem; color: var(--graphite-light); }
.etape.is-active .etape-num { color: var(--accent); }
.etape h4 { font-size: 1.08rem; font-weight: 600; }
.etape p { color: var(--graphite-light); font-size: 0.92rem; margin-top: 0.5rem; max-width: 56ch; }

@media (min-width: 901px) {
  .etape { min-height: 16vh; }
}
@media (max-width: 900px) {
  .methode-scene { grid-template-columns: 1fr; }
  /* position:relative (pas static) : désactive le collage desktop tout en
     restant un repère de positionnement pour le SVG en position:absolute
     à l'intérieur — avec static, le SVG perd ce repère, se positionne par
     rapport à toute la page et déborde sur le texte des étapes. */
  /* top: 0 annule le top: 110px du sticky desktop, qui reste sinon actif en
     position:relative et pousse le bloc visuellement par-dessus la section
     suivante. */
  .blueprint-wrap { position: relative; top: 0; width: 100%; max-width: 420px; margin: 0 auto; max-height: none; }
}

/* ==========================================================================
   Prestations — image sticky + accordéon (pas de grille de cartes)
   ========================================================================== */
.prestations { padding: var(--section-pad) 0; }
.prestations-scene {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.prestations-photo {
  position: sticky;
  top: 110px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.prestations-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.prestations-list { border-top: 1px solid var(--line); }
.prestation-row { border-bottom: 1px solid var(--line); }
.prestation-row-head {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1.6rem 0;
  text-align: left;
}
.prestation-row-head .p-num {
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--graphite-light);
  flex: none;
}
.prestation-row.is-active .p-num { color: var(--accent); }
.prestation-row-head h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.4rem);
  font-weight: 600;
  flex: 1;
  transition: color 0.3s ease;
}
.prestation-row-head:hover h3 { color: var(--accent); }
.prestation-row-head .p-plus {
  flex: none; width: 22px; height: 22px; position: relative;
}
.prestation-row-head .p-plus::before, .prestation-row-head .p-plus::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--ink);
  transition: transform 0.3s var(--ease-in-out);
}
.prestation-row-head .p-plus::before { width: 12px; height: 1.4px; transform: translate(-50%,-50%); }
.prestation-row-head .p-plus::after { width: 1.4px; height: 12px; transform: translate(-50%,-50%); }
.prestation-row.is-active .p-plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.prestation-row-body { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease-in-out); }
.prestation-row-body ul { padding-bottom: 1.7rem; }
.prestation-row-body li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--graphite);
  font-size: 0.95rem;
}
.prestation-row-body li + li { margin-top: 0.75rem; }
.prestation-row-body li::before {
  content: '';
  position: absolute; left: 0; top: 0.55em;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
}
@media (max-width: 900px) {
  .prestations-scene { grid-template-columns: 1fr; }
  .prestations-photo { position: static; aspect-ratio: 16/10; }
}

/* ==========================================================================
   Engagements — bande photo plein cadre, façon manifeste
   ========================================================================== */
.engagements {
  position: relative;
  padding: var(--section-pad) 0;
  color: var(--paper);
  isolation: isolate;
}
.engagements::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=1800&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  filter: grayscale(1) contrast(1.1) brightness(0.38);
}
.engagements::after {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,23,28,0.55), rgba(20,23,28,0.82));
}
.engagements .eyebrow { color: #BFCCE7; }
.engagements .eyebrow::before { background: #BFCCE7; }
.engagements .section-title { color: var(--paper); max-width: 20ch; }
.engagements-list {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-on-dark);
  padding-top: clamp(2rem, 4vw, 2.5rem);
}
.engagement-item .e-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--graphite-light);
  margin-bottom: 0.8rem;
}
.engagement-item:nth-child(even) .e-num { color: var(--accent-warm); }
.engagement-item h3 { font-size: 1.15rem; color: var(--paper); }
.engagement-item p { color: var(--graphite-light); font-size: 0.92rem; margin-top: 0.7rem; }
@media (max-width: 900px) {
  .engagements-list { grid-template-columns: 1fr; gap: 1.8rem; }
}

/* ==========================================================================
   Pourquoi Bamy — asymétrique, sans grille de cartes
   ========================================================================== */
.pourquoi { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.pourquoi .bg-word { bottom: -0.28em; right: -0.02em; font-size: clamp(6rem, 18vw, 15rem); }
.pourquoi-scene {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 5rem);
}
.pourquoi-head { align-self: start; position: sticky; top: 140px; }
.pourquoi-list { border-top: 1px solid var(--line); }
.raison {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.2rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.raison .r-num { font-family: var(--font-display); color: var(--graphite-light); font-size: 1rem; }
.raison:nth-child(even) .r-num { color: var(--accent-warm); }
.raison h3 { font-size: 1.05rem; }
.raison p { color: var(--graphite); font-size: 0.9rem; margin-top: 0.5rem; }
.preuve-banner {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: clamp(2rem, 4vw, 2.8rem);
  background: var(--ink);
  color: var(--paper);
  border-left: 3px solid var(--accent-warm);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .pourquoi-scene { grid-template-columns: 1fr; }
  .pourquoi-head { position: static; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: var(--section-pad) 0; background: var(--paper-dim); }
.faq-list { max-width: 860px; margin-top: clamp(2rem, 4vw, 3rem); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 600;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  position: relative;
  transition: border-color 0.3s ease;
}
.faq-q:hover .plus { border-color: var(--accent); }
.faq-q .plus::before, .faq-q .plus::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  background: var(--ink);
  transition: transform 0.3s var(--ease-in-out);
}
.faq-q .plus::before { width: 10px; height: 1.4px; transform: translate(-50%, -50%); }
.faq-q .plus::after { width: 1.4px; height: 10px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-in-out); }
.faq-a p { color: var(--graphite); padding-bottom: 1.5rem; max-width: 68ch; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: var(--section-pad) 0; }
.contact-grid {
  margin-top: clamp(2.2rem, 4vw, 3.4rem);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.contact-direct { position: relative; padding-top: 1.5rem; }
.contact-direct::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-warm));
}
.contact-direct a { display: block; font-family: var(--font-display); font-size: 1.3rem; margin-top: 0.4rem; }
.contact-direct .founder { margin-top: 2rem; color: var(--graphite); font-size: 0.92rem; }

.form-row { position: relative; margin-bottom: 1.5rem; }
.form-row label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--graphite);
  margin-bottom: 0.5rem;
}
.form-row input, .form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 0.6rem 0;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-row input:focus, .form-row textarea:focus { border-bottom-color: var(--accent); outline: none; }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-row input:user-invalid, .form-row textarea:user-invalid { border-bottom-color: #C0392B; }
.contact-form .btn { margin-top: 0.5rem; }
.rgpd { font-size: 0.8rem; color: var(--graphite-light); margin-top: 1.1rem; max-width: 56ch; }
.rgpd a { text-decoration: underline; text-underline-offset: 2px; }

.form-thanks {
  display: none;
  padding: 1.4rem 1.6rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  margin-bottom: 1.6rem;
}
.form-thanks.is-visible { display: block; }
.form-thanks strong { display: block; margin-bottom: 0.3rem; }

/* ==========================================================================
   Presse — citation MEDEF / Entreprises Occitanie
   ========================================================================== */
.presse {
  background: var(--ink);
  color: var(--paper);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.presse::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(620px circle at 50% 0%, rgba(255, 115, 56, 0.16), transparent 70%);
  pointer-events: none;
}
.presse .container { position: relative; z-index: 1; max-width: 760px; }
.presse .eyebrow { justify-content: center; color: var(--accent-warm); }
.presse .eyebrow::before { background: var(--accent-warm); }
.presse-quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.3;
  font-weight: 500;
  color: var(--paper);
}
.presse-source {
  margin-top: 1.8rem;
  font-size: 0.95rem;
  color: var(--graphite-light);
}
.presse-media { color: var(--paper); font-weight: 700; }
.presse-sep { margin: 0 0.5em; opacity: 0.5; }
.presse-article-title {
  margin-top: 0.4rem;
  font-size: 0.85rem;
  color: var(--graphite-light);
  opacity: 0.8;
}
.presse-cta { margin-top: 2.2rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--graphite-light);
  padding: clamp(3rem, 6vw, 4.5rem) 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-brand .logo { color: var(--paper); }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: 0.92rem; }
.footer-col h5 { color: var(--paper); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col a, .footer-col p { display: block; font-size: 0.92rem; margin-bottom: 0.6rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
}
.footer-bottom a { text-decoration: underline; text-decoration-color: var(--line-on-dark); text-underline-offset: 2px; transition: text-decoration-color 0.3s ease; }
.footer-bottom a:hover { text-decoration-color: currentColor; }
.aitincelle-credit { display: inline-flex; align-items: center; gap: 0.5rem; opacity: 0.7; transition: opacity 0.3s ease; }
.aitincelle-credit:hover { opacity: 1; }
.aitincelle-credit svg { height: 20px; width: auto; }
.atelier-dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--line-on-dark); margin-left: 0.9rem;
  transition: background 0.3s ease;
}
.atelier-dot:hover { background: var(--graphite-light); }

/* ==========================================================================
   Hero solo — variante centrée (accueil, sans visuel dédié)
   ========================================================================== */
.hero-solo { max-width: 760px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.hero-solo .hero-cta { justify-content: center; }
.hero-solo .section-lead { margin-left: auto; margin-right: auto; }
.hero-solo h1 { margin: 0 auto; }

/* ==========================================================================
   Deux parcours — accueil, orientation Studio / Conseil
   ========================================================================== */
.two-paths { background: var(--ink); color: var(--paper); padding: var(--section-pad) 0; }
.two-paths .eyebrow, .two-paths .section-title { color: var(--paper); }
.two-paths .section-lead { color: var(--graphite-light); }
.two-paths-grid {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.path-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}
.path-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.55);
  transition: filter 0.6s ease, transform 0.6s var(--ease-out);
}
.path-card:hover .path-photo { filter: grayscale(0) contrast(1.05) brightness(0.62); transform: scale(1.04); }
.path-card::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,13,17,0) 30%, rgba(11,13,17,0.92) 100%);
}
.path-card-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(1.5rem, 3vw, 2.4rem); }
.path-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-warm); margin-bottom: 0.8rem;
}
.path-card:nth-child(even) .path-tag { color: #8CA3D4; }
.path-card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--paper); max-width: 14ch; }
.path-card p { color: var(--graphite-light); margin-top: 0.8rem; max-width: 36ch; font-size: 0.95rem; }
.path-cta {
  margin-top: 1.4rem; display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 600; font-size: 0.92rem; color: var(--paper);
  border-bottom: 1px solid var(--line-on-dark); padding-bottom: 0.2rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.path-cta::after { content: '\2192'; transition: transform 0.3s var(--ease-out); display: inline-block; }
.path-card:hover .path-cta { border-color: var(--accent-warm); color: var(--accent-warm); }
.path-card:hover .path-cta::after { transform: translateX(4px); }

/* ==========================================================================
   Cross-link — passerelle Studio <-> Conseil
   ========================================================================== */
.cross-link { padding: clamp(2.5rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cross-link-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cross-link-inner p { font-family: var(--font-display); font-size: clamp(1.05rem, 1.8vw, 1.3rem); max-width: 42ch; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .en-bref-grid, .posture-intro, .contact-grid { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .changement-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 4/3; }
  .header-tel { display: none; }
  .site-header { height: 76px; }
  .logo { font-size: 1.9rem; }
  .two-paths-grid { grid-template-columns: 1fr; }
  .path-card { aspect-ratio: 4/4.6; }
  .cross-link-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { padding: 0 1.25rem; }
  .changement-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .facts-grid { grid-template-columns: 1fr; }
  .etape { grid-template-columns: 2.4rem 1fr; }
  .raison { grid-template-columns: 2rem 1fr; }
}
@media (max-width: 400px) {
  :root { --gutter: 1rem; }
  .hero { padding-top: 110px; }
}

/* ==========================================================================
   Pages légales (mentions, confidentialité) — contenu texte simple
   ========================================================================== */
.legal-page { padding: calc(var(--section-pad) * 0.75) 0 var(--section-pad); }
.legal-page .container { max-width: 760px; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 0.5rem; }
.legal-page .legal-updated { color: var(--graphite); font-size: 0.85rem; margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.15rem; margin: 2.4rem 0 0.9rem; }
.legal-page p { color: var(--ink-soft); line-height: 1.75; margin-bottom: 0.9rem; }
.legal-page ul { margin: 0 0 0.9rem; padding-left: 1.2rem; }
.legal-page li { list-style: disc; color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.4rem; }
.legal-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   Accessibilité mouvement
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
