/* ═══════════════════════════════════════════════════════════
   ACTION ENTREPRISES — feuille de style v4 « galerie sombre »
   Fond noir, texte blanc, gris brouillard pour le secondaire,
   filets fins, angles droits, aucune ombre.
   Une seule couleur de signal, l'écarlate, utilisée comme un point.
   Police : Inter (300 et 400 uniquement).
   ═══════════════════════════════════════════════════════════ */

:root {
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  /* couleurs du logo : orange #ff7900, orange clair #ff9536, gris #686868 */
  --bg: #ffffff;
  --bg-1: #f7f4f0;      /* crème chaud */
  --bg-2: #fff3e6;      /* voile orangé */
  --fg: #262626;        /* anthracite */
  --mute: #686868;      /* gris du logo */
  --line: #dedad4;
  --ink: #2f2f2e;       /* panneau anthracite */
  --sig: #ff7900;       /* orange du logo : points, aplats, carte */
  --sig-2: #ff9536;
  --sig-d: #e36d00;     /* orange lisible pour les grands titres */
  --sig-ink: #b85500;   /* orange lisible pour le petit texte */
  --spectrum: linear-gradient(90deg, #ffe0bd 0%, #ffbd78 25%, #ff9536 50%, #ff7900 70%, #e36d00 85%, #686868 100%);
  --hdr: 56px;
  --gut: clamp(16px, 2.6vw, 40px);
  --gap: 16px;
  --sec: clamp(80px, 9vw, 128px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --ease-spring: cubic-bezier(.34, 1.45, .64, 1);
  color-scheme: light;
}

/* ─── base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 24px); background: var(--bg); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-weight: 400; font-size: 16px; line-height: 1.45; letter-spacing: -.01em; color: var(--fg); background: var(--bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; border-radius: 0; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 300; }
ul, ol { padding: 0; list-style: none; }
b, strong { font-weight: 400; color: var(--fg); }
address { font-style: normal; }
::selection { background: var(--sig); color: #fff; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--fg); color: var(--bg); padding: 10px 16px; }
.skip:focus { top: 16px; }
.nowrap { white-space: nowrap; }
.mt-s { margin-top: 16px; }
.mt-m { margin-top: 32px; }
.mt-l { margin-top: clamp(40px, 6vw, 96px); }

/* ─── typographie ─── */
.wrap { padding-inline: var(--gut); }
.xl { font-size: clamp(50px, 9vw, 148px); font-weight: 300; line-height: .94; letter-spacing: -.045em; }
.h1, .h2 { font-size: clamp(40px, 5.6vw, 80px); font-weight: 300; line-height: 1; letter-spacing: -.03em; }
.h3 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.13; letter-spacing: -.015em; }
.h4 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 300; line-height: 1.05; letter-spacing: -.02em; }
.hl { color: var(--sig-d); }
.lead { font-size: clamp(19px, 1.65vw, 24px); font-weight: 300; line-height: 1.2; letter-spacing: -.015em; max-width: 36ch; }
.muted { color: var(--mute); }
.label { font-size: 15px; line-height: 1.3; color: var(--mute); }
.eyebrow { font-size: 15px; line-height: 1.3; color: var(--mute); }
.small { font-size: 14px; }

/* ─── sections ─── */
.sec { position: relative; padding-block: var(--sec); }
.sec--tight { padding-block: clamp(56px, 6vw, 88px); }
.sec--line { border-top: 1px solid var(--line); }
.sh { display: grid; gap: 16px; margin-bottom: clamp(40px, 6vw, 96px); }
.sh__label { font-size: 15px; color: var(--mute); }
.sh .lead { color: var(--mute); }
@media (min-width: 900px) {
  .sh { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .sh > .sh__label { grid-column: 1 / 4; padding-top: .55em; }
  .sh .h2 { grid-column: 4 / 13; }
  .sh .lead { grid-column: 4 / 10; margin-top: 8px; }
}
.cols { display: grid; gap: 32px; }
@media (min-width: 900px) { .cols { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); } }

/* ─── liens à point (le point est le bouton) ─── */
.dl { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.25; padding-block: 6px; color: var(--fg); }
.dl i { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); flex: none; transition: transform .45s var(--ease-spring); }
.dl span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 1px; transition: background-size .55s var(--ease-out); }
.dl:hover i { transform: scale(1.9); }
.dl:hover span { background-size: 100% 1px; }
.dl--ghost i { background: transparent; box-shadow: inset 0 0 0 1px var(--mute); }
.dl--ghost:hover i { background: var(--sig); box-shadow: none; }
.dl--lg { font-size: clamp(20px, 2vw, 28px); font-weight: 300; gap: 14px; letter-spacing: -.02em; }
.dl--lg i { width: 9px; height: 9px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.btn { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(20px, 2vw, 26px); font-weight: 300; letter-spacing: -.02em; padding: 14px 0; color: var(--fg); border-bottom: 1px solid var(--line); transition: border-color .4s, opacity .3s; }
.btn i { width: 9px; height: 9px; border-radius: 50%; background: var(--sig); transition: transform .45s var(--ease-spring); }
.btn:hover { border-color: var(--fg); }
.btn:hover i { transform: scale(1.8); }

/* ═══════════ VOILE DE TRANSITION ═══════════ */
.veil { position: fixed; inset: 0; z-index: 200; background: var(--bg); display: grid; place-items: center; pointer-events: none; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io); }
.veil__in { display: flex; align-items: center; gap: 12px; font-size: 16px; transition: opacity .35s, transform .7s var(--ease-out); }
.veil__in i { width: 8px; height: 8px; border-radius: 50%; background: var(--sig); animation: blink 1s var(--ease) infinite alternate; }
.veil__line { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--sig); transform-origin: 0 50%; animation: load 1.2s var(--ease-out) forwards; }
.is-loaded .veil { clip-path: inset(0 0 100% 0); }
.is-loaded .veil__in { opacity: 0; transform: translateY(-30px); }
.is-leaving .veil { clip-path: inset(0 0 0 0); transition-duration: .65s; }
.is-leaving .veil__in { opacity: 1; transform: none; transition-delay: .25s; }
.is-leaving main { opacity: .35; transition: opacity .5s; }
@keyframes blink { to { opacity: .25; } }
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ═══════════ EN-TÊTE ═══════════ */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--hdr); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-inline: var(--gut); transition: transform .55s var(--ease-out), background-color .4s; }
.hdr.is-solid { background: rgba(255, 255, 255, .9); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hdr.is-hidden { transform: translateY(-100%); }
.menu-open .hdr { background: transparent; backdrop-filter: none; transform: none; }
.hdr__progress { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--sig); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); opacity: .9; }
.hdr__brand { justify-self: start; display: inline-flex; align-items: center; gap: 10px; font-size: 16px; white-space: nowrap; }
.hdr__mark { width: 30px; height: 30px; background: #fff; display: grid; place-items: center; flex: none; }
.hdr__mark img { width: 24px; height: 24px; object-fit: contain; transition: transform .7s var(--ease-spring); }
.hdr__brand:hover .hdr__mark img { transform: rotate(-14deg) scale(1.12); }
.hdr__clock { justify-self: center; display: none; color: var(--mute); font-size: 16px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hdr__right { justify-self: end; display: flex; align-items: center; gap: 22px; }
.hdr__nav { display: none; gap: 22px; }
.hdr__link { position: relative; font-size: 16px; white-space: nowrap; transition: color .3s; }
.hdr__link::before { content: ''; position: absolute; left: -11px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--sig); transform: scale(0); transition: transform .45s var(--ease-spring); }
.hdr__link[aria-current="page"]::before { transform: scale(1); }
.hdr__nav:hover .hdr__link { color: var(--mute); }
.hdr__nav .hdr__link:hover { color: var(--fg); }
.hdr__burger { width: 32px; height: 32px; display: grid; grid-template-columns: repeat(2, 8px); gap: 4px; place-content: center; transition: transform .7s var(--ease-out); }
.hdr__burger i { width: 8px; height: 8px; background: var(--fg); transition: transform .6s var(--ease-out), background-color .3s; }
.hdr__burger:hover i:nth-child(1) { transform: translate(-2px, -2px); }
.hdr__burger:hover i:nth-child(2) { transform: translate(2px, -2px); }
.hdr__burger:hover i:nth-child(3) { transform: translate(-2px, 2px); }
.hdr__burger:hover i:nth-child(4) { transform: translate(2px, 2px); }
.menu-open .hdr__burger { transform: rotate(45deg); }
.menu-open .hdr__burger i:nth-child(1) { transform: translate(6px, 6px); }
.menu-open .hdr__burger i:nth-child(4) { transform: translate(-6px, -6px); }
.menu-open .hdr__burger i:nth-child(2), .menu-open .hdr__burger i:nth-child(3) { background: var(--sig); }
@media (min-width: 760px) { .hdr__clock { display: block; } }
@media (min-width: 1040px) { .hdr__nav { display: flex; } }

/* ─── menu plein écran ─── */
.menu { position: fixed; inset: 0; z-index: 85; background: var(--bg); display: grid; grid-template-rows: 1fr auto; gap: 24px; padding: calc(var(--hdr) + 24px) var(--gut) 20px; clip-path: inset(0 0 100% 0); transition: clip-path .85s var(--ease-io); overflow-y: auto; }
.menu-open .menu { clip-path: inset(0 0 0 0); }
.menu-open { overflow: hidden; }
.menu__grid { display: grid; gap: 32px; align-content: center; }
@media (min-width: 960px) { .menu__grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: var(--gap); } }
.menu__list { display: grid; border-top: 1px solid var(--line); }
.menu__link { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; padding-block: 8px; border-bottom: 1px solid var(--line); overflow: hidden; }
.menu__link small { font-size: 15px; color: var(--mute); }
.menu__link span { display: block; font-size: clamp(40px, 7vw, 100px); font-weight: 300; line-height: 1.02; letter-spacing: -.045em; transform: translateY(110%); transition: transform 1s var(--ease-out), color .3s, translate .6s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 250ms), 0s, 0s; }
.menu-open .menu__link span { transform: none; }
.menu__list:hover .menu__link span { color: var(--line); }
.menu__list .menu__link:hover span, .menu__link[aria-current="page"] span { color: var(--fg); }
.menu__link:hover span { translate: 18px 0; }
.menu__link[aria-current="page"] small { color: var(--sig); }
.menu__pv { position: relative; aspect-ratio: 4 / 5; max-height: 62vh; width: 100%; overflow: hidden; display: none; background: var(--bg-1); clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease-io) .3s; }
.menu-open .menu__pv { clip-path: inset(0 0 0 0); }
.menu__pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.15; transition: opacity .6s, scale 1.4s var(--ease-out); }
.menu__pv img.is-on { opacity: 1; scale: 1; }
.menu__pv figcaption { position: absolute; left: 0; bottom: -28px; font-size: 14px; color: var(--mute); }
@media (min-width: 960px) { .menu__pv { display: block; justify-self: end; max-width: 440px; } }
.menu__foot { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--mute); font-size: 15px; opacity: 0; transition: opacity .6s .6s; }
.menu__foot a:hover { color: var(--fg); }
.menu-open .menu__foot { opacity: 1; }

/* ─── curseur (point rouge) ─── */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--sig); pointer-events: none; display: grid; place-items: center; opacity: 0; transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), opacity .3s, background-color .3s, box-shadow .3s; }
.cursor span { font-size: 12px; line-height: 1.1; text-align: center; color: #fff; opacity: 0; padding: 0 8px; transition: opacity .25s; }
.cursor.is-on { opacity: 1; }
.cursor.is-link { width: 36px; height: 36px; margin: -18px 0 0 -18px; background: transparent; box-shadow: inset 0 0 0 1px var(--fg); }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--sig); box-shadow: none; }
.cursor.is-view span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ─── retour en haut ─── */
.totop { position: fixed; right: 16px; bottom: 16px; z-index: 80; width: 44px; height: 44px; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(16px); transition: opacity .35s, transform .5s var(--ease-out), box-shadow .3s; }
.totop::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sig); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.totop.is-on { opacity: 1; transform: none; }
.totop:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.totop svg { width: 16px; height: 16px; }

/* ═══════════ APPARITIONS ═══════════ */
.w { display: inline-block; overflow: clip; vertical-align: top; padding: 0 .04em .12em 0; margin: 0 -.04em -.12em 0; }
.wi { display: inline-block; transform: translateY(112%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--i, 0) * 42ms + var(--d, 0ms)); }
.is-in .wi, .is-in.wi { transform: none; }
[data-reveal] { opacity: 0; transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s var(--ease-out), clip-path 1.2s var(--ease-io); transition-delay: calc(var(--i, 0) * 100ms + var(--d, 0ms)); }
[data-reveal="up"] { transform: translateY(60px); filter: blur(8px); }
[data-reveal="left"] { transform: translateX(-70px); filter: blur(8px); }
[data-reveal="right"] { transform: translateX(70px); filter: blur(8px); }
[data-reveal="pop"] { transform: translateY(50px) scale(.92); }
[data-reveal="flip"] { transform: perspective(700px) rotateX(-60deg) translateY(24px); transform-origin: 50% 0; }
[data-reveal="fade"] { transform: none; }
[data-reveal="clip"] { opacity: 1; clip-path: inset(100% 0 0 0); }
[data-reveal="wipe"] { opacity: 1; clip-path: inset(0 100% 0 0); }
[data-reveal].is-in { opacity: 1; transform: none; filter: none; clip-path: inset(0 0 0 0); }
/* photos : volet qui s'ouvre de bas en haut, image qui se resserre */
.curtain { position: relative; overflow: hidden; background: var(--bg-1); clip-path: inset(100% 0 0 0); transition: clip-path 1.35s var(--ease-io); transition-delay: calc(var(--i, 0) * 120ms); }
.curtain img { width: 100%; height: 100%; object-fit: cover; scale: 1.4; translate: 0 calc(var(--pp, 0) * -6%); transition: scale 2s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms); }
.curtain.is-in { clip-path: inset(0 0 0 0); }
.curtain.is-in img { scale: 1.12; }
@media (hover: hover) { a:hover .curtain.is-in img, .curtain.is-in:hover img { scale: 1.2; transition-duration: 1.2s; transition-delay: 0s; } }
.no-js [data-reveal], .reduced [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; clip-path: none !important; transition: none !important; }
.no-js .wi, .reduced .wi { transform: none !important; }
.no-js .curtain, .reduced .curtain { clip-path: none; }
.no-js .curtain img, .reduced .curtain img { scale: 1.05; }

/* ═══════════ ACCUEIL ═══════════ */
.hero { position: relative; padding-top: calc(var(--hdr) + clamp(40px, 7vw, 110px)); }
.hero__top { display: grid; gap: 28px; }
.hero__kick { font-size: 15px; color: var(--mute); }
.hero__title { max-width: 13ch; }
.hero__aside { display: grid; gap: 20px; align-content: end; }
.hero__aside .lead { color: var(--mute); }
@media (min-width: 1000px) {
  .hero__top { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .hero__kick { grid-column: 1 / 13; }
  .hero__title { grid-column: 1 / 9; }
  .hero__aside { grid-column: 9 / 13; padding-bottom: .4em; }
}
.hero__top { translate: 0 calc(var(--hp, 0) * -12vh); opacity: calc(1 - var(--hp, 0) * 1.4); }

/* mur de tuiles asymétrique */
.wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 34vw, 210px); grid-auto-flow: dense; gap: var(--gap); margin-top: clamp(40px, 6vw, 96px); }
.tile { position: relative; overflow: hidden; min-width: 0; }
.tile.curtain { height: 100%; }
.tile figcaption { position: absolute; left: 0; bottom: 0; padding: 12px 14px; font-size: 13px; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease-out); }
.t2, .t6 { grid-column: span 2; grid-row: span 2; }
.t4 { grid-row: span 2; }
.tile--logo { background: var(--bg-1); color: var(--fg); display: grid; place-items: center; }
.tile--logo img { width: 62%; max-width: 230px; transition: transform 1.2s var(--ease-spring); }
.tile--logo:hover img { transform: rotate(-6deg) scale(1.05); }
.tile--logo span { position: absolute; left: 14px; bottom: 12px; font-size: 13px; color: var(--mute); }
.tile--red { background: var(--sig); color: var(--fg); display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.tile--red b { font-size: clamp(40px, 5vw, 92px); font-weight: 300; line-height: .88; letter-spacing: -.06em; color: #fff; }
.tile--red b .wi { transition-duration: 1.4s; }
.tile--bars { display: flex; align-items: flex-end; gap: 4px; padding: 0 12px; background: var(--bg-2); }
.tile--bars i { flex: 1; height: var(--h); background: var(--c); transform: scaleY(0); transform-origin: 50% 100%; transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--i) * 110ms + 300ms); }
.tile--bars.is-in i { transform: scaleY(calc(1 - var(--hp, 0) * .5)); transition-delay: calc(var(--i) * 110ms + 300ms), 0s; }
.tile--paper { background: var(--ink); color: #fff; padding: 14px 16px; display: flex; flex-direction: column; justify-content: space-between; }
.tile--paper small { font-size: 13px; color: rgba(255, 255, 255, .72); }
.tile--paper b { color: var(--sig); font-size: clamp(36px, 6.4vw, 110px); font-weight: 300; line-height: .85; letter-spacing: -.06em; }
.tile--paper p { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .82); }
@media (min-width: 900px) {
  .wall { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 12.4vw, 236px); grid-auto-flow: row; }
  .t1 { grid-column: 1; grid-row: 1 / 3; }
  .t2 { grid-column: 2 / 4; grid-row: 1 / 3; }
  .t3 { grid-column: 4; grid-row: 1 / 3; }
  .t4 { grid-column: 1; grid-row: 3 / 6; }
  .t5 { grid-column: 2; grid-row: 3 / 5; }
  .t6 { grid-column: 3 / 5; grid-row: 3 / 5; }
  .t7 { grid-column: 2; grid-row: 5; }
  .t8 { grid-column: 3; grid-row: 5; }
  .t9 { grid-column: 4; grid-row: 5; }
}
.wall [data-speed] { will-change: translate; }

/* le cabinet en trois colonnes */
.studio { display: grid; gap: 40px; }
.studio__col { display: grid; gap: 20px; align-content: start; }
.studio__col > p:not(.manifesto):not(.sh__label) { color: var(--mute); }
.manifesto { font-size: clamp(22px, 2vw, 30px); font-weight: 300; line-height: 1.12; letter-spacing: -.02em; }
.raw li { font-size: 16px; line-height: 1.3; padding-block: 2px; }
.raw--lg li { font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; padding-block: 3px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px var(--gap); }
.stats dt { color: var(--mute); font-size: 15px; }
.stats dd { font-size: 16px; }
@media (min-width: 900px) {
  .studio { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .studio__a { grid-column: 4 / 7; }
  .studio__b { grid-column: 7 / 10; }
  .studio__c { grid-column: 10 / 13; }
}

/* image plein cadre qui s'ouvre au défilement */
.expand { position: relative; height: clamp(320px, 78vh, 860px); overflow: hidden; clip-path: inset(calc((1 - var(--p, 0)) * 16%) calc((1 - var(--p, 0)) * 24%)); }
.expand img { width: 100%; height: 100%; object-fit: cover; scale: calc(1.32 - var(--p, 0) * .32); }
.expand__cap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding: 14px var(--gut) 0; font-size: 15px; color: var(--mute); }
.expand__cap b { font-weight: 400; }
.reduced .expand { clip-path: none; }
.reduced .expand img { scale: 1; }

/* Abidjan : galerie asymétrique */
.city { display: grid; gap: var(--gap); }
.city figure { margin: 0; }
.city .curtain { width: 100%; }
.city__a { aspect-ratio: 4 / 5; }
.city__b { aspect-ratio: 16 / 10; }
.city__c { aspect-ratio: 1; }
.city__d { aspect-ratio: 3 / 4; }
.city__txt { display: grid; gap: 20px; align-content: start; }
.city__txt p:not(.manifesto) { color: var(--mute); }
.city figcaption { display: block; margin-top: 10px; font-size: 14px; color: var(--mute); }
@media (min-width: 900px) {
  .city { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .city__txt { grid-column: 1 / 5; grid-row: 1 / 3; position: sticky; top: calc(var(--hdr) + 32px); }
  .city > :nth-child(2) { grid-column: 6 / 10; }
  .city > :nth-child(3) { grid-column: 10 / 13; margin-top: 30vh; }
  .city > :nth-child(4) { grid-column: 5 / 9; margin-top: -6vh; }
  .city > :nth-child(5) { grid-column: 9 / 13; margin-top: 10vh; }
}

/* domaines : défilement horizontal épinglé */
.hs { position: relative; border-top: 1px solid var(--line); }
.hs__sticky { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 44px); padding-block: var(--sec); }
.hs--pin .hs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; justify-content: center; padding-block: calc(var(--hdr) + 12px) 24px; }
.hs__head { display: grid; gap: 12px; }
.hs__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; color: var(--mute); font-size: 15px; }
.hs__count { font-variant-numeric: tabular-nums; color: var(--fg); }
.hs__hint { display: inline-flex; align-items: center; gap: 10px; }
.hs__hint::before { content: ''; width: 34px; height: 1px; background: currentColor; animation: hint 1.8s var(--ease-io) infinite; transform-origin: 0 50%; }
@keyframes hint { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); transform-origin: 0 50%; } 51% { transform-origin: 100% 50%; } 100% { transform: scaleX(0); transform-origin: 100% 50%; } }
@media (min-width: 900px) {
  .hs__head { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .hs__head .sh__label { grid-column: 1 / 4; }
  .hs__head .h2 { grid-column: 4 / 10; }
  .hs__meta { grid-column: 10 / 13; flex-direction: column; align-items: flex-end; }
}
.hs__track { display: flex; gap: var(--gap); padding-inline: var(--gut); will-change: transform; }
.hs--free .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: var(--gut); }
.hs--free .hs__track::-webkit-scrollbar { display: none; }
.hs__bar { margin-inline: var(--gut); height: 1px; background: var(--line); }
.hs__bar i { display: block; height: 100%; background: var(--sig); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.dcard { flex: none; width: clamp(250px, 27vw, 420px); scroll-snap-align: start; }
.dcard > a { display: grid; gap: 14px; }
.dcard__media { aspect-ratio: 4 / 5; }
.hs--pin .dcard__media { aspect-ratio: auto; height: min(52vh, 34vw); }
.dcard__body { display: grid; gap: 6px; }
.dcard__num { font-size: 15px; color: var(--mute); }
.dcard__body p { color: var(--mute); font-size: 15px; line-height: 1.35; }
.dcard--end { display: grid; align-content: end; padding-bottom: 8px; width: clamp(220px, 22vw, 320px); }
.dcard--end .dl { font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.03em; }
.dcard--end .dl i { width: 12px; height: 12px; }

/* chiffres */
.nums { border-top: 1px solid var(--line); }
.num { position: relative; display: grid; gap: 8px; padding-block: 18px 20px; border-bottom: 1px solid var(--line); }
.num__v { font-size: clamp(56px, 8vw, 128px); font-weight: 300; line-height: .9; letter-spacing: -.055em; font-variant-numeric: tabular-nums; }
.num__v small { font-size: .4em; letter-spacing: -.02em; color: var(--mute); }
.num__l { color: var(--mute); max-width: 44ch; }
.num__bar { position: absolute; left: 0; bottom: -1px; height: 1px; width: var(--h); background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.8s var(--ease-out); transition-delay: calc(var(--i) * 140ms + 200ms); }
.nums.is-in .num__bar { transform: scaleX(1); }
@media (min-width: 900px) {
  .num { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .num__v { grid-column: 1 / 7; }
  .num__l { grid-column: 7 / 12; padding-bottom: .5em; }
}

/* carte narrative de l'accueil */
.story__grid { display: grid; }
.story__map { position: sticky; top: var(--hdr); z-index: 1; height: 46svh; padding-block: 8px; background: var(--bg); }
.story__map .amap { width: 100%; height: 100%; }
.story__steps { position: relative; z-index: 2; }
.step { min-height: 62svh; display: flex; align-items: center; padding-block: 5vh; }
.step:first-child { min-height: 44svh; }
.step:last-child { min-height: 52svh; }
.step__card { max-width: 480px; padding: 18px 0 8px; background: var(--bg); border-top: 1px solid var(--line); opacity: .28; transform: translateY(28px); transition: opacity .6s, transform .9s var(--ease-out), border-color .6s; }
.step.is-active .step__card { opacity: 1; transform: none; border-color: var(--sig); }
.step__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; }
.pill { font-size: 15px; color: var(--mute); }
.pill--or { display: inline-flex; align-items: center; gap: 8px; color: var(--fg); }
.pill--or::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); }
.step__card h3 { margin-bottom: 10px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; line-height: 1.05; letter-spacing: -.025em; }
.step__card p { color: var(--mute); }
.step__card .src { margin-top: 12px; font-size: 14px; }
@media (min-width: 1000px) {
  .story__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 48px; }
  .story__map { height: calc(100svh - var(--hdr) - 48px); max-height: 760px; top: calc(var(--hdr) + 24px); padding: 0; }
  .step { min-height: 76svh; }
  .step:first-child { min-height: 52svh; }
  .step:last-child { min-height: 60svh; }
  .step__card { background: none; }
}

/* références récentes : grille de projets */
.feed { display: grid; gap: clamp(48px, 6vw, 80px) var(--gap); }
.feed__item > a { display: grid; gap: 16px; }
.feed__media { aspect-ratio: 4 / 3; }
.feed__item:nth-child(4n + 1) .feed__media, .feed__item:nth-child(4n + 4) .feed__media { aspect-ratio: 4 / 5; }
.feed__cap { display: grid; gap: 6px; }
.feed__client { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; line-height: 1.13; letter-spacing: -.015em; }
.feed__cap p { color: var(--mute); max-width: 52ch; }
.feed__tags { font-size: 14px; color: var(--mute); }
.feed__tags b { color: var(--fg); }
@media (min-width: 900px) {
  .feed { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .feed__item:nth-child(even) { margin-top: clamp(80px, 14vw, 240px); }
  .feed__item:nth-child(4n + 3) { padding-right: 12%; }
  .feed__item:nth-child(4n + 2) { padding-left: 12%; }
}

/* méthode */
.process { display: grid; gap: 40px; }
.pstep { position: relative; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.pstep::before { content: ''; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.3s var(--ease-out); }
.pstep.is-on::before { transform: scaleX(1); }
.pstep__dot { font-size: clamp(48px, 5vw, 80px); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: var(--line); transition: color .8s; }
.pstep.is-on .pstep__dot { color: var(--fg); }
.pstep p { color: var(--mute); }
.pstep ul { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--mute); }
@media (min-width: 900px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); } }

/* bailleurs et partenaires : logos sur tuiles blanches */
.logos-sub { display: flex; justify-content: space-between; gap: 16px; color: var(--mute); font-size: 15px; margin: 40px 0 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.logos-sub:first-child { margin-top: 0; }
.logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); perspective: 1400px; }
@media (min-width: 640px) { .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .logos--7 { grid-template-columns: repeat(7, minmax(0, 1fr)); } .logos--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.logo { position: relative; aspect-ratio: 3 / 2; background: #fff; box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; padding: 16% 14% 20%; overflow: hidden; }
.logo img { max-height: 100%; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .5s, opacity .5s, scale .7s var(--ease-out); }
.logo span { position: absolute; left: 10px; right: 10px; bottom: 8px; font-size: 11.5px; line-height: 1.2; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .3s; }
.logo:hover img { filter: none; opacity: 1; scale: 1.06; }
.logo:hover span { color: var(--fg); }
.logo--text { background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.logo--text b { font-size: clamp(16px, 1.3vw, 19px); font-weight: 300; text-align: center; line-height: 1.15; }


/* bande photo continue */
.marquee { overflow: hidden; white-space: nowrap; }
.marquee__track { display: inline-flex; animation: mq 40s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.film { overflow: hidden; }
.film__track { display: flex; gap: var(--gap); width: max-content; animation: mq 70s linear infinite; }
.film:hover .film__track { animation-play-state: paused; }
.film__item { width: clamp(200px, 20vw, 300px); display: grid; gap: 10px; }
.film__item:nth-child(3n + 2) { width: clamp(260px, 28vw, 420px); }
.film__item img { width: 100%; height: clamp(240px, 26vw, 380px); object-fit: cover; transition: scale .8s var(--ease-out), filter .6s; }
.film__item:hover img { scale: 1.03; }
.film__item figcaption { font-size: 14px; color: var(--mute); }

/* conclusion typographique */
.finale { position: relative; border-top: 1px solid var(--line); overflow: hidden; }
.finale__card { position: relative; padding-block: var(--sec); }
.finale__arrow { display: none; }
.finale__inner { display: grid; gap: 32px; }
.finale__kick { color: var(--mute); font-size: 15px; }
.finale__title { font-size: clamp(54px, 10vw, 168px); font-weight: 300; line-height: .9; letter-spacing: -.055em; margin-top: 16px; translate: calc((1 - var(--p, 1)) * 10vw) 0; }
.finale__text { color: var(--mute); max-width: 44ch; margin-top: 24px; font-size: clamp(17px, 1.4vw, 20px); }
.finale__actions { display: flex; flex-wrap: wrap; gap: 8px 36px; align-items: center; }
.finale__line { height: 1px; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--p, 1)); }
@media (min-width: 900px) {
  .finale__inner { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .finale__inner > div:first-child { grid-column: 1 / 13; }
  .finale__line { grid-column: 1 / 13; }
  .finale__actions { grid-column: 1 / 13; }
}


/* ═══════════ PAGES INTÉRIEURES ═══════════ */
.phero { position: relative; padding: calc(var(--hdr) + clamp(48px, 8vw, 120px)) 0 clamp(40px, 6vw, 80px); }
.phero__grid { display: grid; gap: 32px; }
.phero__copy { display: grid; gap: 22px; align-content: start; }
.phero__copy .lead { color: var(--mute); }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--mute); }
.crumb a:hover { color: var(--fg); }
.phero__copy { translate: 0 calc(var(--hp, 0) * 10vh); opacity: calc(1 - var(--hp, 0) * 1.2); }
@media (min-width: 1000px) {
  .phero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .phero__copy { grid-column: 1 / 9; }
  .phero__side { grid-column: 9 / 13; }
}
.phero__side { display: grid; gap: 18px; align-content: end; }
.phero__side .lead { color: var(--mute); }

/* cabinet : identité */
.ident { display: grid; gap: 40px; }
.ident__text { display: grid; gap: 18px; align-content: start; }
.ident__text p:not(.big) { color: var(--mute); }
.big { font-size: clamp(22px, 2vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; }
.idcard dl { display: grid; gap: 0; border-top: 1px solid var(--line); }
.idcard dl div { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1.3fr); gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.idcard dt { color: var(--mute); font-size: 15px; }
.idcard dd a:hover { color: var(--mute); }
.idcard h3 { margin-bottom: 14px; color: var(--mute); font-size: 15px; font-weight: 400; }
@media (min-width: 1000px) {
  .ident { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .ident__text { grid-column: 4 / 8; }
  .idcard { grid-column: 9 / 13; }
}
.trio { display: grid; gap: var(--gap); }
.trio figure { aspect-ratio: 4 / 5; }
.trio figure:nth-child(2) { aspect-ratio: 4 / 3; }
@media (min-width: 900px) {
  .trio { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: start; }
  .trio figure:nth-child(1) { grid-column: 1 / 5; }
  .trio figure:nth-child(2) { grid-column: 6 / 13; margin-top: 18vh; }
  .trio figure:nth-child(3) { grid-column: 3 / 8; margin-top: -10vh; aspect-ratio: 16 / 10; }
}

/* engagements */
.values { display: grid; gap: 40px; perspective: 1400px; }
.value { display: grid; gap: 12px; align-content: start; padding-top: 16px; border-top: 1px solid var(--line); }
.value__n { font-size: 15px; color: var(--mute); }
.value__ico { width: 56px; height: 56px; fill: none; stroke: var(--sig); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.value__ico * { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-io); transition-delay: calc(var(--i, 0) * 160ms + 300ms); }
.value.is-in .value__ico * { stroke-dashoffset: 0; }
.value p { color: var(--mute); }
@media (min-width: 900px) { .values { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); } }

/* parcours */
.tl { position: relative; }
.tl__line { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: var(--line); }
.tl__line i { display: block; width: 100%; height: 100%; background: var(--sig); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); }
.tl__item { position: relative; display: grid; gap: 8px; padding: 22px 0 22px 24px; border-top: 1px solid var(--line); }
.tl__item::before { content: ''; position: absolute; left: -3px; top: 30px; width: 7px; height: 7px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .5s, box-shadow .5s; }
.tl__item.is-on::before { background: var(--sig); box-shadow: none; }
.tl__year { font-size: clamp(40px, 5.4vw, 88px); font-weight: 300; line-height: .9; letter-spacing: -.05em; color: var(--line); transition: color .8s; font-variant-numeric: tabular-nums; }
.tl__item.is-on .tl__year { color: var(--fg); }
.tl__card { display: grid; gap: 8px; }
.tl__card p { color: var(--mute); max-width: 60ch; }
.tl__tags { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--mute); }
@media (min-width: 900px) {
  .tl__item { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; padding-left: 0; }
  .tl__year { grid-column: 2 / 6; }
  .tl__card { grid-column: 6 / 12; padding-top: .4em; }
  .tl__item::before { left: -3px; }
}

/* équipe */
.team { display: grid; gap: 40px; }
.team__collage { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--gap); }
.team__collage figure:nth-child(1) { grid-column: 1 / 5; aspect-ratio: 4 / 3; }
.team__collage figure:nth-child(2) { grid-column: 4 / 7; aspect-ratio: 3 / 4; margin-top: -18%; }
.team__collage figure:nth-child(3) { grid-column: 1 / 4; aspect-ratio: 4 / 5; margin-top: -30%; }
.team__copy { display: grid; gap: 22px; align-content: start; }
.team__copy > p { color: var(--mute); }
.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); border-top: 1px solid var(--line); }
.profiles span { padding-block: 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
.lead-card { display: flex; align-items: center; gap: 16px; padding-top: 6px; }
.lead-card__ini { width: 56px; height: 56px; display: grid; place-items: center; background: var(--sig); color: #fff; font-size: 20px; flex: none; }
.lead-card b { display: block; }
.lead-card span:not(.lead-card__ini) { color: var(--mute); font-size: 15px; }
@media (min-width: 1000px) {
  .team { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
  .team__collage { grid-column: 1 / 7; }
  .team__copy { grid-column: 8 / 13; position: sticky; top: calc(var(--hdr) + 32px); }
}
.namelist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); gap: 0 var(--gap); }
.namelist span { padding-block: 10px; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 24px); font-weight: 300; letter-spacing: -.015em; }
.namelist span.is-me { display: flex; align-items: center; gap: 10px; }
.namelist span.is-me::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); }
@media (min-width: 900px) { .namelist { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* expertises : index des domaines */
.dindex { border-top: 1px solid var(--line); }
.dindex a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: clamp(22px, 2.3vw, 34px); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; transition: color .35s, padding .6s var(--ease-out); }
.dindex a span { font-size: 15px; color: var(--mute); letter-spacing: 0; }
.dindex a svg { width: 18px; height: 18px; color: var(--mute); transition: transform .5s var(--ease-out), color .3s; }
.dindex:hover a { color: var(--line); }
.dindex a:hover { color: var(--fg); padding-left: 14px; }
.dindex a:hover svg { color: var(--sig); transform: rotate(-45deg); }
.hover-pv { position: fixed; left: 0; top: 0; z-index: 70; width: clamp(200px, 20vw, 300px); aspect-ratio: 4 / 5; pointer-events: none; overflow: hidden; opacity: 0; scale: .6; transition: opacity .35s, scale .6s var(--ease-out); }
.hover-pv.is-on { opacity: 1; scale: 1; }
.hover-pv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; scale: 1.2; transition: opacity .4s, scale .9s var(--ease-out); }
.hover-pv img.is-on { opacity: 1; scale: 1; }
@media (hover: none) { .hover-pv { display: none; } }

.subnav { position: sticky; top: var(--hdr); z-index: 40; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); transition: top .55s var(--ease-out); }
.hdr-hidden .subnav { top: 0; }
.subnav__track { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; padding-inline: var(--gut); }
.subnav__track::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; padding-block: 14px; font-size: 15px; color: var(--mute); transition: color .3s; }
.subnav a span { color: var(--line); transition: color .3s; }
.subnav a:hover, .subnav a.is-on { color: var(--fg); }
.subnav a.is-on span { color: var(--sig); }
.subnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sig); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.subnav a.is-on::after { transform: scaleX(1); }

.dom { position: relative; padding-block: var(--sec); border-top: 1px solid var(--line); }
.dom:first-of-type { border-top: 0; }
.dom__grid { display: grid; gap: 32px; }
.dom__aside { display: grid; gap: 24px; align-content: start; }
.dom__head { display: grid; gap: 10px; }
.dom__num { font-size: clamp(90px, 13vw, 220px); font-weight: 300; line-height: .78; letter-spacing: -.07em; color: transparent; -webkit-text-stroke: 1.5px var(--sig); }
.dom__media { aspect-ratio: 4 / 3; }
.dom__main { display: grid; gap: 32px; align-content: start; }
.dom__intro { font-size: clamp(22px, 2vw, 30px); font-weight: 300; line-height: 1.15; letter-spacing: -.02em; max-width: 30ch; }
.dom__list { border-top: 1px solid var(--line); display: grid; perspective: 1400px; }
.dom__list li { padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.35; }
.dom__refs h3 { font-size: 15px; font-weight: 400; color: var(--mute); margin-bottom: 12px; }
.rrefs { display: grid; border-top: 1px solid var(--line); perspective: 1400px; }
.rref { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 2px 16px; padding-block: 14px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease-out); }
.rref b { grid-row: 1 / 3; font-size: 22px; font-weight: 300; color: var(--mute); transition: color .3s; }
.rref strong { font-weight: 400; }
.rref span { font-size: 14px; color: var(--mute); }
.rref:hover { padding-left: 10px; }
.rref:hover b { color: var(--fg); }
@media (min-width: 1000px) {
  .dom__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .dom__aside { grid-column: 1 / 6; position: sticky; top: calc(var(--hdr) + 72px); }
  .dom__main { grid-column: 7 / 13; }
  .dom--flip .dom__aside { grid-column: 8 / 13; grid-row: 1; }
  .dom--flip .dom__main { grid-column: 1 / 7; grid-row: 1; }
}

.modes { display: grid; gap: 0 var(--gap); border-top: 1px solid var(--line); perspective: 1400px; }
.mode { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.mode__n { font-size: 15px; color: var(--mute); padding-top: 4px; }
.mode p { color: var(--mute); }
@media (min-width: 760px) { .modes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .modes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ═══════════ RÉFÉRENCES ═══════════ */
.outline { position: relative; height: clamp(240px, 30vw, 440px); }
.outline svg { width: 100%; height: 100%; }
.outline path { fill: transparent; stroke: rgba(38, 38, 38, .38); stroke-width: .6; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.4s var(--ease-io), fill 1s; transition-delay: calc(var(--i) * 14ms); }
.is-ready .outline path { stroke-dashoffset: 0; }
.is-ready .outline path.is-ae { fill: var(--sig); stroke: var(--bg); transition-delay: calc(var(--i) * 14ms), calc(1.5s + var(--j) * 150ms); }
.outline { translate: 0 calc(var(--hp, 0) * -10vh); scale: calc(1 - var(--hp, 0) * .1); }

.kstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); border-top: 1px solid var(--line); padding-top: 16px; }
.kstats div { display: grid; gap: 4px; }
.kstats b { font-size: clamp(40px, 4.4vw, 64px); font-weight: 300; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.kstats > div > span { color: var(--mute); font-size: 15px; }
@media (min-width: 900px) { .kstats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* index des pays */
.cidx { display: grid; gap: 0 var(--gap); border-top: 1px solid var(--line); }
.cidx button { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 12px; width: 100%; padding-block: 12px; border-bottom: 1px solid var(--line); text-align: left; font-size: clamp(24px, 2.6vw, 40px); font-weight: 300; line-height: 1.1; letter-spacing: -.025em; transition: color .35s, padding .6s var(--ease-out); }
.cidx button em { font-style: normal; font-size: 15px; color: var(--mute); letter-spacing: 0; font-variant-numeric: tabular-nums; }
.cidx button::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 1px; width: var(--w); background: var(--sig); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-out); transition-delay: calc(var(--i) * 90ms); }
.cidx.is-in button::after { transform: scaleX(1); }
.cidx:hover button { color: var(--line); }
.cidx button:hover, .cidx button[aria-pressed="true"] { color: var(--fg); padding-left: 14px; }
.cidx button[aria-pressed="true"] em { color: var(--sig); }
@media (min-width: 900px) { .cidx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* explorateur : carte fixe + liste qui défile */
.refx { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start; }
.refx > * { min-width: 0; }
.refx__map { position: sticky; top: var(--hdr); z-index: 5; display: flex; flex-direction: column; gap: 10px; height: 54svh; padding-block: 8px; background: var(--bg); transition: top .55s var(--ease-out); }
.hdr-hidden .refx__map { top: 0; }
.refx__chips { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; flex: none; border-bottom: 1px solid var(--line); }
.refx__chips::-webkit-scrollbar { display: none; }
.fchip { position: relative; flex: none; display: inline-flex; align-items: baseline; gap: 6px; padding-block: 8px 10px; font-size: 14px; color: var(--mute); transition: color .3s; }
.fchip i { font-style: normal; font-size: 12px; color: var(--line); font-variant-numeric: tabular-nums; transition: color .3s; }
.fchip::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sig); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease-out); }
.fchip:hover { color: var(--fg); }
.fchip[aria-pressed="true"] { color: var(--fg); }
.fchip[aria-pressed="true"] i { color: var(--mute); }
.fchip[aria-pressed="true"]::after { transform: scaleX(1); }
.refx__stage { position: relative; flex: 1; min-height: 0; background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.refx__stage::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(38, 38, 38, .09) 1px, transparent 1.3px); background-size: 16px 16px; pointer-events: none; }
.refx__stage .amap { position: absolute; inset: 0; width: 100%; height: 100%; }
.refx__stats { display: flex; gap: 22px; pointer-events: none; }
.refx__stats div { display: flex; align-items: baseline; gap: 6px; }
.refx__stats b { font-size: clamp(22px, 2vw, 30px); font-weight: 300; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.refx__stats span { font-size: 13px; color: var(--mute); }
.refx__focus { position: absolute; left: 12px; top: 12px; right: 60px; max-width: 360px; display: grid; gap: 4px; pointer-events: none; }
.refx__focus .rf__y { font-size: clamp(26px, 2.6vw, 40px); font-weight: 300; line-height: .95; letter-spacing: -.04em; }
.refx__focus .rf__t { font-size: 13.5px; line-height: 1.3; color: var(--fg); }
.refx__focus .rf__m { font-size: 12.5px; color: var(--mute); }
.refx__focus.is-swap { animation: rfIn .7s var(--ease-out); }
@keyframes rfIn { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } }
.seg { position: absolute; left: 12px; bottom: 10px; display: inline-flex; gap: 16px; }
.seg button { position: relative; padding-block: 4px; font-size: 13px; color: var(--mute); transition: color .3s; }
.seg button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sig); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.seg button:hover { color: var(--fg); }
.seg button[aria-pressed="true"] { color: var(--fg); }
.seg button[aria-pressed="true"]::after { transform: scaleX(1); }
.mx__zoom { position: absolute; right: 12px; top: 12px; display: grid; }
.mx__zoom button { width: 34px; height: 34px; display: grid; place-items: center; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-size: 18px; line-height: 1; font-weight: 300; transition: box-shadow .3s; }
.mx__zoom button + button { margin-top: -1px; }
.mx__zoom button:hover { box-shadow: inset 0 0 0 1px var(--fg); position: relative; }
.mx__legend { position: absolute; right: 12px; bottom: 12px; display: none; flex-direction: column; align-items: flex-end; gap: 6px; font-size: 12px; color: var(--mute); pointer-events: none; }
.mx__legend div { display: flex; gap: 14px; }
.mx__legend span { display: inline-flex; align-items: center; gap: 6px; }
.mx__legend i { width: 7px; height: 7px; border-radius: 50%; }
.mx__legend .l-site { background: var(--fg); }
.mx__legend .l-hq { background: var(--sig); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--sig); }
.mx__scale { display: flex; align-items: center; gap: 8px; }
.mx__scale b { width: 120px; height: 5px; border-radius: 0; background: linear-gradient(90deg, rgba(255, 121, 0, .3), #ff7900); }
.tline { display: none; align-items: flex-end; gap: 14px; flex: none; }
.tline__play { width: 34px; height: 34px; flex: none; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.tline__play:hover { box-shadow: inset 0 0 0 1px var(--fg); }
.tline__play svg { width: 11px; height: 11px; }
.tline__range { position: relative; flex: 1; display: grid; gap: 2px; }
.tline__hist { display: flex; align-items: flex-end; gap: 2px; height: 34px; }
.tline__hist button { flex: 1; height: 100%; display: flex; align-items: flex-end; }
.tline__hist button i { display: block; width: 100%; height: var(--h); min-height: 2px; background: var(--line); transform-origin: 50% 100%; transform: scaleY(0); transition: background-color .35s, transform 1s var(--ease-out); transition-delay: 0s, calc(var(--i) * 40ms); }
.tline.is-in .tline__hist button i { transform: scaleY(1); }
.tline__hist button.is-on i { background: var(--sig-2); }
.tline__hist button.is-cur i { background: var(--sig-d); }
.tline__hist button:hover i { background: var(--mute); }
.tline input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 14px; margin: 0; background: transparent; }
.tline input[type="range"]::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(90deg, var(--sig) 0 var(--fill, 100%), var(--line) var(--fill, 100%)); }
.tline input[type="range"]::-moz-range-track { height: 1px; background: var(--line); }
.tline input[type="range"]::-moz-range-progress { height: 1px; background: var(--sig); }
.tline input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; margin-top: -5px; background: var(--fg); border: 0; border-radius: 0; cursor: grab; }
.tline input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; background: var(--fg); border: 0; border-radius: 0; cursor: grab; }
.tline__ticks { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); }
.tline__year { min-width: 76px; text-align: right; font-size: clamp(26px, 2.4vw, 36px); font-weight: 300; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.map-tip { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; padding: 10px 12px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--fg); color: var(--mute); font-size: 13px; line-height: 1.35; opacity: 0; transition: opacity .2s; max-width: 240px; }
.map-tip.is-on { opacity: 1; }
.map-tip b { display: block; color: var(--fg); font-size: 15px; }
.refx__list { position: relative; z-index: 1; display: grid; gap: 14px; }
.refx__tools { display: grid; gap: 10px var(--gap); grid-template-columns: 1fr 1fr; }
.refx__tools .field-inline:first-child { grid-column: 1 / -1; }
.field-inline { position: relative; display: block; }
.field-inline input, .field-inline select { width: 100%; height: 46px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 2px; background: transparent; font-size: 15px; color: var(--fg); transition: border-color .3s; }
.field-inline select { -webkit-appearance: none; appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%23a0a0a0' stroke-width='1.2'/%3E%3C/svg%3E") right 2px center / 12px no-repeat; padding-right: 22px; }
.field-inline select option { background: var(--bg); color: var(--fg); }
.field-inline input { padding-left: 28px; }
.field-inline input::placeholder { color: var(--mute); }
.field-inline svg { position: absolute; left: 2px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--mute); pointer-events: none; }
.field-inline input:focus, .field-inline select:focus { outline: none; border-color: var(--fg); }
.refx__count { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; color: var(--mute); }
.refx__count b { color: var(--fg); }
.refx__reset { font-size: 14px; color: var(--fg); display: inline-flex; align-items: center; gap: 8px; }
.refx__reset::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--sig); }
.reg__list { display: grid; border-top: 1px solid var(--line); }
.rcard { border-bottom: 1px solid var(--line); animation: rIn .7s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes rIn { from { opacity: 0; transform: translateY(24px); } }
.rcard > button { width: 100%; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding-block: 16px; text-align: left; }
.rcard__y { position: relative; font-size: 24px; font-weight: 300; line-height: 1; letter-spacing: -.03em; color: var(--line); transition: color .45s; font-variant-numeric: tabular-nums; }
.rcard__y::after { content: ''; position: absolute; left: 0; top: calc(100% + 10px); width: 6px; height: 6px; border-radius: 50%; background: var(--sig); transform: scale(0); transition: transform .45s var(--ease-spring); }
.rcard__body { display: grid; gap: 6px; }
.rcard__top { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 13px; color: var(--mute); }
.tagc--cons { color: var(--fg); }
.rcard h3 { font-size: clamp(16.5px, 1.25vw, 19px); font-weight: 400; line-height: 1.3; color: var(--mute); transition: color .45s; }
.rcard__meta { display: flex; flex-wrap: wrap; gap: 2px 16px; font-size: 13.5px; color: var(--mute); }
.rcard__meta b { color: var(--mute); }
.rcard__toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--mute); transition: color .3s; }
.rcard__toggle svg { width: 11px; height: 11px; transition: transform .45s var(--ease-out); }
.rcard:hover h3, .rcard.is-focus h3, .rcard.is-open h3 { color: var(--fg); }
.rcard:hover .rcard__y, .rcard.is-focus .rcard__y, .rcard.is-open .rcard__y { color: var(--fg); }
.rcard.is-focus .rcard__y::after { transform: scale(1); }
.rcard.is-focus .rcard__meta b { color: var(--fg); }
.rcard:hover .rcard__toggle { color: var(--fg); }
.rcard.is-open .rcard__toggle svg { transform: rotate(45deg); }
.rcard__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.rcard.is-open .rcard__more { grid-template-rows: 1fr; }
.rcard__more > div { overflow: hidden; }
.rcard__detail { padding: 0 0 0 80px; display: grid; gap: 12px; font-size: 15px; color: var(--mute); }
.rcard__detail::after { content: ''; height: 10px; }
.rcard__detail dl { display: grid; border-top: 1px solid var(--line); }
.rcard__detail dl div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding-block: 7px; border-bottom: 1px solid var(--line); }
.rcard__detail dt { font-size: 13px; color: var(--mute); }
.rcard__detail dd { color: var(--fg); font-size: 14px; }
.rcard__res { padding-left: 14px; border-left: 2px solid var(--sig); color: var(--fg); }
.reg__empty { padding: 32px 0; color: var(--mute); }
@media (max-width: 560px) { .rcard__detail { padding-left: 0; } .rcard__detail dl div { grid-template-columns: 1fr; gap: 0; } }
@media (min-width: 1000px) {
  .refx { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 32px; }
  .refx__map { top: calc(var(--hdr) + 14px); height: calc(100svh - var(--hdr) - 28px); max-height: 860px; padding: 0; }
  .hdr-hidden .refx__map { top: 14px; height: calc(100svh - 28px); }
  .tline { display: flex; }
  .mx__legend { display: flex; }
}

/* ─── cartes SVG ─── */
.amap { overflow: hidden; touch-action: manipulation; }
.amap .land { fill: #e9e4dd; stroke: #fff; stroke-width: .7; vector-effect: non-scaling-stroke; transition: fill .5s, opacity .5s; }
.amap .land.is-ae { fill: #ddd6cc; stroke: #fff; }
.amap .land.is-dim { opacity: .55; }
.amap .hi { fill: var(--sig); fill-opacity: var(--k, 1); stroke: var(--bg); stroke-width: .8; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .7s var(--ease), fill-opacity .7s, stroke .4s; pointer-events: none; }
.amap .hi.is-on { opacity: 1; }
.amap .hi.is-sel, .amap .hi.is-focus { stroke: var(--fg); stroke-width: 1.4; fill-opacity: 1; }
.amap .hit { fill: transparent; cursor: pointer; }
.amap .hit:focus-visible { outline: none; stroke: var(--fg); stroke-width: 2; vector-effect: non-scaling-stroke; }
.amap .arc { fill: none; stroke: rgba(38, 38, 38, .7); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.4s var(--ease-io), opacity .4s; stroke-linecap: round; }
.amap .arc.is-on { stroke-dashoffset: 0; }
.amap .comet { fill: var(--sig-d); opacity: 0; transition: opacity .4s; }
.amap .comet.is-on { opacity: 1; }
.amap .corridor { fill: none; stroke: var(--fg); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-io); stroke-linecap: round; stroke-linejoin: round; }
.amap .corridor.is-on { stroke-dashoffset: 0; }
.amap .site { opacity: 0; transition: opacity .45s; pointer-events: none; }
.amap .site.is-on { opacity: 1; }
.amap .site .dot { fill: var(--fg); }
.amap .site .rng { fill: none; stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ping 2.4s var(--ease-out) infinite; animation-delay: var(--dl, 0s); }
.amap .site.is-focus .dot { fill: var(--sig); }
.amap .site text { fill: var(--fg); font: 400 11.5px var(--font); paint-order: stroke; stroke: var(--bg); stroke-width: 3px; opacity: 0; transition: opacity .3s; }
.amap.show-labels .site.is-on text, .amap .site.is-focus text { opacity: 1; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(3.2); opacity: 0; } }
.amap .hq .core { fill: var(--sig); stroke: var(--bg); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.amap .hq .rng { fill: none; stroke: var(--sig); stroke-width: 1.2; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ping 2s var(--ease-out) infinite; }
.amap .hq text { fill: var(--fg); font: 400 10px var(--font); letter-spacing: .08em; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; }
.amap .badge { opacity: 0; transition: opacity .45s; pointer-events: none; }
.amap .badge.is-on { opacity: 1; }
.amap .badge circle { fill: var(--bg); stroke: var(--fg); stroke-width: 1; vector-effect: non-scaling-stroke; }
.amap .badge text { fill: var(--fg); font: 400 11.5px var(--font); text-anchor: middle; dominant-baseline: central; }
.amap .badge .lbl { fill: var(--fg); font: 400 9.5px var(--font); letter-spacing: .1em; text-anchor: middle; paint-order: stroke; stroke: var(--bg); stroke-width: 3px; dominant-baseline: auto; opacity: 0; transition: opacity .3s; }
.amap.is-near .badge .lbl { opacity: 1; }
.amap .badge.is-zero circle { stroke: var(--line); }
.amap .badge.is-zero text:first-of-type { fill: var(--line); }

/* ═══════════ CONTACT ═══════════ */
.chero__grid { display: grid; gap: 48px; }
.chero__copy { display: grid; gap: 22px; align-content: start; }
.chero__copy .lead { color: var(--mute); }
@media (min-width: 960px) {
  .chero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
  .chero__copy { grid-column: 1 / 6; position: sticky; top: calc(var(--hdr) + 32px); }
  .form { grid-column: 7 / 13; }
}
.phero--contact { overflow: clip; }
.coords { display: grid; border-top: 1px solid var(--line); margin-top: 8px; }
.coords__row { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.coords__ico { width: 22px; height: 22px; color: var(--mute); }
.coords__ico svg { width: 22px; height: 22px; }
.coords h3 { font-size: 15px; font-weight: 400; color: var(--mute); margin-bottom: 6px; }
.coords__val { font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; letter-spacing: -.015em; line-height: 1.3; }
.coords a.coords__val:hover { color: var(--mute); }
.coords__sub { color: var(--mute); font-size: 14px; margin-top: 4px; }
.tel-list { display: grid; gap: 4px; }
.tel-list a { display: flex; align-items: baseline; gap: 12px; font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; letter-spacing: -.01em; transition: color .3s; }
.tel-list a:hover { color: var(--mute); }
.tel-list small { font-size: 13px; color: var(--mute); }

.form { display: grid; gap: 22px; }
.form__head { display: grid; gap: 6px; padding-bottom: 12px; border-bottom: 1px solid var(--fg); }
.form__head h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.form__head p { color: var(--mute); font-size: 14px; }
.fgrid { display: grid; gap: 22px var(--gap); }
@media (min-width: 640px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fgrid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 4px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; color: var(--mute); padding: 0; }
.field label em, .field legend em { color: var(--sig); font-style: normal; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 8px 0 10px; background: transparent; font-size: 18px; font-weight: 300; color: var(--fg); transition: border-color .3s; }
.field textarea { min-height: 130px; resize: vertical; line-height: 1.4; }
.field input::placeholder, .field textarea::placeholder { color: #9b9893; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--fg); }
.field.is-bad input, .field.is-bad select, .field.is-bad textarea { border-color: var(--sig); }
.field__err { font-size: 13px; color: #c0392b; }
.opts { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; font-size: 15px; color: var(--mute); transition: color .3s; }
.opt span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--mute); transition: background-color .3s, box-shadow .3s, transform .4s var(--ease-spring); }
.opt:hover span { color: var(--fg); }
.opt input:checked + span { color: var(--fg); }
.opt input:checked + span::before { background: var(--sig); box-shadow: none; transform: scale(1.3); }
.opt input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 3px; }
.file { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file__ico { width: 22px; height: 22px; color: var(--mute); flex: none; }
.file__ico svg { width: 22px; height: 22px; }
.file__txt { font-size: 14px; color: var(--mute); line-height: 1.4; }
.file__txt b { color: var(--fg); }
.file:hover, .file.is-drag { box-shadow: inset 0 0 0 1px var(--fg); }
.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--mute); align-items: start; }
.check input { width: 16px; height: 16px; accent-color: var(--sig); margin-top: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; justify-content: space-between; }
.form__status { font-size: 14px; color: var(--mute); }
.form__status.err { color: #c0392b; }
.form.is-sending .btn { opacity: .5; pointer-events: none; }
.form__done { display: none; gap: 14px; justify-items: start; padding-top: 12px; }
.form__done svg { width: 64px; height: 64px; fill: none; stroke: var(--fg); stroke-width: 1.2; }
.form__done svg circle { stroke: var(--line); }
.form__done svg * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.2s var(--ease-io) forwards; }
.form__done svg path { stroke: var(--sig); animation-delay: .5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form.is-done > :not(.form__done) { display: none; }
.form.is-done .form__done { display: grid; }

.access { display: grid; gap: 32px; }
.access__info { display: grid; gap: 22px; align-content: start; }
.access__addr { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 14px; border-block: 1px solid var(--line); }
.access__addr b { display: block; font-size: clamp(18px, 1.5vw, 22px); font-weight: 300; }
.access__addr span:not(.coords__ico) { color: var(--mute); font-size: 15px; }
.steps-go { display: grid; counter-reset: s; }
.steps-go li { counter-increment: s; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding-block: 10px; border-bottom: 1px solid var(--line); color: var(--mute); }
.steps-go li::before { content: counter(s, decimal-leading-zero); font-size: 14px; color: var(--sig-ink); padding-top: 2px; }
.steps-go a { color: var(--fg); }
.access__actions { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.access__map { position: relative; min-height: 380px; background: var(--bg-1); overflow: hidden; }
.access__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.85) contrast(1.02); }
.access__photo { aspect-ratio: 16 / 10; }
@media (min-width: 960px) {
  .access { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
  .access__info { grid-column: 1 / 6; }
  .access__map { grid-column: 7 / 13; min-height: 560px; }
}
.sends { display: grid; gap: 0 var(--gap); border-top: 1px solid var(--line); perspective: 1400px; }
.send { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 6px 14px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.send__ico { grid-row: 1 / 3; width: 22px; height: 22px; color: var(--mute); padding-top: 2px; }
.send__ico svg { width: 22px; height: 22px; }
.send p { color: var(--mute); }
@media (min-width: 900px) { .sends { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ═══════════ IMMERSION (effets pilotés par ae.js) ═══════════ */
.imm-sec > .wrap { will-change: transform, opacity; transform-origin: 50% 0; }
.scrub-words .wi { transform: translateY(calc(clamp(0, 1 - var(--tp, 0) * 1.7 + var(--i, 0) * .07, 1) * 112%)); transition: transform .16s linear; }
.lights .lw { opacity: clamp(.18, calc((var(--lp, 0) * (var(--n, 10) + 8) - var(--i, 0)) / 8), 1); transition: opacity .2s linear; }
.imm-card { transform-origin: 50% 100%; backface-visibility: hidden; will-change: transform, opacity; }
.reduced .scrub-words .wi { transform: none; }
.reduced .lights .lw { opacity: 1; }
main > section, .ftr { overflow-x: clip; }
.hs, .story, .refx, #carte { overflow-x: visible; }

/* ═══════════ THÈME CLAIR · AJUSTEMENTS (couleurs du logo) ═══════════ */
.tile--logo img { mix-blend-mode: multiply; }
.tile--red > .dl, .tile--red > .dl span { color: var(--fg); }
.tile--red .dl i { background: var(--fg); }
.tile--paper small, .tile--paper p { color: rgba(255, 255, 255, .78); }
.finale { border-top: 0; }
.finale__card { background: var(--sig); color: var(--fg); }
.finale__kick, .finale__text { color: rgba(38, 38, 38, .82); }
.finale__title .hl { color: #fff; }
.finale .dl i { background: var(--fg); }
.finale .dl--ghost i { background: transparent; box-shadow: inset 0 0 0 1px var(--fg); }
.finale .dl--ghost:hover i { background: #fff; box-shadow: none; }
.veil { background: var(--bg); }
.veil__in { color: var(--fg); }
.menu { background: var(--bg-1); }
.cursor.is-view span { color: #fff; }
.rcard.is-focus .rcard__y { color: var(--sig-d); }
.cidx button[aria-pressed="true"] em, .fchip[aria-pressed="true"] i { color: var(--sig-ink); }
.dom__media, .feed__media, .tile.curtain { background: var(--bg-1); }
.access__map { background: var(--bg-1); }
.expand { background: var(--bg-1); }
.refx__reset[hidden] { display: none; }
.refx__focus:not(:empty) { padding: 10px 12px; background: rgba(255, 255, 255, .88); box-shadow: inset 3px 0 0 var(--sig); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.refx__focus .rf__y { color: var(--sig-d); }
[hidden] { display: none !important; }
@media (max-width: 600px) { .tile--paper { padding: 10px 12px; } .tile--paper p { font-size: 12px; gap: 4px 8px; flex-wrap: wrap; } .tile--red { padding: 12px; } }

/* ═══════════ BOÎTES COLORÉES (orange, marron foncé, anthracite, crème) ═══════════
   Chaque boîte redéfinit les jetons de couleur : son contenu (textes, filets, points)
   s'adapte sans autre règle. */
:root { --brown: #3b2416; --brown-2: #5b3a24; }
.studio__c, .city__txt, .idcard, .dom__refs, .coords, .step.is-active .step__card,
.nums .num:nth-child(5n + 1), .values .value:nth-child(4n + 3), .modes .mode:nth-child(3n + 2),
.kstats > div:nth-child(4n + 1), .sends .send:nth-child(3n + 2), .pstep:nth-child(4n + 3), .ftr {
  --bg: #3b2416; --fg: #ffffff; --mute: rgba(255, 255, 255, .74); --line: rgba(255, 255, 255, .2);
  --sig-d: #ff9a4d; --sig-ink: #ffb36b;
  background: var(--bg); color: var(--fg);
}
.studio__b, .lead-card, .dcard--end,
.nums .num:nth-child(5n + 2), .values .value:nth-child(4n + 1), .modes .mode:nth-child(3n + 1),
.kstats > div:nth-child(4n + 2), .sends .send:nth-child(3n + 1), .pstep:nth-child(4n + 1) {
  --bg: #ff7900; --fg: #1f1a17; --mute: rgba(31, 26, 23, .78); --line: rgba(31, 26, 23, .22);
  --sig: #ffffff; --sig-d: #ffffff; --sig-ink: #1f1a17;
  background: var(--bg); color: var(--fg);
}
.nums .num:nth-child(5n + 4), .kstats > div:nth-child(4n + 3) {
  --bg: #2f2f2e; --fg: #ffffff; --mute: rgba(255, 255, 255, .72); --line: rgba(255, 255, 255, .18);
  --sig-d: #ff9a4d; --sig-ink: #ffb36b;
  background: var(--bg); color: var(--fg);
}
.nums .num:nth-child(5n + 3), .values .value:nth-child(4n + 2), .modes .mode:nth-child(3n + 3),
.kstats > div:nth-child(4n + 4), .sends .send:nth-child(3n + 3), .pstep:nth-child(4n + 2),
.step__card, .form, .profiles, #partenaires, #bailleurs, #pays, #parcours {
  --bg: #f7f4f0; background: var(--bg);
}
.nums .num:nth-child(5n + 5), .values .value:nth-child(4n + 4), .pstep:nth-child(4n + 4) { --bg: #fff3e6; background: var(--bg); }

/* mise en boîte : marges intérieures, plus de filets séparateurs */
.studio__b, .studio__c, .city__txt, .idcard, .dom__refs, .lead-card, .dcard--end { padding: clamp(20px, 2.2vw, 30px); }
.studio__b, .studio__c { align-self: start; }
.coords { padding: 4px clamp(18px, 2vw, 26px); border-top: 0; }
.coords__row:last-child { border-bottom: 0; }
.form { padding: clamp(20px, 3vw, 40px); }
.profiles { padding: 6px 18px; border-top: 0; }
.profiles span:nth-last-child(-n + 2) { border-bottom: 0; }
.lead-card { margin-top: 4px; }
.lead-card__ini { background: #1f1a17; color: #fff; }
.dcard--end { align-content: space-between; min-height: 100%; }
.dcard--end .dl i { background: #fff; }
.dom__refs .rrefs { border-top-color: var(--line); }
.dom__refs .rref:last-child { border-bottom: 0; }
.idcard dl div:last-child { border-bottom: 0; }

.step__card { padding: 22px 24px; border-top: 0; box-shadow: inset 3px 0 0 var(--line); transition: opacity .6s, transform .9s var(--ease-out), background-color .6s, color .6s; }
.step.is-active .step__card { box-shadow: inset 3px 0 0 #ff7900; }

.nums { border-top: 0; display: grid; gap: var(--gap); }
.nums .num { padding: clamp(20px, 2.2vw, 30px); border-bottom: 0; overflow: hidden; align-content: space-between; min-height: 200px; }
.nums .num__v { font-size: clamp(48px, 5.4vw, 88px); }
.nums .num__bar { bottom: 0; height: 4px; background: var(--sig); }
.nums .num:nth-child(5n + 2) .num__bar { background: #1f1a17; }
@media (min-width: 900px) {
  .nums { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .nums .num { grid-template-columns: 1fr; grid-column: span 2; }
  .nums .num:nth-child(n + 4) { grid-column: span 3; }
  .nums .num__v, .nums .num__l { grid-column: auto; }
}

.values { gap: var(--gap); }
.value { padding: clamp(20px, 2.2vw, 28px); border-top: 0; }
.modes, .sends { gap: var(--gap); border-top: 0; }
.mode, .send { padding: clamp(20px, 2.2vw, 28px); border-bottom: 0; }
.kstats { gap: var(--gap); border-top: 0; padding-top: 0; }
.kstats > div { padding: clamp(18px, 2vw, 26px); align-content: space-between; min-height: 150px; }
.pstep { padding: clamp(20px, 2.2vw, 26px); border-top: 0; overflow: hidden; }
.pstep::before { top: 0; height: 4px; }
.pstep:nth-child(4n + 1)::before { background: #1f1a17; }
#partenaires, #bailleurs, #pays, #parcours { border-top: 0; }

/* ═══════════ BANDEAUX : drapeaux, informations, logos ═══════════ */
.band { position: relative; overflow: hidden; padding-block: 16px; }
.band__row { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 56px); width: max-content; will-change: transform; }
.band--flags { border-block: 1px solid var(--line); background: var(--bg); }
.fl { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.fl .flag { width: 42px; height: 28px; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.fl b { font-size: clamp(16px, 1.25vw, 19px); font-weight: 400; letter-spacing: -.01em; }
.fl em { font-style: normal; font-size: 13px; color: var(--sig-ink); padding: 3px 8px; background: var(--bg-2); }
.band--info { padding-block: 14px; }
.band--info li { display: flex; align-items: center; gap: 10px; white-space: nowrap; font-size: 15px; }
.band--info i { width: 6px; height: 6px; border-radius: 50%; background: var(--sig); flex: none; }
.band--brown { --fg: #fff; --sig: #ff7900; background: #3b2416; color: #fff; }
.band--orange { --sig: #1f1a17; background: #ff7900; color: #1f1a17; }
.band--logos { display: grid; gap: 12px; padding-block: 22px; background: #f7f4f0; border-block: 1px solid var(--line); }
.band__label { padding-inline: var(--gut); font-size: 14px; color: var(--mute); }
.band--logos .band__row { gap: var(--gap); }
.lg { flex: none; width: 150px; height: 72px; display: grid; place-items: center; padding: 10px 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.lg img { max-width: 100%; max-height: 46px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .4s, opacity .4s; }
.lg:hover img { filter: none; opacity: 1; }
.lg--t { font-size: 14px; text-align: center; line-height: 1.2; color: var(--mute); }

/* ═══════════ PIED DE PAGE COMPACT (marron foncé) ═══════════ */
.ftr { padding-block: 22px 0; font-size: 14px; }
.ftr__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; padding-bottom: 18px; }
.ftr__brand { display: flex; align-items: center; gap: 12px; }
.ftr__brand strong { display: block; font-size: 16px; font-weight: 400; color: #fff; }
.ftr__brand > span:last-child { color: var(--mute); line-height: 1.35; }
.ftr__nav, .ftr__contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.ftr__nav a, .ftr__contact a { color: var(--mute); transition: color .25s; }
.ftr__nav a:hover, .ftr__contact a:hover { color: #fff; }
.ftr__contact a:last-child { color: #ff9a4d; }
.ftr__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }

/* conclusion moins haute */
.finale__card { padding-block: clamp(48px, 6vw, 88px); }
.finale__title { font-size: clamp(40px, 6.4vw, 104px); }
.finale__inner { gap: 24px; }

/* numéros des domaines : chiffre orange plein, plus de contour géant */
.dom__num { font-size: clamp(48px, 5.4vw, 88px); color: var(--sig); -webkit-text-stroke: 0; line-height: .9; }

/* ponctuation collée au dernier mot d’un titre découpé */
.nw, .nw * { white-space: nowrap; }

/* index des pays : drapeau devant le nom */
.cidx__n { display: flex; align-items: center; gap: .45em; min-width: 0; }
.cidx__n .flag { width: 1.05em; height: .7em; flex: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: filter .35s, opacity .35s; }
.cidx:hover button .flag { filter: grayscale(1); opacity: .45; }
.cidx button:hover .flag, .cidx button[aria-pressed="true"] .flag { filter: none; opacity: 1; }
.cidx button { align-items: center; }

/* mobile : blocs de chiffres plus ramassés */
@media (max-width: 899px) {
  .nums .num { min-height: 0; gap: 22px; }
  .kstats > div { min-height: 0; gap: 14px; }
}

/* ═══════════ INTRODUCTION SUR PHOTOS PLEIN ÉCRAN (accueil, cabinet) ═══════════ */
.hero--photo, .phero--photo {
  --fg: #ffffff; --mute: rgba(255, 255, 255, .84); --line: rgba(255, 255, 255, .3); --sig-d: #ff8f2e; --sig: #ff7900;
  position: relative; isolation: isolate; overflow: clip;
  min-height: 100vh; min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  padding: calc(var(--hdr) + 32px) 0 0;
  background: #24160d; color: var(--fg);
}
.hero--photo .hero__top, .phero--photo .phero__grid { align-self: end; padding-bottom: clamp(28px, 4.5vw, 64px); }
.hero--photo .hero__title, .phero--photo h1 { text-shadow: 0 2px 30px rgba(20, 12, 6, .35); }
.hero--photo .hero__aside .lead, .phero--photo .lead { color: rgba(255, 255, 255, .9); }
.hero--photo .dl--ghost i, .phero--photo .dl--ghost i { box-shadow: inset 0 0 0 1px #fff; }

.pslides { position: absolute; inset: 0; z-index: -1; overflow: hidden; translate: 0 calc(var(--hp, 0) * 16vh); }
.pslide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.6s var(--ease-io); }
.pslide.is-on { opacity: 1; }
.pslide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 0s 1.7s; }
.pslide.is-on img { transform: scale(1); transition: transform 9s linear; }
.pslides::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(36, 22, 13, .86) 0%, rgba(36, 22, 13, .62) 45%, rgba(36, 22, 13, .42) 100%),
    linear-gradient(0deg, rgba(36, 22, 13, .8) 0%, rgba(36, 22, 13, .38) 40%, rgba(36, 22, 13, 0) 66%),
    linear-gradient(180deg, rgba(36, 22, 13, .45) 0%, rgba(36, 22, 13, 0) 22%);
}

.pslides__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.pslides__cap { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.pslides__cap b { font-weight: 400; color: #fff; font-variant-numeric: tabular-nums; }
.pslides__cap em { margin-left: 10px; font-style: normal; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pslides__dots { display: flex; gap: 6px; flex: none; }
.pslides__dots button { position: relative; width: clamp(26px, 3.6vw, 52px); height: 18px; }
.pslides__dots button::before, .pslides__dots i { content: ''; position: absolute; left: 0; right: 0; top: 8px; height: 2px; }
.pslides__dots button::before { background: rgba(255, 255, 255, .32); transition: background-color .3s; }
.pslides__dots button:hover::before { background: rgba(255, 255, 255, .7); }
.pslides__dots i { background: #ff7900; transform: scaleX(0); transform-origin: 0 50%; }
.pslides__dots button.is-past i { transform: scaleX(1); }
.pslides__dots button[aria-current="true"] i { animation: pslideFill var(--sd, 6.5s) linear forwards; }
.is-paused .pslides__dots i, .is-hold .pslides__dots i { animation-play-state: paused !important; }
@keyframes pslideFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .pslide.is-on img { transform: none; transition: none; }
  .pslides__dots button[aria-current="true"] i { animation-duration: 12s; }
}
@media (max-width: 759px) {
  .pslides__cap em { display: none; }
  .pslides::after { background: linear-gradient(0deg, rgba(36, 22, 13, .9) 0%, rgba(36, 22, 13, .55) 55%, rgba(36, 22, 13, .4) 100%); }
}

/* en-tête clair tant qu'il passe sur les photos de l'introduction */
html:has(.hero--photo, .phero--photo):not(.menu-open) .hdr:not(.is-solid) { --fg: #ffffff; --mute: rgba(255, 255, 255, .8); color: #fff; }

/* mur de tuiles de l'accueil, désormais sous l'introduction */
.sec--wall .wall { margin-top: var(--gap); }

/* ═══════════ CARROUSELS : onglets numérotés, panneaux, pages Expertises / Références / Contact ═══════════ */
.pslides__bar--tabs { padding-block: 0; }
.pslides__dots--tabs { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 0 clamp(10px, 1.6vw, 24px); width: 100%; }
.pslides__dots--tabs button { width: auto; height: auto; display: flex; align-items: baseline; gap: 8px; min-width: 0; padding: 16px 0 18px; text-align: left; font-size: 14px; color: var(--mute); transition: color .3s; }
.pslides__dots--tabs button::before, .pslides__dots--tabs i { top: -1px; }
.pslides__dots--tabs button span { color: #fff; font-variant-numeric: tabular-nums; }
.pslides__dots--tabs button em { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pslides__dots--tabs button[aria-current="true"], .pslides__dots--tabs button:hover { color: #fff; }
.pslides__bar--tabs { border-top: 0; }

.ppanels { display: grid; }
.ppanel { grid-area: 1 / 1; align-self: end; display: grid; gap: 12px; justify-items: start; padding: clamp(20px, 2.2vw, 30px); background: rgba(36, 22, 13, .58); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 3px 0 #ff7900; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-io), transform .9s var(--ease-out); }
.ppanel.is-on { opacity: 1; transform: none; transition-delay: .3s; }
.ppanel__n { display: flex; gap: 8px; font-size: 14px; color: #ff9a4d; }
.ppanel__n span { color: var(--mute); }
.ppanel__t { font-size: clamp(24px, 2.3vw, 34px); line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.ppanel__d { color: rgba(255, 255, 255, .9); max-width: 44ch; }
.phero--doms .phero__copy .lead { max-width: 46ch; }
@media (min-width: 1000px) {
  .phero--doms .phero__copy { grid-column: 1 / 8; }
  .phero--doms .phero__side { grid-column: 8 / 13; }
}

/* contour de l'Afrique en blanc sur les photos (Références) */
.phero--photo .outline path { stroke: rgba(255, 255, 255, .55); }
.phero--photo.is-ready .outline path.is-ae, .is-ready .phero--photo .outline path.is-ae { stroke: rgba(36, 22, 13, .6); }

/* chiffres clés sous l'introduction (Références) */
.sec--kst { padding-top: var(--gap); }

/* coordonnées et formulaire, désormais sous l'introduction (Contact) */
.phero--photo + .phero--contact { padding-top: clamp(40px, 5vw, 72px); }
.phero--contact .chero__copy > .h3 { margin-bottom: 4px; }

@media (max-width: 759px) {
  .pslides__dots--tabs button em { display: none; }
  .pslides__dots--tabs button { padding-block: 14px 16px; }
  .phero--doms .phero__copy .lead { display: none; }
  .ppanel__d { font-size: 15px; }
}

/* carte de l'Afrique de l'introduction Références : colonne de droite, elle grandit en se dessinant */
@media (min-width: 1000px) {
  .phero--photo .phero__grid:has(.outline) .phero__copy { grid-column: 1 / 8; }
  .phero--photo .outline { grid-column: 8 / 13; grid-row: 1; height: clamp(300px, 36vw, 500px); align-self: end; }
}
.phero--photo .outline svg { transform: scale(.55); transform-origin: 50% 60%; opacity: 0; transition: transform 3.2s var(--ease-out), opacity 1s; }
.is-ready .phero--photo .outline svg { transform: none; opacity: 1; }
.phero--photo .outline path.is-ae { filter: drop-shadow(0 0 6px rgba(255, 121, 0, .55)); }
@media (max-width: 999px) {
  .phero--photo .outline { height: clamp(160px, 40vw, 260px); }
}

/* ═══════════ PORTRAIT DU GÉRANT (Cabinet, 04 — L'équipe) ═══════════
   À l'apparition : le liseré orange se dessine, la photo se dévoile de bas en haut
   en passant du noir et blanc à la couleur, un reflet la traverse, puis l'encadré
   orange glisse et son texte monte ligne par ligne. Au survol : inclinaison 3D,
   reflet qui suit la souris, liseré qui s'écarte. */
.leader { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; margin-top: 10px; padding: 0 16px 16px 0; }
.leader__photo { position: relative; z-index: 1; margin: 0; aspect-ratio: 3 / 4; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease-out); }
.leader__frame { position: absolute; inset: 0; translate: 14px 14px; box-shadow: inset 0 0 0 1px #ff7900; clip-path: inset(0 100% 100% 0); transition: clip-path 1.7s var(--ease-io) .1s, translate .9s var(--ease-out); pointer-events: none; }
.leader__img { position: absolute; inset: 0; overflow: hidden; background: #2f2f2e; clip-path: inset(100% 0 0 0); transition: clip-path 1.5s var(--ease-io) .35s, transform .9s var(--ease-out); box-shadow: 0 34px 60px -34px rgba(36, 22, 13, .6); }
.leader__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; scale: 1.35; filter: grayscale(1) brightness(.72); transition: scale 2.8s var(--ease-out) .35s, filter 2.2s var(--ease-out) 1s; }
.leader__shine { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.leader__shine::before { content: ''; position: absolute; top: -10%; bottom: -10%; left: -60%; width: 60%; background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, .42) 50%, transparent 100%); transform: translateX(0) skewX(-12deg); opacity: 0; }
.leader__shine::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .2), transparent 46%); opacity: 0; transition: opacity .5s; }

.leader__card {
  --fg: #1f1a17; --mute: rgba(31, 26, 23, .78); --line: rgba(31, 26, 23, .25); --sig: #ffffff;
  position: relative; z-index: 2; display: grid; align-content: end; justify-items: start; gap: 8px;
  margin: 0 0 -16px -26px; min-height: 72%; padding: clamp(18px, 2vw, 28px);
  background: #ff7900; color: var(--fg); box-shadow: 0 30px 50px -30px rgba(120, 50, 0, .55);
  clip-path: inset(0 0 0 100%); transition: clip-path 1.3s var(--ease-io) .75s;
}
.leader__card > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); }
.leader__label { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.leader__rule { display: block; width: 40px; height: 2px; background: #fff; transform-origin: 0 50%; }
.leader__name { font-size: clamp(26px, 2.5vw, 38px); line-height: 1; letter-spacing: -.035em; font-weight: 400; }
.leader__role { font-size: 15px; color: var(--mute); }
.leader__card .dl { margin-top: 6px; font-size: 15px; }

/* apparition */
.leader.is-in .leader__frame { clip-path: inset(0 0 0 0); }
.leader.is-in .leader__img { clip-path: inset(0 0 0 0); }
.leader.is-in .leader__img img { scale: 1.04; filter: none; }
.leader.is-in .leader__shine::before { animation: leaderShine 1.5s var(--ease-io) 2.3s both; }
.leader.is-in .leader__card { clip-path: inset(-40px -40px -60px 0); }
.leader.is-in .leader__card > * { opacity: 1; transform: none; }
.leader.is-in .leader__card > :nth-child(1) { transition-delay: 1.2s; }
.leader.is-in .leader__card > :nth-child(2) { transform: scaleX(1); transition: transform 1.1s var(--ease-io) 1.3s, opacity .4s 1.3s; }
.leader.is-in .leader__card > :nth-child(3) { transition-delay: 1.38s; }
.leader.is-in .leader__card > :nth-child(4) { transition-delay: 1.5s; }
.leader.is-in .leader__card > :nth-child(5) { transition-delay: 1.62s; }
.leader__rule { transform: scaleX(0); }
@keyframes leaderShine { 0% { opacity: 0; transform: translateX(0) skewX(-12deg); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(380%) skewX(-12deg); } }

/* survol */
.leader__photo:hover .leader__frame { translate: 24px 24px; }
.leader__photo:hover .leader__img { transform: scale(1.025); }
.leader__photo:hover .leader__shine::before { animation: leaderShineHover 1.1s var(--ease-io) both; }
.leader__photo:hover .leader__shine::after { opacity: 1; }
@keyframes leaderShineHover { 0% { opacity: 0; transform: translateX(0) skewX(-12deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateX(380%) skewX(-12deg); } }

/* sans animation (préférence système) ou sans JavaScript : tout est affiché d'emblée */
.reduced .leader__frame, .reduced .leader__img, .reduced .leader__card, .no-js .leader__frame, .no-js .leader__img, .no-js .leader__card { clip-path: none !important; transition: none !important; }
.reduced .leader__img img, .no-js .leader__img img { scale: 1; filter: none; transition: none; }
.reduced .leader__card > *, .no-js .leader__card > * { opacity: 1; transform: none; transition: none; }
.reduced .leader__shine, .no-js .leader__shine { display: none; }

@media (max-width: 759px) {
  .leader { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
  .leader__card { margin-left: -18px; min-height: 80%; padding: 16px; }
  .leader__name { font-size: 24px; }
  .leader__role, .leader__card .dl { font-size: 14px; }
}

/* ═══════════ 04 — L'ÉQUIPE : portrait en grand à gauche, sur toute la hauteur du bloc de texte ═══════════ */
.team__media { display: grid; }
.leader { position: relative; display: block; margin: 0 0 28px; padding: 0; min-height: 0; }
.leader__photo { width: 100%; height: 100%; aspect-ratio: 4 / 5; }
.leader__card { position: absolute; right: -14px; bottom: -28px; width: min(300px, 62%); min-height: 0; margin: 0; }
.team__strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: clamp(56px, 6vw, 96px); }
.team__strip figure { aspect-ratio: 4 / 3; }
@media (min-width: 1000px) {
  .team { align-items: stretch; }
  .team__media { grid-column: 1 / 7; }
  .team__copy { grid-column: 8 / 13; position: static; align-self: center; }
  .leader { height: 100%; min-height: 560px; margin-bottom: 0; }
  .leader__photo { aspect-ratio: auto; }
  .leader__card { right: calc(-1 * clamp(28px, 4vw, 64px)); bottom: clamp(28px, 4vw, 56px); width: min(320px, 56%); }
}
@media (max-width: 759px) {
  .leader__card { width: 68%; right: -6px; padding: 16px; }
  .team__strip figure { aspect-ratio: 3 / 4; }
}

/* ═══════════ MOSAÏQUES D'IMAGES (grilles à tailles variées) ═══════════
   Les images d'illustration sont rangées en grille : 12 colonnes à partir de 760 px,
   2 colonnes en dessous. Chaque tuile prend --c colonnes et --r rangées
   (--cm et --rm sur mobile). Les photos remplissent leur case, la légende est posée
   sur la photo et monte après le dévoilement ; un liseré orange file au survol. */
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(var(--row-m, 150px), auto); gap: var(--gap); }
.mosaic > * { position: relative; min-width: 0; margin: 0; grid-column: span var(--cm, 1); grid-row: span var(--rm, 1); }
.mosaic .curtain { display: block; height: 100%; }
.mosaic .curtain img { position: absolute; inset: 0; }
.mosaic .curtain::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: #ff7900; transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.mosaic .curtain:hover::after, .mosaic a:hover .curtain::after { transform: scaleX(1); }
@media (min-width: 760px) {
  .mosaic { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: minmax(var(--row, clamp(140px, 14vw, 210px)), auto); }
  .mosaic > * { grid-column: span var(--c, 4); grid-row: span var(--r, 1); }
}

.mosaic__cap { --fg: #ffffff; --mute: rgba(255, 255, 255, .8); position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: grid; gap: 4px; justify-items: start; padding: clamp(40px, 4vw, 64px) clamp(12px, 1.4vw, 18px) clamp(10px, 1.2vw, 16px); background: linear-gradient(to top, rgba(28, 17, 10, .86) 0%, rgba(28, 17, 10, .5) 50%, rgba(28, 17, 10, 0) 100%); color: #fff; font-size: 13px; line-height: 1.3; pointer-events: none; }
.mosaic__cap b { font-size: clamp(15px, 1.3vw, 19px); font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.mosaic__cap span { max-width: 56ch; color: rgba(255, 255, 255, .88); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mosaic__cap small { font-size: 12.5px; color: #ffb36b; }
.mosaic .curtain .mosaic__cap { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 120ms + .75s); }
.mosaic .curtain.is-in .mosaic__cap { opacity: 1; transform: none; }
.no-js .mosaic .mosaic__cap, .reduced .mosaic .mosaic__cap { opacity: 1; transform: none; transition: none; }
@media (max-width: 759px) { .mosaic .m1 .mosaic__cap span { display: none; } }

/* tuiles de couleur glissées dans les mosaïques */
.mosaic__tile { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 10px; padding: clamp(16px, 1.8vw, 24px); }
.mosaic__tile--orange { --fg: #1f1a17; --mute: rgba(31, 26, 23, .78); --line: rgba(31, 26, 23, .22); --sig: #ffffff; --sig-d: #ffffff; background: #ff7900; color: var(--fg); }
.mosaic__tile small { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.mosaic__tile b { font-size: clamp(24px, 2.3vw, 36px); font-weight: 300; line-height: 1; letter-spacing: -.035em; }
.mosaic__tile p { font-size: 15px; line-height: 1.35; color: var(--mute); }
.mosaic__tile .dl { font-size: 15px; }
a.mosaic__tile { transition: background-color .4s; }
a.mosaic__tile:hover { background: #e96f00; }

/* réglages de chaque mosaïque (hauteur des rangées) */
.mosaic--feed { --row: clamp(170px, 17vw, 260px); --row-m: 160px; }
.mosaic--city { --row: clamp(150px, 15vw, 220px); --row-m: 150px; }
.mosaic--work { --row: clamp(150px, 15vw, 230px); --row-m: 150px; }
.mosaic--team { --row: clamp(200px, 22vw, 320px); --row-m: 160px; margin-top: clamp(40px, 5vw, 72px); }
.mosaic--fil { --row: clamp(130px, 13vw, 200px); --row-m: 140px; }
.mosaic--city > .city__txt { position: relative; top: auto; align-content: center; }
@media (min-width: 760px) {
  .mosaic--city > .city__txt { grid-column: span var(--c); grid-row: span var(--r); }
  /* Expertises : la mosaïque tient dans la colonne du titre (6 colonnes) */
  .mosaic--dom { --row: clamp(110px, 11vw, 170px); grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .dom--flip .mosaic--dom > :nth-child(1) { grid-column: 3 / 7; grid-row: 1 / 3; }
  .dom--flip .mosaic--dom > :nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
  .dom--flip .mosaic--dom > :nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
}
.mosaic--dom { --row-m: 120px; }
/* Expertises : la colonne titre + mosaïque reste visible pendant la lecture du domaine */
@media (min-width: 1000px) { .dom__aside { align-self: start; } }
