/* BELUCI — refonte 2026
   Direction : éditorial institutionnel. Papier ivoire + encre, accent jaune belge.
   Signature : l'arc de points du logo, aux couleurs des trois pays. */

:root {
  --ink: #0f1b33;
  --ink-2: #26334d;
  --paper: #ffffff;
  --paper-2: #f3f5f9;
  --surface: #ffffff;
  --muted: #5b6579;
  --line: rgba(15, 27, 51, .14);
  --line-inv: rgba(255, 255, 255, .18);
  --gold: #fdd641;
  --night: #172c4f;
  --red: #e62d4e;
  --orange: #f08232;
  --green: #18a14f;
  --blue: #229dd9;

  --f-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "IBM Plex Sans", "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gut: clamp(18px, 4vw, 48px);
  --r: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(15, 27, 51, .06), 0 18px 40px -18px rgba(15, 27, 51, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
em.s, .s { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font: 600 .95rem/1 var(--f-body);
  padding: 1em 1.5em; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--paper); text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--inv { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--ghost-inv { background: transparent; border-color: var(--line-inv); color: var(--paper); }
.btn--ghost-inv:hover { background: var(--paper); color: var(--ink); }
.btn--sm { padding: .75em 1.15em; font-size: .85rem; }
.link { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link:hover { color: var(--red); }

/* ---------- En-tête ---------- */
.topbar { background: var(--night); color: var(--paper); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { text-decoration: none; opacity: .85; }
.topbar a:hover { opacity: 1; color: var(--gold); }
.topbar__tel { display: flex; gap: 14px; flex-wrap: wrap; }
.topbar__right { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; border: 1px solid var(--line-inv); border-radius: 999px; overflow: hidden; }
.lang button { font: 600 .72rem/1 var(--f-body); letter-spacing: .08em; background: none; border: 0; color: var(--paper); padding: 6px 10px; cursor: pointer; opacity: .6; }
.lang button[aria-pressed="true"] { background: var(--gold); color: var(--ink); opacity: 1; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(15, 27, 51, .5); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; }
.brand b { font: 700 1.25rem/1 var(--f-display); letter-spacing: .04em; display: block; }
.brand small { display: block; font-size: .68rem; line-height: 1.25; color: var(--muted); max-width: 22ch; }
.nav { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 26px); }
.nav a:not(.btn) { position: relative; text-decoration: none; font-weight: 500; font-size: .93rem; padding: 8px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; position: relative; }
.burger span, .burger span::before { content: ""; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s; }
.burger span { top: 18px; } .burger span::before { top: 8px; left: 0; right: 0; }
.burger[aria-expanded="true"] span { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(-90deg); }

@media (max-width: 1020px) {
  .burger { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - 76px); background: var(--paper); flex-direction: column; align-items: flex-start; gap: 0; padding: 12px var(--gut) 90px; overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { font: 600 clamp(1.6rem, 7vw, 2.2rem)/1.2 var(--f-display); padding: 14px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 24px; }
  .brand small { display: none; }
}
.topbar a { white-space: nowrap; }
@media (max-width: 560px) { .topbar { font-size: .72rem; } .topbar__tel a:nth-child(2) { display: none; } .topbar__right { gap: 10px; } }

/* ---------- Typo de section ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 .74rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 14px 0 0 var(--blue), 28px 0 0 var(--orange); margin-right: 28px; }
.h-xl { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h-lg { font-size: clamp(2.1rem, 4.4vw, 3.7rem); }
.h-md { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.section { padding: clamp(72px, 10vw, 150px) 0; }
.section--tight { padding: clamp(48px, 6vw, 90px) 0; }
.section--ink { background: var(--night); color: var(--paper); }
.section--ink .eyebrow, .section--ink .muted { color: rgba(255, 255, 255, .65); }
.section--ink .lead { color: rgba(255, 255, 255, .88); }
.section--paper2 { background: var(--paper-2); }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head > div { max-width: 62ch; }

/* ---------- Arc signature ---------- */
.arc { display: block; width: 100%; height: auto; overflow: visible; }
.arc circle { transform-box: fill-box; transform-origin: center; }
.js .arc circle { transform: scale(0); animation: pop .7s var(--ease) forwards; animation-delay: calc(var(--i) * 28ms + 200ms); }
@keyframes pop { 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 5vw, 70px) 0 clamp(60px, 8vw, 110px); position: relative; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(30px, 5vw, 80px); align-items: end; }
.hero__arc { max-width: 380px; margin: 0 0 26px -4px; }
.hero h1 { margin-bottom: 28px; }
.hero h1 .s { color: var(--red); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__cities { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 44px; font-size: .82rem; color: var(--muted); }
.hero__cities span { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; }
.flag { display: inline-flex; width: 18px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.flag i { flex: 1; }
.flag--lu { flex-direction: column; }
.hero__visual { position: relative; }
.archframe { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--r-lg) var(--r-lg); overflow: hidden; background: var(--paper-2); position: relative; }
.archframe img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease); }
.is-loaded .archframe img { transform: none; }
.archframe::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 27, 51, .55)); }
.nextcard { position: absolute; left: clamp(-60px, -5vw, -16px); bottom: 28px; width: min(340px, 86%); background: var(--surface); border-radius: var(--r); padding: 20px 22px; box-shadow: var(--shadow); text-decoration: none; display: block; transition: transform .3s var(--ease); }
.nextcard:hover { transform: translateY(-4px) rotate(-.6deg); }
.nextcard__top { display: flex; justify-content: space-between; align-items: center; font: 600 .7rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.nextcard__count { background: var(--gold); color: var(--ink); padding: 6px 10px; border-radius: 999px; letter-spacing: .04em; }
.nextcard h3 { font-size: 1.12rem; line-height: 1.2; margin-bottom: 8px; }
.nextcard p { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .archframe { aspect-ratio: 5 / 4; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
  .nextcard { left: 14px; bottom: 14px; }
}

/* ---------- Bandeau valeurs ---------- */
.marquee { background: var(--night); color: var(--paper); overflow: hidden; padding: 20px 0; }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: slide 36s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font: 400 clamp(1.4rem, 2.6vw, 2.1rem)/1 var(--f-serif); font-style: italic; display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.marquee span:nth-child(3n+2)::after { background: var(--red); }
.marquee span:nth-child(3n)::after { background: var(--orange); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Mission / piliers ---------- */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.split--sticky > :first-child { position: sticky; top: 120px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--sticky > :first-child { position: static; } }
.pillars { display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.pillar__n { font: 400 2.4rem/1 var(--f-serif); font-style: italic; color: var(--red); }
.pillar h3 { font-size: 1.3rem; margin-bottom: 6px; }
.pillar p { margin: 0; color: var(--muted); }

/* ---------- Événements ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); }
.feature__img { background: var(--paper-2); min-height: 320px; max-height: 560px; overflow: hidden; }
.feature__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature__body { padding: clamp(26px, 4vw, 54px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.feature__body h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.feature__body p { color: var(--muted); margin: 0; }
.feature__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature__img { min-height: 0; aspect-ratio: 16 / 10; } }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 600 .7rem/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; padding: 7px 11px; border-radius: 999px; background: var(--paper-2); color: var(--ink); width: max-content; }
.tag--up { background: var(--gold); }
.tag--up::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--muted); }
.meta b { color: var(--ink); font-weight: 600; }

.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.ev { background: var(--surface); color: var(--ink); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-align: left; border: 0; padding: 0; font: inherit; cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s; box-shadow: 0 1px 2px rgba(15, 27, 51, .06); }
.ev:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ev__img { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; position: relative; }
.ev__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.ev:hover .ev__img img { transform: scale(1.05); }
.ev__date { position: absolute; left: 14px; top: 14px; background: var(--surface); border-radius: 12px; padding: 8px 12px; text-align: center; font: 700 1.25rem/1 var(--f-display); }
.ev__date small { display: block; font: 600 .62rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-top: 4px; }
.ev__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ev__body h3 { font-size: 1.15rem; line-height: 1.2; }
.ev__body p { margin: 0; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ev__more { margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .88rem; }
.ev.is-past .ev__img img { filter: saturate(.75); }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 600 .85rem/1 var(--f-body); padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search { flex: 1 1 240px; max-width: 360px; position: relative; }
.search input { width: 100%; padding-left: 44px; }
.search::before { content: ""; position: absolute; left: 17px; top: 50%; width: 13px; height: 13px; border: 2px solid var(--muted); border-radius: 50%; transform: translateY(-60%); }
.search::after { content: ""; position: absolute; left: 30px; top: 50%; width: 7px; height: 2px; background: var(--muted); transform: translateY(5px) rotate(45deg); }
.empty { padding: 60px 20px; text-align: center; border: 1.5px dashed var(--line); border-radius: var(--r); color: var(--muted); grid-column: 1 / -1; }

/* ---------- Dialogue ---------- */
dialog.modal { border: 0; padding: 0; border-radius: var(--r-lg); width: min(880px, calc(100% - 28px)); max-height: calc(100dvh - 28px); background: var(--surface); color: var(--ink); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .5); }
dialog.modal::backdrop { background: rgba(15, 27, 51, .62); backdrop-filter: blur(4px); }
dialog.modal[open] { animation: rise .4s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.modal__img { background: var(--paper-2); max-height: 380px; overflow: hidden; }
.modal__img img { width: 100%; max-height: 380px; object-fit: contain; }
.modal__body { padding: clamp(22px, 4vw, 46px); display: grid; gap: 16px; }
.modal__body h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.modal__text { white-space: pre-line; color: var(--ink-2); }
.modal__close { position: sticky; top: 12px; float: right; margin: 12px 12px -58px 0; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: var(--paper); font-size: 1.3rem; cursor: pointer; }

/* ---------- Services ---------- */
.svc { border-top: 1px solid var(--line); }
.svc__row { display: grid; grid-template-columns: 90px minmax(0, .8fr) minmax(0, 1.2fr) 48px; gap: clamp(14px, 3vw, 40px); align-items: center; padding: clamp(22px, 3vw, 38px) 0; border-bottom: 1px solid var(--line); text-decoration: none; position: relative; transition: padding .35s var(--ease); }
.svc__row::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gut)); background: var(--gold); transform: scaleY(0); transform-origin: bottom; transition: transform .35s var(--ease); z-index: -1; }
a.svc__row:hover::before { transform: scaleY(1); }
a.svc__row:hover { padding-left: 14px; }
.svc__n { font: 400 2rem/1 var(--f-serif); font-style: italic; color: var(--muted); }
.svc__row h3 { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.svc__row p { margin: 0; color: var(--ink-2); }
.svc__arr { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink); display: grid; place-items: center; transition: transform .35s var(--ease), background .3s; }
a.svc__row:hover .svc__arr { transform: rotate(-45deg); background: var(--ink); color: var(--gold); }
.section--ink .svc, .section--ink .svc__row { border-color: var(--line-inv); }
.section--ink .svc__row p { color: rgba(255, 255, 255, .75); }
.section--ink .svc__n { color: var(--gold); }
.section--ink .svc__arr { border-color: var(--paper); }
.section--ink a.svc__row:hover { color: var(--ink); }
.section--ink a.svc__row:hover p, .section--ink a.svc__row:hover .svc__n { color: var(--ink); }
.section--ink a.svc__row:hover .svc__arr { border-color: var(--ink); }
.section--ink .svc__row { z-index: 0; }
@media (max-width: 760px) { .svc__row { grid-template-columns: 44px 1fr; } .svc__row p { grid-column: 2; } .svc__arr { display: none; } }

/* ---------- Président ---------- */
.pres { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.pres__photo { position: relative; }
.pres__photo img { border-radius: 999px 999px var(--r-lg) var(--r-lg); aspect-ratio: 3 / 4; object-fit: cover; object-position: top; width: 100%; }
.pres__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--gold); border-radius: 999px 999px var(--r-lg) var(--r-lg); z-index: -1; }
.pres blockquote { margin: 0; }
.pres__q { font: 400 clamp(1.6rem, 3.2vw, 2.7rem)/1.15 var(--f-serif); font-style: italic; letter-spacing: -.01em; margin-bottom: 28px; }
.pres__q::before { content: "“"; color: var(--gold); }
.pres__q::after { content: "”"; color: var(--gold); }
.pres__more p { color: var(--muted); }
.pres__sig { margin-top: 26px; font-weight: 600; }
.pres__sig small { display: block; font-weight: 400; color: var(--muted); }
details.more summary { cursor: pointer; font-weight: 600; list-style: none; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; font-size: 1.2em; line-height: 1; }
details.more[open] summary::after { content: "–"; }
details.more > div { padding-top: 18px; }
@media (max-width: 820px) { .pres { grid-template-columns: 1fr; } .pres__photo { max-width: 340px; } }

/* ---------- Conseil ---------- */
.board { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.person { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line-inv); border-radius: var(--r); transition: background .3s, transform .3s var(--ease); }
.person:hover { background: rgba(255, 255, 255, .06); transform: translateY(-3px); }
.person__av { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 700 1rem/1 var(--f-display); color: var(--ink); background: var(--gold); overflow: hidden; }
.person__av img { width: 100%; height: 100%; object-fit: cover; }
.person:nth-child(3n+2) .person__av { background: var(--paper); }
.person:nth-child(3n) .person__av { background: var(--orange); }
.person b { display: block; font-weight: 600; line-height: 1.25; font-size: .96rem; }
.person small { display: block; color: rgba(255, 255, 255, .62); font-size: .8rem; line-height: 1.3; margin-top: 3px; }
.person__in { margin-left: auto; flex: none; width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); text-decoration: none; font: 700 .8rem/1 var(--f-body); transition: background .2s, color .2s; }
.person__in:hover { background: var(--gold); color: var(--ink); }
.team { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line-inv); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.team .person { border: 0; padding: 0; }
.team .person:hover { background: none; transform: none; }
.team .person__av { width: 72px; height: 72px; }

/* ---------- Bannière PEM / CTA ---------- */
.banner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--gold); }
.banner__body { padding: clamp(28px, 5vw, 70px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.banner__img { position: relative; min-height: 280px; background: var(--paper-2); }
.banner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .banner { grid-template-columns: 1fr; } }

.cta { position: relative; background: var(--night); color: var(--paper); border-radius: var(--r-lg); overflow: hidden; padding: clamp(40px, 8vw, 110px) clamp(24px, 6vw, 90px); isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; background: url("../img/site/cta.jpg") center / cover; opacity: .28; z-index: -1; }
.cta h2 { max-width: 16ch; margin-bottom: 20px; }
.cta p { max-width: 54ch; color: rgba(255, 255, 255, .82); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- En-tête de page ---------- */
.pagehead { padding: clamp(40px, 6vw, 90px) 0 clamp(40px, 5vw, 70px); }
.pagehead .arc { max-width: 300px; margin-bottom: 14px; }
.pagehead h1 { max-width: 18ch; margin-bottom: 24px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 26px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }

/* ---------- Étapes / cartes ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--r); padding: 28px; counter-increment: s; position: relative; }
.step::before { content: counter(s, decimal-leading-zero); font: 400 2.6rem/1 var(--f-serif); font-style: italic; color: var(--red); display: block; margin-bottom: 18px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .94rem; }
.section--ink .step { background: rgba(255, 255, 255, .07); }
.section--ink .step::before { color: var(--gold); }
.section--ink .step p { color: rgba(255, 255, 255, .7); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 1.2rem; }
.card p { margin: 0; color: var(--muted); font-size: .94rem; }
.card .btn { margin-top: auto; align-self: flex-start; }
.card--line { background: transparent; border: 1.5px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.2em + 5px); width: 8px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.logos { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.logos img { height: 84px; width: auto; background: #fff; border-radius: 12px; padding: 10px; }
.figure img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .86rem; }
input, textarea, select { font: inherit; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(253, 214, 65, .45); }
textarea { min-height: 150px; resize: vertical; }
.field.is-bad input, .field.is-bad textarea { border-color: var(--red); }
.field__err { color: var(--red); font-size: .8rem; min-height: 1em; }
.form__status { padding: 14px 18px; border-radius: 12px; background: #e3f4ea; color: #0a5b37; font-size: .92rem; }
.form__status[hidden] { display: none; }
.contact-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 16px; }
.contact-list dt, .contact-list .k { font: 600 .74rem/1.6 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; display: block; font-weight: 500; }
.contact-list a:hover { color: var(--red); }
.panel { background: var(--surface); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }

/* ---------- Pied de page ---------- */
.footer { background: var(--night); color: var(--paper); padding: clamp(60px, 8vw, 110px) 0 28px; margin-top: clamp(60px, 8vw, 120px); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .6fr)) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); padding-bottom: 54px; border-bottom: 1px solid var(--line-inv); }
.footer h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 16px; }
.footer h3 { font: 600 .74rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; opacity: .88; }
.footer a:hover { opacity: 1; color: var(--gold); }
.footer p { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.news { display: flex; gap: 8px; margin-top: 14px; }
.news input { background: rgba(255, 255, 255, .08); border-color: var(--line-inv); color: var(--paper); border-radius: 999px; padding: 12px 18px; }
.news input::placeholder { color: rgba(255, 255, 255, .5); }
.footer .form__status { margin-top: 12px; background: rgba(0, 158, 96, .2); color: #b8f1d6; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-top: 26px; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.footer__arc { max-width: 260px; margin-bottom: 24px; }
@media (max-width: 980px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__top > :first-child, .footer__top > :last-child { grid-column: 1 / -1; } }

.totop { position: fixed; right: 20px; bottom: 20px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--gold); color: var(--ink); font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); z-index: 40; }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Apparitions ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .arc circle { transform: none; }
}
@media print { .header, .topbar, .footer, .totop, .marquee { display: none; } }

/* ---------- Photos d'Abidjan (Unsplash, libres de droits) ---------- */
.archframe--mini { position: absolute; right: clamp(-28px, -2vw, -8px); top: -34px; width: 40%; aspect-ratio: 1; border: 7px solid var(--paper); border-radius: 999px 999px 22px 22px; box-shadow: var(--shadow); z-index: 1; }
.archframe--mini::after { background: linear-gradient(180deg, transparent 50%, rgba(15, 27, 51, .6)); }
.archframe__label { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; text-align: center; color: #fff; font: 600 .68rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.archframe__label--main { bottom: auto; top: 46%; left: 24px; right: auto; display: none; }
@media (max-width: 900px) { .archframe--mini { right: 10px; top: -26px; width: 34%; } }
.pano { position: relative; height: clamp(300px, 46vw, 600px); overflow: hidden; color: #fff; isolation: isolate; }
.pano img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: center 62%; z-index: -2; }
.pano::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 27, 51, .1) 30%, rgba(15, 27, 51, .78)); z-index: -1; }
.pano .wrap { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(24px, 4vw, 54px); }
.pano h2 { max-width: 18ch; }
.pano p { margin: 14px 0 0; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.cta::before { background-image: url("../img/photos/abidjan-plateau.jpg"); opacity: .34; }
.pagehead .split { align-items: center; }
.figure { position: relative; margin: 0; }
.figure--arch img { border-radius: 999px 999px var(--r-lg) var(--r-lg); aspect-ratio: 4 / 4.4; }
.figure figcaption { margin-top: 10px; font-size: .76rem; color: var(--muted); }
.credits a { text-decoration: underline; }
.pagehead .figure img { max-height: 470px; }
.pagehead .figure--arch { max-width: 440px; justify-self: end; width: 100%; }
@media (max-width: 900px) { .pagehead .figure--arch { justify-self: start; max-width: 320px; } }

/* ---------- Fond blanc : les cartes gagnent un filet fin ---------- */
.ev, .card, .step, .panel, .feature { border: 1px solid var(--line); }
.section--ink .step { border-color: var(--line-inv); }
.header.is-stuck { border-color: var(--line); }
.archframe, .feature__img, .ev__img, .modal__img, .banner__img { background: var(--paper-2); }

/* Points blancs de l'arc : contour fin sur fond clair, aucun sur fond bleu nuit */
.arc__w { stroke: #9aa5b8; stroke-width: 1.5px; vector-effect: non-scaling-stroke; }
.footer .arc__w, .section--ink .arc__w { stroke: none; }

/* ---------- Photos d'équipe ---------- */
.groupphoto { margin: 0 0 clamp(24px, 3vw, 40px); border-radius: var(--r-lg); overflow: hidden; }
.groupphoto img { width: 100%; height: auto; aspect-ratio: 16 / 8.5; object-fit: cover; object-position: center 35%; }
.team { align-items: center; gap: clamp(20px, 4vw, 48px); }
.team__photo { width: clamp(150px, 18vw, 220px); aspect-ratio: 3 / 4; height: auto; object-fit: cover; object-position: top; border-radius: 999px 999px var(--r) var(--r); }
@media (max-width: 700px) { .groupphoto img { aspect-ratio: 3 / 2; } }
.person__av img { transform: scale(1.1); }
.team .person__av img { transform: none; }

/* ---------- Conseil : en fonction / honoraires ---------- */
.board__title { font: 600 .78rem/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin: clamp(28px, 4vw, 44px) 0 16px; display: flex; align-items: center; gap: 16px; }
.board__title::after { content: ""; flex: 1; height: 1px; background: var(--line-inv); }
.board--hon .person { background: rgba(255, 255, 255, .04); border-style: dashed; }
.person__av--pres img { transform: scale(2.5); transform-origin: 50% 13%; object-position: top; }

.previewbar { background: var(--gold); color: var(--ink); text-align: center; font: 600 .78rem/1.3 var(--f-body); padding: 8px 16px; }

/* Affiche de l'événement à la une : toujours entière, jamais rognée */
.feature { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; }
.feature__img { min-height: 0; max-height: none; align-self: stretch; display: flex; align-items: center; }
.feature__img img { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature__img { aspect-ratio: auto; } }

/* Cartes d'événements : affiche entière dans un cadre carré */
.ev__img { aspect-ratio: 1; }
.ev__img img { object-fit: contain; object-position: center; }
.ev:hover .ev__img img { transform: scale(1.03); }
.ev__date { display: none; }

/* =====================================================================
   THÈME V2 — « tech épurée »
   Une seule police (Geist), noir / blanc / gris, couleurs du logo en
   petites touches, blocs arrondis en grille, très peu de photos.
   ===================================================================== */
:root {
  --ink: #0a0a0b; --ink-2: #2e2e33; --paper: #ffffff; --paper-2: #f5f5f7; --surface: #ffffff;
  --muted: #6e6e78; --night: #0a0a0b;
  --line: rgba(10, 10, 11, .1); --line-inv: rgba(255, 255, 255, .14);
  --f-display: "Geist", "Segoe UI", system-ui, sans-serif;
  --f-body: "Geist", "Segoe UI", system-ui, sans-serif;
  --f-serif: "Geist", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, Consolas, monospace;
  --r: 20px; --r-lg: 28px;
  --shadow: 0 1px 2px rgba(10, 10, 11, .04), 0 12px 32px -16px rgba(10, 10, 11, .18);
}
body { font-size: clamp(15.5px, 1vw, 17px); letter-spacing: -.006em; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.035em; line-height: 1.06; }
.h-xl { font-size: clamp(2.4rem, 5.2vw, 4.5rem); }
.h-lg { font-size: clamp(1.9rem, 3.5vw, 3rem); }
.h-md { font-size: clamp(1.3rem, 1.9vw, 1.65rem); letter-spacing: -.025em; }
em.s, .s { font-style: normal; font-family: inherit; letter-spacing: inherit; color: #9a9aa5; }
.hero h1 .s { color: #9a9aa5; }
.section--ink em.s, .cta em.s, .footer em.s { color: rgba(255, 255, 255, .45); }
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.18rem); }
.section--ink .lead { color: rgba(255, 255, 255, .7); }
.section { padding: clamp(64px, 8vw, 120px) 0; }
.eyebrow { font: 500 .72rem/1 var(--f-mono); letter-spacing: .04em; color: var(--muted); }
.eyebrow::before { width: 7px; height: 7px; box-shadow: 11px 0 0 var(--blue), 22px 0 0 var(--orange); margin-right: 22px; }
.link:hover { color: var(--muted); }

/* Boutons */
.btn { border-radius: 12px; font-weight: 500; padding: .9em 1.25em; border-width: 1px; }
.btn--gold { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { border-color: var(--line); background: var(--paper); }
.btn--ghost:hover { background: var(--paper-2); color: var(--ink); }
.section--ink .btn--gold, .cta .btn--gold, .footer .btn--gold { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost-inv { border-color: var(--line-inv); }

/* En-tête */
.header { background: rgba(255, 255, 255, .8); }
.header .wrap { min-height: 68px; }
.brand img { height: 46px; }
.nav a:not(.btn) { font-size: .9rem; color: var(--ink-2); }
.nav a:not(.btn)::after { display: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { font-weight: 600; }
.nav__tools { display: inline-flex; align-items: center; gap: 14px; margin-left: clamp(4px, 1.4vw, 18px); padding-left: clamp(8px, 1.6vw, 22px); border-left: 1px solid var(--line); }
.nav a.nav__mem { color: var(--muted); }
.lang { border-color: var(--line); border-radius: 9px; }
.lang button { color: var(--ink); font-family: var(--f-mono); letter-spacing: 0; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
@media (max-width: 1020px) {
  .nav { height: calc(100dvh - 68px); }
  .nav a:not(.btn) { color: var(--ink); }
  .nav__tools { margin: 26px 0 0; padding: 0; border: 0; flex-wrap: wrap; }
  .nav a.nav__mem { width: auto; border: 0; font: 500 1rem/1 var(--f-body); padding: 0; }
  .nav .btn { margin-top: 0; }
}

/* Hero en grille « bento » */
.hero { padding: clamp(40px, 6vw, 88px) 0 clamp(48px, 6vw, 88px); }
.hero__grid { align-items: center; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bento__t { border-radius: var(--r-lg); background: var(--paper-2); border: 1px solid var(--line); padding: 24px; min-width: 0; }
.bento__t--wide { grid-column: 1 / -1; }
.nextcard { position: static; width: auto; background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; padding: 26px; }
.nextcard:hover { transform: translateY(-3px); }
.nextcard__top { color: rgba(255, 255, 255, .6); font-family: var(--f-mono); letter-spacing: .02em; text-transform: none; font-weight: 500; font-size: .74rem; }
.nextcard__count { background: #fff; color: var(--ink); border-radius: 8px; }
.nextcard h3 { font-size: clamp(1.2rem, 1.8vw, 1.55rem); margin-bottom: 10px; }
.nextcard p { color: rgba(255, 255, 255, .65); }
.bento__t--arc { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; background: var(--paper); }
.bento__t--arc p { margin: 0; display: grid; gap: 4px; }
.bento__t--arc b { font-weight: 600; font-size: 1.05rem; letter-spacing: -.02em; }
.bento__t--arc span { color: var(--muted); font-size: .82rem; }
.bento__t--photo { padding: 0; overflow: hidden; position: relative; min-height: 190px; }
.bento__t--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 62%; }
.bento__t--photo span { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 .72rem/1 var(--f-mono); padding: 7px 10px; border-radius: 8px; }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } }

/* Bandeau des valeurs : discret */
.marquee { background: var(--paper); color: var(--muted); border-block: 1px solid var(--line); padding: 16px 0; }
.marquee span { font: 500 .8rem/1 var(--f-mono); font-style: normal; letter-spacing: .02em; gap: 40px; }
.marquee__track { gap: 40px; }
.marquee span::after { width: 6px; height: 6px; }

/* Numéros et libellés */
.pillar__n, .svc__n, .step::before { font: 500 .8rem/1 var(--f-mono); font-style: normal; color: var(--muted); }
.pillar { grid-template-columns: 44px 1fr; align-items: baseline; }
.section--ink .svc__n, .section--ink .step::before { color: rgba(255, 255, 255, .5); }
.step::before { margin-bottom: 26px; }
.tag { font: 500 .7rem/1 var(--f-mono); letter-spacing: .02em; text-transform: none; border-radius: 8px; background: var(--paper-2); }
.tag--up { background: var(--ink); color: #fff; }
.tag--up::before { background: #3ddc84; }

/* Cartes : aplats gris clair, sans ombre */
.ev, .card, .step, .panel { box-shadow: none; }
.card, .step { background: var(--paper-2); border-color: transparent; }
.section--paper2 .card, .section--paper2 .step { background: var(--paper); }
.card--line { background: transparent; border-color: var(--line); }
.ev { border-color: var(--line); }
.ev:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.ev__img { background: var(--paper-2); }
.feature { box-shadow: none; border-color: var(--line); }
.chip { border-width: 1px; border-radius: 10px; font-weight: 500; }
input, textarea, select { border-width: 1px; }
input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 4px rgba(10, 10, 11, .08); }
.checks li::before { background: transparent; border: 1.5px solid currentColor; opacity: .9; }
.checks li::after { border-color: currentColor; }

/* Services (liste sombre) */
a.svc__row::before { background: rgba(255, 255, 255, .06); }
.section--ink a.svc__row:hover, .section--ink a.svc__row:hover .svc__n { color: inherit; }
.section--ink a.svc__row:hover p { color: rgba(255, 255, 255, .75); }
.section--ink a.svc__row:hover .svc__arr { border-color: #fff; background: #fff; color: var(--ink); }
.svc__arr { border-width: 1px; }
.svc__row h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }

/* Président et équipe : cadres simples */
.pres__photo img, .team__photo, .figure--arch img { border-radius: var(--r-lg); }
.pres__photo::before { display: none; }
.pres__q { font: 500 clamp(1.4rem, 2.5vw, 2.1rem)/1.22 var(--f-display); font-style: normal; letter-spacing: -.03em; }
.pres__q::before, .pres__q::after { color: #c9c9d1; }
.person { border-radius: 16px; }
.person__av, .person:nth-child(3n+2) .person__av, .person:nth-child(3n) .person__av { background: rgba(255, 255, 255, .1); color: #fff; }
.person__in:hover { background: #fff; color: var(--ink); }
.board__title { font-family: var(--f-mono); text-transform: none; letter-spacing: .02em; font-weight: 500; }

/* Blocs d'appel : noir avec halo aux couleurs du logo, sans photo */
.banner { background: var(--paper-2); grid-template-columns: 1fr; border: 1px solid var(--line); }
.banner__img { display: none; }
.banner .tag { background: var(--ink) !important; color: #fff !important; }
.cta { background: var(--ink); }
.cta::before { background: radial-gradient(40% 70% at 88% 10%, rgba(34, 157, 217, .35), transparent 70%), radial-gradient(35% 60% at 70% 95%, rgba(230, 45, 78, .28), transparent 70%), radial-gradient(30% 50% at 100% 70%, rgba(253, 214, 65, .22), transparent 70%); opacity: 1; }
.pagehead .split { grid-template-columns: 1fr; }
.pagehead .figure { display: none; }
.pagehead h1 { max-width: 20ch; }
.pagehead .arc { max-width: 200px; }

/* Pied de page */
.footer { background: var(--ink); margin-top: clamp(48px, 6vw, 96px); }
.footer h3 { font-family: var(--f-mono); text-transform: none; letter-spacing: .02em; font-weight: 500; }
.footer circle[fill="#17191c"] { fill: #4a4a52; }
.news input { border-radius: 12px; }
.totop { background: var(--ink); color: #fff; }
.previewbar { background: var(--paper-2); color: var(--muted); font: 500 .74rem/1.3 var(--f-mono); border-bottom: 1px solid var(--line); }
.contact-list .k, .contact-list dt { font-family: var(--f-mono); text-transform: none; letter-spacing: .02em; font-weight: 500; }

/* =====================================================================
   COULEURS V3 — le bleu du logo comme couleur d'action, encre bleutée,
   fonds légèrement teintés, halos aux couleurs des drapeaux.
   ===================================================================== */
:root {
  --brand: #1273d4;        /* bleu du logo, densifié pour le texte et les boutons */
  --brand-2: #0d5fb3;
  --brand-soft: #e8f2fd;
  --ink: #0b1424; --ink-2: #2a3446; --muted: #5f6b7e;
  --paper-2: #f3f6fb; --night: #0b1424;
  --line: rgba(11, 20, 36, .1);
}
em.s, .s, .hero h1 .s { color: var(--brand); }
.section--ink em.s, .cta em.s, .footer em.s { color: #7fc1f7; }
a.link:hover, .link:hover { color: var(--brand); }

/* Boutons : bleu pour l'action principale */
.btn--gold { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--gold:hover { background: var(--brand-2); border-color: var(--brand-2); }
.section--ink .btn--gold, .cta .btn--gold, .footer .btn--gold { background: #fff; border-color: #fff; color: var(--ink); }
.btn { background: var(--ink); border-color: var(--ink); }
.btn--gold { background: var(--brand); border-color: var(--brand); }
.btn--ghost { background: var(--paper); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { background: var(--brand-soft); border-color: transparent; color: var(--brand-2); }
.btn--inv { background: #fff; border-color: #fff; color: var(--ink); }
.btn--ghost-inv { background: transparent; border-color: var(--line-inv); color: #fff; }
.lang button[aria-pressed="true"] { background: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); }
.chip:hover { border-color: var(--brand); }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(18, 115, 212, .14); }
:focus-visible { outline-color: var(--brand); }
.totop { background: var(--brand); }

/* Haut de page : halo doux aux couleurs des drapeaux */
.hero { position: relative; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -80px 0 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(38% 55% at 92% 8%, rgba(34, 157, 217, .2), transparent 70%),
    radial-gradient(30% 45% at 70% 0%, rgba(253, 214, 65, .22), transparent 70%),
    radial-gradient(28% 45% at 100% 62%, rgba(230, 45, 78, .12), transparent 70%),
    radial-gradient(30% 40% at 58% 100%, rgba(24, 161, 79, .1), transparent 70%); }
.pagehead { position: relative; isolation: isolate; }
.pagehead::before { content: ""; position: absolute; inset: -80px 0 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(34% 70% at 95% 0%, rgba(34, 157, 217, .16), transparent 70%), radial-gradient(26% 60% at 74% 0%, rgba(253, 214, 65, .16), transparent 70%); }
.header { background: rgba(255, 255, 255, .72); }

/* Blocs du haut de l'accueil */
.nextcard { background: linear-gradient(135deg, #0b1424 0%, #103a6e 100%); border-color: transparent; position: relative; overflow: hidden; }
.nextcard::after { content: ""; position: absolute; right: -60px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(253, 214, 65, .35), transparent 65%); pointer-events: none; }
.nextcard__count { background: var(--gold); color: var(--ink); position: relative; z-index: 1; }
.bento__t--arc { background: rgba(255, 255, 255, .85); }
.bento__t { border-color: rgba(11, 20, 36, .08); }

/* Étiquettes et repères */
.tag { background: var(--brand-soft); color: var(--brand-2); }
.tag--up { background: var(--brand); color: #fff; }
.tag--up::before { background: var(--gold); }
.banner .tag { background: var(--brand) !important; }
.pillar__n, .step::before { color: var(--brand); }
.section--ink .svc__n, .section--ink .step::before { color: #7fc1f7; }
.checks li::before { border-color: var(--brand); }
.checks li::after { border-color: var(--brand); }
.section--ink .checks li::before, .section--ink .checks li::after { border-color: #7fc1f7; }
.marquee { background: var(--paper-2); border-color: transparent; }
.pres__q::before, .pres__q::after { color: var(--brand); }

/* Zones sombres : bleu nuit profond avec lueur, plutôt que noir */
.section--ink, .footer { background: var(--night); }
.section--ink { position: relative; isolation: isolate; overflow: hidden; }
.section--ink::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 100% 0%, rgba(18, 115, 212, .32), transparent 70%), radial-gradient(30% 40% at 0% 100%, rgba(18, 115, 212, .14), transparent 70%); }
.cta { background: linear-gradient(135deg, #0b1424 0%, #0f3566 100%); }
.cta::before { background: radial-gradient(34% 70% at 92% 8%, rgba(34, 157, 217, .45), transparent 70%), radial-gradient(28% 55% at 76% 100%, rgba(230, 45, 78, .3), transparent 70%), radial-gradient(24% 45% at 100% 72%, rgba(253, 214, 65, .3), transparent 70%); }
.banner { background: var(--brand-soft); border-color: transparent; }
.person__in:hover { background: var(--brand); color: #fff; }
.section--ink a.svc__row:hover .svc__arr { background: var(--brand); border-color: var(--brand); color: #fff; }
.footer a:hover { color: #7fc1f7; }
.footer circle[fill="#17191c"] { fill: #56627a; }
.previewbar { background: var(--brand-soft); color: var(--brand-2); border-color: transparent; }

/* Menu nettement détaché : barre blanche pleine avec filet et ombre, haut de page sur fond teinté */
.header, .header.is-stuck { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(11, 20, 36, .03), 0 10px 28px -18px rgba(11, 20, 36, .28); }
.hero, .pagehead { background: var(--paper-2); }
.hero::before, .pagehead::before { inset: 0; }
.hero { padding-top: clamp(48px, 6vw, 88px); }
.bento__t--arc { background: #fff; }
.marquee { background: #fff; border-block: 1px solid var(--line); }
.pagehead + .section--tight { padding-top: clamp(40px, 5vw, 72px) !important; }

/* =====================================================================
   PHOTOS V4 — les photos reviennent, en vignettes arrondies nettes
   ===================================================================== */
/* Haut de l'accueil : grande photo d'Abidjan, puis prochain rendez-vous + arc */
.bento { grid-template-columns: 1.3fr 1fr; }
.bento__t--photo { grid-column: 1 / -1; order: -1; min-height: 0; aspect-ratio: 16 / 8; }
.bento__t--photo img { object-position: 50% 64%; }
.bento__t--wide { grid-column: auto; }
.nextcard h3 { font-size: clamp(1.05rem, 1.45vw, 1.3rem); }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } .bento__t--photo { aspect-ratio: 16 / 10; } }

/* Mosaïque de photos sur l'accueil */
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 14px; }
.mosaic__t { margin: 0; position: relative; border-radius: var(--r-lg); overflow: hidden; height: clamp(220px, 28vw, 360px); background: var(--paper-2); }
.mosaic__t img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mosaic__t:hover img { transform: scale(1.04); }
.mosaic__t figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .92); color: var(--ink); font: 500 .72rem/1 var(--f-mono); padding: 7px 10px; border-radius: 8px; }
@media (max-width: 760px) { .mosaic { grid-template-columns: 1fr 1fr; } .mosaic__t--big { grid-column: 1 / -1; } }

/* En-têtes des pages intérieures : la photo revient à droite du titre */
.pagehead .figure { display: block; max-width: none; width: 100%; justify-self: stretch; }
.pagehead .figure img, .pagehead .figure--arch img { border-radius: var(--r-lg); aspect-ratio: 16 / 10; max-height: 360px; width: 100%; object-fit: cover; }
.pagehead .figure figcaption { font: 500 .72rem/1.4 var(--f-mono); color: var(--muted); margin-top: 10px; }
@media (min-width: 901px) { .pagehead .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; } }
.nextcard { left: auto; bottom: auto; right: auto; top: auto; }

/* Mosaïque sous le titre « Notre mission » : remplit la colonne de gauche */
.mosaic--side { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(28px, 4vw, 48px); }
.mosaic--side .mosaic__t { height: clamp(130px, 13vw, 180px); }
.mosaic--side .mosaic__t--big { grid-column: 1 / -1; height: clamp(180px, 19vw, 260px); }
.bento { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
@media (max-width: 520px) { .bento { grid-template-columns: minmax(0, 1fr); } }

/* Bloc PEM N'Zassa de l'accueil : la photo du projet revient à droite */
.banner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); overflow: hidden; }
.banner__img { display: block; min-height: 260px; }
@media (max-width: 820px) { .banner { grid-template-columns: 1fr; } .banner__img { min-height: 200px; } }

/* ---------- Galerie ---------- */
.gal { columns: 3 260px; column-gap: 14px; }
.gal__item { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; background: var(--paper-2); border-radius: 18px; overflow: hidden; cursor: zoom-in; break-inside: avoid; }
.gal__item img { width: 100%; height: auto; display: block; transition: transform .7s var(--ease), opacity .3s; }
.gal__item:hover img { transform: scale(1.03); }
.gal--home { columns: unset; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 15vw, 210px); gap: 14px; }
.gal--home .gal__item { margin: 0; height: 100%; }
.gal--home .gal__item img { height: 100%; object-fit: cover; }
.gal--home .gal__item:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 760px) { .gal--home { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
dialog.lightbox { border: 0; padding: 0; background: transparent; width: 100vw; height: 100dvh; max-width: none; max-height: none; display: grid; place-items: center; }
dialog.lightbox:not([open]) { display: none; }
dialog.lightbox::backdrop { background: rgba(6, 10, 18, .92); }
.lightbox__fig { margin: 0; display: grid; gap: 12px; justify-items: center; padding: 56px 16px 20px; }
.lightbox__fig img { max-width: min(1400px, 92vw); max-height: calc(100dvh - 140px); width: auto; height: auto; border-radius: 12px; }
.lightbox__fig figcaption { color: rgba(255, 255, 255, .8); font: 500 .8rem/1.4 var(--f-mono); text-align: center; }
.lightbox__btn { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.3rem; cursor: pointer; }
.lightbox__btn:hover { background: #fff; color: var(--ink); }
.lightbox__btn--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__btn--close { right: 16px; top: 16px; }

/* ---------- Équipe interne ---------- */
.team2 { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line-inv); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 28px clamp(24px, 4vw, 56px); align-items: center; }
.team2__head .eyebrow { margin-bottom: 18px; }
.team2__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 18px; justify-content: end; }
.member { margin: 0; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; border-radius: var(--r-lg); background: rgba(255, 255, 255, .06); }
.member figcaption { margin-top: 12px; display: grid; gap: 3px; }
.member b { font-weight: 600; font-size: 1.02rem; }
.member span { color: rgba(255, 255, 255, .62); font-size: .86rem; }
@media (max-width: 760px) { .team2 { grid-template-columns: 1fr; } .team2__grid { justify-content: start; } }

/* ---------- Messages du serveur (formulaires) ---------- */
.flash { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: .94rem; }
.flash--ok { background: #e3f4ea; color: #0a5b37; }
.flash--err { background: #fdecee; color: #a01c33; }
.flash ul { margin: 0; padding-left: 18px; }
.prose { white-space: pre-line; color: var(--ink-2); max-width: 72ch; }
.login-panel { max-width: 460px; }
.remember { display: flex; gap: 10px; align-items: center; font-size: .9rem; }
.remember input { width: auto; }
.pagination-wrap { margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
.faq__item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; color: var(--brand); line-height: 1; }
.faq__item[open] summary::after { content: "–"; }
.faq__item h3 { font-size: 1.05rem; letter-spacing: -.015em; margin: 0; }
.faq__item p { margin: 12px 0 0; color: var(--ink-2); }
