/* =========================================================================
   Mushroom — feuille de style du site
   ========================================================================= */

:root {
  --ink: #0f1012;
  --ink-2: #1a1b1f;
  --paper: #f4f3ef;
  --white: #ffffff;
  --red: #ff2b37;
  --red-dark: #c8101b;
  --muted: #5d5f66;
  --line: rgba(15, 16, 18, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --font-serif: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius: 1rem;
  --radius-small: 0.6rem;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--red); color: var(--white); }

[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--ink); color: var(--white); padding: 0.6rem 1rem; border-radius: 0.5rem; }
.skip-link:focus { top: 1rem; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 920px; }

/* ---- Typographie ---- */

h1, h2, h3, h4, .h1, .h2, .h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em 0;
  text-wrap: balance;
}
h1, h2, .h1, .h2, .display {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.03em;
}
h1 em, h2 em, .display em, .statement em { font-style: normal; color: var(--red); }
h1, .h1 { font-size: clamp(2.6rem, 5.6vw, 5.4rem); }
h2, .h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
h3, .h3 { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
.display { font-size: clamp(4rem, 10vw, 10rem); line-height: 0.9; }

p { margin: 0 0 1em 0; }
p, li, .lead { text-wrap: pretty; }
strong { font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-text); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--red); margin: 0 0 1.2rem 0;
}
.eyebrow::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.section-label { display: flex; margin-bottom: clamp(1.6rem, 3vw, 2.2rem); font-size: 0.8rem; line-height: 1.4; letter-spacing: 0.12em; font-weight: 600; }
.page-hero h1.h1--long { font-size: clamp(2.3rem, 4.4vw, 4.3rem); }
.page-hero h1.h1--xlong { font-size: clamp(2.1rem, 3.6vw, 3.5rem); }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.6; font-weight: 400; color: var(--ink); max-width: 40em; }
.muted { color: var(--muted); }
.text-red { color: var(--red); }

/* ---- Boutons ---- */

.btn {
  --btn-bg: var(--ink); --btn-fg: var(--white); --btn-line: var(--btn-bg);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  /* contour en ombre intérieure (et non en bordure) : le fond qui monte au survol le recouvre sans liseré */
  padding: calc(0.95em + 1px) calc(1.6em + 1px); border-radius: 999px; border: 0; box-shadow: inset 0 0 0 1px var(--btn-line);
  background: var(--btn-bg); color: var(--btn-fg);
  font-family: var(--font-text); font-size: 0.92rem; font-weight: 500; line-height: 1.1; letter-spacing: 0.01em; text-decoration: none; white-space: nowrap;
  cursor: pointer; overflow: hidden; isolation: isolate;
  transition: color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: translateY(101%); border-radius: inherit; transition: transform 0.45s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--ink); }
.btn--red { --btn-bg: var(--red); transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.btn--red::before { display: none; }
.btn--red:hover { color: var(--white); background-color: var(--red-dark); --btn-line: var(--red-dark); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-line: var(--ink); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: var(--white); }
[data-theme="dark"] .btn--outline, .btn--outline-light { --btn-fg: var(--white); --btn-line: rgba(255,255,255,0.5); }
[data-theme="dark"] .btn--outline::before, .btn--outline-light::before { background: var(--white); }
[data-theme="dark"] .btn--outline:hover, .btn--outline-light:hover { color: var(--ink); }
.btn--small { padding: calc(0.7em + 1px) calc(1.2em + 1px); font-size: 0.85rem; }
.btn--large { padding: calc(1.15em + 1px) calc(2em + 1px); font-size: 1.05rem; }
.icon { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -0.2em; transition: transform 0.35s var(--ease); }
.btn:hover .icon--arrow-right, a:hover > .icon--arrow-right { transform: translateX(0.25rem); }
.btn:hover .icon--arrow-up-right, a:hover > .icon--arrow-up-right { transform: translate(0.15rem, -0.15rem); }
.chips a { display: inline-flex; align-items: center; gap: 0.4rem; }
.chips a:hover .icon--arrow-down { transform: translateY(0.15rem); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; transition: background-size 0.4s var(--ease);
}
.link-arrow::after {
  content: ""; width: 1.1em; height: 1.1em; flex: none; background: currentColor; transition: transform 0.35s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
}
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover::after { transform: translateX(0.3rem); }

/* ---- Logo ---- */

.logo, .site-footer__logo {
  display: inline-block; background-color: var(--red);
  -webkit-mask: url(../../images/mushroom.svg) no-repeat left center / contain;
  mask: url(../../images/mushroom.svg) no-repeat left center / contain;
  text-indent: -9999px; overflow: hidden; text-decoration: none;
}
.logo { width: 170px; height: 20px; transition: background-color 0.3s; }

/* ---- En-tête ---- */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  color: var(--ink); transition: background-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 2rem; }
.main-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.2rem); list-style: none; margin: 0; padding: 0; }
.main-nav a {
  position: relative; font-size: 0.92rem; font-weight: 400; text-decoration: none; padding: 0.4rem 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease);
}
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.site-header__actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; align-items: center; margin: 0; font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; }
.lang-switch > * { padding: 0.3rem 0.1rem; }
.lang-switch > * + *::before { content: "/"; margin: 0 0.45rem 0 0.35rem; opacity: 0.35; font-weight: 400; }
.lang-switch a { text-decoration: none; opacity: 0.5; transition: opacity 0.3s; }
.lang-switch a:hover { opacity: 1; }

.header-light .site-header { color: var(--white); }
.header-light .site-header .logo { background-color: var(--white); }
.site-header.is-scrolled { background: rgba(244, 243, 239, 0.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-light .site-header.is-scrolled .logo { background-color: var(--red); }
.site-header.is-hidden { transform: translateY(-100%); }

.burger { display: none; position: relative; width: 2.8rem; height: 2.8rem; border: 0; background: transparent; cursor: pointer; padding: 0; z-index: 120; }
.burger span:not(.visually-hidden) { position: absolute; left: 0.6rem; right: 0.6rem; height: 2px; background: currentColor; transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.burger span:nth-child(1) { top: 1.1rem; }
.burger span:nth-child(2) { top: 1.6rem; }
.menu-open .burger span:nth-child(1) { top: 1.35rem; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 1.35rem; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--white);
  display: flex; align-items: center; padding-top: var(--header-h);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li { overflow: hidden; }
.mobile-menu li a { display: block; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-decoration: none; padding: 0.1em 0; }
.mobile-menu__foot { margin-top: 2.5rem; color: rgba(255,255,255,0.6); font-size: 0.95rem; }
.mobile-menu__foot a { color: var(--white); }
.menu-open .site-header { color: var(--white); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu-open .site-header .logo { background-color: var(--white); }
.menu-open { overflow: hidden; }

/* ---- Sections ---- */

.section { padding: clamp(6rem, 12vw, 11rem) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tight:not([data-theme]):not(.section--white) + .section:not([data-theme]):not(.section--white) { padding-top: 0; }
.page-hero + .section--tight { padding-top: 0; }
.section--white { background: var(--white); }
[data-theme="dark"] { background: var(--ink); color: var(--white); }
[data-theme="dark"] .muted { color: rgba(255,255,255,0.62); }
[data-theme="dark"] .lead { color: var(--white); }

.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 2rem 5rem; align-items: start; margin-bottom: clamp(3rem, 6vw, 5.5rem); }
/* filet de séparation seulement entre deux sections de même fond (inutile après un changement de couleur) */
.section:not([data-theme]):not(.section--white) + .section:not([data-theme]):not(.section--white) > .container > .section-head:first-child,
.section--white + .section--white > .container > .section-head:first-child,
[data-theme="dark"] + [data-theme="dark"] > .container > .section-head:first-child { padding-top: 1.6rem; border-top: 1px solid var(--line); }
[data-theme="dark"] + [data-theme="dark"] > .container > .section-head:first-child { border-color: var(--line-light); }
.section-head--center { border-top: 0; padding-top: 0; }
.section-head > p:has(.link-arrow) { justify-self: end; }
.section-head h2 { margin: 0; }
.section-head > h2 { position: sticky; top: calc(var(--header-h) + 1.5rem); }
@media (max-width: 900px) { .section-head > h2 { position: static; } }
.section-head--center > h2 { position: static; }
.section-head > p, .section-head > div { padding-top: 0.6rem; }
.section-head p { margin: 0; color: var(--muted); max-width: 34em; }
[data-theme="dark"] .section-head p { color: rgba(255,255,255,0.62); }
.section-head--center { grid-template-columns: 1fr; text-align: center; justify-items: center; }

/* ---- Accueil : hero ---- */

.hero-home {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--ink); overflow: hidden; padding: calc(var(--header-h) + 3rem) 0 clamp(2.5rem, 5vw, 4rem) 0;
}
.hero-home__media { position: absolute; inset: 0; overflow: hidden; background: var(--ink) url(../../images/poster-home-desktop.jpg) no-repeat center / cover; }
.hero-home__media video, .hero-home__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-home__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero-home__media video.is-playing { opacity: 1; }
@media (max-width: 700px) { .hero-home__media { background-image: url(../../images/poster-home-mobile.jpg); } }

/* titres animés masqués jusqu'au départ de leur animation (évite le clignotement au chargement) */
.intro-pending .hero-home h1, .intro-pending .hero-home__bottom, .intro-pending .site-header__inner > *,
.intro-pending .page-hero h1, .intro-pending .page-hero .lead, .intro-pending .page-hero .eyebrow, .intro-pending .page-hero .breadcrumb { visibility: hidden; }
.hero-home__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,18,0.55) 0%, rgba(15,16,18,0.25) 40%, rgba(15,16,18,0.8) 100%); }
.hero-home__content { position: relative; z-index: 2; }
.hero-home h1 { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 0.98; letter-spacing: -0.04em; margin: 0 0 2.4rem 0; font-weight: 360; }
.hero-home h1 .line { display: block; }
/* chaque ligne du titre reste entière (Safari répartit parfois les lignes différemment de Chrome) */
.hero-home h1 { text-wrap: wrap; }
.hero-home h1 .line { white-space: nowrap; }
/* mobile : taille calée pour que « Talent management, » tienne en général sur une ligne ; graisse un peu plus forte */
@media (max-width: 699px) {
  .hero-home h1 { font-size: 10.4vw; font-weight: 480; letter-spacing: -0.035em; }
  .hero-home h1 .line { white-space: normal; }
}
.hero-home h1 .accent { color: var(--red); }
.hero-home__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; border-top: 1px solid var(--line-light); padding-top: 1.6rem; }
.hero-home__sectors { font-size: clamp(1rem, 1.4vw, 1.2rem); margin: 0; max-width: 32em; color: rgba(255,255,255,0.85); text-wrap: balance; }
.hero-home__actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.scroll-hint { position: absolute; right: var(--gutter); top: 50%; z-index: 2; writing-mode: vertical-rl; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 1rem; }
.scroll-hint::after { content: ""; width: 1px; height: 4rem; background: linear-gradient(rgba(255,255,255,0.8), transparent); animation: scroll-hint 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scroll-hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---- Grand texte révélé au défilement ---- */

.statement { font-family: var(--font-serif); font-size: clamp(1.8rem, 3.5vw, 3.3rem); line-height: 1.16; letter-spacing: -0.025em; font-weight: 300; margin: 0; max-width: 24em; }
.statement strong { color: var(--red); font-weight: 600; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); list-style: none; padding: 0; }
.pillars li { border-top: 1px solid var(--line); padding-top: 1.4rem; font-family: var(--font-display); font-size: clamp(1.05rem, 1.35vw, 1.2rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.01em; }
.pillars li span { display: block; font-family: var(--font-text); font-size: 0.8rem; color: var(--red); font-weight: 600; margin-bottom: 0.6rem; letter-spacing: 0.1em; }
.ai-note { margin-top: 2.5rem; max-width: 46em; color: var(--muted); }

/* ---- Offres : défilement horizontal ---- */

.offers { overflow: hidden; padding-top: clamp(4rem, 8vw, 7rem); }
@media (min-width: 901px) { .offers { padding-top: clamp(3rem, min(8vw, 11vh), 7rem); } }
.offers .section-head { margin-bottom: 2.5rem; }
.offers { overscroll-behavior-x: contain; }
.offers__nav { display: flex; align-items: center; gap: 0.6rem; margin: -1rem 0 2rem 0; }
.offers__progress { flex: 1; height: 1px; background: var(--line-light); position: relative; overflow: hidden; margin-right: 1rem; }
.offers__progress span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.offers__arrow {
  display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 50%;
  border: 0; box-shadow: inset 0 0 0 1px var(--line-light); background: transparent; color: var(--white); cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease), opacity 0.3s;
}
.offers__arrow:hover:not(:disabled) { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 1px var(--white); }
.offers__arrow:disabled { opacity: 0.3; cursor: default; }
.offers__arrow--prev .icon { transform: rotate(180deg); }
.offers__arrow .icon { width: 1.2rem; height: 1.2rem; }
@media (max-width: 900px) { .offers__nav { display: none; } }
.offers__track { display: flex; gap: clamp(1rem, 2vw, 1.75rem); padding: 0 var(--gutter); width: max-content; }
.offer-card {
  position: relative; width: min(86vw, 1180px); min-height: min(calc(100vh - 16rem), 520px); display: grid; grid-template-columns: 1.05fr 1fr;
  background: var(--ink-2); border-radius: var(--radius); overflow: hidden; color: var(--white); flex: none;
}
.offer-card__media { position: relative; overflow: hidden; }
.offer-card__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.offer-card__num { position: absolute; left: 1.5rem; top: 1.2rem; z-index: 2; font-family: var(--font-serif); font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 300; letter-spacing: -0.04em; line-height: 1; color: var(--white); text-shadow: 0 0.2em 1em rgba(0,0,0,0.35); }
.offer-card__body { padding: clamp(1.8rem, 3.2vw, 2.8rem); display: flex; flex-direction: column; }
.offer-card__body .btn { flex: none; margin-top: auto; }
.offer-card__body > p:last-of-type { margin-bottom: 2rem; }
.offer-card__body h3 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 1.2rem; }
.offer-card__body p { color: rgba(255,255,255,0.72); font-size: 0.97rem; line-height: 1.6; }
.offer-card__body .btn { margin-top: auto; align-self: flex-start; }
/* écrans peu hauts (portables) : l'en-tête et les cartes tiennent dans la hauteur visible */
@media (min-width: 901px) and (max-height: 860px) {
  .offers .section-head { margin-bottom: 1.8rem; }
  .offers__nav { margin: -0.6rem 0 1.4rem 0; }
  .offer-card { min-height: min(calc(100vh - 15rem), 500px); }
  .offer-card__body { padding: 2rem 2.2rem; }
  .offer-card__body h3 { margin-bottom: 1rem; }
  .offer-card__body p { font-size: 0.93rem; line-height: 1.55; }
  .offer-card__body > p:last-of-type { margin-bottom: 1.5rem; }
}

/* ---- Logos clients ---- */

.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 1rem; }
.marquee__track { display: flex; width: max-content; gap: 1rem; }
.marquee__item {
  flex: none; width: clamp(150px, 16vw, 220px); height: clamp(84px, 9vw, 116px); border-radius: var(--radius-small);
  background: var(--white); display: flex; align-items: center; justify-content: center; padding: 1.4rem 1.8rem;
}
.marquee__item img { max-width: 100%; object-fit: contain; filter: grayscale(1) opacity(0.75); transition: filter 0.4s; }
.marquee__item:hover img { filter: none; }

/* ---- Typologie de clients : onglets + grande image ---- */

.client-tabs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.client-tabs__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.client-tab { position: relative; border-bottom: 1px solid var(--line); }
.client-tab h3 { margin: 0; font-size: inherit; }
.client-tab__button {
  display: flex; align-items: baseline; gap: 1.4rem; width: 100%; padding: 1.7rem 0; border: 0; background: none; text-align: left; cursor: pointer;
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.4vw, 2.2rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.035em;
  color: rgba(15, 16, 18, 0.32); transition: color 0.4s var(--ease);
}
.client-tab__button:hover, .client-tab.is-active .client-tab__button { color: var(--ink); }
.client-tab__num { flex: none; width: 2.2rem; font-family: var(--font-text); font-size: 0.8rem; font-weight: 500; letter-spacing: 0.12em; color: var(--red); }
.client-tab__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.client-tab__panel > div { overflow: hidden; }
.client-tab__panel p { margin: 0; padding: 0 0 1.8rem 3.6rem; color: var(--muted); max-width: 30em; }
.client-tab.is-active .client-tab__panel { grid-template-rows: 1fr; }
.client-tab__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; }
.no-js .client-tab__panel { grid-template-rows: 1fr; }

.client-tabs__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--radius); overflow: hidden; background: var(--ink); }
.client-tabs__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 0.8s var(--ease), transform 1.6s var(--ease); }
.client-tabs__media img.is-active { opacity: 1; transform: scale(1); }

@media (max-width: 900px) {
  .client-tabs { grid-template-columns: minmax(0, 1fr); }
  .client-tabs__media { order: -1; aspect-ratio: 16 / 10; }
  .client-tab__panel p { padding-left: 0; }
}

/* ---- Chiffres ---- */

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
[data-theme="dark"] .stats { border-color: var(--line-light); }
.stat { padding: 2.2rem 1.5rem 0 0; border-right: 1px solid var(--line); margin-right: 1.8rem; }
[data-theme="dark"] .stat { border-color: var(--line-light); }
.stat:last-child { border-right: 0; margin-right: 0; }
.stat__num { display: block; font-family: var(--font-serif); font-size: clamp(2.8rem, 5.2vw, 5rem); font-weight: 300; line-height: 1; letter-spacing: -0.045em; margin-bottom: 0.8rem; white-space: nowrap; }
.stat__num sup { font-size: 0.45em; color: var(--red); vertical-align: top; margin-left: 0.05em; }
.stat__label { color: var(--muted); font-size: 1rem; }
[data-theme="dark"] .stat__label { color: rgba(255,255,255,0.65); }

/* ---- Cartes articles ---- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 3rem); }
.card { position: relative; display: flex; flex-direction: column; }
.card__media { position: relative; aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; background: #e2e0da; margin-bottom: 1.4rem; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__meta { font-size: 0.82rem; color: var(--muted); margin: 0 0 0.5rem 0; display: flex; gap: 0.8rem; flex-wrap: wrap; }
.card__meta .tag { color: var(--red); font-weight: 600; }
.card h2, .card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.28; letter-spacing: -0.015em; margin: 0 0 0.7rem 0; }
.card h2 a, .card h3 a { text-decoration: none; }
.card h2 a::after, .card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.card.is-hidden { display: none; }

/* ---- Filtres et recherche ---- */

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filters button {
  border: 1px solid var(--line); background: transparent; border-radius: 999px; padding: 0.55em 1.1em; font-size: 0.9rem; font-weight: 500; cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.filters button:hover { border-color: var(--ink); }
.filters button.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.search-field { position: relative; display: flex; min-width: min(100%, 340px); }
.search-field input {
  width: 100%; border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: 0.8em 3.2em 0.8em 1.2em; font: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.3s;
}
.search-field input:focus { border-color: var(--ink); }
.search-field button { position: absolute; right: 0.35rem; top: 50%; transform: translateY(-50%); width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 0; background: var(--ink); color: var(--white); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.load-more { text-align: center; margin-top: 3rem; }
.filters a {
  display: inline-flex; align-items: center; border-radius: 999px; padding: 0.55em 1.1em; font-size: 0.9rem; font-weight: 500; text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--line); transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.filters a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.filters a.is-active { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }

.pagination { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.pagination ol { display: flex; align-items: center; gap: 0.35rem; list-style: none; margin: 0; padding: 0; }
.pagination li > a, .pagination li > span, .pagination__arrow {
  display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 0.6rem;
  border-radius: 999px; text-decoration: none; font-size: 0.95rem; font-weight: 500; font-variant-numeric: tabular-nums;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.pagination li > a:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.pagination li > span[aria-current] { background: var(--ink); color: var(--white); }
.pagination__gap { min-width: 1.5rem; text-align: center; color: var(--muted); }
.pagination__arrow { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.pagination__arrow .icon { transform: rotate(180deg); }
.pagination__arrow--next .icon { transform: none; }
a.pagination__arrow:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.pagination__arrow.is-disabled { opacity: 0.3; }
@media (max-width: 640px) { .pagination li > a, .pagination li > span, .pagination__arrow { min-width: 2.4rem; height: 2.4rem; } }

/* ---- En-tête des pages intérieures ---- */

.page-hero { padding: calc(var(--header-h) + clamp(4rem, 9vw, 8rem)) 0 clamp(4rem, 8vw, 7rem) 0; position: relative; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 3.5vw, 3rem) clamp(2rem, 6vw, 7rem); }
.page-hero__grid > div { grid-column: 1 / -1; max-width: 72%; }
.page-hero__grid > div:has(h1.h1--long), .page-hero__grid > div:has(h1.h1--xlong) { max-width: 88%; }
.page-hero__grid > .lead { grid-column: 1 / -1; max-width: 46rem; }
.page-hero h1 { margin: 0; }
.page-hero .lead { margin: 0; text-wrap: balance; }
.page-hero--center { text-align: center; }
.page-hero--center .page-hero__grid { grid-template-columns: 1fr; justify-items: center; }
.breadcrumb { list-style: none; margin: 0 0 2rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

.page-hero__visual { margin-top: clamp(3rem, 6vw, 5rem); border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; position: relative; }
.page-hero__visual img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }

/* ---- Pastilles domaines ---- */

.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; list-style: none; margin: 0; padding: 0; }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: 0.55em 1.15em; font-family: var(--font-text); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.01em; background: transparent; transition: border-color 0.3s; }
.chips--big { gap: 0.6rem; }
.chips--big li { font-size: clamp(1rem, 1.3vw, 1.15rem); padding: 0.6em 1.35em; }

/* ---- Blocs image + texte ---- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split + .split { margin-top: clamp(4rem, 9vw, 8rem); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: #e2e0da; }
.split__media img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }
.split__media--group { aspect-ratio: 587 / 600; }
.split__media--group img { inset: 0; height: 100%; object-position: 50% 0%; }
.split__body h2, .split__body h3 { font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.06; margin-bottom: 1.4rem; }
.split__num { font-family: var(--font-text); font-weight: 500; color: var(--red); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; display: block; margin-bottom: 1rem; }

.list-check, .prose ul, .list-dash { list-style: none; margin: 1.2rem 0; padding: 0; }
.list-check li, .prose ul li, .list-dash li { position: relative; padding-left: 1.6rem; margin: 0.45rem 0; }
.list-check li::before, .prose ul li::before, .list-dash li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 0.7rem; height: 2px; background: var(--red); }
.prose ul ul { margin: 0.4rem 0; }

.interventions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.intervention { border-top: 1px solid var(--line); padding: 1.6rem 0 0 0; }
.intervention h3 { font-size: 1.15rem; margin: 0 0 0.6rem 0; color: var(--red); }
.intervention p { margin: 0; font-size: 0.97rem; color: var(--muted); }

/* ---- Raisons (3 cartes) ---- */

.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.reasons li { background: transparent; padding: clamp(1.6rem, 2.6vw, 2.2rem) clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1rem; }
.reasons li + li { border-left: 1px solid var(--line); }
.reasons li:first-child { padding-left: 0; }
.reasons li:last-child { padding-right: 0; }
.reasons li span { font-family: var(--font-text); font-size: 0.8rem; letter-spacing: 0.12em; color: var(--red); font-weight: 500; }
.reasons li p { font-family: var(--font-serif); font-size: clamp(1.35rem, 1.9vw, 1.75rem); font-weight: 400; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }

/* ---- Processus en étapes ---- */

.process { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 6vw, 6rem); }
.process__aside { position: relative; }
.process__sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.process__visual { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; margin-top: 2rem; background: #1f2024; }
.process__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.7s var(--ease), transform 1.2s var(--ease); transform: scale(1.06); }
.process__visual img.is-active { opacity: 1; transform: scale(1); }
.process__progress { height: 2px; background: var(--line-light); margin-top: 1.5rem; position: relative; overflow: hidden; }
.process__progress span { position: absolute; inset: 0; background: var(--red); transform-origin: left; transform: scaleX(0); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > .step { border-top: 1px solid var(--line); padding: clamp(2rem, 4vw, 3rem) 0; display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1rem; opacity: 0.35; transition: opacity 0.5s; }
[data-theme="dark"] .steps > .step { border-color: var(--line-light); }
.steps > .step.is-active, .no-js .steps > .step { opacity: 1; }
.step__num { font-family: var(--font-text); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.12em; line-height: 2; color: var(--red); }
.steps > .step h3 { margin-bottom: 0.8rem; }
.steps > .step p { margin: 0; color: var(--muted); }
[data-theme="dark"] .steps > .step p { color: rgba(255,255,255,0.7); }

/* ---- Accordéons (FAQ, ateliers) ---- */

.accordion { border-top: 1px solid var(--line); }
.accordion__item, article.FAQ { border-bottom: 1px solid var(--line); }
.accordion__item > h3, article.FAQ > h3 { margin: 0; font-size: clamp(1.15rem, 1.7vw, 1.45rem); }
.accordion__button, article.FAQ > h3 {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1.5rem; text-align: left;
  background: none; border: 0; padding: 1.6rem 0; cursor: pointer; font: inherit; font-family: var(--font-display); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em;
}
.accordion__button small { display: block; font-family: var(--font-text); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--red); margin-bottom: 0.4rem; }
.accordion__icon, article.FAQ > h3::after {
  flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: transform 0.5s var(--ease), background-color 0.3s;
}
article.FAQ > h3::after { content: "+"; display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 1.3rem; }
.accordion__icon::before, .accordion__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 0.8rem; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.accordion__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.5s var(--ease); }
.accordion__item.is-open .accordion__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.accordion__item.is-open .accordion__icon, article.FAQ.open > h3::after { background: var(--ink); color: var(--white); border-color: var(--ink); }
article.FAQ.open > h3::after { content: "−"; }
.accordion__panel, article.FAQ .reponse { overflow: hidden; overflow: clip; } /* clip : masque sans empêcher le sticky */
.js .accordion__item:not(.is-open) .accordion__panel, .js article.FAQ:not(.open) .reponse { height: 0; }
.accordion__content, article.FAQ .reponse > * { max-width: 52em; }
.accordion__content--media { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); column-gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.accordion__content--media > * { grid-column: 1; }
.accordion__content--media > .portrait-wide { grid-column: 2; grid-row: 1 / span 80; position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0.5rem 0 0 0; max-width: none; }
.accordion__content--media > .portrait-wide img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
/* cadrage des portraits des ateliers : on suit la position des personnes dans chaque photo */
.portrait-wide img[src*="elisa-christophe"] { object-position: 56% 25%; }
.accordion__content--media > .portrait-wide img[src*="elisa-christophe"] { aspect-ratio: 6 / 5; }
.portrait-wide img[src*="elisa-stoppa"] { object-position: 67% 20%; }
.portrait-wide img[src*="charlotte-marger"] { object-position: 29% 20%; }
.accordion__content { padding: 0 0 2rem 0; }
article.FAQ .reponse { padding: 0; }
article.FAQ .reponse > :last-child { margin-bottom: 2rem; }

/* ---- Offres coaching ---- */

.offer-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.offer-item { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.offer-item__media { aspect-ratio: 3 / 2; overflow: hidden; position: relative; }
.offer-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.offer-item:hover .offer-item__media img { transform: scale(1.05); }
.offer-item__body { padding: clamp(1.4rem, 2.5vw, 2rem); }
.offer-item__body h3 { font-size: clamp(1.25rem, 1.7vw, 1.5rem); margin-bottom: 0.8rem; }
.offer-item__body p { color: var(--muted); font-size: 0.98rem; }

.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.duo figure { margin: 0; }
.duo img, .portrait { border-radius: var(--radius-small); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.portrait { max-width: 420px; aspect-ratio: 4 / 3; margin: 1.5rem 0; }

.intro-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: 2.5rem; font-size: 1.1rem; }
.intro-text__badge { grid-column: 1 / -1; display: inline-flex; justify-self: start; background: var(--white); border-radius: 999px; padding: 0.7em 1.3em; font-size: 0.95rem; margin: 1rem 0 0 0; }
@media (max-width: 900px) { .intro-text { grid-template-columns: minmax(0, 1fr); } .intro-text__badge { display: block; border-radius: var(--radius-small); } }
.link-list { list-style: none; margin: 1.8rem 0 0 0; padding: 0; border-top: 1px solid var(--line); }
.link-list li { border-bottom: 1px solid var(--line); }
.link-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.25rem 1.5rem; align-items: center; padding: 1.1rem 0; text-decoration: none; }
.link-list__label { grid-column: 1; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); }
.link-list__title { grid-column: 1; font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; transition: color 0.3s var(--ease); }
.link-list .icon { grid-column: 2; grid-row: 1 / span 2; width: 1.3rem; height: 1.3rem; color: var(--muted); transition: transform 0.35s var(--ease), color 0.3s; }
.link-list a:hover .link-list__title { color: var(--red); }
.link-list a:hover .icon { color: var(--red); transform: translateY(0.2rem); }

.approach { background: var(--paper); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3rem); margin: 0 0 clamp(2.5rem, 5vw, 4rem) 0; }
.approach h3 { margin-bottom: 1rem; }
.approach p { max-width: 52em; }
.approach p:last-child { margin-bottom: 0; }
.chips a { text-decoration: none; }
.chips li:has(a):hover { border-color: var(--ink); }
.portrait-wide { margin: 1.5rem 0 2rem 0; max-width: 720px; }
.portrait-wide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-small); margin: 0; }

/* ---- Équipe ---- */

.team { display: grid; gap: clamp(4rem, 8vw, 7rem); }
.member { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.member:nth-child(even) { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.member:nth-child(even) .member__media { order: 2; }
.member__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: #e2e0da; }
.member__media img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.member h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 0.8rem; }
.member__role { font-weight: 600; color: var(--red); margin-bottom: 1.6rem; }
.member p { color: var(--muted); }
.member .btn { margin-top: 1rem; }

/* ---- Profils (tableau de chasse) ---- */

.profiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.profile {
  position: relative; background: var(--white); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.3rem; min-height: 16rem;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.profile:hover { transform: translateY(-4px); box-shadow: 0 1.5rem 3rem -1.5rem rgba(15,16,18,0.2); }
.profile__logo { height: 4rem; display: flex; align-items: center; margin-bottom: auto; padding-bottom: 1.8rem; box-sizing: content-box; }
.profile__logo img { max-width: 100%; object-fit: contain; }
.profile h3 { font-size: 1.15rem; margin: 0; }
.profile p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.profile a { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.85rem; font-weight: 500; color: var(--red); text-decoration: none; margin-top: 0.8rem; }
.profile a::after { content: ""; position: absolute; inset: 0; }
.profile.is-hidden { display: none; }

.examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.examples > div { background: var(--white); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem); }
.examples h2 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); margin-bottom: 0.8rem; color: var(--red); }
.examples p { margin: 0; }

.partners { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
.partners > span { display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2; padding: 1.5rem 2rem; background: var(--white); border-radius: var(--radius); }
.partners img { max-height: 3.6rem; max-width: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); transition: filter 0.4s; }
.partners > span:hover img { filter: none; }
@media (max-width: 900px) { .partners { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---- Contact ---- */

.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); }
.office { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 26rem; display: flex; align-items: flex-end; color: var(--white); background: var(--ink); }
.office img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.office:hover img { transform: scale(1.04); }
.office::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(15,16,18,0.88)); }
.office__body { position: relative; z-index: 2; padding: clamp(1.6rem, 3vw, 2.4rem); }
.office__body h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin-bottom: 0.8rem; }
.office__body p { margin: 0; color: rgba(255,255,255,0.85); }
.office__body a { color: var(--white); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 1.6rem; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; }
.field input[type="text"], .field input[type="email"], .field textarea {
  width: 100%; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); padding: 0.85rem 1rem; font: inherit; font-size: 1rem;
  outline: none; border-radius: var(--radius-small); transition: box-shadow 0.3s, background-color 0.3s;
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(15, 16, 18, 0.28); }
.field input:focus, .field textarea:focus { background: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink); }
.field.has-error input, .field.has-error textarea { box-shadow: inset 0 0 0 1.5px var(--red); }
.field__error { display: block; color: var(--red); font-size: 0.85rem; margin-top: 0.4rem; }
.field--file { border: 1px dashed var(--line); border-radius: var(--radius-small); padding: 1.2rem 1.4rem; }
.field--file small { display: block; color: var(--muted); font-size: 0.85rem; margin-bottom: 0.8rem; }
.checkbox { display: flex; gap: 0.8rem; align-items: flex-start; font-size: 0.95rem; }
.checkbox input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--red); flex: none; }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.form-message { margin: 0; font-size: 0.95rem; }
.form-message.is-error { color: var(--red); }
.form-success { text-align: center; padding: 3rem 1rem; }
.form-success h2 { margin-bottom: 0.8rem; }
.js-form.is-loading { opacity: 0.6; pointer-events: none; }

/* ---- Contenu éditorial (articles, pages légales, pages SEO) ---- */

.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * { max-width: 46rem; }
.prose h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.12; margin: 3.5rem 0 1.2rem 0; }
.prose h3 { font-size: clamp(1.45rem, 2vw, 1.8rem); line-height: 1.2; margin: 2.4rem 0 0.9rem 0; }
.prose h4 { font-size: clamp(1.2rem, 1.45vw, 1.35rem); line-height: 1.3; margin: 2.2rem 0 0.7rem 0; }
.prose h5 { font-size: 1.1rem; margin: 1.8rem 0 0.5rem 0; }
.prose h1 + p, .prose .main-title + p { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }
.prose a { color: var(--red); text-underline-offset: 0.2em; }
.prose img { border-radius: var(--radius-small); margin: 2rem 0; height: auto; }
.prose figure { margin: 2rem 0; }
.prose blockquote { margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: 2px solid var(--red); font-family: var(--font-display); font-size: 1.3rem; line-height: 1.4; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 0.6rem; text-align: left; }
.prose h1.main-title { display: none; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.article-aside { position: sticky; top: calc(var(--header-h) + 2rem); font-size: 0.92rem; }
.article-aside__title { font-weight: 600; margin: 0 0 1rem 0; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.toc { list-style: none; margin: 0 0 2.5rem 0; padding: 0; border-top: 1px solid var(--line); }
.toc li.toc-h2 { border-bottom: 1px solid var(--line); }
.toc li.toc-h2:has(+ li.toc-h3) { border-bottom: 0; }
.toc li.toc-h3:has(+ li.toc-h2), .toc li.toc-h3:last-child { border-bottom: 1px solid var(--line); padding-bottom: 0.5rem; }
.toc li a { display: flex; gap: 0.9rem; padding: 0.7rem 0; text-decoration: none; line-height: 1.35; color: var(--ink); transition: color 0.3s; }
.toc li a > span:last-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.toc li a:hover { color: var(--red); }
.toc__num { flex: none; width: 1.5rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; color: var(--red); padding-top: 0.2em; }
.toc li.toc-h3 a { padding: 0.25rem 0 0.25rem 2.4rem; font-size: 0.88em; color: var(--muted); }
.toc li.toc-h3 a:hover { color: var(--red); }

.share { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; }
.article-aside__share { margin-bottom: 2.5rem; }
.share a, .share button {
  display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; padding: 0;
  border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px var(--line); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.share a:hover, .share button:hover { background: var(--ink); color: var(--white); box-shadow: inset 0 0 0 1px var(--ink); }
.share .social-icon { width: 1.05rem; height: 1.05rem; }
.share .icon { width: 1.15rem; height: 1.15rem; }
.share .icon--check { display: none; }
.share button.is-copied { background: var(--red); color: var(--white); box-shadow: none; }
.share button.is-copied .icon--link { display: none; }
.share button.is-copied .icon--check { display: inline-block; }
.share button { position: relative; }
.share button::after {
  content: attr(data-copied); position: absolute; left: 50%; bottom: calc(100% + 0.6rem); transform: translate(-50%, 0.3rem);
  padding: 0.35em 0.7em; border-radius: 0.4rem; background: var(--ink); color: var(--white); font-size: 0.75rem; font-weight: 500; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.share button.is-copied::after { opacity: 1; transform: translate(-50%, 0); }

.article-cover { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 7; position: relative; background: #e2e0da; margin-bottom: clamp(3rem, 6vw, 5rem); }
.article-cover img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.article-date { color: var(--muted); font-size: 0.9rem; margin: clamp(1.4rem, 2.5vw, 2rem) 0 0 0; padding-top: 1rem; border-top: 1px solid var(--line); max-width: 46rem; }

/* Blocs générés des pages SEO */
.prose ul.cols { columns: 2; column-gap: 2.5rem; }
.prose ul.cols li { break-inside: avoid; margin: 0 0 0.35rem 0; }
.prose ul.cols3 { columns: 3; }
.prose h3.step { display: flex; align-items: center; gap: 0.9rem; }
.prose h3.step span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--red); color: var(--white); font-size: 0.9rem; }
.prose ul.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; border: 0; }
.prose ul.stats li { background: var(--white); border-radius: var(--radius-small); padding: 1.3rem 1.4rem; margin: 0; line-height: 1.3; }
.prose ul.stats li::before { display: none; }
.prose ul.stats span { display: block; font-size: 0.9rem; color: var(--muted); }
.prose ul.stats strong { display: block; font-family: var(--font-serif); font-size: 2.8rem; line-height: 1.1; color: var(--red); font-weight: 300; letter-spacing: -0.04em; }
.prose .job-card { background: var(--white); border-radius: var(--radius); padding: 0.4rem clamp(1.4rem, 3vw, 2.2rem) 1rem; margin: 1.2rem 0; }
.prose .job-card h3 { margin-top: 1.6rem; }
.prose .seo-cta {
  position: relative; overflow: hidden; background: radial-gradient(circle at 100% 0%, rgba(255,43,55,0.35) 0, rgba(255,43,55,0) 45%), var(--ink);
  color: rgba(255,255,255,0.86); border-radius: var(--radius); padding: 1.5rem clamp(1.5rem, 4vw, 3rem) 2rem; margin: 3.5rem 0;
}
.prose .seo-cta h2 { color: var(--white); margin-top: 1rem; }
.prose .seo-cta strong { color: var(--white); }
.prose .seo-cta p.buttons { margin: 1.5rem 0 0 0; }
.prose .seo-cta a.fill { display: inline-flex; background: var(--red); color: var(--white); border-radius: 999px; padding: 0.9em 1.6em; font-weight: 600; text-decoration: none; transition: background-color 0.3s, color 0.3s; }
.prose .seo-cta a.fill:hover { background: var(--red-dark); color: var(--white); }
.prose article.FAQ { max-width: 46rem; }
.prose article.FAQ .reponse p { margin-bottom: 1rem; }

/* ---- Pages SEO : sections rythmées ---- */

.seo-block__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.seo-block__title { position: sticky; top: calc(var(--header-h) + 1.5rem); margin: 0; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.08; }
.seo-block__body > :first-child { margin-top: 0; }
.seo-block__body > :last-child { margin-bottom: 0; }
.seo-block__body > * { max-width: 44rem; }
.seo-block__body--wide > * { max-width: none; }
.seo-block__body ul.classic:has(> li:nth-child(8)) { columns: 2; column-gap: 2.5rem; max-width: none; }
.seo-block__body ul.classic:has(> li:nth-child(8)) li { break-inside: avoid; }
@media (max-width: 640px) { .seo-block__body ul.classic:has(> li:nth-child(8)) { columns: 1; } }
.seo-intro .prose { font-size: 1.12rem; }

.seo-toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.seo-toc li { border-bottom: 1px solid var(--line); }
.seo-toc a { display: flex; gap: 1rem; padding: 0.75rem 0; text-decoration: none; font-size: 0.95rem; line-height: 1.35; transition: color 0.3s; }
.seo-toc a span { flex: none; width: 1.8rem; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; color: var(--red); padding-top: 0.15em; }
.seo-toc a:hover { color: var(--red); }

.seo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.seo-steps:has(> :nth-child(2):last-child), .seo-steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.seo-step ul.classic, .seo-step ul.classic.cols, .seo-step ul.classic.cols3 { columns: 1 !important; }
@media (max-width: 1100px) { .seo-steps, .seo-steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .seo-steps, .seo-steps:has(> :nth-child(2):last-child), .seo-steps:has(> :nth-child(4):last-child) { grid-template-columns: minmax(0, 1fr); } }
.seo-step { background: var(--ink-2); border: 1px solid var(--line-light); border-radius: var(--radius); padding: clamp(1.5rem, 2.5vw, 2rem); }
.seo-step h3 { margin-top: 0 !important; color: var(--white); font-size: clamp(1.2rem, 1.5vw, 1.4rem); }
.seo-step h3.step { display: block; }
.seo-step h3.step span { display: flex; margin-bottom: 1.2rem; }
.seo-step p, .seo-step li { color: rgba(255, 255, 255, 0.72); font-size: 0.98rem; }
[data-theme="dark"] .prose ul li::before { background: var(--red); }
[data-theme="dark"] .prose > p, [data-theme="dark"] .prose > ul li { color: rgba(255, 255, 255, 0.78); }

.seo-cta-band .prose > * { max-width: 52rem; }
.seo-cta-band h2 { font-size: clamp(2.3rem, 4.4vw, 4.2rem); font-weight: 300; letter-spacing: -0.035em; line-height: 1.04; margin: 0 0 1.5rem 0; color: var(--white); text-wrap: balance; }
.seo-cta-band p { color: rgba(255, 255, 255, 0.72); font-size: 1.1rem; }
.seo-cta-band p strong { color: var(--white); }
.seo-cta-band p.buttons { margin-top: 2rem; }
.seo-cta-band a.fill { display: inline-flex; background: var(--red); color: var(--white); border-radius: 999px; padding: 1em 1.8em; font-weight: 500; text-decoration: none; transition: background-color 0.35s var(--ease); }
.seo-cta-band a.fill:hover { background: var(--red-dark); }

@media (max-width: 900px) {
  .seo-block__grid { grid-template-columns: minmax(0, 1fr); }
  .seo-block__title { position: static; }
}

/* ---- Bandeau d'appel à l'action ---- */

.cta-band { padding: clamp(5rem, 10vw, 9rem) 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; background: radial-gradient(circle, rgba(255,43,55,0.28), transparent 60%); pointer-events: none; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); position: relative; }
.cta-band__title { font-family: var(--font-serif); font-size: clamp(2.3rem, 4.4vw, 4.2rem); line-height: 1.04; letter-spacing: -0.035em; font-weight: 300; margin: 0; text-wrap: balance; }
.cta-band__side { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; padding-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line-light); }
.cta-band__side p { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin: 0; max-width: 32em; }

/* ---- Pied de page ---- */

.site-footer { padding: clamp(4rem, 7vw, 6rem) 0 2rem 0; border-top: 1px solid var(--line-light); font-size: 0.95rem; }
.site-footer a { text-decoration: none; color: rgba(255,255,255,0.75); transition: color 0.3s; }
.site-footer a:hover { color: var(--white); }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 3rem; }
.site-footer__label { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.45); margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.55rem 0; }
.site-footer address { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; line-height: 1.6; }
.site-footer address strong { color: var(--white); }
.site-footer__newsletter p { color: rgba(255,255,255,0.75); max-width: 24rem; }
.newsletter-form__field { display: flex; border: 1px solid var(--line-light); border-radius: 999px; padding: 0.3rem; max-width: 26rem; }
.newsletter-form__field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); font: inherit; padding: 0 1rem; outline: none; }
.newsletter-form__field input::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form .form-message { margin-top: 0.8rem; color: rgba(255,255,255,0.75); }
.site-footer__logo { display: block; width: 100%; height: auto; aspect-ratio: 554 / 64; margin: clamp(4rem, 8vw, 7rem) 0 2rem 0; opacity: 0.25; transition: opacity 0.6s var(--ease); }
.site-footer__logo:hover { opacity: 0.35; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; color: rgba(255,255,255,0.5); font-size: 0.85rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.site-footer__bottom li { margin: 0; }
.socials { display: flex; gap: 1.2rem; }

/* ---- Page 404 ---- */

.error-page { min-height: 72vh; display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 4rem 0; }
.error-page .display { color: var(--red); }

@media (max-width: 900px) { .reasons li { padding-left: 0; padding-right: 0; } .reasons li + li { border-left: 0; border-top: 1px solid var(--line); } }

/* ---- Animations : états gérés par le JS ---- */

.split-line { overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
[data-parallax] { will-change: transform; }

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

@media (max-width: 1100px) {
  .main-nav, .site-header__cta { display: none; }
  .burger { display: block; }
  .profiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; max-height: none; order: -1; }
  .article-aside .toc { display: none; }
  .article-aside__title--toc { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .accordion__content--media { display: block; }
  .accordion__content--media > .portrait-wide { position: static; margin: 1.5rem 0 2rem 0; }
  .accordion__content--media > .portrait-wide img { aspect-ratio: 16 / 9; }
  .section-head, .page-hero__grid, .cta-band__inner, .split, .member, .member:nth-child(even), .process { grid-template-columns: minmax(0, 1fr); }
  .page-hero__grid > .lead { grid-column: 1; }
  .page-hero__grid > div, .page-hero__grid > div:has(h1.h1--long), .page-hero__grid > div:has(h1.h1--xlong) { max-width: none; }
  .split--reverse .split__media, .member:nth-child(even) .member__media { order: 0; }
  .cards, .offer-list, .reasons { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; margin-right: 0; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .offers__track { flex-direction: column; width: auto; }
  .offer-card { width: 100%; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .offer-card__media { aspect-ratio: 16 / 10; }
  .process__sticky { position: static; }
  .process__visual, .process__progress { display: none; }
  .steps > .step { opacity: 1; }
  .profiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples, .offices, .interventions, .duo { grid-template-columns: minmax(0, 1fr); }
  .scroll-hint { display: none; }
  .page-hero__visual { aspect-ratio: 16 / 10; }
  .article-cover { aspect-ratio: 16 / 10; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .logo { width: 140px; height: 17px; }
  .form { grid-template-columns: minmax(0, 1fr); }
  .profiles { grid-template-columns: minmax(0, 1fr); }
  .site-footer__top { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  [data-theme="dark"] .stat { border-color: var(--line-light); }
  .prose ul.cols, .prose ul.cols3 { columns: 1; }
  .hero-home__actions .btn { flex: 1; }

}

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