/*
Theme Name: IRGAP
Theme URI: https://irgap.unistra.fr/
Description: Thème sur mesure du Réseau thématique IRGAP 2212.
Author: IRGAP
Version: 5.5.5
Text Domain: irgap
*/

:root {
  --plum: #75415f;
  --plum-deep: #75415f;
  --plum-soft: #75415f;
  --lime: #f5d978;
  --olive: #6f912f;
  --green: #6f912f;
  --green-deep: #6f912f;
  --green-soft: #6f912f;
  --sand: #f5d978;
  --cream: #ffe7a3;
  --paper: #fffdf2;
  --ink: #251f22;
  --muted: #6f676b;
  --line: #ded7d7;
  --white: #fff;
  --shadow: 0 22px 60px rgba(55, 31, 43, .13);
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --container: 1320px;
  --gutter: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
body.menu-is-open { overflow: hidden; }
img, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote { margin-top: 0; }
h1, h2, h3, h4 { color: var(--ink); font-family: var(--serif); font-weight: 600; letter-spacing: -.025em; line-height: .98; }
h1 { font-size: clamp(3.4rem, 8vw, 7.5rem); }
h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); }
h3 { font-size: clamp(1.5rem, 2vw, 2rem); }
::selection { color: var(--plum-deep); background: var(--lime); }

.site-container { width: min(100%, var(--container)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(78px, 9vw, 148px); }
.section--plum { color: var(--white); background: var(--plum); }
.section--sand { background: var(--cream); }
.icon { flex: 0 0 auto; width: 1.45em; height: 1.45em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link:focus { z-index: 99999; top: 8px; left: 8px; width: auto; height: auto; padding: 10px 16px; clip: auto; color: var(--white); background: var(--plum); }

.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 19px; color: var(--olive); font-size: .72rem; font-weight: 800; letter-spacing: .17em; line-height: 1.3; text-transform: uppercase; }
.eyebrow::before { width: 30px; height: 2px; content: ""; background: currentColor; }
.eyebrow--light { color: var(--lime); }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 18px; padding: 13px 24px; border: 1px solid transparent; border-radius: 999px; font-size: .8rem; font-weight: 800; letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.button:hover { transform: translateY(-2px); }
.button .icon { width: 20px; }
.button--lime { color: var(--plum-deep); background: var(--lime); box-shadow: 0 10px 32px rgba(245,217,120,.3); }
.button--lime:hover { background: var(--white); box-shadow: 0 14px 38px rgba(245,217,120,.44); }
.button--dark { color: var(--ink); background: var(--green); }
.button--dark:hover { background: var(--plum); }
.button--outline-light { color: var(--white); border-color: rgba(255,255,255,.42); }
.button--outline-light:hover { color: var(--plum-deep); background: var(--white); border-color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 12px; color: var(--green-deep); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.text-link .icon { width: 20px; transition: transform .25s; }
.text-link:hover .icon { transform: translateX(5px); }
.text-link--large { font-size: .86rem; }

/* Header */
.site-header { position: sticky; z-index: 100; top: 0; color: var(--plum-deep); background: rgba(251,247,235,.96); border-bottom: 0; backdrop-filter: blur(15px); }
.home .site-header { position: absolute; right: 0; left: 0; background: transparent; backdrop-filter: none; }
.home .brand-lockup__separator { background: rgba(255,255,255,.42); }
.home .gdr-brand__mark span { color: var(--lime); }
.home .gdr-brand__mark em { color: var(--white); }
.home .gdr-brand small { color: rgba(255,255,255,.9); }
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: grid; min-height: 96px; grid-template-columns: auto auto; align-items: center; justify-content: space-between; gap: 45px; }
.brand-lockup { display: flex; align-items: center; gap: 19px; }
.site-brand { display: inline-flex; align-items: center; }
.site-brand__logo { width: 145px; height: 88px; object-fit: contain; mix-blend-mode: normal; }
.brand-lockup__separator { width: 1px; height: 52px; background: rgba(33,75,54,.28); }
.gdr-brand { display: flex; align-items: center; gap: 14px; color: var(--green-deep); line-height: 1; }
.gdr-brand__mark { display: flex; align-items: flex-end; gap: 6px; font-family: var(--sans); font-size: 1.18rem; font-weight: 800; letter-spacing: -.045em; }
.gdr-brand__mark span { color: var(--green); }
.gdr-brand__mark em { padding-bottom: 2px; color: var(--plum); font-size: .73em; font-style: normal; letter-spacing: -.03em; }
.gdr-brand small { max-width: 255px; padding-left: 14px; color: var(--plum-soft); border-left: 1px solid currentColor; font-size: .52rem; font-weight: 800; letter-spacing: .035em; line-height: 1.2; text-transform: uppercase; }
.gdr-brand small i { font-family: var(--serif); font-size: 1.2em; font-style: italic; font-weight: 700; letter-spacing: 0; text-transform: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.linkedin-link, .menu-toggle { display: grid; width: 48px; height: 48px; place-items: center; padding: 0; color: var(--white); border: 0; border-radius: 50%; cursor: pointer; transition: background .25s, transform .25s; }
.linkedin-link { background: var(--green); }
.linkedin-link:hover { background: var(--plum); transform: translateY(-2px); }
.menu-toggle { background: var(--plum); }
.menu-toggle:hover { background: var(--green); transform: translateY(-2px); }
.linkedin-link .icon { width: 25px; height: 25px; }
.menu-toggle .icon { width: 21px; }
.menu-close { border: 0; cursor: pointer; }

/* Navigation drawer */
.menu-overlay { position: fixed; z-index: 990; inset: 0; background: rgba(30,18,24,.58); opacity: 0; backdrop-filter: blur(5px); transition: opacity .35s; }
.menu-overlay.is-visible { opacity: 1; }
.menu-drawer { position: fixed; z-index: 1000; top: 0; right: 0; width: min(720px, 94vw); height: 100dvh; padding: 26px clamp(24px, 5vw, 65px) 35px; overflow-y: auto; color: var(--white); background: var(--plum); box-shadow: -30px 0 70px rgba(24,12,18,.25); transform: translateX(102%); transition: transform .42s cubic-bezier(.77,0,.18,1); }
.menu-drawer.is-open { transform: translateX(0); }
.menu-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.22); }
.menu-drawer__label { color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.menu-close { display: inline-flex; align-items: center; gap: 10px; padding: 9px 0 9px 15px; color: var(--white); background: transparent; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.menu-close .icon { width: 21px; }
.primary-navigation { padding-block: 25px; }
.primary-menu, .primary-menu ul { padding: 0; margin: 0; list-style: none; }
.primary-menu { counter-reset: nav; }
.primary-menu > li { position: relative; counter-increment: nav; border-bottom: 1px solid rgba(255,255,255,.18); }
.primary-menu > li::before { position: absolute; top: 21px; left: 0; color: var(--lime); content: counter(nav, decimal-leading-zero); font-size: .64rem; font-weight: 800; letter-spacing: .08em; }
.primary-menu > li > a { display: block; padding: 15px 52px 15px 44px; font-family: var(--serif); font-size: clamp(1.65rem, 4vw, 2.5rem); font-weight: 600; line-height: 1.08; transition: color .2s, transform .2s; }
.primary-menu > li > a:hover { color: var(--lime); transform: translateX(4px); }
.submenu-toggle { position: absolute; top: 14px; right: 0; display: grid; width: 40px; height: 40px; place-items: center; padding: 0; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; cursor: pointer; }
.submenu-toggle::before, .submenu-toggle::after { position: absolute; width: 12px; height: 1px; content: ""; background: currentColor; transition: transform .25s; }
.submenu-toggle::after { transform: rotate(90deg); }
.menu-item.is-open > .submenu-toggle::after { transform: rotate(0); }
.primary-menu .sub-menu { display: none; grid-template-columns: 1fr 1fr; gap: 4px 24px; padding: 4px 0 20px 44px; }
.primary-menu .is-open > .sub-menu { display: grid; }
.primary-menu .sub-menu a { display: block; padding: 9px 0; color: rgba(255,255,255,.82); font-size: .9rem; font-weight: 600; line-height: 1.45; }
.primary-menu .sub-menu a:hover, .primary-menu .current-menu-item > a { color: var(--lime); }
.menu-drawer__foot { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 25px; padding-top: 20px; }
.menu-drawer__foot p { max-width: 330px; margin: 0; color: rgba(255,255,255,.7); font-family: var(--serif); font-size: 1.2rem; line-height: 1.25; }

/* Hero */
.home-hero { position: relative; min-height: min(900px, calc(100dvh - 96px)); overflow: hidden; color: var(--white); background: var(--plum-deep); }
.home .home-hero, .home .home-hero__content { min-height: min(900px, 100dvh); }
.home-hero__media, .home-hero__shade { position: absolute; inset: 0; }
.home-hero__media video, .home-hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025); transform-origin: center; animation: hero-drift 18s ease-in-out infinite alternate; will-change: transform; }
@keyframes hero-drift { from { transform: translate3d(-.35%, 0, 0) scale(1.025); } to { transform: translate3d(.35%, -.25%, 0) scale(1.055); } }
.home-hero__shade { background: linear-gradient(90deg, rgba(31,16,24,.89) 0%, rgba(31,16,24,.6) 52%, rgba(31,16,24,.28) 100%), linear-gradient(0deg, rgba(31,16,24,.52), transparent 50%); }
.home-hero__motif { display: none; }
.home-hero__motif span { position: absolute; inset: 0; border: 1px solid var(--lime); border-radius: 48% 52% 60% 40% / 55% 38% 62% 45%; }
.home-hero__motif span:nth-child(2) { inset: 11%; transform: rotate(31deg); }
.home-hero__motif span:nth-child(3) { inset: 23%; transform: rotate(65deg); }
.home-hero__content { position: relative; z-index: 2; display: flex; min-height: min(900px, calc(100dvh - 96px)); flex-direction: column; justify-content: center; padding-top: clamp(65px, 9vh, 120px); padding-bottom: 230px; }
.home-hero h1 { max-width: 1020px; margin: 0 0 clamp(40px, 6vh, 80px); color: var(--white); text-wrap: balance; }
.home-hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--lime); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-hero__kicker::before { width: 28px; height: 2px; content: ""; background: currentColor; }
.home-hero__bottom { display: block; max-width: 590px; }
.home-hero__bottom p { margin: 0; color: rgba(255,255,255,.88); font-size: clamp(1rem, 1.35vw, 1.2rem); line-height: 1.65; }
.home-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 28px; }
.home-hero__discover { margin-top: 0; }
.home-hero__secondary { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.home-hero__secondary .icon { width: 18px; transition: transform .25s; }
.home-hero__secondary:hover .icon { transform: translateX(4px); }
.home-hero__play { position: absolute; z-index: 4; right: var(--gutter); bottom: 154px; display: flex; align-items: center; gap: 12px; color: var(--white); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.home-hero__play .icon { width: 42px; height: 42px; color: var(--lime); }
.hero-pathways { position: absolute; z-index: 3; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(3, 1fr); min-height: 130px; border-top: 1px solid rgba(255,255,255,.28); }
.hero-pathway { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; min-width: 0; padding: 25px clamp(24px, 3vw, 52px); color: var(--white); border-right: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(12px); transition: background .3s, padding .3s; }
.hero-pathway:last-child { border-right: 0; }
.hero-pathway--research { color: var(--ink); background: rgba(111,145,47,.96); }
.hero-pathway--training { background: rgba(117,65,95,.96); }
.hero-pathway--society { color: var(--plum-deep); background: rgba(245,217,120,.96); }
.hero-pathway:hover { padding-left: clamp(30px, 3.5vw, 64px); }
.hero-pathway small { align-self: start; color: var(--lime); font-size: .62rem; font-weight: 800; letter-spacing: .12em; }
.hero-pathway span { display: grid; gap: 4px; min-width: 0; }
.hero-pathway em { color: var(--lime); font-size: .64rem; font-style: normal; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-pathway strong { font-family: var(--serif); font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 600; line-height: 1; }
.hero-pathway > .icon { width: 24px; transition: transform .25s; }
.hero-pathway:hover > .icon { transform: translateX(5px); }
.hero-pathway.hero-pathway--society small,
.hero-pathway.hero-pathway--society em { color: var(--plum-deep); }
.hero-pathway.hero-pathway--research small,
.hero-pathway.hero-pathway--research em { color: var(--plum); }
.hero-pathway:hover { color: inherit; }
.hero-pathway--research:hover { background: #7d9f38; }
.hero-pathway--training:hover { background: #87506f; }
.hero-pathway--society:hover { color: var(--plum-deep); background: #f8df88; }
.hero-pathway.hero-pathway--society:hover small,
.hero-pathway.hero-pathway--society:hover em,
.hero-pathway:hover small,
.hero-pathway:hover em { color: var(--lime); }
.ticker { overflow: hidden; color: var(--plum-deep); background: var(--lime); }
.ticker__track { display: flex; width: max-content; min-height: 56px; align-items: center; gap: 27px; padding-inline: 25px; animation: ticker 28s linear infinite; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.ticker__track i { width: 6px; height: 6px; background: var(--plum); border-radius: 50%; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Home intro */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: clamp(55px, 9vw, 140px); }
.intro-copy h2 { max-width: 780px; margin: 0 0 43px; }
.intro-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; margin-bottom: 35px; }
.intro-lead p { margin: 0; color: var(--muted); }
.intro-lead p:first-child { color: var(--ink); font-size: 1.08rem; font-weight: 600; }
.intro-visual { position: relative; margin: 0; }
.intro-visual::before { position: absolute; z-index: -1; top: -20px; right: -20px; width: 75%; height: 75%; content: ""; background: var(--sand); }
.intro-visual img { width: 100%; max-height: 580px; object-fit: cover; filter: sepia(.1); }
.intro-visual figcaption { position: absolute; right: -20px; bottom: -35px; display: grid; min-width: 270px; gap: 2px; padding: 24px 27px; color: var(--ink); background: var(--green); }
.intro-visual figcaption strong { font-family: var(--serif); font-size: 1.4rem; }
.intro-visual figcaption span { color: var(--ink); font-size: .72rem; }

/* Consortium */
.consortium-section { overflow: hidden; padding-block: clamp(52px, 5vw, 82px); background: var(--paper); }
.consortium-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .95fr); align-items: center; gap: clamp(45px, 5vw, 78px); }
.consortium-visual { position: relative; min-width: 0; padding-bottom: 42px; }
.consortium-visual > img { width: 100%; height: clamp(340px, 32vw, 450px); object-fit: cover; object-position: center; filter: saturate(.8) contrast(1.08); }
.consortium-visual::before { position: absolute; z-index: 1; inset: 0 0 42px; content: ""; pointer-events: none; background: linear-gradient(135deg, rgba(48,9,31,.06), transparent 45%); }
.consortium-stats { position: absolute; z-index: 2; right: -18px; bottom: 0; display: grid; width: min(360px, 72%); grid-template-columns: 1fr 1fr; color: var(--white); background: var(--plum); box-shadow: 0 18px 42px rgba(53,23,41,.22); }
.consortium-stats > div { display: grid; min-height: 88px; place-content: center; gap: 5px; padding: 12px; border-right: 1px solid rgba(245,217,120,.3); border-bottom: 1px solid rgba(245,217,120,.3); text-align: center; }
.consortium-stats > div:nth-child(2n) { border-right: 0; }
.consortium-stats > div:nth-last-child(-n + 2) { border-bottom: 0; }
.consortium-stats strong { color: var(--white); font-family: var(--sans); font-size: clamp(1.4rem, 2vw, 1.85rem); font-weight: 800; line-height: 1; }
.consortium-stats span { color: rgba(255,255,255,.62); font-size: .64rem; font-weight: 700; }
.consortium-copy .eyebrow { color: var(--plum); }
.consortium-copy h2 { max-width: 680px; margin-bottom: 22px; font-size: clamp(2.5rem, 3.8vw, 4.2rem); line-height: 1; }
.consortium-copy > p:not(.eyebrow) { max-width: 680px; margin-bottom: 13px; color: #686459; font-size: clamp(.9rem, 1vw, 1rem); line-height: 1.6; }
.consortium-copy > p strong { color: var(--ink); }
.consortium-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.consortium-link { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 15px; padding: 11px 18px; color: var(--ink); background: rgba(255,255,255,.5); border: 1px solid #d8d4c6; font-size: .72rem; font-weight: 800; transition: color .25s, background .25s, border-color .25s, transform .25s; }
.consortium-link:hover { color: var(--white); background: var(--plum); border-color: var(--plum); transform: translateY(-2px); }
.consortium-link--primary { color: var(--white); background: var(--plum); border-color: var(--plum); }
.consortium-link--primary:hover { color: var(--plum-deep); background: var(--lime); border-color: var(--lime); }
.consortium-link .icon { width: 19px; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 60px; margin-bottom: clamp(45px, 6vw, 80px); }
.section-heading h2 { margin: 0; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); }
.section-heading--light h2 { color: var(--white); }
.section-heading--light > p { color: rgba(255,255,255,.66); }
.home-events-section { padding-bottom: clamp(42px, 4.5vw, 72px); }

/* Groups */
.groups-section { background: var(--green); }
.group-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; background: transparent; }
.group-tile { position: relative; min-height: 340px; overflow: hidden; color: var(--white); background: var(--green); border: 1px solid rgba(53,23,41,.18); transition: color .3s, background .3s, transform .3s, box-shadow .3s; }
.group-tile::before, .group-tile::after { position: absolute; content: ""; border: 1px solid rgba(220,233,130,.32); border-radius: 50%; transition: transform .5s; }
.group-tile::before { top: -78px; right: -68px; width: 245px; height: 245px; }
.group-tile::after { top: -28px; right: -28px; width: 145px; height: 145px; }
.group-tile:hover { background: var(--plum); box-shadow: 0 18px 34px rgba(117,65,95,.18); transform: translateY(-5px); }
.group-tile:hover::before { transform: scale(1.12) rotate(10deg); }
.group-tile:nth-child(3n + 2) { color: var(--white); background: var(--plum); border-color: rgba(255,255,255,.2); }
.group-tile:nth-child(3n + 2)::before, .group-tile:nth-child(3n + 2)::after { border-color: rgba(243,223,117,.35); }
.group-tile:nth-child(3n + 1) { color: var(--white); background: var(--green); border-color: var(--green); }
.group-tile:nth-child(3n + 1)::before, .group-tile:nth-child(3n + 1)::after { border-color: rgba(245,217,120,.35); }
.group-tile:nth-child(3n + 1):hover { background: #7d9f38; }
.group-tile:nth-child(3n + 2):hover { background: #87506f; }
.group-tile:nth-child(3n + 3) { color: var(--plum-deep); background: var(--cream); border-color: var(--cream); }
.group-tile:nth-child(3n + 3)::before, .group-tile:nth-child(3n + 3)::after { border-color: rgba(111,145,47,.28); }
.group-tile:nth-child(3n + 3):hover { color: var(--plum-deep); background: #f8df88; }
.group-tile__shade { position: absolute; inset: 0; background: linear-gradient(145deg, transparent 42%, rgba(53,23,41,.06)); }
.group-tile__number { position: absolute; z-index: 2; top: 22px; left: 23px; color: var(--green-deep); font-size: .68rem; font-weight: 800; letter-spacing: .08em; }
.group-tile__content { position: absolute; z-index: 2; right: 23px; bottom: 26px; left: 23px; display: grid; gap: 9px; }
.group-tile__content small { color: var(--green-deep); font-size: .61rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.group-tile__content strong { padding-right: 30px; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 600; line-height: 1.03; }
.group-tile__content .icon { position: absolute; right: 0; bottom: 0; width: 21px; transition: transform .25s; }
.group-tile:hover .icon { transform: translateX(5px); }
.group-tile:nth-child(3n + 2) .group-tile__number, .group-tile:nth-child(3n + 2) .group-tile__content small { color: var(--lime); }
.group-tile:nth-child(3n + 1) .group-tile__number, .group-tile:nth-child(3n + 1) .group-tile__content small { color: var(--lime); }
.group-tile:nth-child(3n + 3) .group-tile__number, .group-tile:nth-child(3n + 3) .group-tile__content small { color: var(--olive); }
.section-action { display: flex; justify-content: center; margin-top: 48px; }

/* Initiatives */
.initiatives-section { background: var(--cream); }
.initiative-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; }
.initiative-card { position: relative; min-height: 330px; overflow: hidden; color: var(--white); background: var(--plum-deep); }
.initiative-card--wide { grid-row: span 2; min-height: 680px; }
.initiative-card img { position: absolute; width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .55s, opacity .3s; }
.initiative-card::after { position: absolute; inset: 0; content: ""; background: linear-gradient(0deg, rgba(33,17,25,.9), transparent 70%); }
.initiative-card:hover img { opacity: .9; transform: scale(1.04); }
.initiative-card > span { position: absolute; z-index: 2; right: 32px; bottom: 30px; left: 32px; display: grid; gap: 6px; }
.initiative-card small { color: var(--lime); font-size: .64rem; font-style: normal; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.initiative-card strong { max-width: 520px; padding-right: 35px; font-family: var(--serif); font-size: clamp(1.8rem, 3.2vw, 3.4rem); font-weight: 600; line-height: 1; }
.initiative-card em { color: rgba(255,255,255,.7); font-size: .8rem; font-style: normal; }
.initiative-card .icon { position: absolute; right: 0; bottom: 4px; }
.transversal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.transversal-card { position: relative; display: grid; min-height: 275px; align-content: start; padding: 32px; background: var(--paper); transition: color .25s, background .25s, transform .25s; }
.transversal-card:nth-child(3n + 2) { background: var(--cream); }
.transversal-card:nth-child(3n + 3) { background: var(--sand); }
.transversal-card:hover { z-index: 2; color: var(--white); background: var(--plum); transform: translateY(-3px); }
.transversal-card small { margin-bottom: 44px; color: var(--green); font-size: .66rem; font-weight: 800; letter-spacing: .12em; }
.transversal-card strong { max-width: 330px; padding-right: 30px; font-family: var(--serif); font-size: clamp(1.65rem, 2.5vw, 2.35rem); font-weight: 600; line-height: 1.02; }
.transversal-card p { max-width: 360px; margin: 16px 35px 0 0; color: var(--muted); font-size: .78rem; line-height: 1.55; }
.transversal-card .icon { position: absolute; right: 30px; bottom: 30px; width: 21px; }
.transversal-card:hover small { color: var(--lime); }
.transversal-card:hover p { color: rgba(255,255,255,.72); }

/* Events */
.events-section { background: var(--paper); }
.event-list { border-top: 1px solid var(--line); }
.event-row { display: grid; grid-template-columns: 115px 155px 1fr auto; align-items: center; gap: 25px; padding: 25px 15px 25px 0; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
.event-row:hover { padding-left: 15px; background: var(--cream); }
.event-row time { display: flex; align-items: baseline; gap: 9px; color: var(--plum); }
.event-row time strong { font-family: var(--serif); font-size: 2.8rem; font-weight: 600; line-height: 1; }
.event-row time span, .event-row__type { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.event-row__type { color: var(--olive); }
.event-row__main { display: grid; gap: 7px; }
.event-row__main > strong { font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.8rem); font-weight: 600; line-height: 1.1; }
.event-row__main small { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.event-row__main small .icon { width: 15px; }
.event-row > .icon { width: 24px; color: var(--plum); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-grid--two { grid-template-columns: repeat(2, 1fr); }
.content-card { overflow: hidden; background: var(--white); border: 1px solid rgba(117,65,95,.2); transition: transform .3s, box-shadow .3s; }
.content-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.content-card__media { display: block; height: 245px; overflow: hidden; background: var(--plum); }
.content-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.content-card:hover .content-card__media img { transform: scale(1.04); }
.content-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; background: radial-gradient(circle at 25% 25%, rgba(220,233,130,.3), transparent 25%), linear-gradient(135deg, var(--plum), var(--plum-deep)); }
.content-card__placeholder span { color: rgba(255,255,255,.18); font-family: var(--serif); font-size: 4rem; font-weight: 700; letter-spacing: .08em; }
.content-card__body { padding: 24px 25px 27px; }
.content-card--group { display: flex; min-height: 285px; border-top: 5px solid var(--green); }
.content-card--group .content-card__body { display: flex; width: 100%; flex-direction: column; justify-content: center; padding: 36px; background: linear-gradient(135deg, rgba(220,233,130,.18), transparent 55%); }
.content-card--group .text-link { margin-top: auto; }
.content-card__meta { display: flex; min-height: 20px; justify-content: space-between; gap: 15px; color: var(--muted); font-size: .6rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.content-card__meta span { color: var(--olive); }
.content-card h3 { margin: 18px 0 12px; line-height: 1.05; }
.content-card h3 a { transition: color .2s; }
.content-card h3 a:hover { color: var(--plum-soft); }
.content-card__body > p { min-height: 52px; margin-bottom: 21px; color: var(--muted); font-size: .86rem; line-height: 1.55; }

.partners-strip { padding-block: 47px; color: var(--white); background: var(--plum); }
.partners-strip .site-container { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 35px; }
.partners-strip p { margin: 0; color: var(--lime); font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.partners-strip .site-container > div { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 30px; }
.partners-strip strong { color: rgba(255,255,255,.85); font-size: 1rem; letter-spacing: .02em; line-height: 1.2; text-align: center; }
.contact-band { padding-block: clamp(60px, 7vw, 100px); color: var(--white); background: var(--plum); }
.contact-band .site-container { display: grid; grid-template-columns: 1.1fr .8fr auto; align-items: center; gap: clamp(35px, 6vw, 90px); }
.contact-band h2 { max-width: 610px; margin: 0; color: var(--white); font-size: clamp(2.6rem, 5vw, 4.8rem); }
.contact-band p { margin: 0; color: rgba(255,255,255,.72); }

/* Signups */
.signup-band { padding-block: clamp(80px, 9vw, 140px); color: var(--white); background: var(--plum); }
.signup-band__heading { display: grid; max-width: 850px; grid-template-columns: 1fr 1fr; column-gap: 60px; margin-bottom: clamp(45px, 6vw, 80px); }
.signup-band__heading .eyebrow { grid-column: 1 / -1; }
.signup-band__heading h2 { margin: 0; color: var(--white); }
.signup-band__heading > p:last-child { align-self: end; margin: 0 0 9px; color: rgba(255,255,255,.7); }
.signup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.signup-card { display: flex; min-height: 355px; flex-direction: column; padding: clamp(28px, 3.3vw, 48px); border: 1px solid rgba(255,255,255,.2); transition: transform .3s, box-shadow .3s; }
.signup-card:hover { box-shadow: 0 25px 55px rgba(9,30,18,.28); transform: translateY(-6px); }
.signup-card small { margin-bottom: auto; font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.signup-card h3 { max-width: 370px; margin: 52px 0 17px; color: inherit; font-size: clamp(2rem, 3vw, 3.1rem); }
.signup-card p { margin: 0 0 33px; font-size: .88rem; line-height: 1.55; }
.signup-card > span { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 20px; border-top: 1px solid currentColor; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.signup-card > span .icon { width: 21px; }
.signup-card--newsletter { color: var(--green-deep); background: var(--cream); }
.signup-card--newsletter small { color: var(--green); }
.signup-card--gdr { color: var(--plum-deep); background: var(--lime); }
.signup-card--gdr small { color: var(--plum); }
.signup-card--contact { color: var(--ink); background: var(--green); }
.signup-card--contact small { color: var(--plum); }

/* Internal pages */
.breadcrumbs { padding-block: 13px; color: var(--muted); background: var(--cream); border-bottom: 1px solid rgba(81,43,64,.1); font-size: .68rem; }
.breadcrumbs .site-container { display: flex; flex-wrap: wrap; gap: 9px; }
.breadcrumbs a:hover { color: var(--olive); }
.page-hero, .archive-hero { position: relative; overflow: hidden; padding-block: clamp(75px, 9vw, 140px); background: var(--cream); }
.page-hero::after, .archive-hero::after { position: absolute; top: -60%; right: -10%; width: min(600px, 55vw); aspect-ratio: 1; content: ""; border: 1px solid rgba(81,43,64,.25); border-radius: 44% 56% 35% 65% / 45% 35% 65% 55%; transform: rotate(25deg); }
.page-hero .site-container, .archive-hero .site-container { position: relative; z-index: 1; }
.page-hero h1, .archive-hero h1 { max-width: 1050px; margin-bottom: 28px; font-size: clamp(3.8rem, 8vw, 7.2rem); }
.page-hero .site-container > p:last-child, .archive-hero .site-container > p:last-child { max-width: 760px; margin: 0; color: var(--plum-soft); font-size: clamp(1rem, 1.7vw, 1.35rem); }
.page-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(50px, 7vw, 105px); padding-top: clamp(65px, 8vw, 120px); padding-bottom: clamp(80px, 9vw, 150px); }
.page-layout--wide { grid-template-columns: minmax(0, 1040px); justify-content: center; }
.section-nav { align-self: start; position: sticky; top: 125px; }
.section-nav > p { padding-bottom: 14px; margin-bottom: 0; color: var(--olive); border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.section-nav ul { padding: 0; margin: 0 0 28px; list-style: none; }
.section-nav li { border-bottom: 1px solid var(--line); }
.section-nav li a { display: flex; min-height: 58px; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; color: var(--muted); font-size: .88rem; font-weight: 700; line-height: 1.4; }
.section-nav li a:hover, .section-nav li a[aria-current="page"] { color: var(--plum); }
.section-nav li .icon { width: 16px; }
.section-nav__contact { display: grid; gap: 2px; padding: 23px; color: var(--white); background: var(--plum); box-shadow: 0 16px 35px rgba(117,65,95,.2); }
.section-nav__contact span { color: var(--lime); font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-nav__contact strong { padding-right: 20px; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.section-nav__contact .icon { justify-self: end; width: 19px; }
.entry-content-wrap { min-width: 0; }
.entry-content { min-width: 0; color: #423b3e; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.82; overflow-wrap: anywhere; }
.entry-content > * { max-width: 880px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.5em; margin-bottom: .65em; color: var(--plum); }
.entry-content h2 { font-size: clamp(2.2rem, 4vw, 3.7rem); }
.entry-content h3 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
.entry-content a:not(.button) { color: var(--olive); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin-bottom: .5em; }
.entry-content blockquote { padding: 25px 30px; margin: 35px 0; color: var(--plum); background: var(--cream); border-left: 4px solid var(--olive); font-family: var(--serif); font-size: 1.4rem; line-height: 1.35; }
.entry-content table { display: block; width: 100%; max-width: 100%; margin-block: 30px; overflow-x: auto; border-collapse: collapse; font-size: .82rem; }
.entry-content th, .entry-content td { min-width: 130px; padding: 12px 14px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry-content th { color: var(--white); background: var(--plum); }
.entry-content img { width: auto; max-width: 100%; height: auto; }
.entry-content figure { width: 100%; max-width: 100%; margin: 32px 0; text-align: center; }
.entry-content figure > img { max-height: 560px; object-fit: contain; }
.entry-content iframe, .entry-content video { width: 100%; max-width: 100%; }
.entry-content iframe { min-height: min(500px, 56vw); border: 0; }
.entry-content .wp-block-gallery { display: flex; flex-wrap: wrap; gap: 15px; padding: 0; }
.entry-content .wp-block-gallery figure { flex: 1 1 220px; }
.imported-source-section { max-width: 880px; padding-top: 20px; margin-top: 55px; border-top: 1px solid var(--line); }
.entry-content .alignwide { width: 100%; max-width: 100%; }
.entry-content .wp-block-columns { display: flex; gap: 30px; }
.entry-content .wp-block-column { flex: 1; }
.entry-content .wp-block-media-text { display: grid; width: 100%; max-width: 880px; grid-template-columns: minmax(190px, 31%) minmax(0, 1fr) !important; align-items: center; gap: clamp(24px, 4vw, 48px); padding: clamp(22px, 3vw, 38px); margin: 28px 0; background: var(--cream); border-left: 5px solid var(--lime); }
.entry-content .wp-block-media-text.has-media-on-the-right { grid-template-columns: minmax(0, 1fr) minmax(190px, 31%) !important; }
.entry-content .wp-block-media-text__media { margin: 0; }
.entry-content .wp-block-media-text__media img { width: 100%; max-height: 410px; object-fit: contain; }
.entry-content .wp-block-media-text__content { min-width: 0; padding: 0; }
.entry-content .wp-block-separator { width: 80px; margin: 48px 0; border: 0; border-top: 4px solid var(--lime); }
.entry-content .uagb-team__content { display: grid; gap: 5px; padding: 24px 28px; margin: 30px 0; background: var(--cream); border-left: 4px solid var(--green); }
.entry-content .uagb-team__title { margin: 0; color: var(--green-deep); font-size: 1.7rem; }
.entry-content .uagb-team__desc { margin: 0; font-size: .88rem; line-height: 1.55; }
.entry-content .uagb-ifb-icon-wrap { display: none; }
.logo-directory { display: grid; width: 100%; max-width: 940px !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.logo-directory--partners { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.logo-card { min-width: 0; padding: 22px 18px 20px; background: var(--white); border: 1px solid rgba(117,65,95,.15); text-align: center; transition: border-color .25s, box-shadow .25s, transform .25s; }
.logo-card:hover { border-color: var(--sand); box-shadow: 0 15px 36px rgba(53,23,41,.1); transform: translateY(-3px); }
.logo-card > a { display: block; color: inherit !important; text-decoration: none !important; }
.logo-card__media { display: grid; height: 96px; place-items: center; margin-bottom: 16px; }
.logo-card__media img { width: auto !important; max-width: 155px !important; height: auto !important; max-height: 72px !important; object-fit: contain; }
.logo-directory--laboratories .logo-card__media img { max-width: 175px !important; }
.logo-card h2 { margin: 0; color: var(--plum-deep); font-family: var(--sans); font-size: .78rem; font-weight: 750; letter-spacing: 0; line-height: 1.45; }
.stat-grid { display: grid; max-width: 880px !important; grid-template-columns: repeat(4, 1fr); margin-block: 40px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat-grid > div { display: grid; min-height: 170px; align-content: center; gap: 8px; padding: 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-grid strong { color: var(--plum); font-family: var(--serif); font-size: 3.8rem; line-height: 1; }
.stat-grid span { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.child-page-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 60px; background: var(--line); }
.child-page-grid a { position: relative; display: grid; min-height: 210px; align-content: start; padding: 28px; background: var(--cream); transition: background .25s, color .25s; }
.child-page-grid a:hover { color: var(--white); background: var(--plum); }
.child-page-grid a > span { margin-bottom: 25px; color: var(--olive); font-size: .65rem; font-weight: 800; }
.child-page-grid a > strong { padding-right: 30px; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; line-height: 1.05; }
.child-page-grid a > p { margin: 12px 0 0; color: var(--muted); font-size: .77rem; line-height: 1.5; }
.child-page-grid a:hover > p { color: rgba(255,255,255,.7); }
.child-page-grid .icon { position: absolute; right: 25px; bottom: 26px; width: 20px; }
.page-listing { max-width: 1000px; margin-top: 80px; padding-top: 55px; border-top: 1px solid var(--line); }
.page-listing > h2 { margin-bottom: 35px; color: var(--plum); font-size: clamp(2.4rem, 4vw, 4rem); }
.video-embed { max-width: 1000px; margin-top: 45px; padding: 12px; background: var(--plum); box-shadow: var(--shadow); }
.video-embed video { width: 100%; }

/* Editorial landing pages */
.landing-page { padding-block: clamp(75px, 9vw, 135px); }
.landing-intro { display: grid; grid-template-columns: minmax(320px, .92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(45px, 8vw, 120px); }
.landing-intro figure { position: relative; margin: 0; }
.landing-intro figure::before { position: absolute; z-index: -1; top: -18px; left: -18px; width: 72%; height: 72%; content: ""; background: var(--sand); }
.landing-intro img { width: 100%; height: clamp(340px, 38vw, 530px); object-fit: cover; }
.landing-intro .entry-content > * { max-width: 680px; }
.landing-intro .entry-content p { color: var(--muted); font-size: clamp(1rem, 1.25vw, 1.12rem); }
.landing-topics { margin-top: clamp(80px, 10vw, 150px); }
.landing-topics > header { display: grid; grid-template-columns: .7fr 1.3fr; align-items: end; gap: 25px 60px; margin-bottom: 42px; }
.landing-topics > header .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.landing-topics > header h2 { grid-column: 1 / -1; max-width: 900px; margin: 0; font-size: clamp(2.8rem, 5.5vw, 5.4rem); }
.landing-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.landing-card { position: relative; display: flex; min-height: 285px; flex-direction: column; padding: clamp(25px, 3vw, 40px); color: var(--ink); background: var(--sand); border: 1px solid rgba(53,23,41,.18); transition: filter .25s, transform .25s; }
.landing-card:hover { filter: saturate(1.08) brightness(1.04); transform: translateY(-5px); }
.landing-card small { margin-bottom: auto; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.landing-card strong { max-width: 360px; padding-right: 25px; font-family: var(--serif); font-size: clamp(1.55rem, 2.1vw, 2.1rem); font-weight: 600; line-height: 1.03; }
.landing-card p { max-width: 350px; margin: 16px 0 0; font-size: .78rem; line-height: 1.55; opacity: .78; }
.landing-card .icon { position: absolute; right: 28px; bottom: 30px; width: 21px; }
.landing-page--research .landing-card { background: var(--green); }
.landing-page--training .landing-card { color: var(--white); background: var(--plum); }
.landing-page--society .landing-card { background: var(--sand); }
.landing-page--resources .landing-card { background: var(--cream); }
.landing-page--events .landing-card { color: var(--white); background: var(--plum); }

/* Recherche : une mosaïque de pièces qui se répondent, sans images lourdes. */
.landing-page--research .landing-card-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.landing-page--research .landing-card { min-height: 300px; grid-column: span 4; overflow: visible; color: var(--ink); border: 0; border-radius: 0 24px 0 24px; box-shadow: 0 10px 24px rgba(53,23,41,.08); transition: color .25s, background .25s, transform .25s, box-shadow .25s; }
.landing-page--research .landing-card:nth-child(3n + 2) { color: var(--white); background: var(--plum); border-radius: 24px 0 24px 0; }
.landing-page--research .landing-card:nth-child(3n + 3) { background: var(--cream); border-radius: 24px 0 24px 0; }
.landing-page--research .landing-card::before,
.landing-page--research .landing-card::after { position: absolute; z-index: 3; width: 28px; height: 28px; content: ""; background: inherit; border-radius: 50%; }
.landing-page--research .landing-card::before { top: calc(50% - 14px); right: -14px; box-shadow: 4px 0 0 rgba(255,255,255,.7); }
.landing-page--research .landing-card::after { right: calc(50% - 14px); bottom: -14px; box-shadow: 0 4px 0 rgba(255,255,255,.7); }
.landing-page--research .landing-card:hover { z-index: 4; color: var(--ink); background: #f7df8d; transform: translateY(-6px) rotate(-.35deg); box-shadow: 0 18px 34px rgba(53,23,41,.14); }
.landing-page--research .landing-card:nth-child(3n + 2):hover { color: var(--white); background: #87506f; }
.landing-page--research .landing-card strong { font-size: clamp(1.45rem, 2vw, 2rem); }
.landing-page--research .landing-card p { max-width: 310px; }

.group-responsibles { max-width: 880px !important; padding-top: 55px; margin-top: 70px; border-top: 1px solid var(--line); }
.group-responsibles h2 { margin-top: 0; }
.group-responsibles__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.group-responsibles__grid article { display: grid; gap: 7px; padding: 25px; background: var(--cream); border-left: 4px solid var(--plum); }
.group-responsibles__grid strong { color: var(--plum-deep); font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.group-responsibles__grid span { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.single-irgap_group .entry-content .uagb-team__content { display: none; }

/* Archives and single */
.archive-content { padding-top: 80px; padding-bottom: 130px; }
.navigation.pagination { margin-top: 55px; }
.nav-links { display: flex; justify-content: center; gap: 8px; }
.nav-links .page-numbers { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .78rem; font-weight: 800; }
.nav-links .current, .nav-links a:hover { color: var(--white); background: var(--plum); border-color: var(--plum); }
.single-hero { position: relative; overflow: hidden; padding-block: clamp(70px, 8vw, 120px); background: linear-gradient(125deg, var(--paper) 0%, var(--cream) 100%); }
.single-hero::after { position: absolute; top: -180px; right: -80px; width: 520px; aspect-ratio: 1; content: ""; border: 2px solid rgba(111,145,47,.25); border-radius: 50%; box-shadow: 0 0 0 60px rgba(245,217,120,.18), 0 0 0 120px rgba(117,65,95,.08); }
.single-hero .site-container { position: relative; z-index: 1; }
.single-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(45px, 8vw, 120px); }
.single-hero h1 { margin-bottom: 25px; font-size: clamp(3.4rem, 7vw, 6.5rem); }
.single-hero__grid > div > p:last-child { max-width: 740px; margin: 0; color: var(--muted); font-size: 1.1rem; }
.single-hero figure { margin: 0; }
.single-hero figure img { width: 100%; max-height: 500px; object-fit: cover; }
.single-layout { display: grid; grid-template-columns: 250px minmax(0, 850px); gap: clamp(50px, 8vw, 110px); padding-top: 80px; padding-bottom: 130px; }
.single-meta { position: sticky; top: 125px; display: grid; align-content: start; align-self: start; gap: 24px; padding: 26px; background: var(--cream); border-top: 5px solid var(--lime); }
.single-meta > div { display: grid; gap: 5px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.single-meta span { color: var(--olive); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.single-meta strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.empty-state { padding: 70px; text-align: center; background: var(--cream); }
.empty-state h2 { margin-bottom: 15px; }
.search-form { display: flex; max-width: 560px; margin: 25px auto 0; }
.search-form label { flex: 1; }
.search-form input { width: 100%; min-height: 50px; padding: 10px 15px; border: 1px solid var(--line); }
.search-form .search-submit { padding: 10px 20px; color: var(--white); background: var(--plum); border: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(55px, 9vw, 140px); padding-top: 90px; padding-bottom: 130px; }
.contact-grid aside h2 { margin-bottom: 25px; font-size: clamp(2.6rem, 4vw, 4rem); }
.contact-grid aside > p:not(.eyebrow) { color: var(--muted); }
.contact-grid dl { margin-top: 45px; }
.contact-grid dl div { padding-block: 18px; border-top: 1px solid var(--line); }
.contact-grid dt { color: var(--olive); font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-grid dd { margin: 6px 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.contact-form-wrap { padding: clamp(28px, 5vw, 60px); background: var(--cream); }
.contact-form { display: grid; gap: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 8px; color: var(--plum); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 13px 0; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #bcb2b5; border-radius: 0; outline: 0; font-size: .95rem; text-transform: none; }
.contact-form textarea { padding: 13px; border: 1px solid #bcb2b5; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--olive); box-shadow: 0 1px 0 var(--olive); }
.contact-form .button { justify-self: start; border: 0; }
.contact-form label > span { color: var(--muted); font-size: .6rem; font-weight: 600; text-transform: none; }
.contact-form .consent-field { display: flex; align-items: flex-start; gap: 12px; color: var(--muted); font-size: .72rem; font-weight: 600; letter-spacing: 0; line-height: 1.5; text-transform: none; }
.contact-form .consent-field input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 2px; accent-color: var(--green); }
.contact-form .consent-field a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 2px; }
.contact-map-section { padding-block: clamp(75px, 9vw, 130px); background: var(--cream); }
.contact-map-section header { display: grid; max-width: 1050px; grid-template-columns: .75fr 1.25fr; align-items: end; gap: 20px 70px; margin-bottom: 45px; }
.contact-map-section header .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.contact-map-section h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); }
.contact-map-section header > p:last-child { margin: 0 0 9px; color: var(--muted); line-height: 1.7; }
.contact-map-frame { overflow: hidden; padding: 10px; background: var(--white); box-shadow: 0 24px 70px rgba(48,9,31,.14); }
.contact-map-frame iframe { display: block; width: 100%; height: min(560px, 65vw); min-height: 380px; border: 0; filter: saturate(1.08) contrast(1.02); }
.signup-page-hero::after { border-color: rgba(111,145,47,.35); }
.signup-page-hero--gdr { background: var(--cream); }
.signup-benefits { padding: 0; margin: 38px 0 0; list-style: none; border-top: 1px solid var(--line); }
.signup-benefits li { position: relative; padding: 15px 0 15px 27px; border-bottom: 1px solid var(--line); font-size: .84rem; font-weight: 700; }
.signup-benefits li::before { position: absolute; top: 24px; left: 1px; width: 9px; height: 9px; content: ""; background: var(--lime); border: 2px solid var(--green); border-radius: 50%; }
.honeypot { position: absolute; left: -9999px; }
.form-notice { margin-bottom: 25px; padding: 15px 18px; font-weight: 700; }
.form-notice--success { color: var(--ink); background: var(--green); }
.form-notice--error { color: var(--white); background: var(--plum); }

/* Footer */
.site-footer { color: rgba(255,255,255,.74); background: var(--plum-deep); }
.site-footer__top { display: grid; grid-template-columns: 1.45fr .7fr .7fr 1fr; gap: clamp(35px, 6vw, 85px); padding-top: 85px; padding-bottom: 75px; }
.footer-brand img { width: 180px; margin-bottom: 25px; mix-blend-mode: normal; }
.footer-brand > p { max-width: 390px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
.footer-brand .footer-warning { color: rgba(255,255,255,.5); font-family: var(--sans); font-size: .69rem; line-height: 1.55; }
.footer-warning strong { color: var(--lime); }
.site-footer h2 { margin-bottom: 25px; color: var(--lime); font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.footer-links ul { padding: 0; margin: 0; list-style: none; }
.footer-links li { margin-bottom: 11px; }
.footer-links a, .footer-contact a:not(.button) { font-size: .77rem; font-weight: 600; transition: color .2s; }
.footer-links a:hover, .footer-contact a:not(.button):hover { color: var(--lime); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer-contact p { margin-bottom: 13px; font-size: .78rem; }
.footer-contact .button { margin-top: 24px; }
.site-footer__bottom { display: flex; min-height: 70px; align-items: center; justify-content: space-between; gap: 30px; border-top: 1px solid rgba(255,255,255,.14); font-size: .64rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom > div { display: flex; gap: 25px; }
.site-footer__bottom a:hover { color: var(--lime); }

/* 404 */
.error-page { min-height: 70vh; padding-block: 110px; color: var(--white); background: var(--plum); }
.error-page .site-container { position: relative; }
.error-page .site-container > span { position: absolute; top: -100px; right: var(--gutter); color: rgba(255,255,255,.07); font-family: var(--serif); font-size: 20rem; font-weight: 700; line-height: 1; }
.error-page h1 { max-width: 800px; color: var(--white); }
.error-page .site-container > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.72); }
.error-page .site-container > div { display: flex; align-items: center; gap: 30px; }
.error-page .search-form { margin: 0; }

/* Accueil : fonds neutres, couleurs du logo réservées aux contenus. */
.home .news-section,
.home .consortium-section,
.home .groups-section,
.home .initiatives-section,
.home .home-events-section,
.home .signup-band { color: var(--ink); background: var(--paper); }
.home .groups-section .section-heading--light h2,
.home .signup-band__heading h2 { color: var(--ink); }
.home .groups-section .section-heading--light > p,
.home .signup-band__heading > p:last-child { color: var(--muted); }
.home .groups-section .eyebrow--light,
.home .signup-band .eyebrow--light { color: var(--olive); }

/* Accueil : rythme éditorial plus compact et hiérarchie typographique équilibrée. */
.home .home-hero h1 { max-width: 820px; font-size: clamp(3rem, 5.2vw, 5rem); line-height: .96; }
.home main > .section { padding-block: clamp(42px, 4vw, 60px); }
.home .signup-band { padding-block: clamp(46px, 4.5vw, 66px); }
.home .section-heading { margin-bottom: clamp(26px, 3vw, 38px); }
.home .section-heading h2,
.home .signup-band__heading h2 { font-size: clamp(2.05rem, 3.2vw, 3.35rem); line-height: 1.04; }
.home .section-heading > p { max-width: 400px; font-size: .95rem; line-height: 1.6; }
.home .signup-band__heading { margin-bottom: clamp(28px, 3vw, 40px); }
.home .signup-band__heading > p:last-child { font-size: .92rem; line-height: 1.6; }
.home .content-card__media { height: 210px; }
.home .content-card__body { padding: 21px 22px 23px; }
.home .group-tile { min-height: 250px; }
.home .group-tile__content strong { font-size: clamp(1.25rem, 1.7vw, 1.6rem); line-height: 1.08; }
.home .transversal-card { min-height: 235px; padding: 28px; }
.home .transversal-card small { margin-bottom: 34px; }
.home .transversal-card strong { font-size: clamp(1.35rem, 1.9vw, 1.85rem); line-height: 1.08; }
.home .transversal-card p { margin-top: 12px; }
.home .section-action { margin-top: 28px; }
.home .signup-card { min-height: 280px; padding: clamp(24px, 2.5vw, 34px); }
.home .signup-card h3 { margin-top: 38px; font-size: clamp(1.65rem, 2.3vw, 2.45rem); line-height: 1.02; }
.home .signup-card p { margin-bottom: 24px; }

/* La mosaïque puzzle de la recherche est également le fil visuel de l’accueil. */
.home .group-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.home .group-tile { grid-column: span 4; min-height: 300px; overflow: visible; border: 0; border-radius: 0 24px 0 24px; box-shadow: 0 10px 24px rgba(53,23,41,.08); transition: color .25s, background .25s, transform .25s, box-shadow .25s; }
.home .group-tile:nth-child(3n + 2) { border-radius: 24px 0 24px 0; }
.home .group-tile:nth-child(3n + 3) { border-radius: 24px 0 24px 0; }
.home .group-tile::before,
.home .group-tile::after { z-index: 3; width: 28px; height: 28px; border: 0; background: inherit; border-radius: 50%; }
.home .group-tile::before { top: calc(50% - 14px); right: -14px; box-shadow: 4px 0 0 rgba(255,255,255,.7); }
.home .group-tile::after { top: auto; right: calc(50% - 14px); bottom: -14px; box-shadow: 0 4px 0 rgba(255,255,255,.7); }
.home .group-tile:hover { transform: translateY(-6px) rotate(-.35deg); box-shadow: 0 18px 34px rgba(53,23,41,.14); }

@media (max-width: 1120px) {
  .site-header__inner { grid-template-columns: auto 1fr; }
  .header-actions { justify-self: end; }
  .group-grid { grid-template-columns: repeat(2, 1fr); }
  .home .group-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home .group-tile { grid-column: span 3; }
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .admin-bar .site-header { top: 46px; }
  .home-hero, .home-hero__content { min-height: 850px; }
  .home .home-hero, .home .home-hero__content { min-height: 850px; }
  .home-hero__bottom { grid-template-columns: 1fr; gap: 25px; }
  .home-hero__play { display: none; }
  .hero-pathway { gap: 13px; padding-inline: 20px; }
  .hero-pathway strong { font-size: 1.35rem; }
  .signup-band__heading { grid-template-columns: 1fr; gap: 22px; }
  .signup-band__heading .eyebrow { grid-column: auto; }
  .signup-grid { grid-template-columns: 1fr; }
  .signup-card { min-height: 300px; }
  .consortium-grid { grid-template-columns: 1fr; gap: 44px; }
  .consortium-visual { max-width: 760px; }
  .consortium-stats { right: 20px; }
  .consortium-copy { max-width: 780px; }
  .intro-grid, .page-layout, .single-layout, .contact-grid { grid-template-columns: 1fr; }
  .intro-visual { max-width: 580px; }
  .section-nav { position: static; }
	.single-meta { position: static; }
  .section-nav__contact { display: none; }
  .initiative-grid { grid-template-columns: 1fr; }
	.transversal-grid { grid-template-columns: repeat(2, 1fr); }
  .initiative-card--wide { grid-row: auto; min-height: 420px; }
  .initiative-card { min-height: 360px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-strip .site-container { grid-template-columns: 1fr; }
  .logo-directory--partners { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .logo-directory--laboratories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-band .site-container { grid-template-columns: 1fr; }
  .contact-band .button { justify-self: start; }
  .single-hero__grid { grid-template-columns: 1fr; }
  .single-hero figure { max-width: 650px; }
  .landing-intro { grid-template-columns: 1fr; }
  .landing-intro figure { max-width: 720px; }
  .landing-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-page--research .landing-card-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .landing-page--research .landing-card { grid-column: span 3; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: auto; }
}

@media (max-width: 680px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }
  .site-header__inner { min-height: 80px; gap: 14px; }
  .brand-lockup { gap: 9px; }
  .site-brand__logo { width: 78px; height: 58px; }
  .brand-lockup__separator { height: 40px; }
  .gdr-brand__mark { gap: 4px; font-size: 1.08rem; }
  .gdr-brand small { max-width: 145px; font-size: .36rem; line-height: 1.18; }
  .header-actions { gap: 6px; }
  .linkedin-link, .menu-toggle { width: 43px; height: 43px; }
  .menu-drawer { width: 100%; padding-inline: 22px; }
  .primary-menu .sub-menu { grid-template-columns: 1fr; }
  .menu-drawer__foot { grid-template-columns: 1fr; }
  .menu-drawer__foot .button { justify-self: start; }
  .home-hero, .home-hero__content { min-height: 960px; }
  .home .home-hero, .home .home-hero__content { min-height: 960px; }
  .home-hero__content { justify-content: center; padding-top: 48px; padding-bottom: 295px; }
  .home-hero h1 { margin-bottom: 30px; font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .hero-pathways { grid-template-columns: 1fr; min-height: 246px; }
  .hero-pathway { min-height: 82px; padding: 13px 20px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.24); }
  .hero-pathway:last-child { border-bottom: 0; }
  .hero-pathway small { align-self: center; }
  .hero-pathway em { font-size: .58rem; }
  .hero-pathway strong { font-size: 1.3rem; }
  .signup-card { min-height: 285px; padding: 28px; }
  .signup-card h3 { margin-top: 38px; }
  .ticker__track { min-height: 48px; }
  .intro-lead { grid-template-columns: 1fr; }
  .intro-visual figcaption { right: 0; bottom: -25px; }
  .section-heading { display: grid; gap: 24px; }
  .group-grid { grid-template-columns: 1fr; }
  .group-tile { min-height: 330px; }
  .home .group-grid { grid-template-columns: 1fr; }
  .home .group-tile { grid-column: auto; }
  .initiative-card, .initiative-card--wide { min-height: 350px; }
	.transversal-grid { grid-template-columns: 1fr; }
	.transversal-card { min-height: 240px; }
  .initiative-card > span { right: 22px; bottom: 22px; left: 22px; }
  .event-row { grid-template-columns: 88px 1fr auto; gap: 14px; }
  .event-row__type { display: none; }
  .event-row time { display: grid; gap: 0; }
  .event-row time strong { font-size: 2.2rem; }
  .card-grid, .card-grid--two { grid-template-columns: 1fr; }
  .landing-card-grid, .group-responsibles__grid { grid-template-columns: 1fr; }
  .landing-page--research .landing-card-grid { grid-template-columns: 1fr; }
  .landing-page--research .landing-card { grid-column: auto; }
  .landing-card { min-height: 250px; }
  .partners-strip .site-container > div { grid-template-columns: 1fr 1fr; }
  .page-hero h1, .archive-hero h1 { font-size: clamp(3.4rem, 17vw, 5.4rem); }
  .child-page-grid, .stat-grid { grid-template-columns: 1fr; }
  .entry-content .wp-block-columns { display: grid; }
	.entry-content .wp-block-media-text { grid-template-columns: 1fr !important; }
	.entry-content .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr !important; }
  .entry-content .wp-block-media-text__media { max-width: 420px; justify-self: center; }
  .logo-directory, .logo-directory--partners, .logo-directory--laboratories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-card { padding: 17px 12px 16px; }
  .logo-card__media { height: 82px; margin-bottom: 12px; }
  .logo-card__media img, .logo-directory--laboratories .logo-card__media img { max-width: 130px !important; max-height: 62px !important; }
  .logo-card h2 { font-size: .72rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 27px 20px; }
  .contact-map-section header { grid-template-columns: 1fr; gap: 18px; }
  .contact-map-frame { padding: 6px; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 35px 25px; padding-top: 60px; }
  .footer-contact { grid-column: 1 / -1; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; padding-block: 22px; }
  .site-footer__bottom > div { flex-wrap: wrap; gap: 12px 20px; }
  .error-page .site-container > span { font-size: 11rem; }
  .error-page .site-container > div { align-items: flex-start; flex-direction: column; }
  .consortium-visual { padding-bottom: 0; }
  .consortium-visual > img { height: 290px; }
  .consortium-visual::before { inset: 0; }
  .consortium-stats { position: relative; right: auto; bottom: auto; width: 100%; }
  .consortium-stats > div { min-height: 80px; padding: 12px 8px; }
  .consortium-copy h2 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .consortium-links { display: grid; }
  .consortium-link { justify-content: space-between; }
  .contact-map-frame iframe { height: 420px; min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .home-hero__media video { display: none; }
  .home-hero__media { background: url("images/hero-botanique-v2.png") center / cover; }
}
