/* ============================================================
   akt — Home : hero scroll-driven (6 phases) + sections
   ============================================================ */

/* ===== HERO : sticky scroll pattern ===== */
.hero { position: relative; }
.hero-wrap { height: 900vh; position: relative; }        /* hauteur de scroll = durée de l'anim (9vh ≈ généreux pour contemplation) */
.hero-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 620px;
  overflow: hidden; background: var(--green-deep);
}

/* z-0 : fond de base */
.hero-base { position: absolute; inset: 0; background: var(--gray-100); z-index: 0; }

/* z-1 : swirl d'images */
.hero-swirl { position: absolute; inset: 0; z-index: 1; pointer-events: none; will-change: transform; }
.hero-swirl-img {
  position: absolute; top: 50%; left: 50%; height: 22svh; width: auto; max-width: none;
  object-fit: cover; transform-origin: center; border-radius: var(--radius-sm);
  box-shadow: 0 14px 36px rgba(0,0,0,0.3); opacity: 0; will-change: transform, opacity;
}
/* Desktop ≥901px : vignettes +30% pour plus de présence autour du rect vidéo */
@media (min-width: 901px) {
  .hero-swirl-img { height: 28.6svh; box-shadow: 0 16px 42px rgba(0,0,0,0.32); }
}

/* z-2 : rect vidéo (plein écran -> rect 16:9) */
.hero-rect {
  position: absolute; top: 50%; left: 50%; width: 100%; height: 100%;
  transform: translate(-50%, -50%); transform-origin: center; z-index: 2;
  pointer-events: none; overflow: hidden; will-change: width, height, border-radius;
}
.hero-rect-bg { position: absolute; inset: 0; background: #000; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-rect::after {        /* léger voile pour lisibilité du titre blanc */
  content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,40,35,0.25), rgba(0,40,35,0.45));
}

/* z-3 : overlay vert akt */
.hero-green { position: absolute; inset: 0; background: var(--green); z-index: 3; opacity: 0; pointer-events: none; }

/* z-4 : monogramme K central */
.hero-k {
  position: absolute; top: 50%; left: 50%; width: clamp(120px, 15vw, 220px); height: clamp(120px, 15vw, 220px);
  transform: translate(-50%, -50%); z-index: 4; color: var(--green-light); opacity: 0; pointer-events: none;
  will-change: transform, opacity, color;
}
.hero-k svg { width: 100%; height: 100%; }

/* z-5/6 : blocs de texte */
.hero-text {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 2rem; text-align: center; pointer-events: none;
}
.hero-text > * { pointer-events: auto; }

.hero-title { font-weight: var(--fw-med); font-size: var(--fs-display); line-height: 1.02; letter-spacing: -0.03em; }
.hero-title .line { display: block; overflow: hidden; padding: 0.04em 0; }
.hero-title .line.bold { font-weight: var(--fw-black); }
.hero-title .word { display: inline-block; will-change: transform, opacity; }

/* Titre 1 : blanc, clippé à la bbox du rect vidéo */
.hero-t1 { z-index: 5; color: var(--white); clip-path: inset(0 0 0 0); -webkit-clip-path: inset(0 0 0 0); will-change: clip-path; }
.hero-t1 .hero-title { color: var(--white); }

/* Sous-titre paragraphe (sur fond vert) */
.hero-sub { z-index: 5; opacity: 0; color: var(--white); }
.hero-sub-text {
  font-size: clamp(1rem, 1.35vw, 1.4rem); line-height: 1.45; font-weight: var(--fw-reg);
  letter-spacing: -0.005em; max-width: min(92vw, 1080px); text-align: center;
}
.hero-sub-text .line { display: block; padding: 0.18em 0; }
.hero-sub-text .word { display: inline-block; will-change: transform, opacity; }

/* Titre final : tagline + CTA */
.hero-final { z-index: 6; opacity: 0; color: var(--white); gap: 2rem; }
.hero-final .hero-title { font-size: clamp(2.4rem, 6vw, 5rem); font-weight: var(--fw-black); color: var(--white); }
.hero-final-cta { display: inline-flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-final-cta .link-arrow { color: var(--white); }

/* z-7 : voile de sortie */
.hero-veil { position: absolute; inset: 0; background: var(--white); z-index: 7; opacity: 0; pointer-events: none; }

/* indicateur de scroll */
.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 6;
  color: var(--white-70); font-size: var(--fs-xs); letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
}
.hero-scroll-hint span { width: 1px; height: 34px; background: var(--white-45); animation: scrollPulse 1.8s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.2; transform: scaleY(0.4); transform-origin: top; } 50% { opacity: 1; transform: scaleY(1); } }

/* ===== HERO MARQUEE — bandeau prestations défilantes (apparaît phase 1 de la swirl) ===== */
.hero-marquee {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 7;
  background: var(--green-deep);
  color: var(--white);
  padding: 0.95rem 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100%);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    visibility 0s linear 0.55s;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-marquee.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    visibility 0s linear 0s;
}
.hero-marquee-viewport {
  display: flex;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%);
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  animation: heroMarqueeScroll 55s linear infinite;
  will-change: transform;
}
.hero-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  padding-right: clamp(1.6rem, 3vw, 2.4rem);
  font-size: clamp(0.85rem, 1vw, 1rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}
.hero-marquee-sep {
  color: var(--green-light);
  font-size: 0.8em;
  opacity: 0.85;
}
.hero-marquee:hover .hero-marquee-track { animation-play-state: paused; }

@keyframes heroMarqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Le hint « Défiler » disparaît quand le marquee s'affiche (évite la superposition) */
.hero-marquee.is-on ~ .hero-scroll-hint,
.hero-sticky:has(.hero-marquee.is-on) .hero-scroll-hint { opacity: 0; transition: opacity 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track { animation: none; }
  .hero-marquee { transition: opacity 0.3s, visibility 0s linear; transform: none; }
}

@media (max-width: 640px) {
  .hero-marquee { padding: 0.7rem 0; }
  .hero-marquee-item { gap: 1.2rem; padding-right: 1.2rem; font-size: 0.78rem; }
}

/* ============================================================
   PILLARS — "Le cap à franchir" (scroll-driven)
   Architecture FRAME centrée :
     – le texte est positionné en % d'une frame qui matche la photo
     – donc l'overlap reste constant quelle que soit la largeur viewport
   « le cap à franchir une » — overline au-dessus de « croissance »
   « croissance » — gros, centré sur la hauteur de la photo
   3 adjectifs (lucide / ambitieuse / maîtrisée) — empilés à droite
   Split-color vert akt là où le texte chevauche la photo.
   ============================================================ */
.pillars { padding: 0; }
.pillars-wrap { height: 320vh; position: relative; }
.pillars-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 620px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); overflow: hidden;
  /* tokens locaux à la section */
  --photo-w: clamp(300px, 36vw, 620px);
  --bleed:   18%;   /* % de la frame où le texte mord dans la photo */
}

/* monogramme K en haut centré — sous la nav */
.pillars-mark { position: absolute; top: 5rem; left: 50%; transform: translateX(-50%); width: 42px; height: 42px; color: var(--green); opacity: 0.7; z-index: 5; }
.pillars-mark svg { width: 100%; height: 100%; }

/* Compteur de paliers (haut-droite) — sous la nav */
.pillars-counter {
  position: absolute; top: 5.7rem; right: var(--gutter);
  display: flex; gap: 0.5rem; z-index: 5;
}
.pillars-counter span { width: 28px; height: 2px; background: var(--line); transition: background var(--t-fast); }
.pillars-counter span.is-on { background: var(--green); }

/* Stage centrale */
.pillars-stage {
  position: relative; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* La FRAME centrée — référence pour photo + positions des textes (%) */
.pillars-frame {
  position: relative;
  width: var(--photo-w);
  aspect-ratio: 1;
}

/* PHOTO carrée centrée dans la frame */
.pillars-photo {
  position: absolute; inset: 0;
  z-index: 2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 24px 60px rgba(0, 63, 56, 0.18);
}
.pillars-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 0.6s var(--ease);
}
.pillars-photo img.is-active { opacity: 1; }

/* ----- 2 couches de texte identiques (ink derrière, vert clippé à la photo devant) ----- */
.pillars-text {
  position: absolute; inset: 0;
  pointer-events: none;
  font-family: var(--font);
}
.pillars-text--ink   { z-index: 1; color: var(--ink); }
/* Le « green » layer (nom historique) est la couche du dessus, clippée à la bbox photo
   via overflow:hidden. Le texte qui passe SUR la photo s'affiche en BLANC pour lisibilité. */
.pillars-text--green { z-index: 3; color: var(--white); overflow: hidden; border-radius: var(--radius-sm); }

/* Groupe gauche : overline « le cap à franchir une » + grand « croissance »
   Right edge ancré à l'intérieur de la photo (bleed%), centré verticalement */
.pillars-left-group {
  position: absolute;
  right: calc(100% - var(--bleed));
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right; white-space: nowrap;
}

/* Stack droit : 3 adjectifs empilés, left edge ancré à l'intérieur de la photo */
.pillars-right-stack {
  position: absolute;
  left: calc(100% - var(--bleed));
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-start;
  text-align: left; white-space: nowrap; gap: 0.04em;
}

/* Overline « Le cap à franchir » — top-center, au-dessus de la photo */
.pillars-eyebrow {
  position: absolute;
  top: -3.6rem;                       /* au-dessus de la photo */
  left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-size: clamp(1.1rem, 1.55vw, 1.5rem);
  font-weight: var(--fw-med);
  letter-spacing: 0.02em;
  color: var(--ink);
  z-index: 4;
}
/* « cap » en accent vert akt */
.pillars-eyebrow em {
  color: var(--green);
  font-style: normal;
  font-weight: var(--fw-bold);
}
.pillars-noun,
.pillars-right-stack .adj {
  font-size: clamp(2.2rem, 6vw, 6rem);
  font-weight: var(--fw-black);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

/* "Une croissance" sur 2 lignes (Une au-dessus, croissance dessous, alignées à droite) */
.pillars-noun {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.pillars-noun-article {
  /* "Une" — plus petit, plus léger, ligne au-dessus */
  font-size: 0.42em;
  font-weight: var(--fw-med);
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 0.1em;
  opacity: 0.95;
}
.pillars-noun-word {
  display: block;
  line-height: 0.94;
}
.pillars-right-stack .adj {
  display: block;
  opacity: 0; transform: translateY(0.35em);
  will-change: opacity, transform;
}
.pillars-right-stack .adj.is-on { opacity: 1; transform: translateY(0); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); }

/* ----- Tablette : compose identique, on réduit la typo ----- */
@media (max-width: 900px) {
  .pillars-sticky { --photo-w: clamp(280px, 44vw, 460px); }
  .pillars-noun, .pillars-right-stack .adj { font-size: clamp(2.4rem, 8.8vw, 5.4rem); }
}

/* ----- Mobile : photo en RECTANGLE PORTRAIT 3/4, typo dimensionnée pour TOUT RENTRER ----- */
/* Contrainte clé : "ambitieuse" (10 ch) + "maîtrisée" (9 ch) ne doivent jamais déborder. */
@media (max-width: 640px) {
  .pillars-wrap   { height: 280vh; }
  .pillars-sticky {
    --photo-w: clamp(140px, 44vw, 200px);     /* photo + petite pour libérer marge */
    --bleed:   10%;                            /* overlap léger qui laisse rentrer 10 ch */
  }
  .pillars-frame  { aspect-ratio: 3 / 4; }
  .pillars-noun, .pillars-right-stack .adj {
    font-size: clamp(1.3rem, 5.6vw, 2rem);    /* "ambitieuse" 10 ch tient dans la moitié droite */
    line-height: 0.96; letter-spacing: -0.03em;
  }
  .pillars-eyebrow { top: -1.8rem; font-size: clamp(0.78rem, 3vw, 0.95rem); }
  .pillars-mark   { top: 4.4rem; width: 32px; height: 32px; }
  .pillars-counter{ top: 5.2rem; right: 1rem; }
}

/* ============================================================
   QUOTE — Notre vision (citation scroll-driven)
   Vidéo de fond, citation scroll-driven ligne par ligne,
   attribution + vignette play en bas-droite, accents verts sur les phrases clés.
   ============================================================ */
.quote { position: relative; }
.quote-wrap { height: 220vh; position: relative; }
.quote-sticky {
  position: sticky; top: 0; height: 100vh; min-height: 620px;
  overflow: hidden; background: var(--green-deep);
}

/* Vidéo de fond + voile */
.quote-bg { position: absolute; inset: 0; z-index: 1; }
.quote-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.quote-bg-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,40,35,0.35) 0%, rgba(0,40,35,0.55) 100%);
}

/* Contenu principal en grille (citation à droite, attribution en bas-droite) */
.quote-content {
  position: absolute; inset: 0; z-index: 3;
  padding: clamp(5rem, 12vh, 9rem) clamp(1.5rem, 6vw, 6rem) clamp(2rem, 5vh, 4rem);
  display: grid;
  grid-template-rows: 1fr auto;
  justify-items: end;
}

/* Citation à droite */
.quote-text {
  color: var(--white);
  font-size: clamp(1.3rem, 2.1vw, 2.4rem);
  line-height: 1.32;
  font-weight: var(--fw-reg);
  letter-spacing: -0.005em;
  max-width: min(60vw, 880px);
  align-self: center;
  margin-block: auto;
  text-align: left;
}
.quote-text p { margin: 0; }
.quote-text .line {
  display: block;
  overflow: hidden;
  padding: 0.04em 0;
  will-change: opacity, transform;
}
/* Accents en vert clair akt (style « lime ») */
.quote-text em {
  font-style: normal;
  color: var(--green-light);
  font-weight: var(--fw-med);
}

/* Attribution + vignette play en bas-droite */
.quote-attribution {
  display: flex;
  align-items: flex-end;
  gap: clamp(1.2rem, 3vw, 2.4rem);
  color: var(--white);
}
.quote-author {
  position: relative;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.45;
  padding-right: 1.4rem;
}
.quote-author-name { font-weight: var(--fw-bold); letter-spacing: 0.01em; }
.quote-author-role { color: var(--green-light); font-weight: var(--fw-med); margin-top: 0.3em; }
.quote-plus { position: absolute; top: 0; right: 0; width: 10px; height: 10px; color: var(--white-70); }

/* Vignette play (preview vidéo) */
.quote-play {
  position: relative;
  width: clamp(140px, 13vw, 220px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  transition: transform var(--t-fast);
}
.quote-play:hover { transform: translateY(-3px); }
.quote-play img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.quote-play-icon {
  position: absolute;
  bottom: 0.9rem; left: 0.9rem;
  width: 36px; height: 36px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--green-deep);
  transition: transform var(--t-fast);
}
.quote-play:hover .quote-play-icon { transform: scale(1.08); }
.quote-play-icon svg { width: 14px; height: 14px; margin-left: 2px; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
  .quote-content { padding-inline: clamp(1rem, 4vw, 2rem); }
  .quote-text { max-width: 90vw; font-size: clamp(1.05rem, 3.4vw, 1.6rem); }
}
@media (max-width: 640px) {
  .quote-wrap { height: 180vh; }
  .quote-attribution { flex-direction: column-reverse; align-items: stretch; gap: 1rem; }
  .quote-play { width: 100%; max-width: 240px; align-self: flex-end; }
  .quote-author { text-align: right; padding-right: 0; }
  .quote-plus { display: none; }
}

/* ===== MANIFESTE ( : fond noir, texte XL aligné gauche, médias flottants constellation) ===== */
.manifesto {
  position: relative;
  background: #000;
  color: var(--white);
  overflow: hidden;
  padding: clamp(7rem, 14vh, 14rem) 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* Mini wordmark akt déco top-center (signal visuel de section, fond noir → blanc) */
.manifesto-mark {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: clamp(20px, 1.8vw, 28px);   /* ratio wordmark 2.35:1, donc width ≈ 47-66px */
  opacity: 0.9;
  z-index: 2;
  color: var(--white);
  fill: currentColor;
}

/* Bloc texte central — déclaration en 3 temps */
.manifesto-body {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 5rem);
}
.manifesto-line {
  font-size: clamp(1.8rem, 3.2vw, 3.5rem);   /* 28.8 → 46px @1440, capped 56px @1750+ */
  line-height: 1.14;
  letter-spacing: -0.022em;
  font-weight: var(--fw-med);
  color: var(--white);
  max-width: 24ch;             /* +2ch puisque texte plus petit */
}
.manifesto-line + .manifesto-line { margin-top: 0.12em; }
.manifesto-line em {
  font-style: normal;
  color: var(--green-light);   /* « cap » mis en évidence (cohérent avec pillars) */
}
.manifesto-line--accent { color: var(--green-light); }

/* Médias flottants en constellation (5 vignettes asymétriques ) */
.manifesto-media {
  position: absolute;
  z-index: 1;
  border-radius: 3px;
  overflow: hidden;
  pointer-events: none;
  filter: brightness(0.85) saturate(0.95);   /* un cran en retrait pour ne pas dominer */
}
.manifesto-media img,
.manifesto-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Composition asymétrique asymétrique :
   tous les médias dans la moitié DROITE, le texte reste à gauche. Échelles variées. */
.manifesto-media--1 { top: 18%; left: 38%; width: clamp(110px, 9vw, 160px); aspect-ratio: 16/10; }
.manifesto-media--2 { top: 22%; right: 6%; width: clamp(140px, 12vw, 200px); aspect-ratio: 16/9;  }
.manifesto-media--3 { top: 46%; right: 18%; width: clamp(150px, 13vw, 220px); aspect-ratio: 4/3;   }
.manifesto-media--4 { bottom: 26%; right: 4%; width: clamp(130px, 11vw, 185px); aspect-ratio: 16/9;  }
.manifesto-media--5 { bottom: 10%; right: 22%; width: clamp(110px, 9vw, 160px); aspect-ratio: 16/10; }

/* Viewport étroit (<1200px) : médias plus serrés vers le bord droit */
@media (max-width: 1200px) {
  .manifesto-media--1 { left: auto; right: 32%; top: 12%; }
  .manifesto-media--2 { right: 2%;  top: 8%; }
  .manifesto-media--3 { right: 12%; top: 42%; }
  .manifesto-media--4 { right: 2%;  bottom: 18%; }
  .manifesto-media--5 { right: 22%; bottom: 6%; }
}

/* Mobile : on retire les médias (encombrant) et on garde la déclaration */
@media (max-width: 900px) {
  .manifesto-media { display: none; }
  .manifesto { padding: 5rem 0; min-height: 70vh; }
  .manifesto-line { max-width: 18ch; font-size: clamp(1.6rem, 6vw, 2.4rem); }
}

/* Reduced motion : pas d'animation reveal du body, juste afficher */
@media (prefers-reduced-motion: reduce) {
  .manifesto-body { opacity: 1; transform: none; }
}

/* ===== NOS SERVICES (split-color title) =====
   Mécanique :
   - 1 sticky parent de 600vh (5 services × 120vh) → user scrolle pendant ~5 viewports
   - 5 stages superposés, l'actif a `--p` (progress local 0→1) piloté par JS
   - Chaque stage : title-bg filigrane gris derrière + video-frame qui scale 55→100% + title-fg vert clippé à la bbox vidéo (sync JS clip-path) + content (eyebrow + body) qui fade-in vers la fin
   - Pagination dots à droite, CTA pill bas-centre
   ===================================================== */
.services-stack {
  position: relative;
  height: 1080vh;           /* 6 services × 180vh (Accompagnement, DAF, Communication, IA, Growth, Patrimoine) */
  background: #000;
}
.services-stack-sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 620px;
  overflow: hidden;
  background: #000;
}

/* 5 stages superposés. L'actif a --p set par JS */
.service-stage {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  display: grid; place-items: center;
  --p: 0;
}
.service-stage.is-active {
  opacity: 1; visibility: visible;
}

/* TITRE BG : filigrane gris très estompé, full-width derrière tout */
.service-title-bg,
.service-title-fg {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2.2rem, 7vw, 8rem);     /* 100→128px — laisse de l'air pour 2 lignes sur titres longs */
  font-weight: var(--fw-black);
  letter-spacing: -0.035em;
  line-height: 0.94;
  pointer-events: none;
  margin: 0;
  font-family: var(--ff-base);
  /* Multiligne autorisé : titres longs (DAF à temps partagé, IA & Automatisation, Growth & Acquisition) wrap proprement sur 2 lignes */
  white-space: normal;
  text-align: center;
  max-width: 90vw;
  text-wrap: balance;          /* équilibre les lignes (modernes browsers) */
}
.service-title-bg {
  color: rgba(255, 255, 255, 0.14);
  z-index: 1;
}
/* TITRE FG : vert akt bright, clippé par JS à la bbox du video-frame */
.service-title-fg {
  color: #5fc9b3;          /* vert akt vif (extension brand — assumé) */
  z-index: 4;
  /* clip-path géré par JS via inline style */
}

/* Frame vidéo qui scale via --p (CSS variable, pilotée par JS) */
.service-video-frame {
  position: relative;
  width: calc(50% + var(--p, 0) * 50%);   /* 50% → 100% du viewport */
  max-width: 100%;
  aspect-ratio: 16 / 9;
  z-index: 2;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.service-video-frame video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.service-video-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}

/* Content (eyebrow + body) — apparaît tôt (p>0.25) pour laisser le temps de lire, ancré bas-gauche */
.service-content {
  position: absolute;
  left: clamp(1.5rem, 5vw, 5rem);
  bottom: clamp(5.5rem, 9vw, 8rem);    /* au-dessus du CTA pill */
  z-index: 5;
  max-width: 42ch;
  /* fade-in entre p=0.25 et p=0.7 (4× plus rapide qu'avant), puis full sur le HOLD */
  opacity: calc(max(0, min(1, (var(--p, 0) - 0.25) * 2.2)));
  transform: translateY(calc((1 - min(1, max(0, (var(--p, 0) - 0.25) * 2.2))) * 18px));
  transition: opacity 0.15s, transform 0.15s;
}
.service-eyebrow {
  display: inline-block;
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);   /* 12→15px lisible */
  font-weight: var(--fw-bold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.service-body {
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);      /* 22→24px (cran lisibilité) */
  line-height: 1.45;
  color: var(--white);
  font-weight: var(--fw-med);
  margin: 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);       /* lisibilité sur vidéo claire */
}

/* Pagination dots à droite, centrés vertical */
.services-dots {
  position: absolute;
  right: clamp(1rem, 2.2vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex; flex-direction: column;
  gap: 1.1rem;
}
.services-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  border: 0; padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.services-dot:hover { background: rgba(255, 255, 255, 0.5); }
.services-dot.is-active {
  background: #5fc9b3;
  transform: scale(1.25);
}

/* CTA pill bas-centre — vert akt vif */
.services-cta {
  position: absolute;
  bottom: clamp(2rem, 4vw, 3.5rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  background: #5fc9b3;
  color: #001a16;
  padding: 0.95rem 2.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 0.7rem;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
  box-shadow: 0 6px 24px rgba(95, 201, 179, 0.25);
}
.services-cta:hover {
  background: #7ad8c4;
  transform: translateX(-50%) translateY(-2px);
}
.services-cta-arrow { transition: transform 0.3s; }
.services-cta:hover .services-cta-arrow { transform: translateX(4px); }

/* Mobile : dégrade en sections empilées non-sticky (pas de split-color, pas de scale) */
@media (max-width: 900px) {
  .services-stack { height: auto; }
  .services-stack-sticky { position: relative; height: auto; min-height: 0; }
  .service-stage {
    position: relative;
    height: 85vh; min-height: 480px;
    opacity: 1; visibility: visible;
    display: block;
  }
  .service-title-bg { font-size: clamp(2.5rem, 13vw, 5rem); top: 8%; transform: translate(-50%, 0); }
  .service-title-fg { display: none; }
  .service-video-frame {
    width: 92%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
  }
  .service-content { opacity: 1; transform: none; bottom: 1rem; max-width: 90%; }
  .services-dots { display: none; }
  .services-cta { position: static; transform: none; margin: 1.5rem auto 0; display: flex; }
}

/* ===== POUR QUI — APPROACH (cercles concentriques : cercles + particules orbitantes) =====
   Sticky 500vh (2 stages × 250vh). Cercles concentriques fixes + 14 particules orbitent en continu (gsap.ticker)
   + grosse boule centrale apparaît au stage 2. Texte gauche crossfade entre Dirigeants ↔ Fonds. */
.approach {
  position: relative;
  height: 500vh;
  background: var(--gray-100);
}
.approach-sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 620px;
  overflow: hidden;
  display: grid;
  place-items: center;
}

/* Mini wordmark akt déco top-center (signal de section, en --green) */
.approach-mark {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.5rem);
  left: 50%; transform: translateX(-50%);
  height: clamp(20px, 1.8vw, 28px);
  width: auto;
  z-index: 4;
  color: var(--green);
  opacity: 0.85;
  fill: currentColor;
}

/* Visualisation centrale : 3 cercles SVG + container particules + core */
.approach-visual {
  position: relative;
  width: clamp(380px, 60vw, 760px);
  aspect-ratio: 1;
  z-index: 1;
}
.approach-rings {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
}
.approach-ring {
  fill: none;
  stroke: rgba(0, 0, 0, 0.10);
  stroke-width: 1;
}
.approach-particles {
  position: absolute; inset: 0;
  pointer-events: none;
}
.approach-particle {
  position: absolute;
  width: var(--size, 12px);
  height: var(--size, 12px);
  background: var(--c, #01ab96);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  will-change: transform, opacity, left, top;
}
.approach-particle--outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.4);
}
.approach-particle.is-on { opacity: 1; }

/* Boule centrale qui apparaît au stage 2 */
.approach-core {
  position: absolute;
  left: 50%; top: 50%;
  width: clamp(120px, 18vw, 220px);
  aspect-ratio: 1;
  background: #01ab96;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 2;
}
.approach-core.is-on { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Stages texte à gauche (crossfade) */
.approach-stage {
  position: absolute;
  left: clamp(2rem, 6vw, 6rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  max-width: 38ch;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.approach-stage.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}
.approach-eyebrow {
  display: inline-block;
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #01ab96;
  margin-bottom: 1.2rem;
}
.approach-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--fw-black);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.approach-body {
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
  opacity: 0.85;
}

/* Compteur droite */
.approach-counter {
  position: absolute;
  right: clamp(2rem, 4vw, 4rem);
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  display: flex; flex-direction: column;
  gap: 1.6rem;
}
.approach-counter-item {
  background: none; border: 0; padding: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right;
  color: rgba(0, 0, 0, 0.35);
  transition: color 0.3s;
  font-family: var(--ff-base);
}
.approach-counter-item:hover { color: rgba(0, 0, 0, 0.6); }
.approach-counter-item.is-active { color: #01ab96; }
.approach-counter-label {
  font-size: 0.72rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.approach-counter-sub {
  font-size: 0.95rem;
  font-weight: var(--fw-med);
  margin-top: 0.25rem;
}

/* Mobile (<900px) : on GARDE le pattern complet (sticky + cercles + particules), juste réorganisé verticalement
   Texte EN HAUT, visuel cercles+particules EN BAS (mobile) */
@media (max-width: 900px) {
  .approach { height: 500vh; }                              /* sticky conservé, même durée */
  .approach-sticky {
    display: flex; flex-direction: column;
    align-items: stretch;
    padding: clamp(4rem, 14vw, 6rem) 1.25rem 1.5rem;
    place-items: stretch;
  }
  .approach-mark {
    position: relative; top: auto; left: auto; transform: none;
    align-self: center; margin-bottom: 1.2rem;
    height: clamp(18px, 4.5vw, 24px);
  }
  .approach-counter { display: none; }                      /* trop encombrant petit écran */

  /* Texte en haut, superposé (toujours crossfade) */
  .approach-stage {
    position: absolute;
    top: clamp(4rem, 14vw, 6rem);
    left: 1.25rem; right: 1.25rem;
    transform: none;
    max-width: 100%;
  }
  .approach-eyebrow { font-size: 0.75rem; margin-bottom: 0.6rem; }
  .approach-title {
    font-size: clamp(1.5rem, 6.5vw, 2.4rem);
    margin: 0 0 0.9rem;
  }
  .approach-body {
    font-size: clamp(0.95rem, 4vw, 1.05rem);
    line-height: 1.45;
  }

  /* Visuel cercles + particules en bas, centré, dimension réduite */
  .approach-visual {
    margin-top: auto;
    width: clamp(280px, 82vw, 420px);
    align-self: center;
  }
  .approach-core {
    width: clamp(90px, 22vw, 140px);
  }
}

/* ===== NOTRE MÉTHODE — STACK 3 SLIDES (Comprendre / Décider / Exécuter) ===== */
.method-stack {
  position: relative;
  height: 750vh;             /* 3 slides × 250vh — confortable lecture */
  background: var(--green-deep);
  color: var(--white);
}
.method-stack-sticky {
  position: sticky; top: 0;
  height: 100vh; min-height: 620px;
  overflow: hidden;
  display: grid; place-items: center;
}
.method-stack .method-eyebrow {
  position: absolute;
  top: clamp(5.5rem, 7vw, 6.5rem);      /* +padding pour passer SOUS la nav fixed (~72-80px) */
  left: 50%; transform: translateX(-50%);
  z-index: 3;
  display: inline-block;
  font-size: clamp(0.78rem, 0.85vw, 0.95rem);
  font-weight: var(--fw-bold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #01ab96;
}
.method-counter {
  position: absolute;
  top: clamp(2rem, 4vw, 3rem);
  right: clamp(2rem, 4vw, 3rem);
  z-index: 3;
  font-size: 0.9rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.5);
  display: inline-flex; gap: 0.3em; align-items: baseline;
  font-variant-numeric: tabular-nums;
}
.method-counter-current { color: #01ab96; font-weight: var(--fw-bold); font-size: 1.1em; }
.method-counter-sep { opacity: 0.5; }

/* Visualisation centrale : 3 cercles concentrés, transform scale piloté par JS via classes is-on-N */
.method-visual {
  position: absolute;
  right: clamp(2rem, 8vw, 10rem);
  top: 50%; transform: translateY(-50%);
  width: clamp(420px, 50vw, 720px);
  aspect-ratio: 1;
  z-index: 1;
  pointer-events: none;
}
.method-circle {
  position: absolute;
  left: 50%; top: 50%;
  border-radius: 50%;
  background: #01ab96;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.34, 1.4, 0.64, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}
.method-circle--1 { width: 32%; height: 32%; }
.method-circle--2 { width: 60%; height: 60%; }
.method-circle--3 { width: 96%; height: 96%; }

/* Stages d'apparition (classes ajoutées par JS) */
.method-visual.is-on-1 .method-circle--1 {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.95;
}
.method-visual.is-on-2 .method-circle--2 {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.55;
}
.method-visual.is-on-3 .method-circle--3 {
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.28;
}

/* Labels DANS les cercles, disposition diagonale ↘ : 01 dans noyau, 02 dans couronne c2, 03 dans couronne c3 */
.method-label {
  position: absolute;
  font-size: clamp(0.78rem, 0.95vw, 1.05rem);
  font-weight: var(--fw-black);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 3;
  display: inline-flex; align-items: baseline; gap: 0.5em;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.method-label-num {
  font-size: 0.7em;
  font-weight: var(--fw-med);
  letter-spacing: 0.2em;
  opacity: 0.7;
}

/* Disposition diagonale ↘ (positions) mais textes droits (sans rotation) */
.method-label--1 {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.method-label--2 {
  top: 67%; left: 67%;
  transform: translate(-50%, -50%);
}
.method-label--3 {
  top: 83%; left: 83%;
  transform: translate(-50%, -50%);
}
.method-visual.is-on-1 .method-label--1 { opacity: 1; }
.method-visual.is-on-2 .method-label--2 { opacity: 0.9; }
.method-visual.is-on-3 .method-label--3 { opacity: 0.85; }

/* Stages texte à gauche (crossfade) */
.method-stack .method-stage {
  position: absolute;
  left: clamp(2rem, 6vw, 6rem);
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  max-width: 38ch;
  opacity: 0; visibility: hidden;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.method-stack .method-stage.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 0.5s ease, visibility 0s linear 0s;
}
.method-stack .method-stage-num {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  color: #01ab96;
  margin-bottom: 1rem;
}
.method-stack .method-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: var(--fw-black);
  color: var(--white);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}
.method-stack .method-body {
  font-size: clamp(1.05rem, 1.3vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  font-weight: var(--fw-med);
  margin: 0;
}

@media (max-width: 900px) {
  .method-stack { height: auto; }
  .method-stack-sticky { position: relative; height: auto; min-height: 0; display: block; padding: 4rem 1.5rem; }
  .method-stack .method-eyebrow { position: relative; top: auto; left: auto; transform: none; display: block; text-align: center; margin-bottom: 2rem; }
  .method-counter { display: none; }
  .method-visual { display: none; }
  .method-stack .method-stage {
    position: relative; top: auto; left: auto; transform: none;
    opacity: 1; visibility: visible;
    max-width: 100%;
    margin-bottom: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .method-stack .method-stage:first-of-type { border-top: 0; }
}

/* ===== POUR QUI (legacy, conservée pour back-compat — pas utilisée par la nouvelle approach) ===== */
.audience-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.audience-head h2 { font-size: var(--fs-h2); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.audience-card { position: relative; overflow: hidden; }
.audience-card .tag { font-size: var(--fs-xs); font-weight: var(--fw-bold); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.audience-card h3 { font-size: var(--fs-h3); margin: 0.8rem 0 1rem; }

/* ===== OFFRES ===== */
.offers-head { text-align: center; max-width: 56ch; margin-inline: auto; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.offers-head h2 { font-size: var(--fs-h2); margin-bottom: 1rem; }
.offers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.offer { display: flex; flex-direction: column; min-height: 100%; }
.offer-num { font-size: 0.85rem; font-weight: var(--fw-black); color: var(--green-light); letter-spacing: 0.1em; margin-bottom: 1.2rem; }
.offer h3 { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.offer p { flex: 1; margin-bottom: 1.4rem; }

/* ===== MÉTHODE ===== */
.method { position: relative; overflow: hidden; }
.method-head { text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.method-head h2 { font-size: var(--fs-h2); margin-bottom: 0.8rem; }
.method-head .lead { color: var(--white-70); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.method-step { padding: 2rem; border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius); position: relative; }
.method-step::before {
  counter-increment: step; content: '0' counter(step);
  font-size: 2.4rem; font-weight: var(--fw-black); color: var(--white-45); display: block; margin-bottom: 1rem;
}
.method-step h3 { font-size: var(--fs-h3); color: var(--white); margin-bottom: 0.6rem; }
.method-step p { color: var(--white-70); font-size: var(--fs-body); }

/* ===== CHIFFRES ===== */
.stats { position: relative; overflow: hidden; }
.stats-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.stats-head h2 { font-size: var(--fs-h2); }
.stats-head .note { font-size: var(--fs-xs); color: var(--ink-40); letter-spacing: 0.08em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { padding-right: 1rem; border-left: 2px solid var(--line); padding-left: 1.4rem; }
.stat-num { font-size: clamp(2.6rem, 5vw, 4rem); font-weight: var(--fw-black); color: var(--green); line-height: 1; letter-spacing: -0.03em; }
.stat-label { margin-top: 0.7rem; font-size: var(--fs-sm); color: var(--ink-60); line-height: 1.4; }
.stat--text .stat-num { font-size: var(--fs-h3); color: var(--green); }

/* ===== FONDS ===== */
.funds { position: relative; overflow: hidden; }
.funds-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.funds h2 { font-size: var(--fs-h2); }
.funds p { color: var(--white-70); font-size: var(--fs-lead); line-height: 1.5; }
.funds p + p { margin-top: 1.2rem; }
.funds .funds-emphasis { color: var(--white); font-weight: var(--fw-bold); }

/* ===== TÉMOIGNAGES ===== */
.testi { text-align: center; }
.testi-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.testi-slider { max-width: 50ch; margin-inline: auto; position: relative; min-height: 1px; }
.testi-slide { display: none; }
.testi-slide.is-active { display: block; animation: fadeUp 0.5s var(--ease); }
.testi-quote { font-size: var(--fs-h3); font-weight: var(--fw-med); line-height: 1.45; color: var(--ink); }
.testi-author { margin-top: 1.6rem; font-size: var(--fs-sm); color: var(--green); font-weight: var(--fw-bold); }
.testi-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.testi-dots button { width: 9px; height: 9px; border-radius: 50%; border: none; background: var(--line); transition: background var(--t-fast), transform var(--t-fast); }
.testi-dots button.is-active { background: var(--green); transform: scale(1.2); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* ===== CTA FINAL ===== */
.cta-final { position: relative; overflow: hidden; text-align: center; }
.cta-final h2 { font-size: var(--fs-h1); max-width: 18ch; margin-inline: auto; }
.cta-final p { color: var(--white-70); font-size: var(--fs-lead); max-width: 46ch; margin: 1.4rem auto 2.4rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .manifesto-grid, .audience-grid, .offers-grid, .funds-grid { grid-template-columns: 1fr; }
  .method-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .method-grid, .stats-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
}
