/* Reset minimal. La mise en forme est en styles inline, comme la maquette d'origine. */
  body { margin: 0; background: #f7f5eb; color: #12180f; font-family: "Hanken Grotesk", system-ui, sans-serif; font-weight: 500; -webkit-font-smoothing: antialiased; text-wrap: pretty; }
  * { box-sizing: border-box; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: #49af60; color: #12180f; }
  input, textarea, button { font: inherit; color: inherit; }
  h1, h2, h3 { text-wrap: balance; }
  @keyframes acont-pop { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
  @keyframes acont-fade { from { opacity: 0; } to { opacity: 1; } }
  /* routeur SPA retiré : WordPress sert une page par URL */
  .navlinks { position: relative; }
  .navlink { position: relative; padding: 6px 0; transition: color 0.35s; }
  .navlink.on { color: #2f7a45; }
  .mnav.on { color: #49af60; }
  #nav-ink { position: absolute; bottom: 4px; height: 1.5px; background: #49af60; opacity: 0; transition: left 0.45s cubic-bezier(.16,1,.3,1), width 0.45s cubic-bezier(.16,1,.3,1), opacity 0.3s; }
  #burger { display: none; }
  #mobile-menu { display: none; }
  .leaflet-container { font: inherit; }

  /* Lenis (défilement lissé) */
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-stopped { overflow: hidden; }

  /* Barre du haut : fondue dans la page en haut, pilule de verre détachée au scroll */
  .hbar { color: #12180f; background: transparent; border: 1px solid transparent; transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, color 0.4s ease; }
  .hbar.float { background: rgba(247,245,235,0.7); backdrop-filter: blur(26px) saturate(1.7); -webkit-backdrop-filter: blur(26px) saturate(1.7); border-color: rgba(255,255,255,0.6); box-shadow: 0 22px 60px -28px rgba(18,24,15,0.5); }
  header.ondark .hbar:not(.float) { color: #ebe6d0; }
  header.ondark .hbar:not(.float) #burger svg path { stroke: #ebe6d0; }
  .hcta { background: #1b3526; color: #f7f5eb; font-size: 16px; transition: background 0.4s, color 0.4s; }
  header.ondark .hbar:not(.float) .hcta { background: #ebe6d0; color: #12180f; }

  /* Barre de progression de lecture */
  #pbar { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 260; background: #49af60; transform-origin: 0 50%; transform: scaleX(0); }

  /* Préchargeur */
  #preloader { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 24px; background: #1b3526; transition: opacity 0.6s ease, visibility 0.6s; }
  #preloader.off { opacity: 0; visibility: hidden; }
  #preloader img, #preloader svg { width: min(60vw, 420px); height: auto; animation: acont-pop 0.7s cubic-bezier(.16,1,.3,1) both; }
  #preloader svg { color: #ffffff; }

  /* Titres révélés sous masque (translation + léger pivot), comme le site */
  .mh { overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
  .mh > .mh-i { display: block; transform: translateY(112%) rotate(2.5deg); transform-origin: 0 100%; will-change: transform; transition: transform 1.1s cubic-bezier(.16,1,.3,1); }
  .mh.go > .mh-i { transform: none; }

  /* Apparitions en cascade des grilles */
  [data-stagger] > * { opacity: 0; transform: translateY(24px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.16,1,.3,1); }
  [data-stagger].go > * { opacity: 1; transform: none; }

  /* ============ Nous rejoindre : écran scindé cabinet / candidat ============ */
  .split { position: relative; height: 100svh; min-height: 560px; overflow: hidden; }
  .split-l, .split-r { position: absolute; inset: 0; display: flex; align-items: center; cursor: pointer; transition: clip-path 0.9s cubic-bezier(.16,1,.3,1); }
  .split-l { background: #1b3526; clip-path: polygon(0 0, 57% 0, 43% 100%, 0 100%); z-index: 2; }
  .split-r { background: #49af60; clip-path: polygon(57% 0, 100% 0, 100% 100%, 43% 100%); z-index: 1; }
  /* survol : la zone survolée grignote l'autre */
  .split:not(.cab):not(.car):has(.split-l:hover) .split-l { clip-path: polygon(0 0, 63% 0, 49% 100%, 0 100%); }
  .split:not(.cab):not(.car):has(.split-l:hover) .split-r { clip-path: polygon(63% 0, 100% 0, 100% 100%, 49% 100%); }
  .split:not(.cab):not(.car):has(.split-r:hover) .split-l { clip-path: polygon(0 0, 51% 0, 37% 100%, 0 100%); }
  .split:not(.cab):not(.car):has(.split-r:hover) .split-r { clip-path: polygon(51% 0, 100% 0, 100% 100%, 37% 100%); }
  /* choix : la zone choisie occupe tout, l'autre est avalée */
  .split.cab .split-l { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); cursor: default; }
  .split.cab .split-r { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); }
  .split.car .split-l { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
  .split.car .split-r { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); cursor: default; }
  .split-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; max-width: 42%; padding: 0 clamp(24px, 5vw, 90px); }
  .split-sup { margin: 0; font-size: 12.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
  .split-title { margin: 0; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.0; font-weight: 700; letter-spacing: -0.035em; }
  .split-sub { margin: 0; max-width: 34ch; font-size: 16.5px; line-height: 1.6; }
  .split-go { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; padding: 13px 26px; border-radius: 100px; border: 1px solid; font-weight: 700; font-size: 15px; transition: background 0.35s, color 0.35s, border-color 0.35s, gap 0.3s; }
  .split-l:hover .split-go, .split-r:hover .split-go { gap: 14px; }
  /* au survol du bouton : la couleur du côté opposé */
  .split-l .split-go:hover { background: #49af60; border-color: #49af60 !important; color: #12180f; }
  .split-r .split-go:hover { background: #1b3526; border-color: #1b3526 !important; color: #f7f5eb; }
  .back-pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 34px; padding: 11px 22px; border-radius: 100px; border: 1px solid; background: none; font-weight: 700; font-size: 14px; cursor: pointer; transition: background 0.3s, color 0.3s; }
  .back-pill:hover { background: #49af60; border-color: #49af60; color: #12180f !important; }

  /* ============ Bandeau congrès (pilotable via CONFIG) ============ */
  #congress-banner { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 150; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 9px 20px; background: #49af60; color: #12180f; font-size: 14px; font-weight: 700; }
  #congress-banner .cb-cta { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 100px; background: #1b3526; color: #f7f5eb; font-size: 13px; transition: background 0.3s, color 0.3s; }
  #congress-banner .cb-cta:hover { background: #12180f; }

  /* ============ Page Actualités ============ */
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .news-card { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 32px; border-radius: 24px; background: #ffffff; box-shadow: 0 24px 60px -45px rgba(18,24,15,0.4); transition: transform 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s; }
  .news-card:hover { transform: translateY(-5px); box-shadow: 0 32px 70px -45px rgba(18,24,15,0.5); }
  .news-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .news-chip { display: inline-flex; padding: 5px 13px; border-radius: 100px; background: rgba(73,175,96,0.16); color: #2f7a45; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
  .news-date { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; color: #626b56; }
  .news-card h3 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; letter-spacing: -0.022em; color: #12180f; }
  .news-card p { margin: 0; flex: 1; font-size: 15px; line-height: 1.6; color: #4a5c4f; }
  .news-card a { font-size: 14px; font-weight: 700; color: #2f7a45; }
  .news-card a .arr { margin-left: 4px; }

  /* ============ Piliers de l'accueil : projecteur ============ */
  .proj { display: flex; gap: 14px; height: 420px; }
  .proj-p { position: relative; overflow: hidden; flex: 1; border-radius: 24px; background: rgba(235,230,208,0.08); border: 1px solid rgba(235,230,208,0.2); padding: 30px 30px 32px; cursor: pointer; transition: flex 0.8s cubic-bezier(.16,1,.3,1), background 0.5s, border-color 0.5s; display: flex; flex-direction: column; justify-content: flex-end; }
  .proj-p.open { flex: 2.6; background: rgba(73,175,96,0.12); border-color: rgba(73,175,96,0.5); cursor: default; }
  .proj-p .nn { position: absolute; top: 26px; left: 30px; font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; color: #4ab060; }
  .proj-p .pic { position: absolute; top: 56px; left: 30px; }
  .proj-p .pic img, .proj-p .pic svg { height: 74px; width: auto; display: block; }
  .proj-p h3 { margin: 0; font-size: clamp(22px, 2.2vw, 31px); font-weight: 700; letter-spacing: -0.03em; }
  /* largeur figée : le texte ne se recompose pas pendant que le panneau
     s'élargit (il est révélé par le bord, pas bousculé) */
  .proj-p p, .proj-p .proj-list { width: min(430px, 44vw); }
  .proj-p p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: rgba(235,230,208,0.78); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s cubic-bezier(.16,1,.3,1), opacity 0.5s 0.15s; }
  .proj-p.open p { max-height: 170px; opacity: 1; }
  /* mini-fiche : les missions concrètes se déploient avec le panneau */
  .proj-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; line-height: 1.45; color: rgba(235,230,208,0.85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.7s cubic-bezier(.16,1,.3,1), opacity 0.5s 0.2s; }
  .proj-p.open .proj-list { max-height: 240px; opacity: 1; }
  .proj-list li { display: flex; gap: 10px; align-items: baseline; }
  .proj-list li::before { content: "✓"; flex: none; font-weight: 800; color: #49af60; }

  /* ============ Expertises PC : cartes qui se retournent ============ */
  #expdeck, .deck-hint { display: none !important; } /* réservés au mobile */
  .fc { perspective: 1200px; height: 205px; cursor: pointer; }
  .fc-in { position: relative; width: 100%; height: 100%; }
  /* chaque face pivote indépendamment : plus robuste que la rotation du
     conteneur (évite les faces qui « fuient » hors de la carte) */
  .fc-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 20px; padding: 24px 26px; display: flex; flex-direction: column; transition: transform 0.8s cubic-bezier(.16,1,.3,1); }
  .fc-front { transform: rotateY(0deg); }
  .fc-back { transform: rotateY(-180deg); }
  .fc:hover .fc-front, .fc:focus-visible .fc-front { transform: rotateY(180deg); }
  .fc:hover .fc-back, .fc:focus-visible .fc-back { transform: rotateY(0deg); }
  .fc-front { background: rgba(235,230,208,0.08); border: 1px solid rgba(235,230,208,0.22); justify-content: space-between; }
  .fc-top { display: flex; align-items: center; justify-content: space-between; }
  .fc-ico { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(73,175,96,0.18); color: #49af60; }
  .fc-n { font-family: ui-monospace, Menlo, monospace; font-size: 12.5px; font-weight: 700; letter-spacing: 0.14em; color: #49af60; }
  .fc-front h3 { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.2; padding-right: 30px; }
  .fc-b { position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 999px; border: 1px solid rgba(235,230,208,0.3); color: rgba(235,230,208,0.55); }
  .fc-back { background: #49af60; color: #12180f; justify-content: center; }
  .fc-back h4 { margin: 0 0 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.024em; line-height: 1.15; }
  .fc-back p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 600; }
  .flip-hint { margin: 18px 0 0; font-size: 13px; color: rgba(235,230,208,0.75); text-align: right; }

  /* ============ Missions post acquisition : tampons « Votre terrain » ============ */
  .stamp-card { position: relative; overflow: hidden; border-radius: 20px; background: #f7f5eb; border: 1.5px solid transparent; box-shadow: 0 22px 55px -42px rgba(18,24,15,0.5); padding: 56px 22px 28px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; transition: border-color 0.35s ease, transform 0.5s cubic-bezier(.16,1,.3,1); }
  .stamp-card:hover { border-color: #49af60; transform: scale(1.035); }
  .stamp-card .nn { font-family: ui-monospace, Menlo, monospace; font-size: 12px; font-weight: 700; color: #2f7a45; position: absolute; top: 20px; left: 22px; }
  .stamp-card .ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(73,175,96,0.14); color: #2f7a45; }
  .stamp-card h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }

  /* ============ Ce que nous apportons : trois temps forts épinglés ============ */
  /* Les trois temps forts = les faces d'un cube qui bascule vers le haut au
     rythme du scroll : la face suivante arrive du bas pendant que la face
     courante part vers le haut, sans fondu, réversible */
  .apw { position: relative; height: 240vh; }
  .ap-stage { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; perspective: 1600px; }
  .ap-cube { position: relative; width: min(980px, calc(100% - 96px)); height: clamp(420px, 52vh, 540px); transform-style: preserve-3d; will-change: transform; }
  .ap-slide { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; align-items: center; justify-content: center; border-radius: 26px; background: #234231; border: 1px solid rgba(235,230,208,0.18); box-shadow: 0 46px 90px -52px rgba(0,0,0,0.85); }
  .ap-dots { position: absolute; right: 3vw; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
  .ap-dots span { width: 8px; height: 8px; border-radius: 99px; background: rgba(235,230,208,0.25); transition: background 0.3s, height 0.3s; }
  .ap-dots span.on { background: #49af60; height: 26px; }
  .ap-inner { position: relative; max-width: 880px; padding: 0 40px; text-align: center; }
  .ap-inner .wm { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); font-size: min(44vw, 400px); font-weight: 800; letter-spacing: -0.06em; color: rgba(235,230,208,0.05); line-height: 1; pointer-events: none; }
  .ap-inner h3 { margin: 0 0 36px; font-size: clamp(28px, 3.6vw, 52px); font-weight: 700; letter-spacing: -0.035em; }
  .ap-list { margin: 0 auto; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; font-size: clamp(16px, 1.6vw, 19px); color: rgba(235,230,208,0.85); max-width: 46ch; text-align: left; }
  .ap-list li { display: flex; gap: 14px; align-items: center; opacity: 0; transform: translateX(-24px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(.16,1,.3,1); }
  .ap-list li.on { opacity: 1; transform: none; }
  .ap-chk { flex: none; width: 24px; height: 24px; border-radius: 8px; background: #49af60; color: #12180f; display: flex; align-items: center; justify-content: center; transform: scale(0) rotate(-24deg); transition: transform 0.55s cubic-bezier(.34,1.56,.64,1) 0.14s; }
  .ap-list li.on .ap-chk { transform: none; }

  /* Grille des missions post acquisition : 2 grandes cartes puis 3 */
  .gmis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }

  /* ===== « Ce qui ne change pas » : éventail de cartes (survol = l'illustration
     se redessine, les autres cartes se désaturent — façon pièces E2P) ===== */
  .cnc-fan { display: flex; justify-content: center; align-items: flex-end; padding: 36px 0 44px; }
  .cnc-carte { position: relative; display: flex; flex-direction: column; flex: 0 0 clamp(200px, 17vw, 240px); height: clamp(300px, 24vw, 350px); margin: 0 -16px; border-radius: 18px; padding: 52px 22px 24px; background: #fdfcf6; border: 1px solid rgba(18,24,15,0.08); box-shadow: 0 30px 60px -38px rgba(18,24,15,0.55); opacity: 0; transform: translateY(70px) rotate(0deg); transition: transform 0.85s cubic-bezier(.3,1.25,.4,1), opacity 0.6s ease, box-shadow 0.45s, filter 0.45s; transition-delay: calc(var(--i) * 90ms); }
  .cnc-fan.in .cnc-carte { opacity: 1; transform: translateY(var(--ty)) rotate(var(--rot)); }
  /* le survol n'existe que sur les appareils à souris : sur mobile, les
     briques restent parfaitement immobiles au toucher */
  @media (hover: hover) and (pointer: fine) {
    .cnc-fan.in .cnc-carte:hover { transform: translateY(calc(var(--ty) - 24px)) rotate(0deg) scale(1.05); z-index: 10 !important; box-shadow: 0 48px 84px -40px rgba(18,24,15,0.6); transition-delay: 0s; }
    .cnc-fan:has(.cnc-carte:hover) .cnc-carte:not(:hover) { filter: saturate(0.55) brightness(0.97); }
  }
  .cnc-num, .cnc-eti { position: absolute; top: 16px; font-family: ui-monospace, Menlo, monospace; font-size: 10.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.6; }
  .cnc-num { left: 18px; }
  .cnc-eti { right: 18px; }
  .cnc-illu { flex: 1; display: flex; align-items: center; justify-content: center; padding: 6px 0 14px; min-height: 0; }
  .cnc-illu svg { width: 78%; height: auto; max-height: 150px; }
  .cnc-carte h3 { margin: 0 0 7px; font-size: 18.5px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.14; }
  .cnc-carte p { margin: 0; font-size: 12.8px; line-height: 1.48; opacity: 0.74; }
  .cnc-creme { background: #fdfcf6; }
  .cnc-amande { background: #e4dfc6; }
  .cnc-vert { background: #1b3526; color: #ebe6d0; border-color: rgba(235,230,208,0.1); }
  .cnc-vert .cnc-num, .cnc-vert .cnc-eti { color: #49af60; opacity: 0.9; }
  .cnc-vif { background: #49af60; color: #12180f; }
  .cnc-vif p { opacity: 0.82; }
  .cnc-illu .t { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
  .cnc-illu .a { fill: none; stroke: #49af60; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
  .cnc-illu .af { fill: #49af60; stroke: none; }
  .cnc-vif .cnc-illu .a { stroke: #f7f5eb; }
  .cnc-vif .cnc-illu .af { fill: #f7f5eb; }
  .cnc-illu .ds { stroke-dasharray: var(--l, 300); stroke-dashoffset: 0; }
  /* à la souris : picto noir seul au départ ; au premier survol la partie
     verte se dessine (classe .lit posée en JS) et reste définitivement */
  @media (hover: hover) and (pointer: fine) {
    .cnc-illu .a, .cnc-illu .af { opacity: 0; }
    .cnc-carte.lit .cnc-illu .a { opacity: 1; stroke-dasharray: var(--l, 240); animation: cnc-trace 0.9s cubic-bezier(.4,0,.2,1) both; animation-delay: var(--d, 0ms); }
    .cnc-carte.lit .cnc-illu .af { opacity: 1; animation: cnc-pop 0.5s cubic-bezier(.3,1.7,.4,1) both; animation-delay: calc(var(--d, 0ms) + 380ms); transform-box: fill-box; transform-origin: center; }
  }
  @keyframes cnc-trace { from { stroke-dashoffset: var(--l, 300); } to { stroke-dashoffset: 0; } }
  @keyframes cnc-pop { from { transform: scale(0); } to { transform: none; } }

  /* Modale bio : zone de texte réellement défilante, avec barre visible */
  .bio-body { max-height: min(86vh, 800px); min-height: 0; scrollbar-width: thin; scrollbar-color: rgba(18,24,15,0.35) transparent; }
  .bio-body::-webkit-scrollbar { width: 8px; }
  .bio-body::-webkit-scrollbar-track { background: transparent; }
  .bio-body::-webkit-scrollbar-thumb { background: rgba(18,24,15,0.28); border-radius: 8px; }
  .bio-body::-webkit-scrollbar-thumb:hover { background: rgba(18,24,15,0.45); }

  /* Témoignages de l'accueil : une grosse bulle active, trois petites qui
     gravitent autour ; les bulles glissent d'une place à l'autre en douceur */
  .testi-face { position: absolute; z-index: 1; border-radius: 999px; overflow: hidden; border: 2px solid #f7f5eb; padding: 0; background: #e4dfc6; cursor: pointer; transition: left 0.75s cubic-bezier(.16,1,.3,1), top 0.75s cubic-bezier(.16,1,.3,1), width 0.75s cubic-bezier(.16,1,.3,1), height 0.75s cubic-bezier(.16,1,.3,1), box-shadow 0.45s; }
  .testi-face img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .testi-face .tp { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; color: #ffffff; background: rgba(18,24,15,0.3); opacity: 0; transition: opacity 0.4s; }
  .testi-face.big { box-shadow: 0 0 0 3px #49af60, 0 20px 44px -20px rgba(18,24,15,0.55); z-index: 3; animation: testi-pulse 2.6s ease-out infinite; }
  @keyframes testi-pulse {
    0% { box-shadow: 0 0 0 3px #49af60, 0 0 0 3px rgba(73,175,96,0.5), 0 20px 44px -20px rgba(18,24,15,0.55); }
    70%, 100% { box-shadow: 0 0 0 3px #49af60, 0 0 0 19px rgba(73,175,96,0), 0 20px 44px -20px rgba(18,24,15,0.55); }
  }
  .testi-face.big .tp { opacity: 1; }
  .testi-face.big .tp span { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 999px; background: #49af60; color: #12180f; padding-left: 3px; box-shadow: 0 10px 24px -10px rgba(18,24,15,0.6); }
  .testi-face.sm { animation: acont-float 3.4s ease-in-out infinite; }
  .testi-face.sm:hover { box-shadow: 0 0 0 2px #49af60; }
  @keyframes acont-float { 0%, 100% { margin-top: 0; } 50% { margin-top: -5px; } }
  #testi-cta { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 100px; border: 0; background: #49af60; color: #12180f; font-weight: 700; font-size: 15px; white-space: nowrap; cursor: pointer; box-shadow: 0 14px 30px -14px rgba(73,175,96,0.65); transition: background 0.4s, color 0.4s; animation: testi-respire 3.2s ease-in-out infinite; }
  @keyframes testi-respire { 0%, 100% { box-shadow: 0 14px 30px -14px rgba(73,175,96,0.65); } 50% { box-shadow: 0 18px 42px -12px rgba(73,175,96,0.95); } }
  #testi-cta:hover { background: #1b3526; color: #f7f5eb; animation: none; }


  /* Tourniquet des témoignages vidéo */
  .car { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 8px; cursor: grab; }
  .car:active { cursor: grabbing; }
  .car::-webkit-scrollbar { display: none; }
  .car-slide { flex: 0 0 min(560px, 86%); scroll-snap-align: start; margin: 0; }
  .car-btn { width: 46px; height: 46px; border-radius: 999px; border: 1px solid rgba(18,24,15,0.25); background: none; color: #12180f; font-size: 18px; cursor: pointer; transition: background 0.3s, border-color 0.3s; }
  .car-btn:hover { background: #49af60; border-color: #49af60; }

  /* Pastille ↗ des portraits : vert vif, vire au vert profond au survol de la photo */
  .badge { background: #4ab060; transition: background 0.35s ease, transform 0.4s cubic-bezier(.16,1,.3,1); }
  figure[data-open-bio]:hover .badge { background: #1b3526; transform: scale(1.12); }

  /* Flèches de boutons qui glissent au survol */
  .arr { display: inline-block; transition: transform 0.35s cubic-bezier(.16,1,.3,1); }
  a:hover .arr, button:hover .arr { transform: translateX(4px); }

  /* Liens du pied de page : libellé qui roule au survol */
  .flip { display: inline-block; overflow: hidden; height: 1.5em; }
  .flip > span { display: block; transition: transform 0.45s cubic-bezier(.16,1,.3,1); }
  .flip > span > span { display: block; height: 1.5em; line-height: 1.5em; }
  .flip:hover > span { transform: translateY(-1.5em); }
  .flip > span > span:last-child { color: #49af60; }

  /* ============ Bandeau de consentement cookies ============ */
  #cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 290; display: none; align-items: center; gap: 18px; flex-wrap: wrap; max-width: 860px; margin: 0 auto; padding: 16px 22px; border-radius: 18px; background: #12180f; color: rgba(235,230,208,0.9); font-size: 13.5px; line-height: 1.5; box-shadow: 0 24px 60px -30px rgba(0,0,0,0.6); animation: acont-pop 0.5s cubic-bezier(.16,1,.3,1) both; }
  #cookie-bar.on { display: flex; }
  #cookie-bar p { margin: 0; flex: 1 1 320px; }
  #cookie-bar a { color: #49af60; text-decoration: underline; text-underline-offset: 3px; }
  #cookie-bar .cb-row { display: flex; gap: 10px; flex-wrap: wrap; }
  #cookie-bar button { padding: 10px 18px; border-radius: 100px; font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
  #cookie-ok { border: 0; background: #49af60; color: #12180f; }
  #cookie-no { border: 1px solid rgba(235,230,208,0.4); background: none; color: rgba(235,230,208,0.9); }

  /* ============ Popup newsletter / recontact ============ */
  #cta-pop { position: fixed; inset: 0; z-index: 295; display: none; align-items: center; justify-content: center; padding: 22px; background: rgba(18,24,15,0.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: acont-fade 0.35s ease both; }
  #cta-pop.on { display: flex; }
  .cta-card { position: relative; width: min(480px, 100%); border-radius: 26px; background: #f7f5eb; color: #12180f; padding: 40px 38px 36px; box-shadow: 0 40px 100px -40px rgba(0,0,0,0.6); animation: acont-pop 0.5s cubic-bezier(.16,1,.3,1) both; }
  .cta-card .sup { margin: 0 0 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: #2f7a45; }
  .cta-card h3 { margin: 0 0 10px; font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
  .cta-card > p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: #4a5c4f; }
  .cta-card input[type="email"] { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(18,24,15,0.25); background: #ffffff; font-size: 15.5px; outline: none; transition: border-color 0.3s; }
  .cta-card input[type="email"]:focus { border-color: #2f7a45; }
  .cta-card .row { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
  .cta-card button[type="submit"] { flex: 1; padding: 14px 22px; border-radius: 100px; border: 0; background: #1b3526; color: #f7f5eb; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; transition: background 0.35s, color 0.35s; }
  .cta-card button[type="submit"]:hover { background: #49af60; color: #12180f; }
  .cta-card .alt { margin: 16px 0 0; font-size: 13.5px; color: #626b56; }
  .cta-card .alt a { color: #2f7a45; font-weight: 700; }
  #cta-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(18,24,15,0.2); background: none; font-size: 18px; color: #12180f; cursor: pointer; transition: background 0.3s; }
  #cta-close:hover { background: #e4dfc6; }
  #cta-done { display: none; margin: 8px 0 0; font-weight: 700; color: #2f7a45; }
  .hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

  /* Bloc CTA : version classique partout, version « explorer » sur l'accueil */
  .cta-home { display: none; }
  #cta.home .cta-home { display: block; }
  #cta.home .cta-classic { display: none !important; }
  .xp-grid { margin-top: 38px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .xp { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 22px; border-radius: 20px; border: 1px solid rgba(18,24,15,0.14); background: #f7f5eb; color: #12180f; overflow: hidden; box-shadow: 0 18px 40px -34px rgba(18,24,15,0.4); transition: transform 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s, background 0.4s, color 0.4s, border-color 0.4s; }
  .xp:hover { transform: translateY(-6px); background: #1b3526; color: #ebe6d0; border-color: #1b3526; box-shadow: 0 34px 60px -40px rgba(18,24,15,0.6); }
  .xp-n { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; font-weight: 700; letter-spacing: 0.15em; color: #2f7a45; transition: color 0.4s; }
  .xp:hover .xp-n { color: #49af60; }
  .xp-t { font-size: 20px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.15; }
  .xp-d { font-size: 13.5px; line-height: 1.5; opacity: 0.72; }
  /* lien d'action : libellé vert + flèche en pastille, appel du pied permanent */
  .xp-go { margin-top: auto; padding-top: 18px; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: #2f7a45; transition: color 0.4s; }
  .xp:hover .xp-go { color: #49af60; }
  .xp-a { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: #49af60; color: #12180f; font-size: 15px; font-weight: 700; animation: xp-nudge 2.4s ease-in-out infinite; transition: transform 0.4s cubic-bezier(.16,1,.3,1), background 0.4s, color 0.4s; }
  @keyframes xp-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(5px); } }
  .xp:hover .xp-a { animation: none; transform: translateX(7px); background: #ebe6d0; }

  /* Indicateur de scroll du hero */
  #hero-scroll { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(235,230,208,0.4); border-radius: 20px; }
  #hero-scroll::after { content: ""; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #49af60; animation: acont-wheel 1.8s ease-in-out infinite; }
  @keyframes acont-wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(12px); opacity: 0; } 60% { transform: translateY(0); opacity: 0; } }

  /* Monogramme officiel dessiné à la plume en arrière-plan du héros */
  #hero-trace { position: absolute; inset: 0; z-index: 0; pointer-events: none; display: flex; align-items: center; justify-content: flex-end; }
  #hero-trace svg { height: 88%; max-width: 54vw; margin-right: 3vw; overflow: visible; }
  /* le monogramme existe dès le départ en trait très fin ; le point vert
     repasse dessus et laisse un trait légèrement épaissi derrière lui */
  #hero-trace .htr-fin { fill: none; stroke: rgba(235,230,208,0.15); stroke-width: 0.9; }
  #hero-trace .htr { fill: none; stroke: rgba(235,230,208,0.42); stroke-width: 2.3; }
  #hero-trace .htr-comete { fill: none; stroke: rgba(73,175,96,0.5); stroke-width: 1.8; stroke-linecap: round; opacity: 0; }
  #hero-trace .htr-plume { opacity: 0; }

  @media (prefers-reduced-motion: reduce) {
    .mh > .mh-i { transition: none; transform: none; }
    [data-stagger] > * { transition: none; opacity: 1; transform: none; }
    .both-l, .both-r, .both-p, .both-sup, .both-img { opacity: 1 !important; transform: none !important; }
    .both-wrap { height: auto !important; }
    .both-stage { position: static !important; height: auto !important; padding: 110px 22px !important; }
    .apw { height: auto !important; }
    .ap-stage { position: static !important; height: auto !important; perspective: none !important; }
    .ap-cube { width: auto !important; height: auto !important; transform: none !important; }
    .ap-slide { position: static !important; opacity: 1 !important; transform: none !important; padding: 70px 0; pointer-events: auto !important; margin-bottom: 20px; }
    .ap-list li { opacity: 1 !important; transform: none !important; }
    .ap-chk { transform: none !important; }
    .ap-dots { display: none; }
    #hero-scroll::after { animation: none; }
    .cnc-illu .a, .cnc-illu .af { opacity: 1 !important; animation: none !important; }
    .cnc-fan .cnc-carte { opacity: 1; transform: translateY(var(--ty)) rotate(var(--rot)); }
  }

  /* ============ Responsive ============ */
  @media (max-width: 980px) {
    .cw { padding-left: 22px !important; padding-right: 22px !important; }
    .sec .cw, .sec.cw { padding-top: 72px !important; padding-bottom: 72px !important; }
    /* blocs conteneurs en deux colonnes (projet, carrière) : moins d'air ;
       ne s'applique qu'aux .cw, pas aux grilles internes */
    .cw.gsplit { padding-top: 96px !important; padding-bottom: 56px !important; }
    .gsplit { gap: 34px !important; }
    .g2, .g3, .g5, .gsplit, .gform { grid-template-columns: 1fr !important; }
    .g5 { grid-template-columns: 1fr 1fr !important; }
    .g2t { grid-template-columns: 1fr !important; }
    /* missions post acquisition : 2 + 2 + 1 (la dernière pleine largeur) */
    .gmis { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
    .gmis > * { grid-column: auto !important; padding: 58px 18px 24px !important; }
    .gmis > *:last-child { grid-column: 1 / -1 !important; }
    .gmis h3 { font-size: 16px !important; }
    .gmos { gap: 8px !important; }
    .cab-panel { padding-left: 0 !important; }
    .navlinks { display: none !important; }
    #burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
    #mobile-menu.on { display: flex; }
    .both-wrap { height: auto !important; }
    .both-stage { position: static !important; height: auto !important; padding: 110px 22px !important; }
    .both-l, .both-r, .both-p, .both-sup, .both-img { opacity: 1 !important; transform: none !important; }
    .both-img { padding: 0 !important; }
    /* le surtitre tient sur une seule ligne sur mobile */
    .both-sup { font-size: 13px !important; letter-spacing: 0.15em !important; white-space: nowrap; left: 0 !important; }
    /* cartes exploration : 4 barres horizontales compactes, sans description */
    .xp-grid { grid-template-columns: 1fr !important; gap: 10px; }
    .xp { flex-direction: row; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; }
    .xp-t { flex: 1; font-size: 16.5px; }
    .xp-d { display: none; }
    .xp-go { width: auto; margin: 0; padding: 0; background: none; font-size: 0; gap: 0; line-height: 0; }
    .xp-a { width: 34px; height: 34px; font-size: 15px; animation: none; }
    #hero-scroll { display: none; }
    /* monogramme du héros : calé en bas à droite, dégagé des boutons */
    #hero-trace { align-items: flex-end; justify-content: flex-end; opacity: 0.55; }
    #hero-trace svg { height: 44%; max-width: 80vw; margin: 0 -22px 14px 0; }
    .sticky-col { position: static !important; }
    .news-grid { grid-template-columns: 1fr !important; }
    #congress-banner { font-size: 12.5px; gap: 10px; padding: 8px 14px; }
    /* écran scindé : bandes haut / bas sur mobile */
    .split-l { clip-path: polygon(0 0, 100% 0, 100% 46%, 0 56%) !important; }
    .split-r { clip-path: polygon(0 56%, 100% 46%, 100% 100%, 0 100%) !important; }
    .split.cab .split-l { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
    .split.cab .split-r { clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%) !important; }
    .split.car .split-l { clip-path: polygon(0 0, 100% 0, 100% 0, 0 0) !important; }
    .split.car .split-r { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
    .split-l { align-items: flex-start; }
    .split-l .split-inner { padding-top: 15vh; }
    .split-r { align-items: flex-end; }
    .split-r .split-inner { margin-left: 0 !important; text-align: left !important; align-items: flex-start !important; padding-bottom: 9vh; }
    .split-inner { max-width: 100%; gap: 14px; }
    .split-title { font-size: clamp(30px, 9vw, 44px); }
    /* fiche bio : photo entiere en 4/5 comme sur les cartes, la carte
       elle-meme defile, bouton fermer fige en haut a droite */
    #bio-overlay { padding: 14px !important; }
    .bio-card { grid-template-columns: 1fr !important; display: block !important; max-height: 92vh !important; overflow-y: auto !important; -webkit-overflow-scrolling: touch; }
    .bio-card { scrollbar-width: none; }
    .bio-card::-webkit-scrollbar { display: none; }
    .bio-photo { min-height: 0 !important; height: auto !important; aspect-ratio: 4 / 5; flex: none; }
    .bio-body { max-height: none !important; overflow: visible !important; padding: 26px 22px 36px !important; }
    #bio-close { position: fixed !important; top: 26px !important; right: 26px !important; z-index: 6; }
    .eqfig > div { max-width: 100% !important; }
    /* temps forts apportons : blocs empilés, cochés au passage */
    /* cube sur mobile : face presque pleine largeur */
    .apw { height: 220vh; }
    .ap-cube { width: calc(100% - 28px); height: min(480px, 64vh); }
    .ap-inner { padding: 0 20px; }
    .ap-inner h3 { font-size: 24px; margin-bottom: 24px; }
    .ap-list { font-size: 15.5px; gap: 11px; }
    /* témoignages : grappe centrée, bouton pleine largeur sous la grappe */
    .testi-sup { text-align: center; }
    .testi-row { flex-direction: column; align-items: center; gap: 20px !important; }
    #testi-cta { width: min(100%, 340px); justify-content: center; }
    /* mosaïque sur mobile : carrousel horizontal d'une ligne sous la grappe,
       sans la légende ni le décalage en quinconce */
    .mos-col { margin-top: 10px; min-width: 0; max-width: 100%; }
    .mos-col > p { display: none; }
    .gmos { max-width: 100%; }
    .gmos { display: flex !important; overflow-x: auto; gap: 12px !important; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; -webkit-overflow-scrolling: touch; cursor: grab; }
    .gmos::-webkit-scrollbar { display: none; }
    .gmos > figure { flex: 0 0 132px; margin: 0 !important; scroll-snap-align: start; }
    /* footer : marque, grille de liens 2 colonnes entre filets, légal empilé */
    .foot-cw { flex-direction: column; align-items: flex-start !important; gap: 20px !important; padding: 34px 22px 30px !important; }
    .foot-nav { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px 18px !important; width: 100%; padding: 18px 0; border-top: 1px solid rgba(235,230,208,0.14); border-bottom: 1px solid rgba(235,230,208,0.14); }
    .foot-legal { flex-direction: column; gap: 10px !important; flex-basis: auto !important; }
    /* piliers : numéro en flux au-dessus du picto, aucun chevauchement */
    .proj-p { justify-content: flex-start; }
    .proj-p p, .proj-p .proj-list { width: auto; }
    .proj-p .nn { position: static; display: block; margin-bottom: 10px; }
    /* chiffres clés : gros, centrés, trait vert court en séparateur */
    .stat { text-align: center; }
    .stat [data-count] { font-size: 92px !important; letter-spacing: -0.045em !important; }
    /* correction optique : le « 1 » de 18 est vide à gauche, l'encre penche à droite */
    .stat [data-count][data-suffix=""] { position: relative; left: -4px; }
    .stat > div { width: 64px !important; margin: 20px auto 0 !important; }
    .stat > span:last-child { margin: 16px auto 0 !important; max-width: 24ch !important; font-size: 16.5px !important; }
    [data-counters] .g3 { gap: 58px !important; }
    /* équipe opérationnelle : 2 photos par ligne sur mobile, comme les associés */
    .geq { grid-template-columns: 1fr 1fr !important; gap: 24px 12px !important; }
    .hero-cw { padding-top: 110px !important; padding-bottom: 56px !important; }
    .proj-pad { padding-bottom: 0 !important; }
    /* expertises : paquet de cartes empilées, balayage pour passer à la suivante */
    /* la section porte son propre fond vert (l'interpolation du fond n'a pas
       le temps de s'assombrir sur une section devenue courte) et les cartes
       deviennent opaques pour rester lisibles pendant la pile */
    .sec-360 { background: #1b3526; }
    #expdeck { display: block !important; position: relative; }
    #expdeck .exp-card { position: absolute; left: 0; right: 28px; top: 0; overflow: hidden; transition: transform 0.65s cubic-bezier(.16,1,.3,1), opacity 0.5s ease !important; will-change: transform; touch-action: pan-y; cursor: pointer; background: #234231 !important; border-color: rgba(235,230,208,0.3) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: 0 26px 54px -32px rgba(0,0,0,0.65); }
    #expdeck .exp-card.fly { transform: translateX(-118%) rotate(-7deg) !important; opacity: 0 !important; }
    /* saisie au doigt : la carte suit le pouce, puis s'éjecte ou revient */
    #expdeck .exp-card.drag { transition: none !important; }
    #expdeck .exp-card.eject { transition: transform 0.34s ease-in, opacity 0.3s ease-in !important; opacity: 0 !important; }
    .deck-hint { display: block !important; }
    #expflip, .flip-hint { display: none !important; }
    /* piliers : panneaux empilés, celui qui est ouvert se déploie */
    .proj { flex-direction: column; height: auto; }
    .proj-p { min-height: 108px; padding: 22px 22px 24px; }
    .proj-p .nn { top: 20px; left: 22px; }
    .proj-p .pic { position: static; margin-bottom: 14px; display: none; }
    .proj-p.open { min-height: 0; }
    .proj-p.open .pic { display: block; }
    .proj-p .pic img, .proj-p .pic svg { height: 58px; }
    /* « Ce qui ne change pas pour vous » : 2 tuiles par ligne, plus compactes */
    .xp-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    /* éventail « ce qui ne change pas » : grille 2 colonnes, cartes droites */
    .cnc-fan { flex-wrap: wrap; gap: 12px; padding: 10px 0 20px; }
    .cnc-carte { flex: 0 0 calc(50% - 6px); height: 290px; margin: 0; --rot: 0deg !important; --ty: 0px !important; padding: 46px 18px 20px; }
  }


/* ===== Portage 04/11 : fonds fixes et assemblage adouci ===== */
main section[data-theme="dark"] { background-color: #1b3526; }
.both-sup, .both-l, .both-r, .both-p, .both-img { transition: opacity 0.9s ease, transform 1s cubic-bezier(.16,1,.3,1); }
.both-l { transform: translateX(-46px); }
.both-r { transform: translateX(46px); }
.both-p { transform: scale(0.2) rotate(90deg); transition-delay: 0.25s; }
.both-sup { transition-delay: 0.1s; }
.both-img { transform: translateY(54px); transition-delay: 0.35s; }
.both-wrap.on .both-sup, .both-wrap.on .both-l, .both-wrap.on .both-r, .both-wrap.on .both-p, .both-wrap.on .both-img { opacity: 1 !important; transform: none !important; }
