/* =========================================================
   Compliance Global Trust — Proposition 2
   D'après les maquettes « Page SW – modèle CGT »
   Couleurs du logo : bleu #186CB2 · bordeaux #8C2525
   ========================================================= */
:root {
  --navy: #0a3557;
  --navy-deep: #072641;
  --blue: #186cb2;
  --blue-band: #4f6ca6;
  --bordeaux: #8c2525;
  --bordeaux-dark: #6b2e2a;
  --ink: #1d2430;
  --muted: #5d6573;
  --grey: #f4f4f4;
  --line: #e4e6ea;
  --white: #fff;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
  --shadow: 0 24px 50px rgba(7, 38, 65, .18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 16.5px; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: #fff; padding: 8px 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.section { padding: 100px 0; }
.section-grey { background: var(--grey); }
.section-navy { background: var(--navy); color: #d5dde8; }
.section-navy h1, .section-navy h2, .section-navy h3 { color: #fff; }
.head { max-width: 760px; margin: 0 auto 52px; }
.head p:last-child { color: var(--muted); }
.kicker { font-family: var(--sans); text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 700; color: #9aa1ad; margin-bottom: 1em; }
.kicker-light { color: #c9d4e5; }
.ico { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Boutons ---------- */
.btn { display: inline-block; background: var(--bordeaux-dark); color: #fff; font-family: var(--sans); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; text-decoration: none; padding: 14px 22px; border: 2px solid var(--bordeaux-dark); transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--bordeaux); border-color: var(--bordeaux); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: transparent; color: #fff; border-color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.75); }
.btn-outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.link-btn { background: none; border: 0; color: #fff; font: inherit; font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; cursor: pointer; padding: 8px 0; }
.link-btn:hover { text-decoration: underline; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60; background: #fff; box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 78px; padding-left: 24px; }
.brand img { height: 58px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--navy); text-decoration: none; text-transform: uppercase; font-size: .82rem; letter-spacing: .04em; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue-band); border-bottom-color: var(--blue-band); }
.rdv { align-self: stretch; display: flex; align-items: center; background: var(--bordeaux-dark); color: #fff; text-decoration: none; text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; font-weight: 600; padding: 0 34px; transition: background .2s; }
.rdv:hover { background: var(--bordeaux); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* ---------- Accueil : hero ---------- */
.hero { position: relative; min-height: 470px; background-size: cover; background-position: center 35%; display: flex; align-items: flex-start; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,38,65,.88), rgba(10,53,87,.78)); }
.hero-inner { position: relative; text-align: center; padding-top: 70px; padding-bottom: 190px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; }

.overlap { margin-top: -170px; position: relative; z-index: 2; }
.overlap-card { background: var(--blue-band); color: #e9eef7; padding: 56px 64px 48px; text-align: center; box-shadow: var(--shadow); }
.overlap-card h2 { color: #fff; font-weight: 500; max-width: 720px; margin: 0 auto 40px; }
.overlap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; text-align: left; margin-bottom: 36px; }
.mini { display: flex; gap: 16px; }
.mini .ico { color: #fff; width: 44px; height: 44px; }
.mini h3 { color: #fff; font-size: 1.2rem; margin-bottom: .2em; }
.mini p { font-size: .92rem; margin: 0; color: #dbe3f1; }

/* ---------- Bandeau logos ---------- */
.trust { padding: 64px 0; background: #fff; }
.trust-dark { background: var(--navy); }
.trust-inner { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.trust-title { font-size: 1.9rem; font-weight: 500; margin: 0; color: #444; }
.trust-dark .trust-title { color: #fff; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: scroll 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-tile { width: 170px; height: 92px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 14px; flex: none; }
.logo-tile img { max-height: 62px; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-tile:hover img { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- Bloc duo (texte + image en relief) ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.duo-text { padding: 90px 8% 90px max(24px, calc((100vw - var(--max)) / 2 + 24px)); align-self: center; }
.duo-text p { color: var(--muted); }
.duo-media { position: relative; background: linear-gradient(160deg, #3d5f95 0%, var(--blue-band) 60%, #6f86b8 100%); display: grid; place-items: center; padding: 70px 0; }
.duo-media img { width: 78%; max-width: 480px; aspect-ratio: 4/4.4; object-fit: cover; box-shadow: var(--shadow); margin-left: -22%; }
.duo-reverse .duo-media { background: #fff; }
.duo-reverse .duo-text { padding: 90px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 90px 8%; }
.duo-reverse .duo-media img { margin: 0; width: 64%; aspect-ratio: 3/4.2; }

/* Schéma « approche fondée sur les risques » */
.duo-media-diagram { background: var(--grey) !important; padding: 64px 24px; }
.cycle { margin: 0; width: 100%; max-width: 560px; }
.cycle .kicker { text-align: center; margin-bottom: .3em; }
.cycle-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; text-align: center; color: var(--navy); margin-bottom: .6em; }
.cycle svg { width: 100%; height: auto; display: block; overflow: visible; }
.cy-ring { fill: none; stroke: var(--blue-band); stroke-width: 2; stroke-dasharray: 6 7; }
.cy-arrow { fill: var(--blue-band); }
.cy-core { fill: var(--navy); }
.cy-core-t { fill: #fff; font-family: var(--serif); font-size: 25px; font-weight: 600; text-anchor: middle; }
.cy-box { fill: #fff; stroke: #d5dbe6; stroke-width: 1.5; filter: drop-shadow(0 6px 12px rgba(7,38,65,.08)); }
.cy-num { fill: var(--bordeaux-dark); }
.cy-num-t { fill: #fff; font-family: var(--sans); font-size: 17px; font-weight: 700; text-anchor: middle; }
.cy-t1 { fill: var(--navy); font-family: var(--sans); font-size: 21px; font-weight: 700; text-anchor: middle; }
.cy-t2 { fill: var(--muted); font-family: var(--sans); font-size: 16px; text-anchor: middle; }
.cycle figcaption { font-size: .88rem; color: var(--muted); margin-top: 18px; text-align: center; }

/* Services : panneau de la liste des domaines */
.svc-panel { background: var(--navy); color: #fff; padding: 40px 36px; width: 88%; max-width: 520px; margin-left: -4%; box-shadow: var(--shadow); }
.svc-panel ul { list-style: none; padding: 0; margin: 0; }
.svc-panel li + li { border-top: 1px solid rgba(255,255,255,.12); }
.svc-panel a { display: flex; align-items: center; gap: 16px; padding: 14px 0; color: #fff; text-decoration: none; font-weight: 600; }
.svc-panel a:hover span { text-decoration: underline; }
.svc-panel .ico { width: 30px; height: 30px; color: #c9d4e5; }

/* Portrait (photo de petite taille) */
.portrait { margin: 0; max-width: 300px; background: #fff; padding: 12px 12px 16px; box-shadow: var(--shadow); }
.portrait img { width: 100%; height: auto; display: block; }
.portrait figcaption { font-size: .84rem; color: var(--muted); margin-top: 12px; line-height: 1.45; }

/* Carte « invité d honneur » (photo affichée à sa taille réelle) */
.honor { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--navy); color: #d5dde8; padding: 28px; width: 86%; max-width: 560px; box-shadow: var(--shadow); margin-left: -18%; }
.honor img { width: 180px; height: auto; border: 4px solid #fff; }
.honor-name { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: #fff; line-height: 1.1; margin-bottom: .4em; }
.honor figcaption p:last-child { font-size: .92rem; margin: 0; }

/* À propos : schéma triple ancrage */
.split-hero-diagram { justify-content: center; padding: 60px 24px; }
.venn { margin: 0; background: #fff; padding: 32px 28px 26px; width: 100%; max-width: 540px; box-shadow: var(--shadow); }
.venn .kicker { text-align: center; margin-bottom: .3em; }
.venn svg { width: 100%; height: auto; display: block; }
.vn { stroke-width: 2; }
.vn-1 { fill: rgba(24,108,178,.12); stroke: var(--blue); }
.vn-2 { fill: rgba(140,37,37,.10); stroke: var(--bordeaux); }
.vn-3 { fill: rgba(10,53,87,.10); stroke: var(--navy); }
.vn-t { fill: var(--navy); font-family: var(--sans); font-size: 20px; font-weight: 700; text-anchor: middle; }
.vn-s { fill: var(--muted); font-family: var(--sans); font-size: 15px; text-anchor: middle; }
.vn-core { fill: var(--bordeaux-dark); }
.vn-core-t { fill: #fff; font-family: var(--serif); font-size: 30px; font-weight: 700; text-anchor: middle; }
.venn figcaption { font-size: .86rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Bandeau missions & valeurs ---------- */
.values-band { position: relative; background-size: cover; background-position: center; color: #dbe3f1; padding: 90px 0; }
.values-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(79,108,166,.93), rgba(10,53,87,.92)); }
.values-band > * { position: relative; }
.values-band h2 { color: #fff; font-weight: 500; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; text-align: center; }
.three .ico { color: #fff; margin: 0 auto 14px; width: 46px; height: 46px; }
.three h3 { color: #fff; font-size: 1.3rem; }
.three p { font-size: .92rem; }

/* ---------- Bandeau GMC ---------- */
.gmc-banner { background: linear-gradient(120deg, var(--navy-deep), var(--navy) 55%, #1f4d86); color: #d5dde8; padding: 80px 0; }
.gmc-banner h2 { color: #fff; }
.gmc-banner-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.gmc-theme { font-family: var(--serif); font-size: 1.45rem; color: #fff; line-height: 1.35; }
.countdown { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; text-align: center; }
.countdown > div { border: 1px solid rgba(255,255,255,.25); padding: 22px 8px; }
.countdown span { display: block; font-family: var(--serif); font-size: 3rem; font-weight: 600; color: #fff; line-height: 1; }
.countdown small { text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; color: #b5c3d8; }
.countdown-done { grid-column: 1 / -1; color: #fff; }

/* ---------- Équipe (aperçu) ---------- */
.team-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 40px; }
.tcard { background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.tcard img { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; object-position: center 25%; }
.tcard-body { padding: 22px; text-align: center; }
.tcard h3 { margin-bottom: .1em; }
.role { text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: #a0a6b0; font-weight: 700; margin: 0; }

/* ---------- Ressources ---------- */
.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 36px 0 44px; }
.res-card { position: relative; min-height: 260px; color: #fff; text-align: left; border: 0; padding: 0; cursor: pointer; overflow: hidden; background: var(--navy); font: inherit; }
.res-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.res-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,53,87,.84) 0%, rgba(10,53,87,.55) 55%, rgba(79,108,166,.7) 100%); }
.res-card:hover img { transform: scale(1.06); }
.res-card-body { position: relative; z-index: 2; padding: 34px 32px; display: flex; flex-direction: column; height: 100%; }
.res-card .res-cat { text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .78rem; margin-bottom: 18px; }
.res-card h3 { color: #fff; font-size: 1.75rem; font-weight: 500; margin-bottom: .3em; }
.res-card p { color: #dbe3f1; font-size: .92rem; margin-bottom: 18px; }
.res-card .more { margin-top: auto; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; font-size: .74rem; }
.res-page { background: #e9e9e9; }
.h1-dark { font-weight: 500; }
.intro { color: var(--muted); max-width: 640px; }
.res-modal { border: 0; padding: 0; max-width: 720px; width: calc(100% - 32px); max-height: 86vh; box-shadow: var(--shadow); }
.res-modal::backdrop { background: rgba(7,38,65,.7); }
.res-modal-body { padding: 48px 48px 40px; }
.res-modal .lb-close { position: absolute; top: 12px; right: 12px; background: var(--grey); color: var(--ink); }
.res-modal ul { padding-left: 20px; }
.res-modal .kicker { color: var(--bordeaux); }

/* ---------- Construisons ensemble ---------- */
.build { background: var(--blue-band); color: #eef2f9; padding: 90px 0; }
.build h2 { color: #fff; font-weight: 500; }
.build-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.build-contact { list-style: none; padding: 0; margin: 24px 0 0; font-weight: 700; }
.build-contact li { margin-bottom: 6px; }
.build-contact a { color: #fff; text-decoration: none; }
.build-contact a:hover { text-decoration: underline; }
.cform { display: grid; gap: 18px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cform label span { position: absolute; left: -9999px; }
.cform input, .cform textarea, .cform select { width: 100%; border: 0; background: #ececec; padding: 16px 18px; font: inherit; color: var(--ink); border-radius: 0; }
.cform input:focus, .cform textarea:focus, .cform select:focus { outline: 3px solid rgba(255,255,255,.6); background: #fff; }
.cform-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cform-note { margin: 0; font-size: .88rem; color: #fff; }
.cform-full .cform-note { color: #cfd8e6; }

/* ---------- Pages intérieures : hero partagé ---------- */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; position: relative; background: linear-gradient(180deg, transparent 0, transparent 100%); }
.split-hero::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 47%; background: linear-gradient(180deg, #9fb3c9 0%, var(--navy) 100%); z-index: -1; }
.split-hero-text { padding: 110px 6% 110px max(24px, calc((100vw - var(--max)) / 2 + 24px)); align-self: center; }
.split-hero-text p:not(.kicker) { color: var(--muted); }
.split-hero-text h1 { font-weight: 500; }
.split-hero-media { padding: 80px 0; display: flex; align-items: center; }
.split-hero-media img { width: 88%; max-width: 560px; aspect-ratio: 1/1; object-fit: cover; box-shadow: var(--shadow); margin-left: -4%; }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,.08); }
.svc { background: var(--navy); padding: 40px 34px; }
.svc .ico { color: #fff; margin-bottom: 18px; }
.svc h2 { font-size: 1.55rem; }
.svc p { font-size: .95rem; }
.svc ul { list-style: none; padding: 0; margin: 0; font-size: .9rem; }
.svc li { padding: 7px 0 7px 20px; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 8px; background: var(--bordeaux); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { border-top: 3px solid var(--navy); padding-top: 22px; }
.steps span { font-family: var(--serif); font-size: 2.6rem; color: var(--bordeaux-dark); font-weight: 600; line-height: 1; }
.steps h3 { margin-top: 12px; }
.steps p { color: var(--muted); font-size: .95rem; }

/* À propos */
.who { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.who-quote { font-family: var(--serif); font-size: 1.7rem; line-height: 1.45; color: #fff; }
.who-text p { font-size: .98rem; }
.mission-head { margin-top: 90px; padding-bottom: 130px; }
.mission-head h2 { font-weight: 500; }
.missions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; background: var(--bordeaux-dark); color: #e9cfcc; padding: 52px 44px; margin-top: -100px; position: relative; z-index: 2; text-align: center; box-shadow: var(--shadow); }
.missions h3 { color: #fff; font-family: var(--sans); font-size: 1.15rem; font-weight: 600; }
.missions p { font-size: .9rem; margin: 0; letter-spacing: .02em; }
.values { padding-top: 140px; margin-top: -60px; }
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; text-align: center; }
.values-grid .ico { color: var(--bordeaux-dark); margin: 0 auto 18px; }
.values-grid h3 { font-size: 1.35rem; font-weight: 500; }
.stats { background: var(--navy-deep); color: #fff; padding: 56px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stats span { font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1; }
.stats p { color: #b5c3d8; margin: 10px 0 0; font-size: .92rem; }

/* Événements */
.gmc-hero { position: relative; background-size: cover; background-position: center; color: #d5dde8; padding: 100px 0; }
.gmc-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, rgba(7,38,65,.96) 0%, rgba(10,53,87,.88) 55%, rgba(79,108,166,.75) 100%); }
.gmc-hero-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.gmc-hero h1 { color: #fff; font-weight: 500; }
.lead { font-size: 1.2rem; color: #c9d4e5; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.gmc-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); padding: 28px; backdrop-filter: blur(4px); }
.gmc-card dl { margin: 24px 0 0; }
.gmc-card dl div { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); }
.gmc-card dt { text-transform: uppercase; letter-spacing: .16em; font-size: .68rem; font-weight: 700; color: #e7a9a4; }
.gmc-card dd { margin: 2px 0 0; color: #fff; font-size: .95rem; }
.axes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.axes article { background: var(--grey); padding: 36px 30px; border-top: 4px solid var(--bordeaux-dark); }
.axes span { font-family: var(--serif); font-size: 2.4rem; color: var(--blue-band); font-weight: 600; }
.axes p { color: var(--muted); font-size: .95rem; margin: 0; }
.editions { display: grid; gap: 28px; }
.edition { display: grid; grid-template-columns: 380px 1fr; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.05); }
.edition-media { position: relative; }
.edition-media img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.edition-year { position: absolute; left: 0; top: 24px; background: var(--bordeaux-dark); color: #fff; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; padding: 4px 18px; }
.edition-body { padding: 34px 38px; }
.edition-body .kicker { color: var(--bordeaux); }
.edition-body p { color: var(--muted); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.tags span { background: #e9eef7; color: var(--navy); font-size: .78rem; font-weight: 700; padding: 4px 12px; }
.video-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.video-wrap video { width: 100%; background: #000; box-shadow: var(--shadow); max-height: 70vh; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.res-page .filters { justify-content: flex-start; }
.filter { font: inherit; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 10px 18px; background: #fff; border: 1px solid var(--line); color: var(--navy); cursor: pointer; }
.filter.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; grid-auto-flow: dense; gap: 10px; }
.g-item { overflow: hidden; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.g-item:hover img { transform: scale(1.05); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g-item[hidden] { display: none; }

/* Équipe */
.lead-member { display: grid; grid-template-columns: 340px 1fr; gap: 44px; align-items: center; margin-bottom: 64px; }
.lead-member img { width: 100%; aspect-ratio: 3/3.7; object-fit: cover; }
.lead-card { background: #fff; color: var(--ink); padding: 44px 48px; }
.lead-card h2 { color: var(--ink) !important; font-weight: 500; margin-bottom: .1em; }
.lead-card .role { margin-bottom: 18px; }
.members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { background: #fff; }
.member img, .member-initials { width: 100%; aspect-ratio: 1/1; object-fit: cover; object-position: center 20%; }
.member-initials { display: grid; place-items: center; background: linear-gradient(150deg, var(--blue-band), var(--navy-deep)); color: #fff; font-family: var(--serif); font-size: 4rem; font-weight: 600; }
.member-body { padding: 22px 24px; text-align: center; }
.member h3 { color: var(--ink) !important; margin-bottom: .15em; }

/* Contact */
.contact-hero { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 560px; }
.contact-hero-text { padding: 100px 8% 160px max(24px, calc((100vw - var(--max)) / 2 + 24px)); align-self: center; }
.contact-hero-text h1 { font-weight: 500; }
.contact-hero-text p:not(.kicker) { color: var(--muted); }
.contact-hero-panel { position: relative; background-size: cover; background-position: center; color: #dbe3f1; padding: 90px 10% 170px; display: grid; gap: 26px; align-content: center; }
.contact-hero-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(79,108,166,.9), rgba(10,53,87,.97)); }
.contact-hero-panel > div { position: relative; }
.contact-hero-panel h2 { color: #fff; font-size: 1.6rem; font-weight: 500; display: flex; align-items: center; gap: 12px; margin-bottom: .2em; }
.contact-hero-panel .ico { width: 26px; height: 26px; }
.contact-hero-panel p { margin: 0; font-size: .95rem; }
.contact-hero-panel a { color: #fff; }
.contact-main { background: var(--navy); padding: 0 0 90px; }
.narrow-wide { max-width: 1000px; }
.map { margin-top: -110px; position: relative; z-index: 2; box-shadow: var(--shadow); background: #ddd; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: grayscale(.35); }
.contact-main .cform { margin-top: 40px; }
.map-link { margin: 14px 0 0; }
.map-link a { color: #fff; font-weight: 700; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #a9b7cc; font-size: .92rem; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.2fr; gap: 48px; padding-bottom: 44px; }
.footer-logo { height: 72px; width: auto; margin-bottom: 18px; }
.site-footer h3 { color: #fff; font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #d5dde8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; padding-bottom: 24px; font-size: .82rem; }
.footer-legal p { margin: 0; }

/* ---------- Visionneuse ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(4,16,30,.95); display: grid; place-items: center; padding: 40px 72px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; max-width: 100%; }
.lightbox button, .res-modal .lb-close { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .nav a { font-size: .74rem; }
  .rdv { padding: 0 18px; font-size: .74rem; }
}
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .rdv { display: none; }
  .header-inner { padding-right: 12px; }
  .nav { position: absolute; top: 78px; left: 0; right: 0; background: #fff; flex-direction: column; gap: 0; padding: 8px 24px 24px; box-shadow: 0 16px 30px rgba(0,0,0,.1); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .overlap-card { padding: 44px 32px; }
  .overlap-grid, .three, .team-preview, .svc-grid, .axes, .members { grid-template-columns: 1fr 1fr; }
  .duo, .split-hero, .contact-hero { grid-template-columns: 1fr; }
  .duo-text, .duo-reverse .duo-text, .split-hero-text, .contact-hero-text { padding: 64px 24px; }
  .duo-media img, .duo-reverse .duo-media img { margin: 0; width: 82%; }
  .duo-reverse .duo-media { order: 2; }
  .split-hero::after { display: none; }
  .split-hero-media { background: linear-gradient(180deg, #9fb3c9, var(--navy)); padding: 40px 24px; justify-content: center; }
  .split-hero-media img { margin: 0; width: 100%; }
  .svc-panel { margin: 0; width: 100%; }
  .honor { margin: 0; width: 100%; }
  .gmc-banner-inner, .gmc-hero-inner, .who, .video-wrap, .build-inner, .lead-member { grid-template-columns: 1fr; }
  .missions { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid, .steps { grid-template-columns: 1fr 1fr; }
  .edition { grid-template-columns: 1fr; }
  .edition-media img { max-height: 300px; }
  .res-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: 1fr; gap: 24px; }
  .contact-hero-text { padding-bottom: 40px; }
  .contact-hero-panel { padding: 60px 24px 150px; }
  .lead-member img { max-width: 360px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 72px 0; }
  .header-inner { padding-left: 16px; }
  .brand img { height: 50px; }
  .hero-inner { padding-bottom: 170px; padding-top: 56px; }
  .overlap-card { padding: 36px 22px; }
  .overlap-grid, .three, .team-preview, .svc-grid, .axes, .members, .missions, .res-grid, .stats-grid, .steps, .cform-row, .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .duo-text, .duo-reverse .duo-text, .split-hero-text, .contact-hero-text { padding: 56px 16px; }
  .missions { padding: 36px 22px; margin-left: 0; margin-right: 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .edition-body { padding: 26px 22px; }
  .lead-card { padding: 30px 24px; }
  .res-modal-body { padding: 40px 22px 28px; }
  .lightbox { padding: 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .map { margin-top: -110px; }
  .map iframe { height: 300px; }
  .cform-foot { flex-direction: column; align-items: flex-start; }
  .honor { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 24px; }
  .venn { padding: 24px 12px 18px; }
}
