/* ═══════════════════════════════════════════════════════════
   SAPHIR-DÉVELOPPEMENT — feuille de style du site
   Charte : bleu nuit, rouge bordeaux, bleu clair, ivoire.
   Police : Source Serif 4 (titres et textes), sérif sobre, proche du Times New Roman.
   Animations à l'apparition, au survol et au chargement ;
   aucune scène pilotée par le défilement.
   ═══════════════════════════════════════════════════════════ */

/* ═══ JETONS ═══ */
:root {
  --night: #0a1838;
  --night-2: #12275e;
  --night-3: #061026;
  --navy: #001860;
  --sapphire: #4f82b5;
  --sapphire-rgb: 79, 130, 181;
  --gem: #1646b4;
  --red: #800020;          /* rouge bordeaux */
  --red-rgb: 128, 0, 32;
  --red-2: #5f0018;
  --blood: #5a0019;        /* bordeaux profond (fonds) */
  --blood-rgb: 90, 0, 25;
  --sky: #5db8ec;          /* bleu clair */
  --sky-rgb: 93, 184, 236;
  --sky-soft: #eaf6fd;     /* bleu clair très pâle (fonds) */
  /* sur les fonds bleu nuit, le bordeaux ne se lit pas :
     les accents y passent en bleu clair */
  --red-soft: #8fd0f7;
  --paper: #f5f3ee;
  --paper-2: #ebe7de;
  --white: #ffffff;
  --ink: #0b1633;
  --ink-rgb: 11, 22, 51;
  --ink-2: #4a5470;
  --line: rgba(11, 22, 51, .12);

  --serif: 'Source Serif 4', 'Times New Roman', Georgia, serif;
  --sans: 'Source Serif 4', 'Times New Roman', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);

  /* échelle typographique : chaque texte du site utilise l'un de ces paliers */
  --t-label: 11.5px;   /* étiquettes en capitales, méta-informations */
  --t-small: 13px;     /* mentions, pied de page, aides */
  --t-ui: 14px;        /* menus, listes, champs secondaires */
  --t-text: 15px;      /* tous les paragraphes */
  --t-lead: 17px;      /* paragraphes d'introduction */
  --t-h4: 17px;        /* petits titres */
  --t-h3: 19px;        /* titres de cartes */
  --t-h2: clamp(26px, 2.45vw, 38px);      /* titres de sections */
  --t-h1: clamp(32px, 3.65vw, 52px);      /* titres de pages */
  --t-display: clamp(34px, 4.25vw, 58px); /* page de garde */
  --t-num: clamp(38px, 3.85vw, 54px);       /* chiffres clés */
  --t-quote: clamp(18px, 1.5vw, 21px);

  --gut: clamp(16px, 4vw, 56px);
  --maxw: 1280px;
  --hd-top: 14px;   /* écart entre la barre de menu et le haut de l'écran */
  --hd: 82px;       /* hauteur de la barre de menu */
  --sec: clamp(72px, 10vw, 140px);

  /* alias attendus par la carte interactive (map.js) */
  --mono: var(--sans);
  --ash: var(--ink-2);
  --hair: var(--line);
  --bone: var(--paper);
  --brick: var(--blood);
  --brick-rgb: var(--blood-rgb);
  --ease-out: var(--ease);
  --radius: 6px;
}

/* ═══ BASE ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body {
  font-family: var(--sans); font-size: var(--t-text); line-height: 1.7; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; overflow-x: clip; /* clip : ne casse pas l'en-tête collant */
}
html.no-scroll, html.no-scroll body { overflow: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(var(--red-rgb), .2); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: calc(var(--hd-top) + var(--hd) + 28px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; position: relative; }
.center { text-align: center; }

/* thèmes de section */
.t-paper { background: var(--paper); }
.t-white { background: var(--white); }
.t-night, .t-red, .t-blood { color: #fff; --ink-2: rgba(255, 255, 255, .74); --line: rgba(255, 255, 255, .16); --ash: var(--ink-2); --hair: var(--line); }
.t-night { background: var(--night); }
.t-red { background: var(--red); }
.t-blood { background: var(--blood); }

/* ═══ TYPOGRAPHIE ═══ */
.h1, .h2, .h3, h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -0.012em; line-height: 1.12; }
.h1 { font-size: var(--t-h1); line-height: 1.06; }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: 1.2; }
.h1 em, .h2 em, .h3 em { font-style: normal; color: var(--red); font-weight: inherit; }
.t-night .h2 em, .t-night .h1 em { color: var(--red-soft); }
.t-red .h2 em, .t-blood .h2 em { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 var(--t-label)/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red);
  margin-bottom: 22px;
}
.eyebrow::before { content: ''; width: 34px; height: 2px; background: currentColor; flex: none; }
.t-night .eyebrow { color: var(--red-soft); }
.t-red .eyebrow, .t-blood .eyebrow { color: #fff; }
.center .eyebrow::after { content: ''; width: 34px; height: 2px; background: currentColor; flex: none; }
.lead { font-size: var(--t-lead); line-height: 1.65; color: var(--ink-2); max-width: 62ch; }
.center .lead { margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: clamp(40px, 5vw, 72px); }
.sec-head .lead { margin-top: 22px; }
.sec-head.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px 6vw; align-items: end; }
.sec-head.split .lead { margin-top: 0; }

/* ═══ BOUTONS ═══ */
.btn {
  --bg: var(--red); --fg: #fff; --hbg: var(--night); --hfg: #fff; --bd: transparent;
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px; border-radius: 2px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ''; position: absolute; inset: -1px; z-index: -1; background: var(--hbg);
  transform: scaleX(0); transform-origin: right center; transition: transform .6s var(--ease);
}
.btn:hover { color: var(--hfg); border-color: var(--hbd, var(--bd)); }
.btn:hover::before { transform: scaleX(1); transform-origin: left center; }
.btn:active { transform: scale(.98); }
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-night { --bg: var(--night); --hbg: var(--red); }
.btn-white { --bg: #fff; --fg: var(--night); --hbg: var(--red); }
.btn-ghost { --bg: transparent; --fg: var(--night); --bd: rgba(var(--ink-rgb), .3); --hbg: var(--night); --hbd: var(--night); }
.btn-ghost-light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .5); --hbg: #fff; --hfg: var(--night); --hbd: #fff; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red);
  padding-bottom: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 0 2px no-repeat;
  transition: background-size .5s var(--ease);
}
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow svg { width: 15px; height: 15px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.t-night .link-arrow { color: var(--red-soft); }

/* ═══ CHARGEMENT & TRANSITIONS DE PAGE ═══ */
.loader {
  position: fixed; inset: 0; z-index: 400; background: #fff;
  display: grid; place-items: center; transition: opacity .7s var(--ease) .1s, visibility .7s .1s;
}
.loader-box { display: grid; justify-items: center; gap: 28px; }
.loader-box img { width: min(300px, 62vw); animation: ld-in 1.1s var(--ease) both; }
.loader-bar { position: relative; width: 180px; height: 2px; background: rgba(var(--ink-rgb), .1); overflow: hidden; }
.loader-bar i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--blood)); transform: scaleX(0); transform-origin: left; animation: ld-bar 1.2s var(--ease-io) .15s forwards; }
@keyframes ld-in { from { opacity: 0; transform: translateY(16px) scale(.97); filter: blur(6px); } }
@keyframes ld-bar { to { transform: scaleX(1); } }
html.is-ready .loader { opacity: 0; visibility: hidden; }
html.pt-arrive .loader { display: none; }
html:not(.js) .loader { display: none; }

.pt { position: fixed; inset: 0; z-index: 390; pointer-events: none; }
.pt i { position: absolute; inset: 0; transform: translateY(101%); }
.pt i:nth-child(1) { background: var(--red); }
.pt i:nth-child(2) { background: var(--blood); }
.pt i:nth-child(3) { background: var(--night); display: grid; place-items: center; }
html.pt-arrive .pt i { transform: none; }
html.pt-arrive.is-ready .pt i { transform: translateY(-101%); transition: transform .85s var(--ease-io); }
html.pt-arrive.is-ready .pt i:nth-child(2) { transition-delay: .07s; }
html.pt-arrive.is-ready .pt i:nth-child(1) { transition-delay: .14s; }
html .pt.out i { transform: none !important; transition: transform .7s var(--ease-io) !important; }
html .pt.out i:nth-child(2) { transition-delay: .07s !important; }
html .pt.out i:nth-child(3) { transition-delay: .14s !important; }

/* ═══ APPARITIONS ═══ */
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal="left"] { transform: translateX(-44px); }
html.js [data-reveal="right"] { transform: translateX(44px); }
html.js [data-reveal="zoom"] { transform: scale(.94); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-io); transition-delay: var(--d, 0s); }
html.js [data-reveal="mask"] img { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
html.js [data-reveal="mask"].is-in img { transform: none; }
/* titres découpés en mots */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w > span { display: inline-block; }
html.js [data-split] .w > span { transform: translateY(108%); transition: transform 1.05s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * 50ms); }
html.js [data-split].is-in .w > span { transform: none; }

/* ═══ EN-TÊTE : barre flottante, toujours visible ═══
   Blanche, pour que le logo soit toujours bien visible. */
.hd { position: fixed; top: var(--hd-top); left: 0; right: 0; z-index: 100; pointer-events: none; }
.hd-bar {
  pointer-events: auto; position: relative;
  display: flex; align-items: center; gap: 18px;
  width: calc(100% - 2 * var(--gut)); max-width: calc(var(--maxw) + 48px); height: var(--hd); margin: 0 auto;
  padding: 0 8px 0 24px; border-radius: 999px;
  background: #fff;   /* blanc plein : le logo reste bien lisible sur les photos */
  border: 1px solid rgba(var(--ink-rgb), .06);
  box-shadow: 0 18px 44px -24px rgba(6, 16, 38, .55), 0 2px 8px -4px rgba(6, 16, 38, .18);
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.hd-bar:hover, .hd-bar:focus-within, .hd.mega-open .hd-bar, .menu-open .hd-bar { background: #fff; box-shadow: 0 22px 50px -24px rgba(6, 16, 38, .6), 0 2px 8px -4px rgba(6, 16, 38, .18); }
.hd-logo { flex: none; display: block; }
.hd-logo img { height: 62px; width: auto; }
.hd-nav { margin-left: auto; }   /* non positionné : le panneau et la pastille se calent sur la barre */
.hd-nav > ul { display: flex; align-items: center; gap: 2px; }
.hd-nav > ul > li > a {
  position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  height: 46px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  font: 700 14.5px/1 var(--sans); letter-spacing: .05em; text-transform: uppercase; color: var(--night); transition: color .3s;
}
.hd-nav > ul > li > a:hover, .hd.mega-open .has-mega > a { color: var(--red); }
.hd-nav > ul > li > a[aria-current="page"] { color: var(--red); }
.hd-nav > ul > li > a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--red); }
/* pastille qui glisse sous le lien survolé */
.hd-ink { position: absolute; left: 0; top: 50%; height: 46px; width: 0; margin-top: -23px; border-radius: 999px; background: rgba(var(--sky-rgb), .2); opacity: 0; pointer-events: none; transition: transform .55s var(--ease), width .55s var(--ease), opacity .35s; }
.hd-ink.on { opacity: 1; }
.hd-nav .chev { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.hd.mega-open .chev { transform: rotate(180deg); }
.hd-nav .ext { font-size: 12px; opacity: .7; }
.hd-cta {
  flex: none; display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 7px 0 22px; border-radius: 999px;
  background: var(--red); color: #fff; font: 700 13.5px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background .45s var(--ease);
}
.hd-cta i { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; transition: transform .55s var(--ease), color .45s; }
.hd-cta i svg { width: 16px; height: 16px; }
.hd-cta:hover { background: var(--night); }
.hd-cta:hover i { transform: rotate(-45deg); color: var(--night); }

/* panneau « Nos services » */
.mega {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px);
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; padding: 22px;
  background: #fff; border-radius: 26px; box-shadow: 0 40px 80px -34px rgba(6, 16, 38, .55), 0 2px 10px -4px rgba(6, 16, 38, .15);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.985); transform-origin: top center;
  transition: opacity .4s var(--ease), transform .55s var(--ease), visibility .4s;
}
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px; } /* pont pour la souris */
.hd.mega-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; align-content: start; }
.mega-list a {
  display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center;
  padding: 12px; border-radius: 16px; font: 600 var(--t-ui)/1.35 var(--sans); color: var(--night);
  opacity: 0; transform: translateY(8px);
  transition: background .35s, color .35s, opacity .45s var(--ease), transform .55s var(--ease);
  transition-delay: 0s, 0s, calc(var(--i) * 30ms + .06s), calc(var(--i) * 30ms + .06s);
}
.hd.mega-open .mega-list a { opacity: 1; transform: none; }
.mega-list .mi { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(var(--red-rgb), .08); color: var(--red); transition: background .35s, color .35s, transform .5s var(--ease); }
.mega-list .mi svg { width: 21px; height: 21px; }
.mega-list a:hover { background: var(--paper); color: var(--red); }
.mega-list a:hover .mi { background: var(--red); color: #fff; transform: rotate(-8deg); }
.mega-feat { position: relative; display: block; border-radius: 18px; overflow: hidden; min-height: 240px; color: #fff; }
.mega-feat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mega-feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 56, .05), rgba(10, 24, 56, .9)); }
.mega-feat span { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.mega-feat b { display: block; font: 600 var(--t-h4)/1.3 var(--serif); margin-bottom: 10px; }
.mega-feat small { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red-soft); }
.mega-feat:hover img { transform: scale(1.06); }

/* bouton menu (mobile) */
.hd-burger { display: none; margin-left: auto; align-items: center; gap: 12px; height: 46px; padding: 0 16px 0 18px; border-radius: 999px; background: var(--night); color: #fff; transition: background .4s; }
.hd-burger:hover { background: var(--red); }
.hd-burger b { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.hd-burger .bars { position: relative; width: 20px; height: 12px; }
.hd-burger .bars i { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease); }
.hd-burger .bars i:nth-child(1) { top: 0; }
.hd-burger .bars i:nth-child(2) { top: 5px; width: 65%; }
.hd-burger .bars i:nth-child(3) { top: 10px; }
.menu-open .hd-burger .bars i:nth-child(1) { top: 5px; transform: rotate(45deg); }
.menu-open .hd-burger .bars i:nth-child(2) { opacity: 0; }
.menu-open .hd-burger .bars i:nth-child(3) { top: 5px; transform: rotate(-45deg); }

/* menu plein écran (mobile) */
.mnav {
  position: fixed; inset: 0; z-index: 99; background: var(--night); color: #fff;
  padding: calc(var(--hd-top) + var(--hd) + 28px) var(--gut) 40px; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - var(--gut) - 50px) calc(var(--hd-top) + var(--hd) / 2)); visibility: hidden;
  transition: clip-path .9s var(--ease-io), visibility 0s .9s;
}
.menu-open .mnav { clip-path: circle(150% at calc(100% - var(--gut) - 50px) calc(var(--hd-top) + var(--hd) / 2)); visibility: visible; transition: clip-path .9s var(--ease-io), visibility 0s; }
.mnav-list > li { border-bottom: 1px solid rgba(255, 255, 255, .12); opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: 0s; }
.menu-open .mnav-list > li { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * 60ms); }
.mnav-list > li > a, .mnav-list > li > button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; font: 700 clamp(18px, 4.3vw, 24px)/1.15 var(--serif); letter-spacing: .04em; text-transform: uppercase; text-align: left; color: #fff;
}
.mnav-list > li > a[aria-current="page"] { color: var(--red-soft); }
.mnav-list .plus { position: relative; width: 20px; height: 20px; flex: none; }
.mnav-list .plus::before, .mnav-list .plus::after { content: ''; position: absolute; left: 0; top: 9px; width: 20px; height: 2px; background: var(--red-soft); transition: transform .45s var(--ease); }
.mnav-list .plus::after { transform: rotate(90deg); }
.mnav-list [aria-expanded="true"] .plus::after { transform: rotate(0); }
.mnav-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.mnav-sub > ul { overflow: hidden; }
.mnav-sub.open { grid-template-rows: 1fr; }
.mnav-sub a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: var(--t-text); font-weight: 500; color: rgba(255, 255, 255, .84); }
.mnav-sub a .mi { width: 32px; height: 32px; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--red-soft); }
.mnav-sub a .mi svg { width: 17px; height: 17px; }
.mnav-sub li:last-child { padding-bottom: 16px; }   /* marge dans la zone repliable, sinon elle dépasse quand c’est fermé */
.mnav-foot { margin-top: 34px; display: grid; gap: 10px; font-size: var(--t-ui); color: rgba(255, 255, 255, .78); }
.mnav-foot .btn { margin-top: 14px; justify-self: start; }

/* ═══ ACCUEIL — PAGE DE GARDE (diaporama) ═══
   Les photos restent en fond, en pleine lumière ; tout le texte
   est posé sur des blocs blancs. */
.hs { position: relative; height: 100svh; min-height: 700px; max-height: 1080px; color: var(--ink); background: var(--paper); overflow: hidden; }
.hs-slides { position: absolute; inset: 0; }
.hs-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 1.3s var(--ease), visibility 1.3s; }
.hs-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hs-media { position: absolute; inset: 0; overflow: hidden; background: var(--night); }
.hs-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 8s linear; }
.hs-slide.is-active .hs-media img { transform: scale(1.02); }
.hs-copy { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--hd-top) + var(--hd) + 28px); padding-bottom: 130px; }
.hs-card {
  position: relative; width: 100%; max-width: min(610px, calc(50vw - var(--gut) - 24px));
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 40px);
  background: #fff; border-radius: 6px; box-shadow: 0 40px 90px -40px rgba(6, 16, 38, .6), 0 2px 10px -4px rgba(6, 16, 38, .2);
}
.hs-card::before, .hs-xp::before, .phero-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 6px 6px 0 0; background: linear-gradient(90deg, var(--red) 0 62%, var(--sky) 62%); }
.hs .eyebrow { color: var(--red); margin-bottom: 18px; }
.hs .eyebrow::before { background: var(--sky); }
.hs-title { font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 3.3vw, 50px); line-height: 1.08; letter-spacing: -0.028em; color: var(--night); }
.hs-title em { font-style: normal; font-weight: inherit; color: var(--red); }
.hs-title .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hs-title .ln > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.hs-lead { margin-top: 20px; font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); }
.hs-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.hs-chips a { padding: 7px 12px; border-radius: 999px; background: var(--sky-soft); border: 1px solid rgba(var(--sky-rgb), .45); font: 600 12.5px/1.2 var(--sans); color: var(--night); transition: background .3s, color .3s, border-color .3s; }
.hs-chips a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.hs-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hs-slide .hs-card { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.hs-slide .eyebrow, .hs-slide .hs-lead, .hs-slide .hs-chips, .hs-slide .hs-ctas { opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
html.is-ready .hs-slide.is-active .hs-card { opacity: 1; transform: none; transition-delay: .1s; }
html.is-ready .hs-slide.is-active .ln > span { transform: none; transition-delay: calc(.35s + var(--l, 0) * .13s); }
html.is-ready .hs-slide.is-active .eyebrow { opacity: 1; transform: none; transition-delay: .25s; }
html.is-ready .hs-slide.is-active .hs-lead { opacity: 1; transform: none; transition-delay: .7s; }
html.is-ready .hs-slide.is-active .hs-chips { opacity: 1; transform: none; transition-delay: .8s; }
html.is-ready .hs-slide.is-active .hs-ctas { opacity: 1; transform: none; transition-delay: .9s; }

/* navigation du diaporama : un bloc blanc en bas à gauche */
.hs-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none; }
.hs-ui-in { padding-bottom: 34px; }
.hs-nav { pointer-events: auto; display: inline-flex; align-items: center; gap: 24px; padding: 10px 10px 10px 24px; background: #fff; border-radius: 999px; box-shadow: 0 20px 44px -24px rgba(6, 16, 38, .55); }
.hs-dots { display: flex; gap: 16px; }
.hs-dots button { width: clamp(56px, 5.5vw, 84px); text-align: left; color: rgba(var(--ink-rgb), .45); font: 700 var(--t-label) var(--sans); letter-spacing: .1em; transition: color .4s; }
.hs-dots button span { display: block; margin-bottom: 7px; }
.hs-dots button i { position: relative; display: block; height: 2px; background: rgba(var(--ink-rgb), .14); overflow: hidden; }
.hs-dots button i::after { content: ''; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hs-dots button.on { color: var(--night); }
.hs-dots button.on i::after { animation: hs-prog var(--dur, 7s) linear forwards; }
.hs.paused .hs-dots button.on i::after { animation-play-state: paused; }
@keyframes hs-prog { to { transform: scaleX(1); } }
.hs-arrows { display: flex; gap: 6px; }
.hs-arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(var(--ink-rgb), .16); display: grid; place-items: center; color: var(--night); transition: background .4s, border-color .4s, color .4s, transform .4s var(--ease); }
.hs-arrows button:hover { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.06); }
.hs-arrows svg { width: 17px; height: 17px; }

/* « Nos expériences en bref » : bloc blanc permanent, en bas à droite */
.hs-xp {
  position: absolute; z-index: 5; right: max(var(--gut), calc((100% - var(--maxw)) / 2)); bottom: 34px;
  width: min(540px, calc(50vw - var(--gut) - 24px)); padding: 22px 24px 16px;
  background: #fff; border-radius: 6px; box-shadow: 0 40px 90px -40px rgba(6, 16, 38, .6), 0 2px 10px -4px rgba(6, 16, 38, .2);
}
.hs-xp::before { background: linear-gradient(90deg, var(--sky) 0 62%, var(--red) 62%); }
.hs-xp-k { font: 700 var(--t-label)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.hs-xp-n { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hs-xp-n > div { padding: 0 12px; border-left: 1px solid var(--line); }
.hs-xp-n > div:first-child { padding-left: 0; border-left: 0; }
.hs-xp-n b { display: block; font: 600 clamp(26px, 2.3vw, 34px)/1 var(--serif); letter-spacing: -0.02em; color: var(--night); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hs-xp-n > div > span { display: block; margin-top: 7px; font: 700 10.5px/1.3 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--ink-2); }
.hs-xp-go { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 13px; border-top: 1px solid var(--line); font: 700 12px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.hs-xp-go svg { width: 16px; height: 16px; flex: none; transition: transform .5s var(--ease); }
.hs-xp-go:hover svg { transform: translateX(5px); }
html.js .hs-xp { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) 1s, transform 1.2s var(--ease) 1s; }
html.is-ready .hs-xp { opacity: 1; transform: none; }

/* écrans d’ordinateur peu hauts (portables) : blocs plus compacts */
@media (min-width: 1121px) and (max-height: 820px) {
  .hs-copy { padding-bottom: 112px; }
  .hs-card { padding-top: 26px; padding-bottom: 26px; }
  .hs .eyebrow { margin-bottom: 14px; }
  .hs-title { font-size: clamp(30px, 2.9vw, 42px); }
  .hs-lead { margin-top: 14px; font-size: var(--t-text); }
  .hs-chips { margin-top: 14px; }
  .hs-ctas { margin-top: 20px; }
  .hs-ctas .btn { min-height: 48px; }
  .hs-xp { padding: 18px 22px 12px; }
  .hs-xp-go { margin-top: 12px; padding-top: 10px; }
}

/* ═══ EN-TÊTE DES PAGES INTÉRIEURES ═══
   Photo en fond, texte sur un bloc blanc */
.phero { position: relative; min-height: clamp(440px, 64vh, 660px); display: flex; align-items: flex-end; color: var(--ink); background: var(--night); overflow: hidden; }
.phero.compact { min-height: clamp(380px, 52vh, 520px); }
.phero-media { position: absolute; inset: 0; }
.phero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 2.6s var(--ease); }
html.is-ready .phero-media img { transform: scale(1.02); }
.phero-in { position: relative; z-index: 2; padding-top: calc(var(--hd-top) + var(--hd) + 48px); padding-bottom: clamp(40px, 5vw, 72px); }
.phero-card { position: relative; max-width: 720px; padding: clamp(26px, 3vw, 42px); background: #fff; border-radius: 6px; box-shadow: 0 40px 90px -40px rgba(6, 16, 38, .6), 0 2px 10px -4px rgba(6, 16, 38, .2); }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font: 700 var(--t-label) var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.crumbs a { color: var(--night); transition: color .3s; }
.crumbs a:hover { color: var(--red); }
.crumbs i { font-style: normal; color: var(--sky); }
.phero .eyebrow { color: var(--red); margin-bottom: 16px; }
.phero .eyebrow::before { background: var(--sky); }
.phero-title { font-family: var(--serif); font-weight: 700; font-size: var(--t-h1); line-height: 1.08; letter-spacing: -0.028em; color: var(--night); }
.phero-title em { font-style: normal; font-weight: inherit; color: var(--red); }
.phero-lead { margin-top: 18px; font-size: var(--t-lead); color: var(--ink-2); max-width: 620px; }
.phero-bar { position: absolute; left: 0; bottom: 0; height: 6px; width: 100%; background: linear-gradient(90deg, var(--red) 0 34%, var(--sky) 34% 67%, var(--sapphire) 67%); transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease-io) .5s; z-index: 3; }
html.is-ready .phero-bar { transform: scaleX(1); }
html.js .phero-card { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
html.is-ready .phero-card { opacity: 1; transform: none; transition-delay: .1s; }
html.js .phero .crumbs, html.js .phero .eyebrow, html.js .phero-lead { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
html.is-ready .phero .crumbs { opacity: 1; transform: none; transition-delay: .25s; }
html.is-ready .phero .eyebrow { opacity: 1; transform: none; transition-delay: .35s; }
html.is-ready .phero-lead { opacity: 1; transform: none; transition-delay: .85s; }

/* ═══ QUI SOMMES-NOUS (accueil) ═══ */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-media { position: relative; padding: 0 12% 14% 0; }
.intro-media figure { overflow: hidden; border-radius: 4px; }
.intro-media .im-a { aspect-ratio: 4 / 5; }
.intro-media .im-b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 10px solid var(--paper); }
.intro-media img { width: 100%; height: 100%; object-fit: cover; }
.badge-ring { position: absolute; left: -26px; bottom: 6%; width: 150px; height: 150px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; box-shadow: 0 24px 40px -20px rgba(var(--red-rgb), .9); z-index: 2; }
.badge-ring svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 22s linear infinite; }
.badge-ring text { font: 700 7.6px var(--sans); letter-spacing: .1em; fill: #fff; text-transform: uppercase; }
.badge-ring b { font: 600 36px/1 var(--serif); }
.badge-ring b sup { font-size: .5em; }
.badge-ring small { display: block; font: 700 10px/1.25 var(--sans); letter-spacing: .1em; text-transform: uppercase; margin-top: 2px; }
@keyframes spin { to { transform: rotate(360deg); } }
.vals { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; margin: 34px 0 40px; }
.vals li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; }
.vals .ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--red-rgb), .1); color: var(--red); transition: background .4s, color .4s, transform .6s var(--ease); }
.vals li:hover .ic { background: var(--red); color: #fff; transform: rotate(-12deg) scale(1.06); }
.vals .ic svg { width: 22px; height: 22px; }
.vals b { display: block; font: 700 var(--t-h4)/1.2 var(--serif); margin-bottom: 4px; }
.vals p { font-size: var(--t-text); line-height: 1.5; color: var(--ink-2); }

/* ═══ DOMAINES D'ACTIVITÉ ═══ */
.doms { overflow: hidden; }
.doms::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60vw 50vh at 100% 0%, rgba(var(--red-rgb), .18), transparent 65%), radial-gradient(55vw 50vh at 0% 100%, rgba(var(--sapphire-rgb), .22), transparent 65%); }
.doms .wrap { position: relative; }
.dom-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dom {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; min-height: 320px; padding: 34px 32px 30px;
  background: #fff; color: var(--night); border-radius: 4px;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), color .5s;
}
.dom-img { position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .7s var(--ease); }
.dom-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 1.4s var(--ease); }
.dom-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 56, .55) 0%, rgba(10, 24, 56, .94) 70%); }
.dom::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.dom:hover, .dom:focus-visible { transform: translateY(-10px); color: #fff; box-shadow: 0 44px 70px -34px rgba(0, 0, 0, .75); }
.dom:hover .dom-img, .dom:focus-visible .dom-img { opacity: 1; }
.dom:hover .dom-img img, .dom:focus-visible .dom-img img { transform: scale(1.02); }
.dom:hover::after, .dom:focus-visible::after { transform: scaleX(1); }
.dom-n { position: absolute; top: 28px; right: 30px; font: 500 var(--t-ui) var(--serif); color: var(--red); transition: color .5s; }
.dom-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 28px; background: rgba(var(--red-rgb), .09); color: var(--red); transition: background .5s, color .5s, transform .8s var(--ease); }
.dom-ic svg { width: 28px; height: 28px; }
.dom:hover .dom-ic { background: var(--red); color: #fff; transform: rotate(-10deg); }
.dom:hover .dom-n { color: var(--red-soft); }
.dom-t { font: 600 var(--t-h3)/1.22 var(--serif); letter-spacing: -0.01em; }
.dom-p { margin-top: 12px; font-size: var(--t-text); line-height: 1.55; color: var(--ink-2); transition: color .5s; }
.t-night .dom .dom-p { color: #4a5470; }
.dom:hover .dom-p, .t-night .dom:hover .dom-p { color: rgba(255, 255, 255, .82); }
.dom-go { margin-top: auto; padding-top: 26px; display: inline-flex; align-items: center; gap: 10px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); transition: color .5s, gap .5s var(--ease); }
.dom-go svg { width: 15px; height: 15px; }
.dom:hover .dom-go { color: #fff; gap: 16px; }
.dom.is-more { display: none; }
.dom-grid.show-more .dom.is-more { display: flex; animation: dom-in .9s var(--ease) both; animation-delay: calc(var(--k, 0) * 110ms); }
@keyframes dom-in { from { opacity: 0; transform: translateY(40px) scale(.97); } }
.dom-more { margin-top: 46px; text-align: center; }
.dom-more svg { transition: transform .5s var(--ease); }
.show-more + .dom-more svg { transform: rotate(180deg); }
.btn:hover .dom-more-ic { transform: none; }

/* ═══ CHIFFRES ═══ */
.stats { padding: clamp(56px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.stats::after { content: ''; position: absolute; right: -8vw; top: -40%; width: 46vw; height: 180%; background: rgba(255, 255, 255, .06); transform: rotate(18deg); pointer-events: none; }
.stats-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 8px clamp(14px, 2.4vw, 40px); }
.stat + .stat { border-left: 1px solid rgba(255, 255, 255, .28); }
.stat b { display: block; font: 600 var(--t-num)/1 var(--serif); letter-spacing: -0.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.stat b sup { font-size: .45em; vertical-align: .9em; margin-left: 2px; }
.stat > span { display: block; margin-top: 12px; font: 700 var(--t-label)/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .9); }
.stat p { margin-top: 6px; font-size: var(--t-small); color: rgba(255, 255, 255, .78); max-width: 26ch; }

/* ═══ PROJETS RÉALISÉS (cartes) ═══ */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.feat { position: relative; display: flex; flex-direction: column; text-align: left; background: #fff; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 rgba(var(--ink-rgb), .06); transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.t-white .feat { background: var(--paper); }
.feat:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(var(--ink-rgb), .55); }
.feat-img { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.feat:hover .feat-img img { transform: scale(1.07); }
.feat-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10, 24, 56, .55)); }
.feat-tag { position: absolute; left: 22px; top: 22px; z-index: 1; padding: 8px 12px; background: var(--red); color: #fff; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.feat-body { display: flex; flex-direction: column; flex: 1; padding: 28px 28px 26px; }
.feat-meta { font: 700 var(--t-label)/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.feat-h { display: block; font: 600 var(--t-h3)/1.22 var(--serif); margin: 12px 0 12px; color: var(--night); letter-spacing: -0.01em; }
.feat-body .feat-p { display: block; font-size: var(--t-text); color: var(--ink-2); }
.feat-go { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--night); }
.feat-plus { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--night); transition: background .4s, transform .7s var(--ease); }
.feat-plus::before, .feat-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: #fff; }
.feat-plus::after { transform: rotate(90deg); }
.feat:hover .feat-plus { background: var(--red); transform: rotate(90deg); }

/* ═══ PARTENAIRES (défilé) ═══ */
.partners { padding: 54px 0; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.partners .eyebrow { margin-bottom: 26px; }
.marq { position: relative; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marq + .marq { margin-top: 14px; }
.marq-track { display: flex; flex: none; gap: 0; animation: marq var(--speed, 40s) linear infinite; }
.marq.rev .marq-track { animation-direction: reverse; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq-track span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font: 600 clamp(18px, 1.86vw, 26px)/1.3 var(--serif); color: var(--night); letter-spacing: -0.01em; }
.marq-track span::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--red); flex: none; }
.t-night .marq-track span { color: #fff; }
.marq.rev .marq-track span { font-weight: 500; color: var(--ink-2); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ═══ TÉMOIGNAGES ═══ */
.testi { overflow: hidden; }
.testi::before { content: '“'; position: absolute; right: 4vw; top: -6vw; font: 500 clamp(260px, 34vw, 520px)/1 var(--serif); color: rgba(255, 255, 255, .05); pointer-events: none; }
.testi-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.testi-nav { display: flex; align-items: center; gap: 18px; margin-top: 40px; }
.testi-nav button { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.testi-nav button:hover { background: var(--red); border-color: var(--red); transform: scale(1.06); }
.testi-nav svg { width: 18px; height: 18px; }
.testi-count { font: 600 var(--t-h4) var(--serif); color: rgba(255, 255, 255, .7); min-width: 74px; text-align: center; }
.testi-count b { color: #fff; font-style: normal; }
.testi-track { display: grid; }
.testi-item { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(40px); transition: opacity .8s var(--ease), transform 1s var(--ease), visibility .8s; }
.testi-item.on { opacity: 1; visibility: visible; transform: none; }
.testi-item.out { transform: translateX(-40px); }
.testi-item blockquote p { font: 500 var(--t-quote)/1.45 var(--serif); letter-spacing: -0.01em; }
.testi-item figcaption { display: flex; align-items: center; gap: 16px; margin-top: 32px; }
.testi-item .mono-av { width: 58px; height: 58px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font: 700 14px var(--sans); letter-spacing: .06em; }
.testi-item cite { font-style: normal; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.testi-item cite small { display: block; margin-top: 4px; font: 500 var(--t-small) var(--sans); letter-spacing: 0; text-transform: none; color: rgba(255, 255, 255, .65); }
.testi-bar { height: 2px; background: rgba(255, 255, 255, .18); margin-top: 40px; overflow: hidden; }
.testi-bar i { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; }
.testi-bar i.run { animation: hs-prog var(--dur, 8s) linear forwards; }
.testi.paused .testi-bar i { animation-play-state: paused; }

/* ═══ LOGOS DES PARTENAIRES ═══
   Vignettes blanches (les logos gardent leurs couleurs d’origine) ;
   « dark » : logo blanc, posé sur bleu nuit ; « txt » : pas de logo
   officiel, le nom est écrit en toutes lettres. */
.lg {
  flex: none; display: flex; align-items: center; justify-content: center; gap: 12px;
  height: 92px; min-width: 170px; padding: 14px 24px; background: #fff; border-radius: 6px;
  border: 1px solid rgba(var(--ink-rgb), .08); box-shadow: 0 12px 26px -20px rgba(6, 16, 38, .45);
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
}
.lg img { height: 54px; width: auto; max-width: 196px; object-fit: contain; }
.lg.tall img { height: 64px; max-width: 120px; }
.lg.dark { background: var(--night); border-color: var(--night); }
.lg.lab img { height: 46px; max-width: 70px; }
.lg.lab b { font: 700 13px/1.15 var(--sans); letter-spacing: .02em; color: var(--night); max-width: 9em; }
.lg.txt { flex-direction: column; gap: 5px; text-align: center; }
.lg.txt b { font: 700 18px/1.1 var(--serif); letter-spacing: .01em; color: var(--night); white-space: nowrap; }
.lg.txt small { font: 700 10px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }

/* bandeau défilant (accueil, juste sous le diaporama, et page Missions) */
.plogos { position: relative; padding: 30px 0 34px; background: var(--sky-soft); border-bottom: 1px solid rgba(var(--sky-rgb), .35); overflow: hidden; }
.plogos-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 20px; }
.plogos .eyebrow { margin-bottom: 0; }
.plogos-sub { font-size: var(--t-small); color: var(--ink-2); }
.lgm { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.lgm + .lgm { margin-top: 14px; }
.lgm-track { display: flex; flex: none; padding: 4px 0 10px; animation: marq var(--speed, 90s) linear infinite; }
.lgm.rev .lgm-track { animation-direction: reverse; }
.lgm:hover .lgm-track { animation-play-state: paused; }
.lgm ul { display: flex; flex: none; gap: 14px; padding-right: 14px; }
.lgm .lg:hover { transform: translateY(-3px); border-color: rgba(var(--sky-rgb), .9); box-shadow: 0 18px 30px -20px rgba(6, 16, 38, .5); }
.lgm.rev .lg { height: 78px; min-width: 150px; }
.lgm.rev .lg img { height: 44px; }
.lgm.rev .lg.tall img { height: 54px; }

/* témoignages : le logo de l’organisation */
.testi-item figcaption .lg { width: 172px; height: 72px; min-width: 0; padding: 10px 16px; box-shadow: none; }
.testi-item figcaption .lg img { height: 48px; max-width: 140px; }
.testi-item figcaption .lg.dark { border-color: rgba(255, 255, 255, .25); }

/* à propos : les agences, par leur logo */
.agencies.logos .lg { height: auto; min-width: 0; min-height: 132px; flex-direction: column; gap: 12px; padding: 22px 14px 16px; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); box-shadow: none; color: var(--ink-2); text-align: center; }
.agencies.logos .lg::before { content: none; }
.agencies.logos .lg:hover { color: var(--ink-2); transform: translateY(-4px); border-color: rgba(var(--sky-rgb), .9); box-shadow: 0 24px 40px -28px rgba(6, 16, 38, .5); }
.agencies.logos .lg img { height: 52px; max-width: 150px; }
.agencies.logos .lg.tall img { height: 60px; }
.agencies.logos .lg.lab { flex-direction: row; }
.agencies.logos small { position: static; font: 600 11.5px/1.3 var(--sans); letter-spacing: .02em; color: var(--ink-2); }

/* ═══ ACCUEIL — NOS EXPÉRIENCES ═══ */
.xp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.xp-box { background: var(--sky-soft); border-radius: 6px; padding: clamp(24px, 2.6vw, 36px); }
.xp-k { font: 700 var(--t-label)/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.xp-bars a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: baseline; padding: 9px 0 10px; }
.xp-bars li + li a { border-top: 1px dashed rgba(var(--ink-rgb), .14); }
.xb-t { font: 600 var(--t-ui)/1.3 var(--sans); color: var(--night); transition: color .3s; }
.xb-n { font: 700 var(--t-ui)/1.3 var(--serif); color: var(--red); font-variant-numeric: tabular-nums; }
.xb-bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: rgba(var(--sky-rgb), .25); overflow: hidden; }
.xb-bar i { display: block; height: 100%; width: calc(var(--w) * 100%); border-radius: 3px; background: linear-gradient(90deg, var(--sky), var(--sapphire)); transform-origin: left; transition: transform 1.4s var(--ease) .3s; }
html.js .xp-box:not(.is-in) .xb-bar i { transform: scaleX(0); }
.xp-bars a:hover .xb-t { color: var(--red); }
.xp-ctry { display: flex; flex-wrap: wrap; gap: 8px; }
.xp-ctry a { display: inline-flex; align-items: center; gap: 8px; padding: 6px 7px 6px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(var(--ink-rgb), .1); font: 600 var(--t-small)/1 var(--sans); color: var(--night); transition: background .3s, color .3s, border-color .3s; }
.xp-ctry a i { font-style: normal; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; display: grid; place-items: center; background: var(--sky-soft); color: var(--night); font: 700 11.5px/1 var(--sans); transition: background .3s, color .3s; }
.xp-ctry a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.xp-ctry a:hover i { background: #fff; color: var(--red); }
.xp-recent { background: #fff; border: 1px solid var(--line); }
.xp-recent li a { display: grid; grid-template-columns: minmax(0, 1fr) 40px; gap: 5px 18px; padding: 16px 0; }
.xp-recent li + li a { border-top: 1px solid var(--line); }
.xr-when { grid-column: 1; font: 700 10.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.xp-recent b { grid-column: 1; font: 600 var(--t-h4)/1.35 var(--serif); color: var(--night); transition: color .3s; }
.xr-cl { grid-column: 1; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }
.xr-go { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(var(--ink-rgb), .15); color: var(--night); transition: background .35s, border-color .35s, color .35s, transform .45s var(--ease); }
.xr-go svg { width: 16px; height: 16px; }
.xp-recent li a:hover b { color: var(--red); }
.xp-recent li a:hover .xr-go { background: var(--red); border-color: var(--red); color: #fff; transform: translateX(3px); }
.xp-recent .link-arrow { margin-top: 20px; }

/* ═══ ÉQUIPE ═══ */
.team-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.person { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 26px; align-items: center; padding: 30px; background: #fff; border-radius: 4px; overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.t-white .person { background: var(--paper); }
.person:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -38px rgba(var(--ink-rgb), .55); }
.person::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .7s var(--ease); }
.person:hover::before { transform: scaleY(1); }
.avatar { position: relative; width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--night-2), var(--night)); color: #fff; font: 600 32px var(--serif); letter-spacing: .02em; }
.avatar::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1.5px dashed rgba(var(--red-rgb), .6); animation: spin 26s linear infinite; }
.person h3 { font: 600 var(--t-h3)/1.15 var(--serif); }
.person .role { margin-top: 6px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.person p { margin-top: 12px; font-size: var(--t-text); color: var(--ink-2); }
.experts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.expert { position: relative; padding: 28px 26px 26px; background: #fff; border-radius: 4px; overflow: hidden; isolation: isolate; transition: color .6s; min-height: 250px; display: flex; flex-direction: column; }
.t-white .expert { background: var(--paper); }
.expert::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--night); transform: translateY(101%); transition: transform .7s var(--ease); }
.expert:hover, .expert:focus-within { color: #fff; }
.expert:hover::before, .expert:focus-within::before { transform: none; }
.expert .top { display: flex; align-items: center; gap: 14px; }
.expert .ini { width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 13px var(--sans); letter-spacing: .05em; }
.expert h3 { font: 600 var(--t-h4)/1.2 var(--serif); }
.expert .xp { font: 700 var(--t-label) var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-top: 3px; transition: color .6s; }
.expert:hover .xp { color: var(--red-soft); }
.expert .role { margin-top: 16px; font-size: var(--t-ui); font-weight: 600; line-height: 1.45; }
.expert .more { margin-top: 12px; font-size: var(--t-ui); line-height: 1.55; color: rgba(255, 255, 255, .8); opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.expert:hover .more, .expert:focus-within .more { opacity: 1; transform: none; }
.expert .hint { margin-top: auto; padding-top: 16px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: opacity .4s; }
.expert:hover .hint { opacity: 0; }

/* ═══ FAQ — ACCORDÉON ═══ */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside figure { margin-top: 36px; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.faq-aside img { width: 100%; height: 100%; object-fit: cover; }
.faq-aside .btn { margin-top: 32px; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-q { display: flex; width: 100%; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font: 600 var(--t-h4)/1.35 var(--serif); color: var(--night); transition: color .35s; }
.t-night .acc-q { color: #fff; }
.acc-q:hover { color: var(--red); }
.acc-q .n { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; color: var(--red); flex: none; width: 26px; }
.acc-q .sign { position: relative; flex: none; margin-left: auto; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); transition: background .4s, border-color .4s, transform .6s var(--ease); }
.acc-q .sign::before, .acc-q .sign::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; transition: transform .5s var(--ease); }
.acc-q .sign::after { transform: rotate(90deg); }
.acc-q[aria-expanded="true"] { color: var(--red); }
.acc-q[aria-expanded="true"] .sign { background: var(--red); border-color: var(--red); color: #fff; transform: rotate(180deg); }
.acc-q[aria-expanded="true"] .sign::after { transform: rotate(0); }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc-a > div { overflow: hidden; }
.acc-a p { padding: 0 60px 26px 46px; color: var(--ink-2); font-size: var(--t-text); }
.acc-item.open .acc-a { grid-template-rows: 1fr; }

/* ═══ APPEL À L'ACTION ═══ */
.cta { position: relative; overflow: hidden; color: #fff; padding: clamp(80px, 11vw, 150px) 0; background: var(--blood); }
.cta-media { position: absolute; inset: 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; opacity: .55; filter: grayscale(.3); }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(168, 48, 36, .96) 0%, rgba(215, 38, 30, .82) 50%, rgba(10, 24, 56, .7) 100%); }
.cta-in { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.cta .eyebrow { color: #fff; }
.cta h2 { font-size: var(--t-h2); }
.cta h2 em { color: #fff; }
.nb { white-space: nowrap; }
.cta p { margin-top: 18px; font-size: var(--t-lead); color: rgba(255, 255, 255, .88); max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* ═══ À PROPOS ═══ */
.ab-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.ab-grid.rev { grid-template-columns: .95fr 1.05fr; }
.ab-grid.rev .ab-media { order: -1; }
.ab-media { position: relative; }
.ab-media figure { border-radius: 4px; overflow: hidden; aspect-ratio: 5 / 4; }
.ab-media img { width: 100%; height: 100%; object-fit: cover; }
.ab-media .tag-card { position: absolute; right: -18px; bottom: -26px; background: var(--night); color: #fff; padding: 24px 28px; border-radius: 4px; max-width: 270px; box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .7); }
.ab-media .tag-card b { display: block; font: 600 34px/1 var(--serif); color: var(--red-soft); }
.ab-media .tag-card span { display: block; margin-top: 8px; font-size: var(--t-small); line-height: 1.45; color: rgba(255, 255, 255, .85); }
.ab-copy p + p { margin-top: 16px; }
.ab-copy .lead { max-width: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); }
.facts div { padding: 22px 16px 0 0; }
.facts b { display: block; font: 600 30px/1 var(--serif); color: var(--red); }
.facts span { display: block; margin-top: 8px; font-size: var(--t-small); line-height: 1.4; color: var(--ink-2); }
.agencies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.agencies li { position: relative; padding: 20px 16px; min-height: 92px; display: flex; align-items: flex-end; background: var(--paper); border-radius: 4px; font: 600 var(--t-text)/1.2 var(--serif); color: var(--night); overflow: hidden; isolation: isolate; transition: color .5s; }
.agencies li::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); transform: scale(0); border-radius: 50%; transition: transform .7s var(--ease), border-radius .7s; }
.agencies li:hover { color: #fff; }
.agencies li:hover::before { transform: scale(1.5); border-radius: 0; }
.agencies li small { position: absolute; top: 14px; left: 16px; font: 700 var(--t-label) var(--sans); letter-spacing: .12em; color: var(--red); transition: color .5s; }
.agencies li:hover small { color: #fff; }
.vcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.vcard { position: relative; padding: 36px 28px 32px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 4px; overflow: hidden; isolation: isolate; transition: border-color .5s, transform .7s var(--ease); }
.vcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(160deg, var(--red), var(--blood)); opacity: 0; transition: opacity .6s var(--ease); }
.vcard:hover { transform: translateY(-8px); border-color: transparent; }
.vcard:hover::before { opacity: 1; }
.vcard .ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--red-soft); margin-bottom: 30px; transition: background .5s, color .5s; }
.vcard:hover .ic { background: #fff; color: var(--red); }
.vcard .ic svg { width: 26px; height: 26px; }
.vcard h3 { font: 600 var(--t-h3)/1.15 var(--serif); }
.vcard p { margin-top: 14px; font-size: var(--t-text); line-height: 1.6; color: rgba(255, 255, 255, .78); }
.vcard:hover p { color: rgba(255, 255, 255, .92); }
.vision { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.vision li { padding: 34px 30px 10px 0; }
.vision li + li { padding-left: 30px; border-left: 1px solid var(--line); }
.vision .n { font: 500 38px/1 var(--serif); color: var(--red); }
.vision p { margin-top: 18px; font: 600 var(--t-h3)/1.3 var(--serif); color: var(--night); }
.offices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.office { position: relative; padding: 34px 30px; background: #fff; border-radius: 4px; overflow: hidden; transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.t-white .office { background: var(--paper); }
.office:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(var(--ink-rgb), .55); }
.office .flag { display: inline-block; padding: 7px 11px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--night); }
.office.hq .flag { background: var(--red); }
.office h3 { font: 600 var(--t-h3)/1.15 var(--serif); margin: 20px 0 14px; }
.office p, .office a { display: block; font-size: var(--t-text); line-height: 1.6; color: var(--ink-2); }
.office a { color: var(--night); font-weight: 700; transition: color .3s; }
.office a:hover { color: var(--red); }
.office .pin { position: absolute; right: 26px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--red); animation: ping 2.2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), .5); } 80%, 100% { box-shadow: 0 0 0 16px rgba(var(--red-rgb), 0); } }

/* ═══ SERVICES — DÉTAIL DES DOMAINES ═══ */
.svc-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(30px, 4vw, 70px); align-items: start; }
.svc-nav { position: sticky; top: calc(var(--hd-top) + var(--hd) + 30px); }
.svc-nav p { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 14px; }
.svc-nav a { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: var(--t-ui); font-weight: 700; line-height: 1.35; color: var(--night); transition: color .3s, padding .5s var(--ease); }
.svc-nav a b { font: 600 var(--t-small) var(--serif); color: var(--red); }
.svc-nav a:hover, .svc-nav a.on { color: var(--red); padding-left: 8px; }
.svc { padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); }
.svc:first-child { border-top: 0; padding-top: 0; }
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.svc-head .n { font: 500 var(--t-ui) var(--serif); color: var(--red); display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.svc-head .n i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; }
.svc-head .n svg { width: 26px; height: 26px; }
.svc-head h2 { font-size: var(--t-h2); }
.svc-head .lead { margin-top: 18px; }
.svc-head figure { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; }
.svc-head img { width: 100%; height: 100%; object-fit: cover; }
.svc-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 34px; margin-top: 44px; counter-reset: it; }
.svc-items li { position: relative; padding: 22px 0 22px 50px; border-top: 1px solid var(--line); counter-increment: it; }
.svc-items li::before { content: counter(it, decimal-leading-zero); position: absolute; left: 0; top: 24px; font: 700 var(--t-label) var(--sans); letter-spacing: .08em; color: var(--red); }
.svc-items li::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); transition: width .7s var(--ease); }
.svc-items li:hover::after { width: 100%; }
.svc-items b { display: block; font: 700 var(--t-h4)/1.3 var(--serif); color: var(--night); margin-bottom: 6px; }
.svc-items p { font-size: var(--t-text); line-height: 1.6; color: var(--ink-2); }
.svc-close { margin-top: 30px; padding: 26px 30px; background: var(--night); color: rgba(255, 255, 255, .88); border-radius: 4px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.svc-close p { font: 500 var(--t-text)/1.5 var(--serif); max-width: 70ch; }
.svc-close .link-arrow { color: var(--red-soft); flex: none; }

/* ═══ MISSIONS — CHIFFRES ═══ */
.mstats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.mstat { padding: 30px 20px 0 0; }
.mstat + .mstat { padding-left: 24px; border-left: 1px solid var(--line); }
.mstat .num { display: block; font: 600 var(--t-num)/1 var(--serif); letter-spacing: -0.04em; color: var(--night); font-variant-numeric: tabular-nums; }
.mstat .num sup { font-size: .4em; color: var(--red); vertical-align: .9em; margin-left: 4px; letter-spacing: 0; }
.mstat p { margin-top: 12px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }

/* ═══ MISSIONS — CARTE INTERACTIVE (reprise à l'identique) ═══ */
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 1100px; margin: 0 auto 4vh; }
.chip {
  font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 14px; border-radius: 999px; border: 1px solid var(--hair);
  background: var(--white); color: var(--ink);
  transition: background .35s, color .35s, border-color .35s, transform .35s var(--ease-out), box-shadow .35s;
}
.chip i { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 999px; background: var(--bone); color: var(--ash); transition: inherit; }
.chip:hover { border-color: var(--red); transform: translateY(-2px); }
.chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(var(--red-rgb), .9); }
.chip[aria-pressed="true"] i { background: #fff; color: var(--red); }
#carte .chip { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .2); }
#carte .chip i { background: rgba(255, 255, 255, .12); color: #fff; }
#carte .chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); }
#carte .chip[aria-pressed="true"] i { background: #fff; color: var(--red); }
.map-stage { display: grid; grid-template-columns: 1fr minmax(260px, 340px); gap: 3vw; max-width: 1320px; margin: 0 auto; align-items: center; }
.map-wrap { position: relative; }
.map-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.map-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 10px; color: var(--ash); font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.map-legend span { display: inline-flex; align-items: center; gap: 8px; }
.map-legend i { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.mk-cov { background: var(--sapphire); box-shadow: 0 0 10px rgba(var(--sapphire-rgb), .8); }
.mk-off { background: #ffffff; }
.mk-hq { background: var(--red); border-radius: 50% !important; }
.ctry { fill: #ffffff; stroke: rgba(10, 26, 69, .28); stroke-width: .8; transition: fill .6s var(--ease-out), opacity .6s; }
.ctry.cov { fill: url(#gCov); cursor: pointer; transform-box: fill-box; transform-origin: center; transition: fill .6s, transform .5s var(--ease-out), filter .5s, opacity .6s; }
.ctry.cov:hover, .ctry.cov.is-hover, .ctry.cov:focus-visible { transform: scale(1.06); filter: url(#fGlow) brightness(1.12); outline: none; }
.ctry.cov.is-open { fill: url(#gOpen); filter: url(#fGlow); }
.ctry.cov.dim { fill: #cfd9ea; filter: none; }
.glow-layer path { fill: var(--sapphire); filter: url(#fBlur); opacity: .55; animation: sd-glow 3.2s ease-in-out infinite; transition: opacity .6s; }
.glow-layer path.dim { opacity: 0; animation: none; }
@keyframes sd-glow { 0%, 100% { opacity: .25; } 50% { opacity: .7; } }
.arc { fill: none; stroke: var(--red-soft); stroke-width: 1.4; stroke-linecap: round; opacity: .75; transition: opacity .6s; }
.arc.flow { stroke-dasharray: 3 7; animation: sd-flow 1.4s linear infinite; opacity: .55; }
.arc.faint { opacity: .18; }
.arc.dim { opacity: 0; }
@keyframes sd-flow { to { stroke-dashoffset: -20; } }
.pulse circle.r { fill: none; stroke: var(--red-soft); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: sd-pulse 2.6s var(--ease-out) infinite; animation-delay: var(--dl, 0s); }
.pulse circle.c { fill: #fff; stroke: var(--red); stroke-width: 2; }
.pulse.dim { opacity: 0; }
.pulse { transition: opacity .6s; pointer-events: none; }
@keyframes sd-pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.hq circle.c { fill: var(--red); stroke: #fff; stroke-width: 2; }
.hq circle.r { stroke: #fff; }
.hq text, .clabel { font: 700 10px var(--sans); letter-spacing: .06em; fill: #fff; text-transform: uppercase; pointer-events: none; paint-order: stroke; stroke: var(--night); stroke-width: 3px; }
.clabel { font-size: 10px; transition: opacity .5s; }
.clabel.dim, .clabel.sm { opacity: 0; }
.clabel.sm.on { opacity: 1; }
.graticule { fill: none; stroke: rgba(255, 255, 255, .05); stroke-width: .6; }
.map-aside .big { font: 600 clamp(62px, 5.88vw, 94px)/.9 var(--serif); letter-spacing: -0.05em; }
.map-aside .big sup { font-size: .26em; color: var(--red-soft); vertical-align: top; margin-left: .2em; letter-spacing: 0; }
.map-aside h3 { font: 600 var(--t-h3)/1.3 var(--serif); margin: 14px 0 8px; }
.map-aside p { color: var(--ash); font-size: var(--t-text); line-height: 1.5; }
.map-aside > p.lab { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.clist { display: grid; gap: 4px; margin-top: 26px; border-top: 1px solid var(--hair); padding-top: 14px; }
.clist button {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 2px; background: none; border: 0; border-bottom: 1px solid var(--hair);
  font: inherit; font-size: var(--t-ui); color: #fff; text-align: left;
  transition: color .3s, padding .4s var(--ease-out), opacity .4s;
}
.clist button .mono { color: var(--ash); font: 700 11px var(--sans); letter-spacing: .08em; }
.clist button:hover { color: var(--red-soft); padding-left: 10px; }
.clist button.dim { opacity: .3; }
.map-tip {
  position: fixed; left: 0; top: 0; z-index: 85; pointer-events: none;
  background: var(--red); color: #fff; padding: 10px 12px; border-radius: var(--radius);
  font: 700 11px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translate(14px, 14px); transition: opacity .2s; white-space: nowrap;
}
.map-tip b { display: block; font: 600 var(--t-text) var(--serif); text-transform: none; letter-spacing: 0; margin-bottom: 2px; }
.map-tip.on { opacity: 1; }
.map-tip.off { background: #fff; color: var(--ink-2); border: 1px solid rgba(var(--ink-rgb), .12); }
.map-tip.off b { color: var(--ink); }

/* explorateur : au clic sur un pays, la carte se range à gauche (toujours
   visible et cliquable) et un grand panneau affiche les références du pays :
   liste à gauche, fiche complète de la référence choisie à droite */
.map-stage.is-exploring {
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); gap: clamp(20px, 2.2vw, 34px); align-items: center;
  width: min(1500px, calc(100vw - 2 * var(--gut))); max-width: none; margin-left: calc(50% - min(750px, 50vw - var(--gut)));
}
.map-stage.is-exploring .map-aside { display: none; }
.map-stage.is-exploring .map-legend { justify-content: center; gap: 14px; }
.mx[hidden] { display: none; }
.mx {
  /* le panneau est blanc dans une section sombre : on rétablit les couleurs du texte */
  --ink-2: #4a5470; --line: rgba(11, 22, 51, .12); --ash: #4a5470; --hair: rgba(11, 22, 51, .12);
  position: relative; display: flex; flex-direction: column; min-width: 0;
  height: clamp(580px, calc(100svh - var(--hd-top) - var(--hd) - 44px), 880px);
  background: var(--white); color: var(--ink); border-radius: 8px; overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateX(32px); transition: opacity .55s var(--ease), transform .8s var(--ease);
}
.mx.in { opacity: 1; transform: none; }

/* en-tête : pays, chiffres clés, changement de pays, filtres */
.mx-head {
  /* les filtres occupent une colonne souple : ils défilent au lieu d'écraser le titre */
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "id id kpis close" "pick secs secs secs";
  align-items: center; gap: 14px 26px; padding: 20px 20px 16px 26px;
  border-bottom: 1px solid var(--line); background: linear-gradient(160deg, rgba(var(--red-rgb), .08), transparent 55%);
}
.mx-id { grid-area: id; min-width: 0; }
.mx-rank { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.mx-id h3 { font: 600 clamp(26px, 2.2vw, 34px)/1.05 var(--serif); color: var(--night); margin-top: 6px; outline: none; }
.mx-kpis { grid-area: kpis; display: flex; gap: 24px; }
.mx-kpis b { display: block; font: 600 24px/1 var(--serif); color: var(--red); white-space: nowrap; }
.mx-kpis span { display: block; margin-top: 5px; font: 700 10.5px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.mx-close { grid-area: close; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(var(--ink-rgb), .14); background: #fff; color: var(--ink); transition: transform .5s var(--ease), background .3s, color .3s, border-color .3s; }
.mx-close svg { width: 18px; height: 18px; }
.mx-close:hover { transform: rotate(90deg); background: var(--red); color: #fff; border-color: var(--red); }
.mx-pick { grid-area: pick; }
.mx-pick select {
  width: 100%; max-width: 260px; height: 40px; padding: 0 36px 0 14px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .18);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d7261e' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 13px center / 13px;
  font: 600 var(--t-small) var(--sans); color: var(--night);
}
.mx-pick select:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.mx-secs { grid-area: secs; display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: none; padding: 2px 0; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.mx-secs::-webkit-scrollbar { display: none; }
#carte .mx .chip { flex: none; padding: 8px 12px; background: #fff; color: var(--ink); border-color: rgba(var(--ink-rgb), .16); box-shadow: none; }
#carte .mx .chip i { background: var(--paper); color: var(--ink-2); }
#carte .mx .chip:hover { border-color: var(--red); color: var(--red); }
#carte .mx .chip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
#carte .mx .chip[aria-pressed="true"] i { background: #fff; color: var(--red); }

/* corps : liste des références | fiche détaillée */
.mx-body { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(250px, 310px) minmax(0, 1fr); }
.mx-side { display: flex; flex-direction: column; min-height: 0; background: #faf8f4; border-right: 1px solid var(--line); }
.mx-count { flex: none; padding: 14px 22px 12px 24px; border-bottom: 1px solid var(--line); font: 700 10.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.mx-list { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; list-style: none; }
.mx-list li { opacity: 0; transform: translateY(10px); animation: mx-in .6s var(--ease) forwards; animation-delay: calc(var(--i) * 35ms + .1s); }
@keyframes mx-in { to { opacity: 1; transform: none; } }
.mx-row {
  position: relative; display: grid; gap: 4px; width: 100%; text-align: left;
  padding: 14px 18px 14px 24px; border-bottom: 1px solid rgba(var(--ink-rgb), .07); transition: background .3s;
}
.mx-row::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); transform: scaleY(0); transition: transform .45s var(--ease); }
.mx-row:hover { background: rgba(var(--red-rgb), .05); }
.mx-row.on { background: #fff; box-shadow: inset 0 0 0 1px rgba(var(--ink-rgb), .04); }
.mx-row.on::before { transform: none; }
.mx-row .when { font: 700 10.5px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.mx-row .t { font: 600 var(--t-ui)/1.35 var(--serif); color: var(--night); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: color .3s; }
.mx-row.on .t { color: var(--red); }
.mx-row .cl { font-size: var(--t-small); line-height: 1.35; color: var(--ink-2); }
.mx-row:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.mx-det { position: relative; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.mxd { min-height: 100%; display: flex; flex-direction: column; animation: mx-swap .55s var(--ease); }
@keyframes mx-swap { from { opacity: 0; transform: translateY(14px); } }
.mxd-img { position: relative; flex: none; height: clamp(120px, 16vh, 170px); overflow: hidden; }
.mxd-img img { width: 100%; height: 100%; object-fit: cover; animation: mx-zoom 1.4s var(--ease); }
@keyframes mx-zoom { from { transform: scale(1.08); } }
.mxd-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 56, .05) 30%, rgba(10, 24, 56, .7)); }
.mxd-img figcaption { position: absolute; left: 30px; bottom: 16px; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; }
.mxd-img figcaption span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); font: 700 10.5px/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--night); }
.mxd-img figcaption span:first-child { background: var(--red); color: #fff; }
.mxd-in { flex: 1; padding: 24px 32px 30px; }
.mxd-t { font: 600 clamp(20px, 1.55vw, 24px)/1.3 var(--serif); color: var(--night); margin: 14px 0 14px; }
.mxd-lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); padding-left: 16px; border-left: 2px solid var(--red); }
.mxd-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 22px 0 26px;
  background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.mxd-facts div { background: var(--paper); padding: 12px 16px; }
.mxd-facts .w { grid-column: 1 / -1; }
.mxd-facts dt { font: 700 10.5px/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.mxd-facts dd { font: 600 var(--t-ui)/1.45 var(--sans); color: var(--night); }
.mxd-tasks { list-style: none; }
.mxd-tasks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px dashed rgba(var(--ink-rgb), .15); font-size: var(--t-text); line-height: 1.55; color: var(--ink); }
.mxd-tasks li:last-child { border-bottom: 0; }
.mxd-tasks b { font: 600 var(--t-ui)/1.65 var(--serif); color: var(--red); }
.mxd-case { margin-top: 22px; }
.mxd-nav {
  position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 32px; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
}
.mxd-nav button { padding: 8px 2px; font: 700 var(--t-label) var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--night); transition: color .3s; }
.mxd-nav button:hover:not(:disabled) { color: var(--red); }
.mxd-nav button:disabled { opacity: .3; cursor: default; }
.mxd-nav > span { font: 600 var(--t-small) var(--sans); color: var(--ink-2); }
.mx-empty { padding: 40px 32px; color: var(--ink-2); display: grid; gap: 16px; justify-items: start; }

.mp-empty { padding: 30px 0; color: var(--ink-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(var(--ink-rgb), .14); font: 700 11px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.tag.hi { background: rgba(var(--red-rgb), .12); border-color: rgba(var(--red-rgb), .45); color: var(--red); }

/* registre des références, lignes dépliables */
.reg-tools { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin: 0 0 22px; }
.reg-tools p, .reg-tools label { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.reg-tools select { margin-left: 10px; font: 600 var(--t-ui) var(--sans); letter-spacing: 0; text-transform: none; padding: 11px 38px 11px 14px; border: 1px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d7261e' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center / 12px; border-radius: 3px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.reg { border-top: 2px solid var(--night); }
.reg-item { border-bottom: 1px solid var(--line); animation: sd-up .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
@keyframes sd-up { from { opacity: 0; transform: translateY(14px); } }
.reg-row {
  display: grid; grid-template-columns: 120px 140px minmax(0, 1fr) 210px 44px; gap: 18px; align-items: center;
  width: 100%; padding: 20px 10px 20px 0; text-align: left; color: var(--ink);
  transition: background .35s, padding .5s var(--ease);
}
.reg-row:hover, .reg-item.open .reg-row { background: rgba(var(--red-rgb), .045); padding-left: 14px; }
.reg-row .r-when { font: 700 var(--t-label)/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.reg-row .r-ctry { font: 700 var(--t-label)/1.35 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.reg-row .r-t { font: 600 var(--t-h4)/1.35 var(--serif); color: var(--night); }
.reg-row .r-t .tags { margin-top: 9px; }
.reg-row .r-cl { font-size: var(--t-small); font-weight: 600; color: var(--ink-2); }
.reg-row .r-ic { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); justify-self: end; transition: background .4s, border-color .4s, transform .6s var(--ease); }
.reg-row .r-ic::before, .reg-row .r-ic::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: var(--night); transition: transform .5s var(--ease), background .4s; }
.reg-row .r-ic::after { transform: rotate(90deg); }
.reg-row:hover .r-ic { border-color: var(--red); }
.reg-item.open .r-ic { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
.reg-item.open .r-ic::before, .reg-item.open .r-ic::after { background: #fff; }
.reg-item.open .r-ic::after { transform: rotate(0); }
.reg-det { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
.reg-det > div { overflow: hidden; }
.reg-item.open .reg-det { grid-template-rows: 1fr; }
.reg-more { margin-top: 36px; text-align: center; }

/* fiche détaillée d'une référence (registre, panneau, fenêtre) */
.rd { display: grid; grid-template-columns: 220px minmax(0, 1fr) 270px; gap: 30px; padding: 8px 0 34px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease) .1s, transform .7s var(--ease) .1s; }
.open > .reg-det .rd { opacity: 1; transform: none; }
.rd-img { border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; align-self: start; }
.rd-img img { width: 100%; height: 100%; object-fit: cover; }
.rd-k { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.rd-main h4 { font: 600 var(--t-h4)/1.35 var(--serif); color: var(--night); margin-bottom: 24px; }
.rd-tasks { display: grid; gap: 10px; }
.rd-tasks li { position: relative; padding-left: 26px; font-size: var(--t-text); line-height: 1.55; color: var(--ink); }
.rd-tasks li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 2px; background: var(--red); }
.rd-story { margin: 0 0 24px; display: grid; gap: 12px; }
.rd-story p { font-size: var(--t-text); line-height: 1.65; color: var(--ink-2); }
.rd-meta { display: grid; gap: 0; align-content: start; background: var(--paper); border-radius: 4px; padding: 6px 22px; }
.t-paper .rd-meta { background: #fff; }
.rd-meta div { padding: 14px 0; border-bottom: 1px solid rgba(var(--ink-rgb), .1); }
.rd-meta div:last-child { border-bottom: 0; }
.rd-meta dt { font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 4px; }
.rd-meta dd { font-size: var(--t-ui); font-weight: 600; line-height: 1.45; color: var(--night); }
.rd-meta .tags { margin-top: 2px; }
.rd-case { margin-top: 22px; }

/* fenêtre « projet réalisé » qui se déploie depuis sa carte */
.rm { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; pointer-events: none; visibility: hidden; }
.rm.open { pointer-events: auto; visibility: visible; }
.rm-scrim { position: absolute; inset: 0; background: rgba(6, 16, 38, .72); opacity: 0; transition: opacity .5s; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.rm.open .rm-scrim { opacity: 1; }
.rm-box { position: relative; width: min(1040px, 100%); max-height: calc(100svh - 40px); background: #fff; color: var(--ink); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transform-origin: top left; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8); }
.rm-scroll { overflow-y: auto; overscroll-behavior: contain; }
.rm-body { opacity: 0; transition: opacity .45s var(--ease); }
.rm.ready .rm-body { opacity: 1; }
.rm-close { position: absolute; right: 18px; top: 18px; z-index: 3; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--night); font-size: 16px; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .5); transition: transform .5s var(--ease), background .3s, color .3s; }
.rm-close:hover { transform: rotate(90deg); background: var(--red); color: #fff; }
.rm-hero { position: relative; height: clamp(220px, 34vh, 340px); overflow: hidden; color: #fff; }
.rm-hero img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.rm.ready .rm-hero img { transform: none; }
.rm-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 24, 56, .15), rgba(10, 24, 56, .9)); }
.rm-hero-in { position: absolute; left: 40px; right: 90px; bottom: 30px; z-index: 1; }
.rm-hero .eyebrow { color: #fff; margin-bottom: 14px; }
.rm-hero h2 { font-size: var(--t-h2); }
.rm-content { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px; padding: 36px 40px 44px; }
.rm-content .rd-story p { font-size: var(--t-text); color: var(--ink); }
.rm-content .rd-story p:first-child { font: 500 var(--t-lead)/1.5 var(--serif); color: var(--night); }
.rm-content .rd-tasks { margin-top: 10px; }
.rm-foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ═══ CONTACT ═══ */
.ccards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: calc(-1 * clamp(50px, 6vw, 80px)); position: relative; z-index: 3; }
.ccard { position: relative; padding: 34px 30px 30px; background: #fff; border-radius: 4px; box-shadow: 0 30px 60px -40px rgba(var(--ink-rgb), .55); overflow: hidden; isolation: isolate; transition: transform .7s var(--ease), color .5s; }
.ccard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--red); clip-path: circle(0 at 52px 58px); transition: clip-path .8s var(--ease-io); }
.ccard:hover { transform: translateY(-6px); color: #fff; }
.ccard:hover::before { clip-path: circle(150% at 52px 58px); }
.ccard .ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(var(--red-rgb), .1); color: var(--red); margin-bottom: 22px; transition: background .5s, color .5s; }
.ccard:hover .ic { background: #fff; }
.ccard .ic svg { width: 24px; height: 24px; }
.ccard h3 { font: 600 var(--t-h3)/1.2 var(--serif); margin-bottom: 10px; }
.ccard p, .ccard a { display: block; font-size: var(--t-text); line-height: 1.55; color: var(--ink-2); font-weight: 600; transition: color .5s; word-break: break-word; }
.ccard:hover p, .ccard:hover a { color: rgba(255, 255, 255, .92); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.contact-aside .lead { margin-top: 18px; }
.contact-aside ul { margin-top: 32px; display: grid; gap: 16px; }
.contact-aside li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; font-size: var(--t-text); color: var(--ink-2); }
.contact-aside li svg { width: 22px; height: 22px; color: var(--red); margin-top: 2px; }
.contact-aside li b { display: block; color: var(--night); font-size: var(--t-text); }
.cform { position: relative; background: #fff; border-radius: 6px; padding: clamp(26px, 4vw, 48px); box-shadow: 0 40px 80px -50px rgba(var(--ink-rgb), .5); overflow: hidden; }
.cform::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--red), var(--blood) 50%, var(--night)); }
.cform .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.fld { position: relative; margin-bottom: 22px; }
.fld label { display: block; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--night); margin-bottom: 9px; }
.fld label i { font-style: normal; color: var(--red); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 15px 16px; border: 1.5px solid rgba(var(--ink-rgb), .14); border-radius: 3px; background: var(--paper);
  font-size: var(--t-text); color: var(--ink); transition: border-color .35s, background .35s, box-shadow .35s;
}
.fld textarea { min-height: 170px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--night); background: #fff; box-shadow: 0 0 0 4px rgba(var(--sapphire-rgb), .15); }
.fld.err input, .fld.err textarea, .fld.err select { border-color: var(--red); background: rgba(var(--red-rgb), .04); animation: shake .45s; }
.fld.ok input, .fld.ok textarea { border-color: #2f8f5b; }
.fld .msg { display: block; min-height: 0; font-size: 12.5px; font-weight: 600; color: var(--red); margin-top: 6px; }
.fld .count { position: absolute; right: 12px; bottom: 12px; font: 700 11px var(--sans); color: var(--ink-2); background: rgba(255, 255, 255, .9); padding: 2px 6px; border-radius: 3px; }
.tel { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.tel select { padding-right: 10px; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cform-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.cform-foot p { font-size: var(--t-small); color: var(--ink-2); max-width: 42ch; }
.cform .btn[disabled] { opacity: .7; pointer-events: none; }
.cform .btn .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.cform.sending .btn .spin { display: block; }
.cform-note { margin-top: 16px; font-weight: 700; font-size: var(--t-ui); color: var(--red); }
.cform-done { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; text-align: center; padding: 40px; background: #fff; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.cform.done .cform-done { opacity: 1; visibility: visible; }
.cform-done svg { width: 96px; height: 96px; margin: 0 auto 22px; }
.cform-done circle { fill: none; stroke: var(--red); stroke-width: 3; stroke-dasharray: 290; stroke-dashoffset: 290; }
.cform-done path { fill: none; stroke: var(--night); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 70; stroke-dashoffset: 70; }
.cform.done .cform-done circle { animation: draw 1s var(--ease) .2s forwards; }
.cform.done .cform-done path { animation: draw .7s var(--ease) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cform-done h3 { font: 600 26px/1.15 var(--serif); }
.cform-done p { margin-top: 12px; color: var(--ink-2); }
.cform-done .ref { margin-top: 14px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.lmap { height: 460px; border-radius: 6px; overflow: hidden; background: #e9eef5; position: relative; z-index: 1; }
.lmap .leaflet-tile-pane { filter: grayscale(1) sepia(.15) hue-rotate(180deg) saturate(1.5) brightness(1.03) contrast(.92); }
.lmap .leaflet-popup-content { font-family: var(--sans); font-size: var(--t-ui); }
.lmap .leaflet-popup-content a.go { display: inline-block; margin-top: 6px; color: var(--red); font-weight: 700; }
.lmap .leaflet-control-attribution { font-size: 10px; }
.map-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.map-tabs button { padding: 12px 18px; border-radius: 999px; border: 1.5px solid var(--line); font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--night); transition: background .35s, color .35s, border-color .35s; }
.map-tabs button[aria-pressed="true"], .map-tabs button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.sd-pin { position: relative; width: 44px; height: 56px; }
.sd-pin svg { position: absolute; left: 0; top: 0; width: 44px; height: 56px; animation: pin-drop 1s var(--ease) both; transform-origin: 50% 100%; filter: drop-shadow(0 8px 10px rgba(0, 24, 96, .35)); }
.sd-pin .ring { position: absolute; left: 50%; bottom: -6px; width: 18px; height: 8px; margin-left: -9px; border-radius: 50%; border: 2px solid var(--red); animation: pin-ring 2s ease-out infinite; }
.sd-pin .ring:nth-child(2) { animation-delay: -1s; }
.sd-pin.alt .ring { border-color: var(--sapphire); }
@keyframes pin-drop { 0% { transform: translateY(-80px) scale(.6); opacity: 0; } 60% { transform: translateY(6px) scale(1.05, .92); opacity: 1; } 80% { transform: translateY(-4px); } 100% { transform: none; } }
@keyframes pin-ring { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(4); opacity: 0; } }

/* ═══ PIED DE PAGE ═══ */
.ft { background: var(--night-3); color: rgba(255, 255, 255, .78); font-size: var(--t-ui); position: relative; overflow: hidden; }
.ft::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--red) 0 34%, var(--blood) 34% 67%, var(--sapphire) 67%); }
.ft-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1.2fr; gap: 44px; padding-top: clamp(64px, 8vw, 100px); padding-bottom: 56px; }
.ft-logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 4px; }
.ft-logo img { height: 52px; width: auto; }
.ft-brand p { margin-top: 24px; max-width: 36ch; line-height: 1.65; }
.ft-brand .btn { margin-top: 28px; }
.ft h3 { font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.ft h3::before { content: ''; width: 18px; height: 2px; background: var(--red); }
.ft ul { display: grid; gap: 11px; }
.ft ul a { position: relative; transition: color .3s, padding .5s var(--ease); }
.ft ul a:hover { color: #fff; padding-left: 10px; }
.ft ul a::before { content: ''; position: absolute; left: 0; top: 50%; width: 0; height: 2px; background: var(--red); transition: width .5s var(--ease); }
.ft ul a:hover::before { width: 6px; }
.ft address { font-style: normal; display: grid; gap: 14px; }
.ft address b { display: block; color: #fff; font-size: var(--t-small); letter-spacing: .04em; }
.ft address a { color: #fff; font-weight: 700; transition: color .3s; word-break: break-word; }
.ft address a:hover { color: var(--red-soft); }
.ft-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 30px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: var(--t-small); }
.ft-up { display: inline-flex; align-items: center; gap: 10px; font: 700 var(--t-label) var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.ft-up i { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .5s var(--ease); }
.ft-up:hover i { background: var(--red); border-color: var(--red); transform: translateY(-4px); }
.ft-up svg { width: 15px; height: 15px; }
.ft-word { font: 600 clamp(60px, 13vw, 210px)/.8 var(--serif); letter-spacing: -0.04em; color: rgba(255, 255, 255, .04); white-space: nowrap; text-align: center; margin-bottom: -.12em; user-select: none; pointer-events: none; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1439px) {
  .hd-bar { gap: 12px; padding-left: 20px; }
  .hd-logo img { height: 54px; }
  .hd-nav > ul > li > a { padding: 0 10px; font-size: 13.5px; letter-spacing: .035em; }
  .hd-cta { padding-left: 18px; font-size: 12.5px; letter-spacing: .05em; }
}
@media (max-width: 1240px) {
  .hd-logo img { height: 48px; }
  .hd-nav > ul > li > a { padding: 0 8px; font-size: 13px; letter-spacing: .03em; }
  .mega-in { grid-template-columns: 1fr; }
  .mega-feat { display: none; }
}
@media (max-width: 1120px) {
  .hd-nav, .hd-cta, .mega { display: none; }
  .hd-burger { display: inline-flex; }
  .hd-bar { padding: 0 8px 0 20px; }
  .dom-grid, .feat-grid, .experts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .stat:nth-child(3) { border-left: 0; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .rd { grid-template-columns: minmax(0, 1fr) 250px; }
  .rd-img { display: none; }
  .reg-row { grid-template-columns: 110px minmax(0, 1fr) 40px; }
  .reg-row .r-ctry { grid-column: 1; grid-row: 2; }
  .reg-row .r-when { grid-column: 1; grid-row: 1; }
  .reg-row .r-t { grid-column: 2; grid-row: 1 / span 2; }
  .reg-row .r-cl { display: none; }
  .reg-row .r-ic { grid-column: 3; grid-row: 1 / span 2; }
  .svc-layout { grid-template-columns: 1fr; }
  .ccard { padding: 28px 22px 24px; }
  .ccard a[href^="mailto"] { font-size: var(--t-ui); word-break: normal; }
  .svc-nav { display: none; }
  .map-stage { grid-template-columns: 1fr; }
  .map-wrap { max-width: 720px; margin: 0 auto; width: 100%; }
  /* page de garde : le bloc « expériences » passe sous les photos */
  .hs { height: auto; min-height: 0; max-height: none; display: flex; flex-direction: column; }
  .hs-slides { position: relative; height: max(660px, 92svh); }
  .hs-card { max-width: 620px; }
  .hs-xp { position: relative; right: auto; bottom: auto; width: auto; padding: 26px var(--gut) 20px; border-radius: 0; box-shadow: none; }
  .hs-xp::before { border-radius: 0; }
}
@media (max-width: 900px) {
  .intro-grid, .ab-grid, .ab-grid.rev, .faq-grid, .testi-grid, .contact-grid, .sec-head.split, .cta-in, .svc-head { grid-template-columns: 1fr; }
  .ab-grid.rev .ab-media { order: 0; }
  .intro-media { max-width: 560px; }
  .cta-actions { justify-content: flex-start; }
  .team-lead { grid-template-columns: 1fr; }
  .agencies { grid-template-columns: repeat(2, 1fr); }
  .vision, .offices, .ccards { grid-template-columns: 1fr; }
  .vision li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .mstats { grid-template-columns: repeat(2, 1fr); }
  .mstat:nth-child(3) { padding-left: 0; border-left: 0; }
  .svc-items { grid-template-columns: 1fr; }
  .rm-content { grid-template-columns: 1fr; }
  .rd { grid-template-columns: 1fr; }
  .rd-meta { order: -1; }
  .xp-grid { grid-template-columns: 1fr; }
  .ab-media .tag-card { right: 12px; bottom: -22px; }
}
@media (max-width: 640px) {
  :root { --hd: 66px; --hd-top: 10px; }
  .hd-logo img { height: 46px; }
  .hd-bar { padding: 0 7px 0 16px; }
  .hd-burger { height: 44px; }
  html.js [data-reveal="left"], html.js [data-reveal="right"] { transform: translateY(36px); }
  .dom-grid, .feat-grid, .experts, .vcards { grid-template-columns: 1fr; }
  .dom { min-height: 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 0 12px; }
  .stat > span { letter-spacing: .08em; }
  .ft-grid { grid-template-columns: 1fr; gap: 36px; }
  .vals { grid-template-columns: 1fr; }
  .cform .row, .tel { grid-template-columns: 1fr; }
  .tel { grid-template-columns: 110px 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .person { grid-template-columns: 1fr; text-align: left; }
  .avatar { width: 90px; height: 90px; font-size: 26px; }
  .hs-slides { height: max(720px, 100svh); }
  .hs-copy { justify-content: flex-end; padding-top: calc(var(--hd-top) + var(--hd) + 60px); padding-bottom: 92px; }
  .hs-card { padding: 26px 20px 24px; }
  .hs-title { font-size: 30px; }
  .hs-lead { font-size: var(--t-text); margin-top: 14px; }
  .hs-chips { display: none; }
  .hs-ctas { gap: 10px; margin-top: 20px; }
  .hs-ctas .btn { min-height: 48px; padding: 0 18px; }
  .hs-ui-in { padding-bottom: 20px; }
  .hs-nav { gap: 14px; padding: 7px 7px 7px 18px; }
  .hs-dots { gap: 10px; }
  .hs-dots button { width: 46px; }
  .hs-arrows button { width: 40px; height: 40px; }
  .hs-xp-n { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .hs-xp-n > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .phero-in { padding-bottom: 28px; }
  .phero-card { padding: 22px 20px; }
  .plogos-sub { display: none; }
  .xp .sec-head .btn { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding: 14px 20px; }
  .xp-recent li a { grid-template-columns: minmax(0, 1fr) 36px; gap: 4px 12px; }
  .xr-go { width: 36px; height: 36px; }
  .lg { height: 80px; min-width: 150px; padding: 12px 18px; }
  .lg img { height: 46px; }
  .lg.tall img { height: 54px; }
  .badge-ring { left: 8px; width: 120px; height: 120px; }
  .badge-ring b { font-size: 28px; }
  .intro-media { padding-right: 8%; }
  .acc-a p { padding: 0 0 22px 46px; }
  .reg-row { grid-template-columns: minmax(0, 1fr) 40px; padding-right: 0; }
  .reg-row .r-when, .reg-row .r-ctry { grid-column: 1; grid-row: auto; display: inline; }
  .reg-row .r-t { grid-column: 1; grid-row: auto; }
  .reg-row .r-ic { grid-column: 2; grid-row: 1 / span 3; align-self: start; }
  .mstats { grid-template-columns: 1fr 1fr; }
  .mstat { padding-left: 0 !important; border-left: 0 !important; }
  .rm { padding: 0; }
  .rm-box { max-height: 100svh; height: 100%; border-radius: 0; }
  .rm-content { padding: 26px 20px 34px; }
  .rm-hero-in { left: 20px; right: 70px; }
  .chips { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; margin-left: calc(-1 * var(--gut)); margin-right: calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: 0 0 auto; }
  .clabel { display: none; }
  .lmap { height: 360px; }
  .cta-actions .btn { width: 100%; }
}

/* ═══ MOUVEMENTS RÉDUITS ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html.js [data-reveal], html.js [data-split] .w > span { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  /* logos : pas de défilement automatique, on les fait glisser à la main */
  .lgm { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .lgm-track { animation: none !important; }
  .lgm-track ul + ul { display: none; }
  .xb-bar i { transform: none !important; }
}

/* explorateur de la carte : tablettes et téléphones
   (la carte reste au-dessus, le panneau s'affiche dessous) */
@media (max-width: 1120px) {
  .map-stage.is-exploring { grid-template-columns: 1fr; width: auto; margin-left: 0; }
  .map-stage.is-exploring .map-wrap { max-width: 480px; }
  .mx { height: auto; transform: translateY(24px); overflow: hidden; overflow: clip; }
  .mx-body { grid-template-columns: 1fr; }
  .mx-side { border-right: 0; border-bottom: 1px solid var(--line); }
  .mx-list { max-height: 300px; }
  .mx-det { overflow: visible; }
}
@media (max-width: 640px) {
  .mx-head { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id close" "kpis kpis" "pick pick" "secs secs"; gap: 14px; padding: 18px 16px 14px; }
  .mx-pick select { max-width: none; }
  .mx-kpis { gap: 18px; }
  .mx-row { padding: 12px 16px 12px 18px; }
  .mxd-img figcaption { left: 16px; }
  .mxd-in { padding: 20px 18px 24px; }
  .mxd-facts { grid-template-columns: 1fr; }
  .mxd-nav { padding: 10px 18px; }
}
@media (min-width: 1121px) and (max-width: 1300px) {
  .mx-body { grid-template-columns: 236px minmax(0, 1fr); }
  .mx-row { padding: 12px 14px 12px 20px; }
  .mxd-in { padding: 20px 24px 26px; }
  .mxd-nav { padding: 12px 24px; }
}
