/* =========================================================================
   Colisée Family Office — feuille de style du site vitrine
   Charte : Gilda Display (titres) · Heebo (texte) · or #B38C3F → #FFD180
   ========================================================================= */

/* ---------- Polices (auto-hébergées) ---------- */
@font-face {
  font-family: "Gilda Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gilda-display-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Gilda Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/gilda-display-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/heebo-latin.woff2") format("woff2");
}

/* ---------- Jetons ---------- */
:root {
  --black: #000;
  --ink: #181818;
  --ink-2: #1c1c1c;
  --ink-3: #121212;
  --brown: #1f160e;
  --gold: #b38c3f;
  --gold-light: #ffd180;
  --gold-ink: #8a6a2b;          /* or assombri : lisible sur fond clair */
  --gold-soft: #d4ac62;
  --navy: #162a3a;
  --slate: #526979;
  --mist: #dbe4eb;
  --grey: #f1f1f1;
  --grey-2: #f7f7f7;
  --line: #e2e2e2;
  --text: #181818;
  --muted: #666;
  --white: #fff;
  --error: #b3261e;

  --grad-gold: linear-gradient(115deg, #b38c3f 0%, #b38c3f 48%, #ffd180 100%);
  --grad-gold-text: linear-gradient(100deg, #b38c3f 0%, #d9b46a 55%, #ffd180 100%);
  --arrow-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");

  --font-display: "Gilda Display", "Times New Roman", Georgia, serif;
  --font-body: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: clamp(20px, 4vw, 56px);
  --container: 1320px;
  --section-y: clamp(84px, 10vw, 150px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong { font-weight: 500; }
::selection { background: var(--gold); color: var(--white); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 200;
  padding: 10px 16px; background: var(--white); color: var(--black);
  transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }

.icon {
  width: 1.15em; height: 1.15em; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--gold { color: var(--gold); }

/* ---------- Typographie ---------- */
.h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 1.25rem + 3vw, 3.75rem);
  line-height: 1.07;
  letter-spacing: -.012em;
  max-width: 22ch;
  text-wrap: balance;
}
.h3 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.2rem + 1.1vw, 2.15rem);
  line-height: 1.15;
  text-wrap: balance;
}
.h4 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.15rem + .6vw, 1.75rem);
  line-height: 1.15;
  text-wrap: balance;
}
.h5 { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.lead { font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); color: var(--muted); max-width: 52ch; }
.lead--light { color: rgba(255, 255, 255, .7); }
.text-gold {
  background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--gold);
}
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
  font-size: .95rem; font-weight: 400;
  color: var(--gold-ink);
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.eyebrow--light { color: var(--gold-soft); }

/* ---------- Boutons ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .75em;
  padding: 1.05em 1.7em;
  font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  line-height: 1; white-space: nowrap;
  border: 1px solid transparent; border-radius: 0;
  transition: background-position .6s var(--ease), color .3s, background-color .3s, border-color .3s, transform .3s var(--ease);
}
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--gold {
  color: #0d0d0d;
  background: linear-gradient(115deg, #b38c3f 0%, #c9a159 35%, #ffd180 70%, #b38c3f 100%);
  background-size: 260% 100%;
  background-position: 0% 50%;
}
.btn--gold:hover { background-position: 100% 50%; }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .42); }
.btn--ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn--ghost-dark { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--ghost-dark:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: .8em 1.3em; font-size: .88rem; }
.btn--lg { padding: 1.2em 2.1em; }

/* Transitions entre pages (View Transitions API, sans effet si non supportée) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .7s var(--ease-out) .06s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }

/* =========================================================================
   En-tête
   ========================================================================= */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--white);
  transition: height .4s var(--ease), background-color .4s, transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
  view-transition-name: site-header;
}
.header.is-solid {
  --header-h: 70px;
  background: rgba(8, 8, 8, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-color: rgba(255, 255, 255, .07);
}
.header.is-hidden { transform: translateY(-100%); }
.header__progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--grad-gold); transform: scaleX(var(--progress, 0)); transform-origin: left;
  opacity: 0; transition: opacity .4s;
}
.header.is-solid .header__progress { opacity: 1; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo img { width: auto; height: 34px; transition: height .4s var(--ease); }
.header.is-solid .header__logo img { height: 30px; }
.nav { margin-left: auto; }
.nav__list { display: flex; gap: clamp(18px, 2vw, 34px); }
.nav__link {
  position: relative; display: block; padding: 8px 0;
  font-size: .92rem; font-weight: 400; letter-spacing: .01em;
  color: rgba(255, 255, 255, .78);
  transition: color .3s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--grad-gold); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger {
  display: none; position: relative; z-index: 2;
  width: 46px; height: 46px; margin-left: auto; margin-right: -10px;
  background: none; border: 0; padding: 0;
}
.burger__line {
  position: absolute; left: 11px; right: 11px; height: 1px; background: var(--white);
  transition: transform .5s var(--ease), top .5s var(--ease);
}
.burger__line:nth-of-type(2) { top: 19px; }
.burger__line:nth-of-type(3) { top: 27px; left: 19px; }
.burger[aria-expanded="true"] .burger__line:nth-of-type(2) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-of-type(3) { top: 23px; left: 11px; transform: rotate(-45deg); }

/* Menu mobile plein écran */
.menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px var(--gutter) 40px;
  background: radial-gradient(120% 70% at 100% 100%, rgba(179, 140, 63, .28), transparent 60%), #050505;
  color: var(--white);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease-out);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu__list li { overflow: hidden; }
.menu__list a {
  display: flex; align-items: baseline; gap: 18px; padding: 8px 0;
  font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3rem); line-height: 1.15;
  transform: translateY(110%); transition: transform .8s var(--ease-out), color .3s;
}
.menu__list a:hover { color: var(--gold-light); }
.menu.is-open .menu__list a { transform: none; }
.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .15s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .2s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .25s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .3s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .35s; }
.menu.is-open .menu__list li:nth-child(6) a { transition-delay: .4s; }
.menu.is-open .menu__list li:nth-child(7) a { transition-delay: .45s; }
.menu__foot { margin-top: auto; font-size: .72rem; letter-spacing: .1em; color: rgba(255, 255, 255, .45); }

/* =========================================================================
   Hero (animations 100 % CSS : aucun flash au chargement)
   ========================================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--white); background: var(--black);
  overflow: hidden;
}
.hero__media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%;
  animation: hero-zoom 2.8s var(--ease-out) both, hero-drift 26s ease-in-out 2.8s infinite alternate;
}
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .82) 0%, rgba(0, 0, 0, .55) 38%, rgba(0, 0, 0, .12) 75%, rgba(0, 0, 0, .2) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, 0) 48%),
    linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%);
}
.hero__content { padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(120px, 16vh, 170px); }
.hero__eyebrow { animation: rise 1s var(--ease-out) .25s both; }
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 1rem + 4.6vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.015em;
  margin-bottom: 30px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; animation: line-up 1.2s var(--ease-out) both; }
.hero__title .line:nth-child(1) > span { animation-delay: .35s; }
.hero__title .line:nth-child(2) > span { animation-delay: .47s; }
.hero__title .line:nth-child(3) > span { animation-delay: .59s; }
.hero__lead {
  max-width: 50ch; margin-bottom: 38px;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); color: rgba(255, 255, 255, .78);
  animation: rise 1s var(--ease-out) .8s both;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: rise 1s var(--ease-out) .95s both; }
.hero__bottom {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 28px;
  padding-bottom: 30px;
  animation: fade 1.2s ease 1.2s both;
}
.hero__rule { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(255, 209, 128, .55), rgba(255, 255, 255, .08)); }
.hero__proof { display: flex; gap: clamp(24px, 3.4vw, 56px); font-size: .74rem; letter-spacing: .04em; color: rgba(255, 255, 255, .6); }
.hero__proof strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; letter-spacing: 0; color: var(--white); }
.scroll-cue {
  display: flex; align-items: center; gap: 14px;
  font-size: .85rem; color: rgba(255, 255, 255, .7);
}
.scroll-cue__line { position: relative; width: 1px; height: 46px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.scroll-cue__line::after {
  content: ""; position: absolute; inset: 0; background: var(--gold-light);
  animation: scroll-cue 2.2s var(--ease) infinite;
}

@keyframes hero-zoom { from { transform: scale(1.14); opacity: 0; } 30% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
@keyframes hero-drift { from { transform: scale(1); } to { transform: scale(1.07) translate3d(-1%, -1.2%, 0); } }
@keyframes line-up { from { transform: translateY(108%); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes scroll-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =========================================================================
   Sections génériques
   ========================================================================= */
.section { position: relative; padding-block: var(--section-y); }
.section--grey { background: var(--grey); }
.section--dark { background: var(--ink); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section .h2 { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head--split .h2 { margin-bottom: 0; }

/* =========================================================================
   Manifeste
   ========================================================================= */
.manifesto { overflow: hidden; }
.manifesto__text {
  max-width: 24ch;
  font-family: var(--font-display); font-size: clamp(2.1rem, 1.1rem + 3.4vw, 4.6rem);
  line-height: 1.1; letter-spacing: -.014em; text-wrap: balance;
}
.manifesto__text em { font-style: normal; color: var(--gold-ink); }
/* La ponctuation reste collée au groupe doré, même une fois la phrase découpée en mots (manifesto.ts). */
.manifesto__text .nobr { white-space: nowrap; }
.manifesto__grid {
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr); gap: clamp(36px, 6vw, 110px); align-items: end;
  margin-top: clamp(64px, 8vw, 128px);
}
.manifesto__visual { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.manifesto__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 30%; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 5vw, 76px) clamp(28px, 4vw, 64px); }
.pillar { position: relative; padding-top: 28px; border-top: 1px solid var(--line); }
.pillar::before {
  content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px;
  background: var(--grad-gold);
}
.pillar__title { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); line-height: 1.12; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: .97rem; max-width: 36ch; }

/* =========================================================================
   Chiffres
   ========================================================================= */
.figures { background: radial-gradient(80% 60% at 100% 0%, rgba(179, 140, 63, .14), transparent 60%), var(--black); }
.figures__head { margin-bottom: clamp(44px, 6vw, 72px); }
.figures__head .h2 { margin-bottom: 0; }
.figures__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 48px 32px; }
.figure { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 26px; }
.figure--wide {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 56px; align-items: end;
  padding-bottom: 12px;
}
.figure--wide .figure__value { grid-row: 1 / 3; font-size: clamp(4.6rem, 2.6rem + 7vw, 9.5rem); line-height: .9; }
.figure--wide .figure__label { font-size: 1.25rem; }
.figure--wide .figure__note { max-width: 46ch; font-size: .95rem; }
.figure__value {
  font-family: var(--font-display); font-size: clamp(3rem, 2.1rem + 2.6vw, 4.4rem); line-height: 1;
  margin-bottom: 14px; font-variant-numeric: lining-nums;
  background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold);
}
.figure__value small { font-size: .5em; }
.figure__label { color: var(--white); font-weight: 400; }
.figure__note { margin-top: 8px; font-size: .86rem; color: rgba(255, 255, 255, .55); }
.innovation {
  display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center;
  margin-top: clamp(56px, 7vw, 90px); padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(90% 140% at 100% 100%, rgba(255, 209, 128, .9) 0%, rgba(255, 209, 128, 0) 55%),
    linear-gradient(140deg, #a8833a 0%, #b38c3f 60%);
}
.innovation .eyebrow { margin: 0; color: var(--white); }
.innovation__text { font-family: var(--font-display); font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.15rem); line-height: 1.2; }

/* =========================================================================
   Histoire
   ========================================================================= */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; }
.timeline::before { background: #d4d4d4; }
.timeline::after, .steps::after { background: var(--grad-gold); transform: scaleX(var(--line, 1)); transform-origin: left; }
.timeline__item { position: relative; padding-top: 44px; }
.timeline__item::before {
  content: ""; position: absolute; top: 0; left: 0; z-index: 1;
  width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--gold); background: var(--gold);
  transition: background-color .4s var(--ease);
}
[data-scroll-line="on"] .timeline__item:not(.is-reached)::before { background: var(--grey); }
.timeline__years { margin-bottom: 18px; font-family: var(--font-display); font-size: clamp(2.6rem, 1.8rem + 2vw, 3.8rem); line-height: 1; color: var(--gold-ink); }
.timeline__item--next .timeline__years {
  background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.timeline__title { margin-bottom: 10px; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.2; }
.timeline__item p:last-child { color: var(--muted); font-size: .93rem; }

/* =========================================================================
   Expertises
   ========================================================================= */
.expertises { padding-bottom: calc(var(--section-y) * .8); }
.expertises__track {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px;
  width: min(1600px, 100% - 2 * var(--gutter)); margin-inline: auto;
}
.expertises__intro {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; align-items: end;
  width: min(var(--container), 100%); margin: 0 auto clamp(48px, 6vw, 80px);
}
.expertises__intro .h2 { grid-row: span 2; margin: 0; }
.expertises__intro .btn { justify-self: start; }
.expertise {
  position: relative; min-width: 0; height: clamp(480px, 66vh, 660px); overflow: hidden;
  background: var(--brown);
}

/* Rail (ordinateur) : expertise-rail.ts pose data-rail et les attributs de scene.css / rail.css. */
.expertises[data-rail] { padding-block: 0; }
.expertises[data-rail] .expertises__track {
  align-items: center; gap: 8px; width: auto; margin: 0;
  padding: var(--header-h) var(--gutter) 0 max(var(--gutter), (100vw - var(--container)) / 2);
}
.expertises[data-rail] .expertises__intro { flex: 0 0 min(480px, 34vw); display: block; margin: 0 clamp(32px, 5vw, 96px) 0 0; }
.expertises[data-rail] .expertises__intro .lead { margin: 28px 0 40px; }
.expertises[data-rail] .expertise { flex: 0 0 clamp(340px, 28vw, 440px); height: min(72lvh, 680px); }
.expertise img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); filter: saturate(.92) brightness(.9);
  transition: transform 1.8s var(--ease-out), filter 1s;
}
.expertise:hover img { transform: scale(1); filter: saturate(1) brightness(1); }
.expertise::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .05) 0%, rgba(0, 0, 0, .25) 40%, rgba(0, 0, 0, .9) 78%, #000 100%);
}
.expertise__body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: clamp(24px, 2.4vw, 38px);
  transition: transform .8s var(--ease-out);
}
.expertise:hover .expertise__body { transform: translateY(-10px); }
.expertise__body .icon { width: 22px; height: 22px; margin-bottom: 18px; }
.expertise__title {
  min-height: 2.3em;
  font-family: var(--font-display); font-size: clamp(1.5rem, 1.15rem + .8vw, 1.95rem); line-height: 1.1;
  padding-bottom: 22px; margin-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .22);
  background: var(--grad-gold-text);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--gold);
}
.expertise__body p { max-width: 32ch; font-size: .9rem; line-height: 1.55; color: rgba(255, 255, 255, .85); }

.expertises__cta { display: flex; justify-content: center; margin-top: clamp(44px, 5vw, 72px); }
/* Sur ordinateur, la description se déploie au survol */
@media (hover: hover) and (min-width: 1181px) {
  .expertise__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .8s var(--ease-out), opacity .5s; }
  .expertise__more > p { overflow: hidden; }
  .expertise:hover .expertise__more,
  .expertises[data-rail] .expertise__more { grid-template-rows: 1fr; opacity: 1; }
}

/* =========================================================================
   Déléguer
   ========================================================================= */
.delegate {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(120px, 15vw, 220px); color: var(--white); background: var(--black);
}
.delegate__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.delegate__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.16); }
.delegate::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 70%),
    linear-gradient(180deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .92) 100%);
}
.delegate__quote {
  margin-bottom: clamp(64px, 9vw, 130px);
  font-family: var(--font-display); font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5.8rem);
  line-height: 1.03; letter-spacing: -.016em;
}
.delegate__points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.delegate__points li { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, .24); }
.delegate__title { margin-bottom: 10px; font-family: var(--font-display); font-size: clamp(1.45rem, 1.2rem + .6vw, 1.85rem); line-height: 1.15; }
.delegate__points p { color: rgba(255, 255, 255, .74); font-size: .95rem; }

/* =========================================================================
   Démarrage de la relation
   ========================================================================= */
.onboarding { background: radial-gradient(70% 60% at 0% 100%, rgba(179, 140, 63, .16), transparent 60%), var(--black); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 72px); }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; }
.steps::before { background: rgba(255, 255, 255, .14); }
.step { position: relative; padding-top: 44px; }
.step::before {
  content: ""; position: absolute; top: 0; left: 0; z-index: 1;
  width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--gold); background: var(--gold);
  transition: background-color .4s var(--ease);
}
[data-scroll-line="on"] .step:not(.is-reached)::before { background: var(--black); }
.step__when { margin-bottom: 26px; font-size: .9rem; font-weight: 400; color: var(--gold-soft); }
.step__num {
  display: block; margin-bottom: 22px;
  font-family: var(--font-display); font-size: clamp(4.6rem, 3rem + 4.4vw, 8rem); line-height: .85;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 209, 128, .6);
}
.step__title { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); line-height: 1.1; }
.step p:last-child { max-width: 38ch; color: rgba(255, 255, 255, .72); font-size: .97rem; }

/* =========================================================================
   International
   ========================================================================= */
.world { padding-bottom: 0; overflow: hidden; }
.world__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: clamp(24px, 4vw, 64px);
  padding-left: max(var(--gutter), (100% - var(--container)) / 2);
}
.world__text { padding-bottom: var(--section-y); }
.world__text .h2 { margin-bottom: 28px; }
.features { display: grid; gap: 18px; margin: 36px 0; }
.features li { display: flex; align-items: center; gap: 16px; font-weight: 400; }
.features .icon { width: 30px; height: 30px; }
.world__map { position: relative; align-self: end; }
.world__map img {
  width: 100%; mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
}
.pin {
  position: absolute; z-index: 1;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
  transition: transform .7s var(--ease-out);
}
@media (prefers-reduced-motion: no-preference) {
  html[data-animation="on"]:not([data-animation-failsafe]) .world__map:not([data-reveal-state="shown"]) .pin { transform: scale(0); }
}
.pin::before {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px solid var(--gold);
  opacity: 0; animation: pulse 2.6s var(--ease) infinite;
}
.pin > span {
  position: absolute; left: 50%; bottom: calc(100% + 10px);
  padding: 5px 10px; white-space: nowrap;
  font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  background: var(--black); color: var(--white);
  transform: translate(-50%, 6px); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s var(--ease);
}
.pin:hover > span, .pin--hq > span { opacity: 1; transform: translate(-50%, 0); }
.pin--hq { width: 20px; height: 20px; margin: -10px 0 0 -10px; background: var(--black); box-shadow: 0 0 0 3px var(--gold-light); }
.pin--hq::before { border-color: var(--black); }
.pin--fr { left: 29.3%; top: 40.8%; }
.pin--be { left: 31.3%; top: 32%; transition-delay: .1s; }
.pin--lu { left: 33.6%; top: 34.9%; transition-delay: .15s; }
.pin--it { left: 40.6%; top: 45.3%; transition-delay: .2s; }
.pin--es { left: 21.6%; top: 47.3%; transition-delay: .25s; }
.pin--pt { left: 16.8%; top: 51.7%; transition-delay: .3s; }
.pin--ma { left: 17%; top: 63.2%; transition-delay: .35s; }
.pin--il { left: 66.3%; top: 63.8%; transition-delay: .4s; }
.pin--ae { left: 88.7%; top: 74.6%; transition-delay: .45s; }
.pin--be::before { animation-delay: .4s; } .pin--it::before { animation-delay: .8s; } .pin--es::before { animation-delay: 1.2s; }
.pin--ma::before { animation-delay: 1.6s; } .pin--il::before { animation-delay: 2s; } .pin--ae::before { animation-delay: .6s; }
@keyframes pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.8); opacity: 0; } }

/* =========================================================================
   Honoraires
   ========================================================================= */
.fees__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fee-card { padding: clamp(30px, 3.6vw, 52px); background: var(--grey-2); }
.fee-card > .icon { width: 30px; height: 30px; margin-bottom: 30px; }
.fee-card__title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.1vw, 2.4rem); line-height: 1.1; color: var(--gold-ink); margin-bottom: 22px; }
.arrows li {
  position: relative; padding: 16px 0 16px 36px; border-top: 1px solid var(--line); font-weight: 400; font-size: .95rem;
}
.arrows li::before {
  content: ""; position: absolute; left: 0; top: calc(16px + .8em); width: 18px; height: 1px; background: var(--gold);
}
.missions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.mission {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(30px, 3.4vw, 48px); background: var(--black); color: var(--white);
}
.mission > .icon { width: 28px; height: 28px; margin-bottom: 34px; color: var(--gold-light); }
.mission__title { margin-bottom: 14px; font-family: var(--font-display); font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); line-height: 1.1; }
.mission__rule { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .16); font-weight: 400; color: var(--gold-light); }
.mission p:last-child { color: rgba(255, 255, 255, .66); font-size: .93rem; }

/* =========================================================================
   FAQ
   ========================================================================= */
.faq__inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__inner .h2 { margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.2rem, 1.05rem + .45vw, 1.45rem); line-height: 1.25;
  transition: color .3s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--gold-ink); }
.faq__item summary .icon { width: 22px; height: 22px; color: var(--gold); transition: transform .5s var(--ease-out); }
.faq__item[open] summary .icon { transform: rotate(45deg); }
.faq__answer { overflow: hidden; }
.faq__answer p { padding-bottom: 28px; max-width: 70ch; color: var(--muted); }

/* =========================================================================
   Contact
   ========================================================================= */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); background: var(--white); }
.contact__aside { position: relative; overflow: hidden; color: var(--white); background: var(--black); display: flex; }
.contact__aside > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.16); }
.assurances { display: grid; gap: 14px; margin-top: 40px; }
.assurances li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .88); }
.assurances .icon { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--grad-gold); color: #0d0d0d; stroke-width: 2.6; }
.contact__aside::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, .94) 100%);
}
.contact__aside-body {
  position: relative; z-index: 2; display: flex; flex-direction: column;
  width: 100%; padding: var(--section-y) clamp(28px, 5vw, 80px) clamp(48px, 6vw, 80px) max(var(--gutter), (100vw - var(--container)) / 2);
}
.contact__aside .h2 { margin-bottom: 22px; }

.contact__form-wrap { position: relative; padding: var(--section-y) max(var(--gutter), (100vw - var(--container)) / 2) var(--section-y) clamp(28px, 5vw, 88px); }
.form { display: grid; gap: 34px; max-width: 760px; }
.form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__legend { padding: 0; margin-bottom: 14px; font-size: .95rem; font-weight: 500; color: var(--ink); }
.form__hint { font-weight: 300; color: var(--muted); }
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input, .chip input, .consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span {
  display: flex; align-items: center; gap: 12px; height: 100%;
  padding: 15px 16px; border: 1px solid var(--line); background: var(--white);
  font-size: .93rem; font-weight: 400; line-height: 1.3;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.choice span::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%;
  border: 1px solid #bdbdbd; transition: border .3s, background-color .3s, box-shadow .3s;
}
.choice:hover span { border-color: #c9c9c9; }
.choice input:checked + span { border-color: var(--gold); background: #fbf6ec; }
.choice input:checked + span::before { border-color: var(--gold); background: var(--gold); box-shadow: inset 0 0 0 3px #fbf6ec; }
.choice input:focus-visible + span, .chip input:focus-visible + span, .consent input:focus-visible + .consent__box { outline: 2px solid var(--gold); outline-offset: 2px; }

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 36px; }
.field { position: relative; }
.field__input {
  display: block; width: 100%;
  padding: 24px 0 10px; border: 0; border-bottom: 1px solid #cdcdcd; border-radius: 0;
  background: var(--grad-gold) left bottom / 0% 2px no-repeat; outline: none;
  font-size: 1.02rem; font-weight: 400; color: var(--ink);
  transition: border-color .3s, background-size .6s var(--ease-out);
}
.field__input:focus { background-size: 100% 2px; border-bottom-color: transparent; }
.field__input:focus-visible { outline: none; }
textarea.field__input { resize: vertical; min-height: 150px; line-height: 1.55; }
.field__label {
  position: absolute; left: 0; top: 24px; pointer-events: none;
  font-size: 1.02rem; color: #808080;
  transform-origin: left top; transition: transform .4s var(--ease-out), color .3s, letter-spacing .4s;
}
.field__input:focus + .field__label, .field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-24px) scale(.72); color: var(--gold-ink); letter-spacing: .06em;
}
.field__count { position: absolute; right: 0; bottom: -24px; font-size: .74rem; color: #9a9a9a; }
.field.has-error .field__input { border-bottom-color: var(--error); }
.form__error { margin-top: 6px; min-height: 0; font-size: .8rem; color: var(--error); font-weight: 400; }
.form__error:empty { display: none; }
.form__group.has-error .choice span { border-color: rgba(179, 38, 30, .45); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border: 1px solid var(--line);
  font-size: .86rem; font-weight: 400;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip span::before { content: "+"; color: var(--gold); transition: transform .3s; }
.chip:hover span { border-color: #c9c9c9; }
.chip input:checked + span { background: var(--ink); color: var(--gold-light); border-color: var(--ink); }
.chip input:checked + span::before { content: "✓"; }

.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.consent__label { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; font-size: .88rem; color: var(--muted); }
.consent__label a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.consent__box {
  display: grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px;
  border: 1px solid #bdbdbd; background: var(--white); transition: background-color .3s, border-color .3s;
}
.consent__box .icon { width: 14px; height: 14px; stroke-width: 2.6; color: #0d0d0d; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .4s var(--ease-out); }
.consent input:checked + .consent__box { background: var(--grad-gold); border-color: var(--gold); }
.consent input:checked + .consent__box .icon { opacity: 1; transform: none; }
.consent.has-error .consent__box { border-color: var(--error); }

.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.form__status { font-size: .9rem; font-weight: 400; }
.form__status.is-error { color: var(--error); }
.btn__spinner {
  position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px;
  border: 2px solid rgba(0, 0, 0, .2); border-top-color: #0d0d0d; border-radius: 50%;
  opacity: 0; animation: spin .8s linear infinite;
}
.is-loading .btn__label, .is-loading > .icon { opacity: 0; }
.is-loading .btn__spinner { opacity: 1; }
.btn[disabled] { cursor: progress; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 560px;
  padding-top: 40px; outline: none;
  animation: rise .9s var(--ease-out) both;
}
.form-success[hidden] { display: none; }
.form-success p { color: var(--muted); margin-bottom: 12px; }
.form-success__icon {
  display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--grad-gold); color: #0d0d0d;
  animation: pop .8s var(--ease-out) both;
}
.form-success__icon .icon { width: 32px; height: 32px; stroke-width: 2; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s var(--ease-out) .35s forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* =========================================================================
   Pied de page
   ========================================================================= */
.footer { padding: clamp(56px, 7vw, 90px) 0 36px; background: var(--black); color: rgba(255, 255, 255, .7); font-size: .92rem; }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand { max-width: 380px; }
.footer__brand img { width: 230px; height: auto; margin-bottom: 20px; }
.footer__nav { display: flex; gap: clamp(40px, 7vw, 110px); }
.footer__nav li { padding: 4px 0; }
.footer__nav a { transition: color .3s; }
.footer__nav a:hover { color: var(--gold-light); }
.footer__legal { display: grid; gap: 14px; padding-top: 28px; font-size: .78rem; color: rgba(255, 255, 255, .45); }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.footer__links a:hover { color: var(--gold-light); }

/* =========================================================================
   Pages légales / 404
   ========================================================================= */
.header__inner > .btn:last-child { margin-left: auto; }
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(60px, 9vw, 120px)) 0 clamp(48px, 6vw, 80px); background: var(--black); color: var(--white); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 90% at 100% 0%, rgba(179, 140, 63, .25), transparent 60%); pointer-events: none; }
.page-hero .h2 { max-width: none; }
.prose { max-width: 780px; padding-block: clamp(56px, 7vw, 100px); }
.prose h2 { font-family: var(--font-display); font-size: 1.7rem; margin: 2.2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #444; margin-bottom: 1em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose .todo { background: #fbf1dc; padding: 0 .3em; }
.not-found { min-height: 100svh; display: grid; place-items: center; text-align: center; }
.not-found .h2 { margin: 0 auto 24px; }
.not-found .eyebrow { justify-content: center; }
.not-found p.lead { margin: 0 auto 36px; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }

  .expertises__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .expertises__intro { grid-template-columns: 1fr; }
  .expertises__intro .h2 { grid-row: auto; }
  .expertise { height: clamp(380px, 50vw, 480px); }
  .expertise:last-child { grid-column: 1 / -1; }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .timeline::before, .timeline::after { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .section-head--split { grid-template-columns: 1fr; align-items: start; gap: 24px; }

  .manifesto__grid { grid-template-columns: 1fr; }
  .manifesto__visual { aspect-ratio: 16 / 10; }

  .figures__grid { grid-template-columns: repeat(3, 1fr); }
  .figure--wide { grid-template-columns: 1fr; }
  .figure--wide .figure__value { grid-row: auto; }
  .innovation { grid-template-columns: 1fr; gap: 16px; }

  /* Frises verticales : la ligne dorée descend le long des étapes */
  .timeline, .steps { grid-template-columns: 1fr; gap: 44px; }
  .timeline::before, .timeline::after, .steps::before, .steps::after {
    display: block; left: 7px; right: auto; top: 8px; bottom: 0; width: 1px; height: auto;
  }
  .timeline::after, .steps::after { transform: scaleY(var(--line, 1)); transform-origin: top; }
  .timeline__item, .step { padding: 0 0 0 46px; }
  .timeline__item::before, .step::before { top: 8px; }

  .delegate__points { grid-template-columns: 1fr; }

  .world__inner { grid-template-columns: 1fr; padding-right: var(--gutter); }
  .world__text { padding-bottom: 0; }

  .fees__pair, .missions { grid-template-columns: 1fr; }

  .faq__inner { grid-template-columns: 1fr; }

  .contact { grid-template-columns: 1fr; }
  .contact__aside-body { padding: var(--section-y) var(--gutter) 56px; }
  .contact__form-wrap { padding: 64px var(--gutter) var(--section-y); }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(2.3rem, 1rem + 7vw, 3.1rem); }
  .hero__bottom { gap: 16px; }
  .hero__proof { display: none; }
  .hero__actions .btn { flex: 1 1 auto; }

  .pillars, .figures__grid, .form__grid, .choices, .expertises__track { grid-template-columns: 1fr; }
  .figures__grid { gap: 32px; }
  .expertise { height: 360px; }
  .footer__nav { gap: 48px; }
  .pin > span { display: none; }
}

/* ---------- Préférence « réduire les animations » ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  .pin::before { display: none; }
  @view-transition { navigation: none; }
}
