/* === Global Mind Search — Site one-page === */
@import url("footer.css");

:root {
  --accent: #BF3B3B;            /* Rouge — marché Suisse (défaut) */
  --accent-hover: #A33232;
  --accent-rgb: 191, 59, 59;
  --ink: #121212;
  --ink-soft: #1F1F1F;
  --paper: #FFFFFF;
  --paper-warm: #F7F7F7;
  --line: rgba(18, 18, 18, 0.12);
  --muted: rgba(18, 18, 18, 0.55);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-display: 'Inter', system-ui, sans-serif;

  --pad-x: clamp(20px, 5vw, 96px);
  --section-y: clamp(64px, 9vw, 120px);
  --nav-h: 88px;
  --maxw: 1440px;

  --t: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Marché France — bleu institutionnel */
html[data-region="france"] {
  --accent: #1A3880;
  --accent-hover: #142E66;
  --accent-rgb: 26, 56, 128;
}

[data-density="compact"] {
  --section-y: clamp(40px, 6vw, 72px);
  --pad-x: clamp(16px, 4vw, 64px);
}

[data-typo="serif"] {
  --font-display: 'Fraunces', Georgia, serif;
}
[data-typo="mix"] {
  --font-display: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

/* --- Reset --- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Typography --- */
.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(32px, 4vw, 52px);
  margin: 0;
  text-transform: uppercase;
  max-width: clamp(16ch, 26vw, 28ch);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--accent);
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--t), transform 0.9s var(--t);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .sectors-carousel__track { transition: none; }
}

/* --- SplitText reveal (GSAP-style line/word mask) --- */
.split-text {
  /* keep the heading's own typographic styles intact */
}
.split-text .st-line {
  display: block;
  overflow: hidden;
  /* extra room so descenders (g, p, j, y) aren't clipped by the mask */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
  line-height: inherit;
}
.split-text .st-line-inner {
  display: block;
}
.split-text .st-word {
  display: inline-block;
  transform: translate3d(0, 110%, 0) rotate(4deg);
  transform-origin: 0% 100%;
  opacity: 0;
  transition:
    transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.split-text .st-space {
  display: inline-block;
  white-space: pre;
}
.split-text.is-in .st-word {
  transform: translate3d(0, 0, 0) rotate(0);
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .split-text .st-word {
    transform: none;
    opacity: 1;
    transition: none;
  }
}

/* === NAV ===
   Par défaut (sur l'image hero) : texte/éléments en blanc.
   En mode sticky (.is-scrolled) : fond clair, texte/éléments en noir. */
.site-header { position: contents; }
.nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px var(--pad-x);
  height: 100px;
  background: rgba(255,255,255,0.0);
  transition:
    height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.5s var(--t),
    border-color 0.5s var(--t),
    backdrop-filter 0.5s var(--t),
    color 0.5s var(--t);
  border-bottom: 1px solid transparent;
  color: #fff;
  /* Laisse passer les clics vers le logo hero en dessous ;
     seuls les contrôles interactifs restent cliquables. */
  pointer-events: none;
}
.nav > *,
.nav-links a,
.nav-cta,
.lang-switch,
.lang-switch button,
.burger {
  pointer-events: auto;
}

/* Volet déployé : nav compacte, fond clair, glissée depuis le haut.
   Passe en position:fixed pour rester en haut de l'écran. */
.nav.is-scrolled {
  position: fixed;
  height: var(--nav-h, 88px);
  padding-top: 0;
  padding-bottom: 0;
  padding-left: calc(var(--nav-h, 88px) + 24px);
  background: #fff;
  border-bottom-color: var(--line);
  color: var(--ink);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,0.18);
  animation: navShutterDown 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: auto;
}
@keyframes navShutterDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(0); }
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: inherit;
  position: relative;
  z-index: 2;
  /* Reserve space matching the hero-logo-block so nav-links don't overlap it */
  min-width: calc(clamp(120px, 14vw, 190px) - var(--pad-x));
  /* Ne pas intercepter les clics du logo hero (zone réservée vide) */
  pointer-events: none;
}
.nav.is-scrolled .nav-logo {
  /* In scrolled state, padding-left already clears the logo image */
  min-width: 0;
  pointer-events: auto;
}
/* Logo image: flush against the left edge of the nav, fills full nav height.
   Positionné absolument par rapport à la nav (qui est position:fixed) — il suit
   donc directement toute transformation/animation du header. */
.nav-logo-hit {
  position: absolute;
  left: 0;
  top: 0;
  height: 88px;
  width: 88px;
  z-index: 3;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--t);
  cursor: pointer;
}
.nav.is-scrolled .nav-logo-hit {
  opacity: 1;
  pointer-events: auto;
}
.nav-logo-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}
/* Make room on the left when sticky so links don't overlap the logo (handled in main .nav.is-scrolled rule) */
.nav-logo .logo-mark {
  width: 40px; height: 40px;
  display: block;
  border-radius: 2px;
  overflow: hidden;
  transition: opacity 0.3s var(--t);
}
.nav-logo .logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nav-logo:hover .logo-mark { opacity: 0.88; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 6px 0;
  color: inherit;
  transition: color 0.2s var(--t), opacity 0.2s var(--t);
}
.nav:not(.is-scrolled) .nav-links a:hover { opacity: 0.7; }
.nav.is-scrolled .nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 2px;
  height: 1px; width: 0;
  background: var(--accent);
  transition: width 0.3s var(--t);
}
.nav-links a:hover::after { width: 100%; }

/* === Sélecteur de langue — texte discret avec séparateurs · ===
   FR · EN · DE — la langue active est soulignée. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  border: 0;
  padding: 0;
}
.lang-switch button {
  padding: 4px 2px;
  color: inherit;
  opacity: 0.55;
  position: relative;
  transition: opacity 0.2s var(--t), color 0.2s var(--t);
  background: transparent;
  border: 0;
  border-radius: 0;
}
.lang-switch button:hover { opacity: 1; }
.lang-switch button.is-active {
  opacity: 1;
}
.lang-switch button.is-active::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 1px;
  height: 1px;
  background: currentColor;
}
.lang-sep {
  opacity: 0.4;
  user-select: none;
  font-size: 10px;
  line-height: 1;
}
/* Mobile menu */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 14px 26px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 999px;
  transition: background 0.25s var(--t), transform 0.25s var(--t);
}
.nav-cta:hover { background: var(--accent-hover); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

/* burger */
.burger {
  display: none;
  width: 38px; height: 38px;
  border-radius: 2px;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 20px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.3s var(--t), opacity 0.3s var(--t), background 0.3s var(--t);
}
.burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 0; width: 100%; height: 100%;
  background: currentColor;
  transition: transform 0.3s var(--t);
}
.burger span::before { transform: translateY(-6px); }
.burger span::after  { transform: translateY(6px); }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: rotate(45deg); }
.burger.is-open span::after  { transform: rotate(-45deg); }

@media (max-width: 1024px) {
  .nav.is-menu-open {
    color: var(--ink);
    z-index: 101;
  }
  .burger.is-open { color: var(--ink); }
  html.is-menu-open,
  html.is-menu-open body {
    overflow: hidden;
  }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--paper);
  z-index: 95;
  padding: 100px var(--pad-x) 40px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.35s var(--t), transform 0.35s var(--t);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  letter-spacing: -0.01em;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  /* Place du logo carré : sur un écran bas (téléphone en paysage), le hero
     s'allonge au lieu de faire passer le titre sous le logo. */
  padding-top: calc(clamp(120px, 14vw, 190px) + 24px);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('assets/hero-bg-france.webp') center / cover no-repeat;
  z-index: 0;
}
html[data-region="suisse"] .hero-bg {
  background-image: url('assets/hero-bg-suisse.webp');
}
html[data-region="france"] .hero-bg {
  background-image: url('assets/hero-bg-france.webp');
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  /* Le bas du cadre porte le H1 : le sol clair de la photo France demande
     un voile dense. La Suisse allège ces valeurs juste en dessous. */
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.50) 0%,
      rgba(0,0,0,0.18) 30%,
      rgba(0,0,0,0.42) 62%,
      rgba(0,0,0,0.78) 100%);
}
/* Suisse : la photo est nettement plus sombre à la source. Valeurs calées sur
   sa luminance mesurée — le bas tenait 15:1 sous le H1 là où 7:1 suffit, d'où
   un voile bas presque divisé par deux. Le premier arrêt reste à 0.34 : c'est
   lui seul qui porte la lisibilité de la nav blanche sur fond transparent. */
html[data-region="suisse"] .hero-bg::after {
  background:
    linear-gradient(180deg,
      rgba(0,0,0,0.31) 0%,
      rgba(0,0,0,0.02) 30%,
      rgba(0,0,0,0.12) 62%,
      rgba(0,0,0,0.25) 100%);
}
.hero-logo-block {
  position: absolute;
  top: 0; left: 0;
  width: clamp(120px, 14vw, 190px);
  aspect-ratio: 1 / 1;
  z-index: 110; /* au-dessus de la nav transparente */
  overflow: hidden;
}
.hero-logo-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.hero-logo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad-x) clamp(60px, 9vh, 120px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 6.2vw, 100px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0 0 40px;
  max-width: none;
}
/* Avec chapeau, c'est le gap de .hero-content qui espace les deux blocs ;
   sans chapeau, le H1 garde la marge de 40px ci-dessus. */
.hero-content h1:not(:only-child) { margin-bottom: 0; }
.hero-lede {
  margin: 0;
  max-width: 44ch;
  font-size: clamp(15px, 1.5vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.9);
}

/* === Switch marché France / Suisse (sous le titre du hero) ===
   La question du splash, en version compacte. Le marché courant est plein,
   dans sa couleur ; l'autre est un lien. Sous le titre plutôt qu'en bas à
   droite : le titre France prend toute la largeur et WhatsApp occupe le coin.
   Fond translucide sous la phrase aussi : la photo suisse est claire en bas. */
.market-switch {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 0.8em;
  margin-top: 16px;
  padding: 5px 5px 5px 1.15em;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.38);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* Même corps que le chapeau du hero (.hero-lede) ; les espacements en em
     suivent. */
  font-size: clamp(15px, 1.5vw, 21px);
  letter-spacing: -0.005em;
}
.market-switch-lead {
  font-weight: 300;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.9);
}
.market-switch-options {
  display: inline-flex;
  gap: 4px;
}
.market-switch-option {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: max(44px, 2.5em);
  padding: 0 1.1em;
  border-radius: 999px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.25s var(--t), color 0.25s var(--t);
}
.market-switch-option svg { width: 0.7em; height: 0.7em; }
.market-switch-option.is-active {
  background: var(--accent);
  color: #fff;
}
a.market-switch-option:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
a.market-switch-option:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* Mobile : la phrase passe au-dessus des deux choix ; la marge du bas garde
   le bandeau au-dessus du bouton WhatsApp, même sur un écran de 640px. */
@media (max-width: 640px) {
  .market-switch {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
    padding: 14px 5px 5px;
    border-radius: 27px;
  }
  .market-switch-lead {
    padding: 0 1.1em;
    white-space: normal;
  }
}

.hero h1 .accent-bar {
  display: inline-block;
  width: 1.2em;
  height: 0.2em;
  background: #fff;
  vertical-align: 0.15em;
  margin-left: 0.1em;
}
.hero-cities {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.5vw, 32px);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}
.hero-cities .url {
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: none;
  margin-left: auto;
  opacity: 0.85;
}
.hero-scroll {
  position: absolute;
  bottom: 24px;
  right: var(--pad-x);
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.5);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 50%;
  background: #fff;
  animation: scroll-cue 2.4s var(--t) infinite;
}
@keyframes scroll-cue {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* === HERO INTRO === */
.hero-intro {
  /* Gris anthracite — volontairement plus clair que --ink (#121212) */
  background-color: #2B2B2B;
  padding: clamp(72px, 9vw, 140px) clamp(32px, 8vw, 120px);
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-intro-label {
  display: block;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
}
.hero-intro-body {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 28px);
  font-weight: 300;
  line-height: 1.5;
  max-width: 70%;
  white-space: pre-line;
}
@media (max-width: 900px) {
  .hero-intro-body { max-width: 100%; }
}

/* === FOUNDER === */
.founder {
  background: #fff;
  padding: clamp(80px, 10vw, 140px) var(--pad-x);
  position: relative;
  overflow: hidden;
}
.founder::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(42vw, 560px);
  background: var(--paper-warm);
  pointer-events: none;
  z-index: 0;
}
.founder-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, min(300px, 26vw))
    minmax(0, 46ch)
    minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 104px);
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.founder-photo {
  grid-column: 2;
  margin: 0;
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  overflow: hidden;
  background: var(--paper-warm);
}
.founder-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 1.1s var(--t);
}
.founder-photo:hover img {
  transform: scale(1.04);
}
.founder-photo-accent {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 4px;
  height: 28%;
  background: var(--accent);
  z-index: 2;
}
.founder-copy {
  grid-column: 3;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  position: relative;
}
.founder-role {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.founder-name {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-transform: uppercase;
  max-width: 12ch;
}
.founder-rule {
  display: block;
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 0 0 28px;
}
.founder-body {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: rgba(18, 18, 18, 0.72);
  max-width: 38ch;
}
.founder-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: clamp(36px, 5vw, 56px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.founder-stat-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 88px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.founder-stat-label {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 12ch;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .founder::before {
    width: 100%;
    height: min(58vw, 360px);
    bottom: auto;
  }
  .founder-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    row-gap: 40px;
  }
  .founder-photo,
  .founder-copy {
    grid-column: 1;
  }
  .founder-photo {
    max-width: 220px;
  }
  .founder-copy {
    max-width: 42ch;
  }
  .founder-name {
    max-width: none;
  }
  .founder-body {
    max-width: none;
  }
}

/* === MISSION === */
.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
}
.mission-left {
  background: var(--accent);
  color: #fff;
  padding: clamp(60px, 8vw, 120px) clamp(40px, 6vw, 96px) clamp(40px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  position: relative;
  /* IMPORTANT: pas d'overflow:hidden — la flèche doit déborder à droite */
}
.mission-left h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 16ch;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
/* Grande flèche : dans le flux, calée sous le titre, déborde légèrement sur le blanc à droite */
.mission-arrow {
  margin-top: 1.5em;
  /* Largeur > 100% → déborde modérément sur le bloc blanc, sans empiéter sur le texte */
  width: clamp(110%, 110%, 130%);
  max-width: 640px;
  aspect-ratio: 1 / 1;
  z-index: 3;
  pointer-events: none;
  position: relative;
}
.mission-arrow img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.mission-right {
  padding: clamp(60px, 8vw, 120px) clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  gap: clamp(28px, 4vw, 48px) clamp(24px, 3vw, 40px);
  align-content: start;
  background: #fff;
  position: relative;
  z-index: 1;
}
.mission-right > * {
  grid-column: 1;
}
.mission-cta-wrap {
  grid-column: 1 / -1;
  margin-top: clamp(16px, 2.5vw, 32px);
}
.cta-btn--ghost {
  background: var(--ink) !important;
  color: #fff !important;
  border: 1px solid var(--ink) !important;
  padding: 16px 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s var(--t), color 0.3s var(--t), border-color 0.3s var(--t);
  border-radius: 0;
}
.cta-btn--ghost:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
.mission-right h2 {
  grid-column: 1 / -1;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 clamp(40px, 6vw, 80px);
  max-width: 16ch;
  text-transform: uppercase;
}
.mission-right p {
  margin: 0;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  white-space: pre-line;
  max-width: 75%;
}
@media (max-width: 900px) {
  .mission-right p { max-width: 100%; }
}
.mission-right .accent-col p {
  font-weight: 400;
  color: var(--ink);
}
.mission-right .accent-col p strong,
.mission-right .accent-col p b {
  color: var(--accent);
  font-weight: 700;
}

/* === PROCESS + STATS === */
.process-stats {
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 720px;
}

/* COL GAUCHE — Image full-cover */
.process-cover {
  position: relative;
  overflow: hidden;
  min-height: clamp(480px, 60vh, 720px);
}
.process-cover-img {
  position: absolute;
  inset: 0;
  background: url('assets/process.webp') center 68% / cover no-repeat;
  transition: transform 1.2s var(--t);
}
.process-cover:hover .process-cover-img {
  transform: scale(1.04);
}

/* COL DROITE — Titre + Timeline numérotée */
.process-steps {
  background: #fff;
  padding: clamp(60px, 8vw, 110px) clamp(64px, 9vw, 160px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process-steps-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 clamp(40px, 5vw, 64px);
  text-transform: uppercase;
  max-width: 16ch;
}
.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: clamp(72px, 8vw, 96px) 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
  padding: clamp(18px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line);
}
.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}
.process-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  /* Décalage subtil vers le haut pour aligner sur la ligne de base du texte */
  padding-top: 2px;
}
.process-text {
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  white-space: pre-line;
  /* Légère mise en avant typographique */
  letter-spacing: -0.005em;
}

.stats {
  grid-column: 1 / -1;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
  background: var(--paper-warm);
}
.stats-eyebrow {
  margin-bottom: clamp(32px, 4vw, 56px);
}
.stats-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: clamp(48px, 6vw, 88px);
}
.stats-editorial:has(> .stats-side:only-child) {
  grid-template-columns: 1fr;
  max-width: 72ch;
}
.stats-hero-num {
  position: relative;
}
.stats-big {
  font-family: var(--font-display);
  font-size: clamp(160px, 24vw, 360px);
  font-weight: 300;
  line-height: 0.9;
  color: var(--accent);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: block;
}
.stats-big span {
  display: inline-block;
}
.stats-side {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
  align-self: center;
}
.stats-big-label {
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: pre-line;
  line-height: 1.4;
}
.stats-divider {
  width: clamp(40px, 6vw, 80px);
  height: 2px;
  background: var(--accent);
}
.stats-editorial-body {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
  max-width: 60ch;
}
@media (max-width: 900px) {
  .stats-editorial {
    grid-template-columns: 1fr;
    gap: clamp(28px, 4vw, 48px);
  }
  .stats-side { align-self: start; }
  .stats-big { font-size: clamp(120px, 30vw, 220px); }
}

.process-body-text {
  margin-top: clamp(24px, 3vw, 40px);
}
.process-body-text p {
  margin: 0;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  max-width: 52ch;
  white-space: pre-line;
}


.stats-head h2 { max-width: 28ch; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(36px, 4vw, 56px) clamp(36px, 4vw, 56px);
  min-height: clamp(320px, 28vw, 420px);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  grid-template-rows: auto 1fr auto;
  grid-template-columns: 1fr;
  gap: 12px;
  background: transparent;
  transition: background 0.4s var(--t);
}
.stat:last-child { border-right: 0; }
.stat:hover { background: rgba(var(--accent-rgb), 0.04); }
.stat:last-child .stat-value { justify-self: start; }
.stat-value {
  grid-row: 1;
  justify-self: end;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(56px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.stat-label {
  grid-row: 3;
  justify-self: start;
  max-width: 22ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
}

.partners {
  grid-column: 1 / -1;
  padding: 0 var(--pad-x) clamp(60px, 8vw, 100px);
  background: var(--paper-warm);
}
.partners h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.partners-intro {
  max-width: 62ch;
  margin: -12px 0 36px;
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.65;
  color: var(--ink-muted, rgba(20, 18, 16, 0.72));
}
.partners-rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(32px, 5vw, 72px);
}
.partners-rail .logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: clamp(32px, 5vw, 72px);
  height: clamp(100px, 12vw, 150px);
  opacity: 1;
  filter: grayscale(0);
  transition: opacity 0.4s var(--t), filter 0.4s var(--t);
}
/* On rail hover, dim + desaturate every logo… */
.partners-rail:hover .logo {
  opacity: 0.35;
  filter: grayscale(100%);
}
/* …except the one being hovered, which keeps its colour. */
.partners-rail:hover .logo:hover {
  opacity: 1;
  filter: grayscale(0);
}
.partners-rail .logo img {
  height: 100%;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}
/* Logo texte très allongé (ex. wordmark RC Executive Coaching) : plus de
   largeur disponible pour rester lisible sur une seule ligne, quitte à
   occuper sa propre ligne dans le rail. */
.partners-rail .logo--wide img {
  max-width: 220px;
}
/* Logo à aplats de couleur pleine (ex. HR Vaud) : à hauteur égale, ce style
   pèse visuellement plus lourd que les logos au trait des voisins ; on
   réduit son gabarit pour rester au même niveau. */
.partners-rail .logo--small img {
  max-width: 130px;
}
.partners-rail .logo:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--ink);
  opacity: 0.25;
}
.partners-rail .logo:last-child {
  padding-right: 0;
}

/* === SECTORS === */
.sectors {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
  color: #fff;
}
.sectors-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('assets/coaching-bg.webp') center / cover no-repeat;
  transition: transform 1.4s var(--t);
  overflow: hidden;
  pointer-events: none;
}
.sectors:hover .sectors-bg { transform: scale(1.02); }
/* Filtre uniquement sur l'image de fond (pas sur les cartes ni les textes) */
.sectors-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,0.55) 0%, rgba(18,18,18,0.65) 50%, rgba(18,18,18,0.7) 100%);
  pointer-events: none;
}
.sectors-head {
  padding: clamp(40px, 5vw, 72px) var(--pad-x) clamp(28px, 3vw, 48px);
  position: relative;
  z-index: 2;
}
.sectors-head h2 { margin-bottom: 28px; color: #fff; }
.sectors-intro p {
  margin: 0;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.85);
  max-width: 50%;
}
.sectors-carousel {
  grid-column: 1;
  margin-top: clamp(20px, 2.5vw, 32px);
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
}
.sectors-carousel__viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  touch-action: pan-y pinch-zoom;
  user-select: none;
}
.sectors-carousel__viewport.is-scroll-snap {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}
.sectors-carousel__viewport.is-scroll-snap::-webkit-scrollbar {
  display: none;
}
.sectors-carousel__viewport.is-scroll-snap .sectors-carousel__track {
  transform: none !important;
  transition: none !important;
}
.sectors-carousel__viewport.is-scroll-snap .sectors-carousel__slide {
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.sectors-carousel__track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.sectors-carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(24px, 3vw, 36px);
  position: relative;
  z-index: 3;
}
.sectors-carousel__btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  transition: background 0.25s var(--t), border-color 0.25s var(--t), opacity 0.25s var(--t);
}
.sectors-carousel__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.75);
}
.sectors-carousel__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.sectors-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sectors-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s var(--t), transform 0.25s var(--t);
}
.sectors-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.2);
}
.sectors-carousel__dot:hover {
  background: rgba(255, 255, 255, 0.65);
}
.sectors-carousel__dot.is-active:hover {
  background: var(--accent);
}

.sector-item {
  flex: 0 0 auto;
  padding: clamp(20px, 2.5vw, 32px) clamp(20px, 2.5vw, 28px) clamp(20px, 2.5vw, 32px);
  background: #fff;
  border-top: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.35s var(--t);
  position: relative;
  min-height: 100%;
}
.sector-item:hover {
  box-shadow: 0 12px 32px -12px rgba(0, 0, 0, 0.4);
}
.sector-item-top {
  display: flex;
  align-items: center;
}
.sector-item-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 50%;
  color: var(--accent);
  transition: background 0.35s var(--t), border-color 0.35s var(--t), color 0.35s var(--t);
}
.sector-item:hover .sector-item-icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.sector-item-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.sector-item-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(16px, 1.3vw, 20px);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.sector-item-body {
  font-size: clamp(13px, 1vw, 14.5px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.72);
}

/* --- Case study déplié dans la carte --- */
.sector-case {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.sector-case-toggle {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: 0;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  transition: opacity 0.25s var(--t);
}
.sector-case-toggle:hover { opacity: 0.62; }
.sector-case-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* Signe + qui devient − à l'ouverture */
.sector-case-sign {
  position: relative;
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
}
.sector-case-sign::before,
.sector-case-sign::after {
  content: "";
  position: absolute;
  background: currentColor;
  transition: transform 0.35s var(--t), opacity 0.35s var(--t);
}
/* Traits de 1px calés sur des pixels entiers (11px de large → 50% - 0.5px
   tombe sur 5px) : sans cela le trait est réparti sur deux pixels et son
   rendu varie d'une carte à l'autre. */
.sector-case-sign::before {
  top: calc(50% - 0.5px);
  left: 0;
  width: 100%;
  height: 1px;
}
.sector-case-sign::after {
  left: calc(50% - 0.5px);
  top: 0;
  width: 1px;
  height: 100%;
}
.sector-case-toggle[aria-expanded="true"] .sector-case-sign::after {
  transform: scaleY(0);
  opacity: 0;
}
/* Hauteur animée sans mesure JS : 0fr → 1fr sur la piste de grille. */
.sector-case-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s var(--t);
}
.sector-case-wrap.is-open { grid-template-rows: 1fr; }
.sector-case-panel { overflow: hidden; }
/* Filet d'accent : identifie le bloc comme un cas client, sans ajouter de
   libellé en doublon du bouton. */
.sector-case-panel p {
  margin: 0 0 14px;
  padding-left: 12px;
  border-left: 2px solid var(--accent);
  font-size: clamp(12.5px, 0.95vw, 14px);
  font-weight: 300;
  line-height: 1.65;
  color: rgba(18, 18, 18, 0.72);
}
.sector-case-panel strong {
  font-weight: 600;
  color: var(--ink);
}
@media (prefers-reduced-motion: reduce) {
  .sector-case-wrap,
  .sector-case-sign::before,
  .sector-case-sign::after { transition: none; }
}
.sectors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.sectors-list li {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: baseline;
  gap: 16px;
  cursor: default;
  color: #fff;
  transition: color 0.3s var(--t), padding-left 0.3s var(--t);
}
.sectors-list li:hover {
  color: var(--accent);
  padding-left: 12px;
}
.sectors-list li .num {
  font-size: 12px;
  letter-spacing: 0.18em;
  font-family: var(--font-sans);
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  width: 28px;
  flex-shrink: 0;
}

/* When detailed sectorItems are present, coaching spans full width below */
.sectors:has(.sectors-carousel) .coaching {
  grid-column: 1 / -1;
}
/* Coaching categories (new detailed layout) */
.coaching-intro-text {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  font-style: italic;
}
.coaching-cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 20px);
  margin-top: 8px;
}
.coaching-cat {
  padding: clamp(20px, 2.5vw, 32px) clamp(20px, 2.5vw, 36px) clamp(20px, 2.5vw, 32px) clamp(20px, 2.5vw, 36px);
  border-left: 3px solid var(--accent);
  background: rgba(18, 18, 18, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  text-align: left;
}
.coaching-cat:last-child { padding-left: clamp(20px, 2.5vw, 36px); padding-right: clamp(20px, 2.5vw, 36px); }
.coaching-cat-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(18px, 1.6vw, 24px);
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.coaching-cat-detail {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
}
.coaching-cat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.coaching-cat-list li {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}
.coaching-cat-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 10px;
  top: 3px;
}

/* Coaching block — image background treated like .process-cover */
.coaching {
  position: relative;
  z-index: 2;
  color: #fff;
}
.coaching-content {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 2.5vw, 36px) var(--pad-x) clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.coaching h3 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 52px);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 24px rgba(0,0,0,0.35);
  max-width: 18ch;
  text-transform: uppercase;
}
.coaching p {
  font-weight: 400;
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,0.95);
  margin: 0 0 14px;
  max-width: 46ch;
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
.coaching p strong {
  font-weight: 600;
  color: #fff;
}
.coaching p + p { margin-bottom: 0; }
.coaching-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 36px) clamp(16px, 2vw, 28px);
  margin-top: clamp(20px, 2.5vw, 32px);
  padding-top: clamp(16px, 2vw, 24px);
  border-top: 1px solid rgba(255,255,255,0.3);
}
.coaching-cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.coaching-cols li {
  position: relative;
  padding: 12px 18px 12px 36px;
  color: #fff;
  background: rgba(18, 18, 18, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.25s var(--t), border-color 0.25s var(--t), transform 0.25s var(--t);
}
.coaching-cols li:hover {
  background: rgba(var(--accent-rgb), 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.coaching-cols li::before {
  content: "";
  position: absolute;
  left: 14px; top: 50%;
  width: 12px; height: 1px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: background 0.25s var(--t);
}
.coaching-cols li:hover::before { background: #fff; }

/* === CTA === */
.cta {
  background: var(--accent);
  color: #fff;
  padding: clamp(60px, 8vw, 100px) var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}
.cta h2 {
  /* Hérite de .h-section (uppercase, weight 300, clamp(32px,4vw,52px)) — override max-width pour respirer dans le bandeau pleine largeur */
  margin: 0;
  max-width: clamp(20ch, 50vw, 38ch);
}
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
@media (max-width: 640px) {
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
  }
  .cta-btn {
    min-width: 0;
    width: 100%;
  }
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 24px 40px;
  min-width: 280px;
  justify-content: space-between;
  background: rgba(255,255,255,0.0);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.3s var(--t), border-color 0.3s var(--t), transform 0.3s var(--t);
  border-radius: 2px;
}
.cta-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}
.cta-btn .arrow {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 50%;
  transition: background 0.3s var(--t), border-color 0.3s var(--t), color 0.3s var(--t), transform 0.3s var(--t);
}
.cta-btn:hover .arrow { background: #fff; border-color: #fff; color: var(--accent); }
.cta-btn .arrow svg { width: 14px; height: 14px; }

/* === COMMITMENTS === */
.commitments {
  padding: var(--section-y) var(--pad-x);
  background: var(--paper);
}
.commitments-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 56px;
  gap: 32px;
  flex-wrap: wrap;
}
.commitments-head h2 { max-width: none; }
.commitments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.commit {
  padding: clamp(40px, 5vw, 72px) clamp(36px, 4vw, 64px) clamp(48px, 6vw, 80px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
  position: relative;
  transition: background 0.4s var(--t);
}
.commit:hover { background: var(--paper-warm); }
.commit-head {
  display: flex;
  align-items: flex-start;
}
.commit-icon {
  flex: 0 0 auto;
  color: var(--accent);
  transition: transform 0.4s var(--t);
}
.commit:hover .commit-icon {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .commit-icon { transition: none; }
  .commit:hover .commit-icon { transform: none; }
}
.commit-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.2vw, 32px);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.commit p {
  margin: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
  color: rgba(18,18,18,0.72);
  max-width: 42ch;
}

/* === CHIFFRES CLÉS === */
.key-figures {
  grid-column: 1 / -1;
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
  background: var(--paper-warm);
}
.key-figures-head { margin-bottom: clamp(28px, 3.5vw, 48px); }
.key-figures-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.key-figure {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, 1.4vw, 20px);
  padding: clamp(30px, 3.6vw, 52px) clamp(20px, 2.6vw, 44px) clamp(20px, 2.4vw, 36px) 0;
}
.key-figure + .key-figure {
  border-left: 1px solid var(--line);
  padding-left: clamp(20px, 2.6vw, 44px);
}
.key-figure-num {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.6vw, 104px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
/* « + de », « % », « + » : qualifiants, pas des chiffres. */
.key-figure-affix {
  font-size: 0.4em;
  font-weight: 400;
  letter-spacing: 0;
}
.key-figure-label {
  margin: 0;
  max-width: 32ch;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 300;
  line-height: 1.6;
  color: rgba(18, 18, 18, 0.72);
}
@media (max-width: 900px) {
  .key-figures-grid { grid-template-columns: minmax(0, 1fr); }
  .key-figure { padding: clamp(24px, 5vw, 34px) 0; }
  .key-figure + .key-figure {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
  }
  .key-figure-label { max-width: none; }
}

/* === CLIENTS === */
.clients {
  padding: var(--section-y) var(--pad-x);
  background: var(--paper-warm);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.clients-text h2 { margin-bottom: 16px; }
.clients-text p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  max-width: 36ch;
  margin: 0;
}
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 48px);
}
.client-tile {
  aspect-ratio: 5 / 3;
  display: grid;
  place-items: center;
  padding: clamp(12px, 2vw, 24px);
}
.client-tile img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: filter 0.3s var(--t), opacity 0.3s var(--t);
}
.client-tile:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* === FOOTER === */
/* Footer : voir footer.css (importé en tête de ce fichier) */

/* === LEGAL DRAWER === */
.legal-drawer {
  position: fixed;
  top: 0; right: -560px;
  width: min(560px, 92vw);
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 24px rgba(0,0,0,0.15);
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.legal-drawer.open { right: 0; }

.legal-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.legal-drawer-header h3 {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  margin: 0;
}
.legal-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.legal-drawer-close:hover { opacity: 1; }

.legal-drawer-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}

.legal-drawer-content .legal-page {
  max-width: none;
  margin: 0;
  padding: 0;
}

.legal-drawer-content .breadcrumb { display: none; }

.legal-drawer-content h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 300;
  margin-bottom: 24px;
  line-height: 1.15;
}

.legal-drawer-content h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 300;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.legal-drawer-content p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.65;
}

.legal-drawer-content a { color: var(--accent); }

.legal-drawer-content .address-block {
  background: rgba(0,0,0,0.03);
  padding: 14px 16px;
  border-radius: 4px;
  margin: 12px 0 16px;
  font-size: 13px;
  white-space: pre-line;
  line-height: 1.7;
}

.legal-drawer-content .nav-langs {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 12px;
}

.legal-drawer-content .nav-langs a {
  padding: 6px 10px;
  border-radius: 3px;
  text-decoration: none;
  color: inherit;
}

.legal-drawer-content .nav-langs a.active {
  background: var(--accent);
  color: #fff;
}

.legal-drawer-content .nav-langs a:hover:not(.active) {
  background: rgba(var(--accent-rgb), 0.08);
}

.legal-drawer-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 4px;
  text-decoration: none;
  color: var(--ink);
  background: rgba(var(--accent-rgb), 0.04);
  transition: background 0.3s, transform 0.3s;
  border-left: 2px solid var(--accent);
}
.legal-drawer-link:hover {
  background: rgba(var(--accent-rgb), 0.1);
  transform: translateX(4px);
}

.legal-drawer-link-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  margin-top: 2px;
}

.legal-drawer-link-text {
  flex: 1;
}
.legal-drawer-link-title {
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}
.legal-drawer-link-desc {
  font-size: 12px;
  opacity: 0.6;
  line-height: 1.4;
}

.legal-drawer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  z-index: 9998;
}
.legal-drawer-overlay.open {
  background: rgba(0,0,0,0.4);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1080px) {
  .mission { grid-template-columns: 1fr; }
  .mission-right { grid-template-columns: 1fr; }
  .process-stats { grid-template-columns: 1fr; }
  .process-cover { min-height: 420px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .commitments-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: 1fr; }
  .clients { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
}
@media (max-width: 720px) {
  /* Mobile : on supprime le bloc rouge + la flèche, on démarre direct par "Notre mission" */
  .mission-left { display: none; }
  .mission-arrow { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .commitments-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .coaching-cols { grid-template-columns: 1fr; }
  .coaching-cats { grid-template-columns: 1fr; gap: 14px; }
  .coaching-cat { text-align: left; }
  .coaching-content { align-items: flex-start; text-align: left; }
  .coaching-cat-label, .coaching-cat-detail, .coaching-cat-list, .coaching-cat-list li { text-align: left; }
  .commit { padding: 24px 20px; }
  .stat { padding: 24px 18px; }
  .stat:nth-child(2n) { border-right: 0; }

  .sectors-carousel__btn { display: none; }
  /* Suisse : l'intro des secteurs est un long paragraphe ; bridé aux 50 % du
     desktop, il ne formait qu'une colonne étroite à gauche de l'écran. */
  html[data-region="suisse"] .sectors-intro p { max-width: none; }

  .partners-rail .logo:not(:last-child)::after {
    display: none;
  }
  /* Mobile : 2 colonnes centrées, cases de hauteur égale ; le logo wide
     (wordmark RC) prend toute la ligne pour rester lisible. */
  .partners-rail {
    justify-content: center;
    gap: 28px 16px;
  }
  .partners-rail .logo {
    padding-right: 0;
    flex: 0 0 calc(50% - 8px);
    height: 72px;
    justify-content: center;
  }
  .partners-rail .logo--wide {
    flex-basis: 100%;
  }
  /* Le lien autour du logo doit remplir la case, sinon la hauteur en %
     de l'image ne se résout pas et chaque logo garde sa taille native. */
  .partners-rail .logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
  }
  .partners-rail .logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .partners-rail .logo--small img {
    max-height: 80%;
  }
  .partners h2 {
    margin-bottom: clamp(48px, 10vw, 64px);
  }
}
@media (max-width: 640px) {
  .mission-right {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
  .process-steps {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
  .sectors {
    padding-left: 0;
  }
  .sectors-head {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
  .coaching-content {
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }
}

@media (max-width: 480px) {
  .clients-grid { grid-template-columns: 1fr 1fr; }
  .hero-cities { font-size: 11px; gap: 12px; }
  .hero-cities .url { margin-left: 0; width: 100%; }
}
