/*
Theme Name: JVS
Theme URI: https://associationjvs.org/
Author: Intside
Author URI: https://intside.com/
Description: Thème du site de Jeunes Volontaires pour la Santé (JVS), organisation béninoise de jeunes engagée pour la santé sexuelle et reproductive, l'autonomisation et le plaidoyer. Bootstrap 5, ACF Pro, Gravity Forms.
Version: 1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: jvs
Tags: custom-menu, featured-images, translation-ready
*/

/*
 * JVS, Jeunes Volontaires pour la Santé
 * Frontend stylesheet (Bootstrap + CSS custom)
 * Intside
 *
 * Table of Contents:
 *
 * 1.0 - Fonts, tokens and base
 * 2.0 - Buttons and links
 * 3.0 - Navbar (topbar, menu, mega menu, mobile list)
 * 4.0 - Shared section parts (eyebrow, titles, decor)
 * 5.0 - Home
 * 6.0 - Partners strip
 * 7.0 - Footer
 * 8.0 - OREMI floating button
 * 9.0 - Reveal
 * 9.5 - Inner pages: A propos, Domaine, Impact, OREMI
 * 10.0 - Media Queries
 * 11.0 - WordPress adapters (links in the filters and pagers, media embeds, Gravity Forms footer form)
 */


/**
 * 1.0 Fonts, tokens and base
 * ----------------------------------------------------------------------------
 */

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/fonts/Poppins-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-main: "Poppins", sans-serif;

  --cream: #F7F4EE;
  --white: #FFFFFF;
  --ink: #14231B;
  --body: #33443a;
  --muted: #5b6a60;
  --line: #E8E3D8;

  --green: #0F7D2C;
  --green-dark: #0C3A22;
  --green-pale: #DCEBD9;
  --green-soft: #A9D3A6;
  --terra: #C8542B;
  --terra-dark: #9E3F1C;
  --terra-pale: #F3C9B6;
  --gold: #E0A92E;
  --plum: #2E1A38;
  --plum-deep: #3E2449;
  --plum-line: #3A1F45;
  --plum-accent: #8E5BA8;
  --plum-text: #6E3D86;
  --lilac: #E2C6EE;
  --lilac-soft: #F3ECF7;

  --header-height: 4.25rem;
  --vw: 0.24375rem;
  --media-radius: 3.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

h1,
h2,
.h5,
.h6 {
  font-family: var(--font-main);
}

p {
  margin: 0;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-dark);
}

ul {
  padding: 0;
}

input,
select,
textarea,
button {
  font: inherit;
}

img {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.125rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: 600 0.875rem var(--font-main);
}

main {
  display: block;
  padding-top: var(--header-height);
}


/**
 * 2.0 Buttons and links
 * ----------------------------------------------------------------------------
 */

.btn {
  --bs-btn-line-height: normal;
  --bs-btn-padding-x: 0;
  --bs-btn-padding-y: 0;
  --bs-btn-border-width: 0;
  --bs-btn-border-radius: 999px;
  --bs-btn-font-family: var(--font-main);
  display: block;
  width: 100%;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  line-height: 3.5rem;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.btn-group-row {
  margin-bottom: -0.75rem;
}

.btn-group-row .btn {
  margin-bottom: 0.75rem;
}

.btn-h56 { line-height: 3.5rem; }
.btn-h54 { font-size: 0.9375rem; line-height: 3.375rem; }
.btn-h50 { font-size: 0.9375rem; line-height: 3.125rem; }

.btn-arrow {
  display: inline-block;
  margin-left: 0.875rem;
  font-size: 1.25rem;
  line-height: 1;
  vertical-align: -0.125rem;
}

.btn-dot {
  display: inline-block;
  width: 0.5625rem;
  height: 0.5625rem;
  margin-right: 0.625rem;
  border-radius: 50%;
  background: var(--plum-accent);
  vertical-align: 0.0625rem;
}

.btn-green {
  background: var(--green);
  color: #fff;
}

.btn-green:hover {
  background: var(--green-dark);
  color: #fff;
}

.btn-outline-plum {
  padding: 0 1.5rem;
  border: 1.5px solid var(--plum-line);
  line-height: 3.3125rem;
  color: var(--plum-line);
}

.btn-outline-plum:hover {
  background: var(--lilac-soft);
  color: var(--plum);
}

.btn-outline-plum:focus-visible,
.nav-oremi:focus-visible {
  outline-color: var(--plum-accent);
}

.btn-white {
  padding: 0 1.625rem;
  background: #fff;
  color: var(--green-dark);
}

.btn-white:hover {
  background: var(--terra-pale);
  color: var(--green-dark);
}

.btn-outline-white {
  padding: 0 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  line-height: 3.1875rem;
  color: #fff;
}

.btn-outline-white:hover {
  border-color: #fff;
  color: #fff;
}

.btn-lilac {
  padding: 0 1.625rem;
  background: var(--lilac);
  color: var(--plum);
}

.btn-lilac:hover {
  background: #fff;
  color: var(--plum);
}

.btn-lilac:focus-visible {
  outline-color: #fff;
}

.btn-outline-ink {
  padding: 0 1.5rem;
  border: 1.5px solid var(--ink);
  line-height: 2.9375rem;
  color: var(--ink);
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: #fff;
}

.link-arrow {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--green);
}

.link-arrow:hover {
  color: var(--green-dark);
}

.link-arrow-sm {
  font-size: 0.875rem;
}


/**
 * 3.0 Navbar
 * ----------------------------------------------------------------------------
 */

.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s;
}

.navbar.is-scrolled {
  box-shadow: 0 6px 24px rgba(20, 35, 27, 0.08);
}

.navbar-expand-lg {
  flex-wrap: wrap;
}

.navbar-brand {
  margin: 0;
  padding: 0.59375rem 0;
  line-height: 1;
}

.navbar-brand img {
  width: auto;
  height: 3rem;
}

.navbar-toggler {
  position: relative;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

.navbar-toggler span {
  position: absolute;
  left: 0.9375rem;
  width: 1.125rem;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, top 0.2s, opacity 0.2s;
}

.navbar-toggler span:nth-child(1) {
  top: 1.0625rem;
}

.navbar-toggler span:nth-child(2) {
  top: 1.4375rem;
}

.navbar-toggler span:nth-child(3) {
  top: 1.8125rem;
}

.navbar-collapse {
  align-items: center;
}

.topbar {
  width: 100%;
  height: 2.5rem;
  background: var(--green-dark);
  color: #E6EFE3;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 2.5rem;
}

.topbar-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.75rem;
  border-radius: 50%;
  background: #C9A6DA;
  vertical-align: 0.0625rem;
}

.topbar-link {
  margin-left: 0.75rem;
  border-bottom: 1px solid #C9A6DA;
  color: #fff;
  font-weight: 600;
}

.topbar-link:hover {
  color: #fff;
}

.topbar-link:focus-visible {
  outline: 2px solid #C9A6DA;
  outline-offset: 3px;
}

.topbar-support,
.nav-support {
  margin-left: 1.5rem;
  color: #E6EFE3;
}

.topbar-support:hover {
  color: #fff;
}

.lang-switch {
  display: inline-block;
  white-space: nowrap;
}

.lang-switch button {
  padding: 0.25rem 0.375rem;
  border: 0;
  background: none;
  color: inherit;
  font-weight: 400;
  line-height: 1;
  opacity: 0.6;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"] {
  font-weight: 700;
  opacity: 1;
}

.lang-switch button:focus-visible {
  outline: 2px solid #C9A6DA;
  outline-offset: 2px;
}

.lang-sep {
  margin: 0 0.125rem;
  opacity: 0.4;
}

.topbar .lang-switch {
  color: #fff;
}

/* Menu: mobile list under the logo first, the page stays behind */
.navbar.is-menu-open {
  background: var(--green-dark);
  border-bottom-color: transparent;
}

.navbar.is-menu-open .navbar-brand img {
  filter: brightness(0) invert(1);
}

.navbar.is-menu-open .navbar-toggler {
  background: #fff;
}

.navbar.is-menu-open .navbar-toggler span {
  top: 1.4375rem;
  background: var(--green-dark);
}

.navbar.is-menu-open .navbar-toggler span:nth-child(1) {
  transform: rotate(45deg);
}

.navbar.is-menu-open .navbar-toggler span:nth-child(2) {
  opacity: 0;
}

.navbar.is-menu-open .navbar-toggler span:nth-child(3) {
  transform: rotate(-45deg);
}

.navbar-collapse {
  max-height: calc(100dvh - 4.25rem);
  overflow-y: auto;
}

.menu-navigation-menu-container {
  padding: 0.5rem 0;
}

.navbar-nav > .menu-item {
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.navbar-nav > .menu-item > a {
  display: block;
  padding: 0.875rem 3.5rem 0.875rem 0;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
}

.navbar-nav > .menu-item > a:hover,
.navbar-nav > .menu-item.is-open > a {
  color: var(--terra-pale);
}

.navbar-nav > .menu-item > a[aria-current="page"] {
  color: var(--terra-pale);
}

.sub-toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 3.5rem;
  height: 3.3125rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  text-align: right;
  cursor: pointer;
}

.sub-toggle .lucide {
  width: 1.375rem;
  height: 1.375rem;
  vertical-align: middle;
}

.sub-toggle .lucide-minus,
.is-open > .sub-toggle .lucide-plus {
  display: none;
}

.is-open > .sub-toggle .lucide-minus {
  display: inline-block;
}

.sub-toggle:focus-visible {
  outline-offset: -3px;
}

.mega {
  display: none;
}

.is-open > .mega {
  display: block;
  padding: 0 0 0.75rem 1rem;
}

.mega .row {
  margin-top: 0;
}

.mega-label,
.mega-intro,
.mega-link-desc,
.mega-dot,
.mega-feature {
  display: none;
}

.sub-menu a {
  display: block;
  padding: 0.5rem 0;
  color: #DCEBD9;
  font-size: 1rem;
  font-weight: 500;
}

.sub-menu a:hover {
  color: #fff;
}

.sub-menu a[aria-current="page"] {
  color: var(--terra-pale);
}

.mega-link-title {
  display: block;
}

.nav-actions {
  padding: 1.25rem 0 1.5rem;
}

/* Search link: icon and label in the mobile list, icon only from 992 (the label stays for screen readers) */
.nav-search {
  display: block;
  margin-bottom: 1rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.nav-search:hover,
.nav-search[aria-current="page"] {
  color: var(--terra-pale);
}

.nav-search .lucide {
  width: 1.125rem;
  height: 1.125rem;
  margin-right: 0.625rem;
  vertical-align: -0.1875rem;
}

.nav-oremi,
.nav-contact {
  display: block;
  height: 3.375rem;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 3.375rem;
  text-align: center;
}

.nav-oremi {
  margin-bottom: 0.75rem;
  background: var(--lilac);
  color: var(--plum);
}

.nav-oremi:hover {
  background: var(--lilac);
  color: var(--plum);
}

.nav-oremi-dot {
  display: none;
}

.nav-contact {
  margin-bottom: 0.75rem;
  background: #fff;
  color: var(--green-dark);
}

.nav-contact:hover {
  background: #fff;
  color: var(--green-dark);
}

.nav-tools {
  padding-top: 0.375rem;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}

.nav-tools .nav-support {
  float: right;
  margin-left: 0;
  padding: 0.25rem 0;
  color: #9fbfa4;
}


/**
 * 4.0 Shared section parts
 * ----------------------------------------------------------------------------
 */

.section {
  padding: 4.5rem 0;
}

.section-white {
  background: #fff;
}

.section-cream {
  background: var(--cream);
}

.eyebrow {
  position: relative;
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  color: var(--green);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  position: absolute;
  top: 0.3125rem;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50% 50% 50% 0;
  background: var(--terra);
}

.eyebrow-light {
  color: var(--green-soft);
}

.section-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.section-title .accent {
  font-weight: 700;
}

.section-title .accent-green {
  color: var(--green);
}

.section-lead {
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--body);
  text-wrap: pretty;
}


/**
 * 5.0 Home
 * ----------------------------------------------------------------------------
 */

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 3.5rem;
  background: var(--cream);
}

.hero::before {
  content: "";
  position: absolute;
  top: calc(var(--vw) * -20);
  right: calc(var(--vw) * -18);
  width: calc(var(--vw) * 70);
  height: calc(var(--vw) * 70);
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 2.375rem, rgba(15, 125, 44, 0.07) 2.375rem 2.4375rem);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-title {
  margin: 0 0 1.75rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-title .accent {
  color: var(--green);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero-text {
  max-width: 33.75rem;
  margin-bottom: 1.75rem;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-media {
  position: relative;
  width: 100%;
  padding-left: 0.875rem;
  max-height: 38.75rem;
  aspect-ratio: 4 / 3.4;
}

.hero-media img {
  width: 100%;
  height: 100%;
  border-radius: var(--media-radius) 0 0 0;
  object-fit: cover;
  object-position: center 40%;
}

.hero-media::before {
  content: "";
  position: absolute;
  top: 18%;
  left: 0;
  width: 0.75rem;
  height: 30%;
  background: var(--terra);
}

.hero-caption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.375rem 0.625rem;
  background: rgba(247, 244, 238, 0.92);
  color: var(--body);
  font-size: 0.75rem;
}

/* Impact */
.stat-img {
  width: 100%;
  height: 9.375rem;
  object-fit: cover;
  object-position: center 25%;
}

.stat-img-tl { border-radius: 6rem 0 0 0; object-position: center 30%; }
.stat-img-tr { border-radius: 0 6rem 0 0; object-position: center 30%; }

.stat-body {
  padding: 1.5rem 1.5rem 1.625rem;
}

.stat-value {
  margin-bottom: 0.5rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.stat-card-dark .stat-body { background: var(--green-dark); color: #fff; }
.stat-card-mint .stat-body { background: var(--green-pale); color: var(--green-dark); }
.stat-card-terra .stat-body { background: var(--terra); color: #fff; }
.stat-card-cream .stat-body { background: var(--cream); color: var(--ink); }
.stat-card-cream .stat-value { color: var(--green); }

/* Priorities */
.domain-list {
  border-bottom: 2px solid var(--ink);
}

.domain-row {
  --dc: var(--green);
  --dn: var(--green);
  --da: #fff;
  display: block;
  padding: 2rem 1.25rem 2rem 0;
  border-top: 2px solid var(--ink);
  color: var(--ink);
  transition: background 0.25s, padding 0.25s;
}

.domain-row:hover {
  padding-left: 1.25rem;
  background: #fff;
  color: var(--ink);
}

.domain-row:focus-visible {
  outline-offset: -3px;
}

.domain-row-terra { --dc: var(--terra); --dn: var(--terra); }
.domain-row-gold { --dc: var(--gold); --dn: #B8841A; --da: var(--ink); }

.domain-num {
  display: block;
  width: 6rem;
  color: var(--dn);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.domain-shape {
  display: block;
  margin-bottom: 0.75rem;
  background: var(--dc);
}

.domain-shape-round {
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
}

.domain-shape-half {
  width: 1.875rem;
  height: 0.9375rem;
  margin: 0.3125rem 0 1.125rem;
  border-radius: 1.875rem 1.875rem 0 0;
}

.domain-shape-diamond {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1875rem 0.1875rem 0.9375rem;
  transform: rotate(45deg);
}

.domain-label {
  display: block;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.domain-text {
  display: block;
  max-width: 27.5rem;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

.domain-arrow {
  display: inline-block;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--dc);
  color: var(--da);
  font-size: 1.375rem;
  line-height: 3.75rem;
  text-align: center;
  vertical-align: top;
}

/* Story */
.section-story {
  position: relative;
  overflow: hidden;
  background: var(--green-dark);
  color: #fff;
}

.section-story::before {
  content: "";
  position: absolute;
  bottom: calc(var(--vw) * -35);
  left: calc(var(--vw) * -25);
  width: calc(var(--vw) * 70);
  height: calc(var(--vw) * 70);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 2.375rem, rgba(255, 255, 255, 0.05) 2.375rem 2.4375rem);
  pointer-events: none;
}

.section-story .container {
  position: relative;
}

.story-media {
  position: relative;
  padding-left: 0.875rem;
  max-height: 40rem;
  aspect-ratio: 0.88;
}

.story-media img {
  width: 100%;
  height: 100%;
  border-radius: var(--media-radius) 0 0 0;
  object-fit: cover;
}

.story-media::before {
  content: "";
  position: absolute;
  bottom: 12%;
  left: 0;
  width: 0.75rem;
  height: 26%;
  background: var(--terra);
}

.story-quote {
  margin-bottom: 1.75rem;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
  text-wrap: pretty;
}

.eyebrow-light + .story-quote {
  margin-top: 1.75rem;
}

.story-meta {
  margin-bottom: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.story-name {
  margin-bottom: 0.25rem;
  font-size: 1.0625rem;
  font-weight: 600;
}

.story-role {
  color: var(--green-soft);
  font-size: 0.875rem;
}

.story-text {
  color: #CFE0CC;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* OREMI */
.section-oremi {
  background: var(--plum);
  color: var(--lilac-soft);
}

.oremi-brand {
  margin-bottom: 1.875rem;
}

.oremi-name {
  color: #fff;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.oremi-tag {
  margin-left: 0.875rem;
  color: #C9A6DA;
  font-size: 0.8125rem;
  font-weight: 500;
}

.oremi-title {
  margin: 0 0 1.875rem;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.oremi-title .accent {
  color: var(--lilac);
  font-weight: 700;
}

.oremi-channel {
  margin-bottom: 1.875rem;
  padding: 1.25rem;
  border-radius: 1.5rem 1.5rem 1.5rem 0.25rem;
  background: var(--lilac-soft);
  color: var(--plum);
  transition: background 0.2s, box-shadow 0.2s;
}

.oremi-channel:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  color: var(--plum);
}

.oremi-channel:focus-visible {
  outline-color: var(--lilac);
}

.oremi-channel-label {
  color: var(--plum-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oremi-channel-value {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.oremi-badge {
  position: relative;
  display: inline-block;
  margin: 0.125rem 1.5rem 0.75rem 0;
  padding-left: 1rem;
  color: #E0D3E8;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.3125rem;
  vertical-align: top;
}

.oremi-badge::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-radius: 50%;
  background: #C9A6DA;
}

.oremi-chat {
  position: relative;
  padding: 1.75rem;
  overflow: hidden;
  border-radius: 0 0 0 4rem;
  background: var(--plum-deep);
}

.oremi-chat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 100% 0%, transparent 0 1.875rem, rgba(255, 255, 255, 0.04) 1.875rem 1.9375rem);
  pointer-events: none;
}

.bubble {
  position: relative;
  width: fit-content;
  max-width: 22.5rem;
  margin-bottom: 0.875rem;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.bubble-in {
  border-radius: 1.375rem 1.375rem 1.375rem 0.25rem;
  background: var(--lilac-soft);
  color: var(--plum);
}

.bubble-out {
  margin-left: auto;
  border-radius: 1.375rem 1.375rem 0.25rem 1.375rem;
  background: var(--plum-accent);
  color: #fff;
}

.js .oremi-chat:not(.is-playing) .bubble:not(.is-shown) {
  opacity: 0;
  transform: translateY(0.75rem);
}

.oremi-chat-note {
  position: relative;
  margin-top: 1.375rem;
  color: #C9A6DA;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 500;
}

/* News */
.news-card {
  height: 100%;
  color: var(--ink);
  transition: box-shadow 0.25s;
}

.news-card:hover {
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(20, 35, 27, 0.12);
}

.news-card:focus-visible {
  outline-offset: 3px;
}

.news-img {
  display: block;
  width: 100%;
  height: 13.75rem;
  object-fit: cover;
  object-position: center;
}

.news-card-article {
  background: #fff;
}

.news-card-article .news-img {
  height: 16.25rem;
  border-radius: 0 0 0 6rem;
  object-position: center 30%;
}

.news-card-campaign {
  background: var(--terra);
  color: #fff;
}

.news-card-campaign:hover {
  color: #fff;
  box-shadow: 0 20px 40px rgba(20, 35, 27, 0.16);
}

.news-card-campaign:focus-visible {
  outline-color: var(--ink);
}

.news-card-podcast {
  background: var(--ink);
  color: #fff;
}

.news-card-podcast:hover {
  color: #fff;
  box-shadow: 0 20px 40px rgba(20, 35, 27, 0.2);
}

.news-img-inset {
  margin: 0.875rem 0.875rem 0;
  width: calc(100% - 1.75rem);
}

.news-img-play {
  position: relative;
  height: 13.75rem;
}

.news-img-play::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(12, 30, 20, 0.35);
}

.news-img-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  width: 4rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  border-radius: 50%;
  background: #fff;
}

.news-play::before {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 1.625rem;
  width: 0;
  height: 0;
  border-top: 0.625rem solid transparent;
  border-bottom: 0.625rem solid transparent;
  border-left: 1rem solid var(--ink);
}

.news-body {
  padding: 1.625rem;
}

.news-meta {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-meta > * + * {
  margin-left: 0.75rem;
}

.news-cat {
  color: var(--plum-text);
}

.news-date {
  color: #6b776f;
}

.news-card-campaign .news-cat {
  color: #fff;
}

.news-card-campaign .news-meta > * + * {
  margin-left: 0.625rem;
}

.news-pill {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
}

.news-card-podcast .news-cat {
  color: var(--terra-pale);
}

.news-card-podcast .news-date {
  color: #9fb3a6;
}

.news-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.news-text {
  margin-bottom: 0.75rem;
  color: #FFF1EA;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.news-more {
  margin-top: auto;
  color: var(--green);
  font-size: 0.9375rem;
  font-weight: 600;
}

.news-card-campaign .news-more,
.news-card-podcast .news-more {
  color: #fff;
}


/**
 * 6.0 Partners strip
 * ----------------------------------------------------------------------------
 */

.section-partners {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.partners-title {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.partner-grid {
  padding: 0 0.75rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.partner-cell {
  height: 6rem;
  margin: 0 -0.75rem;
  padding: 0.875rem 1.25rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0;
  line-height: 4.1875rem;
  text-align: center;
}

.partner-cell img {
  display: inline-block;
  max-width: 100%;
  max-height: 3.5rem;
  object-fit: contain;
  vertical-align: middle;
}


/**
 * 7.0 Footer
 * ----------------------------------------------------------------------------
 */

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 2rem;
  background: var(--green-dark);
  color: #DCEBD9;
}

.site-footer::before {
  content: "";
  position: absolute;
  right: -12.5rem;
  bottom: -18.75rem;
  width: 43.75rem;
  height: 43.75rem;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 1.875rem, rgba(255, 255, 255, 0.05) 1.875rem 1.9375rem);
  pointer-events: none;
}

.footer-top,
.footer-bottom {
  position: relative;
}

.footer-logo {
  display: block;
  margin-bottom: 0.75rem;
}

.footer-logo img {
  width: auto;
  height: 4.5rem;
  filter: brightness(0) invert(1);
}

.footer-claim {
  margin-bottom: 1.375rem;
  color: var(--green-soft);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.footer-news-title {
  margin-bottom: 1.375rem;
  color: #fff;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.footer-news-title .accent {
  color: var(--terra-pale);
  font-weight: 700;
}

.newsletter-pill {
  height: 3.5rem;
  padding: 0.3125rem;
  border-radius: 999px;
  background: #fff;
}

.newsletter-pill .form-control {
  min-width: 0;
  padding: 0 1.125rem;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: normal;
  box-shadow: none;
}

.newsletter-pill .form-control:focus {
  outline: 0;
  box-shadow: none;
}

.newsletter-btn {
  --bs-btn-border-radius: 999px;
  width: auto;
  margin: 0;
  padding: 0 1.375rem;
  background: var(--terra);
  color: #fff;
  font-size: 0.875rem;
  line-height: 2.875rem;
}

.newsletter-btn:hover {
  background: var(--terra-dark);
  color: #fff;
}

.newsletter-btn:focus-visible {
  outline: 3px solid var(--terra-pale);
  outline-offset: 2px;
}

.newsletter-done {
  padding: 0 1.375rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 3.5rem;
}

.newsletter-done-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.75rem;
  border-radius: 50%;
  background: #5FBF72;
}

.footer-title {
  margin-bottom: 0.625rem;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
}

.footer-links {
  margin: 0;
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.25rem;
}

.footer-links a {
  display: block;
  padding: 0.3125rem 0;
  color: #DCEBD9;
  font-size: 0.9375rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:focus-visible {
  outline: 2px solid var(--terra-pale);
  outline-offset: 2px;
}

.footer-bottom {
  padding-top: 4rem;
}

.footer-bottom-line {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #9fbfa4;
  font-size: 0.8125rem;
}

.network {
  text-align: center;
}

.network li {
  display: inline-block;
  margin: 0 0.5625rem;
}

.network a {
  display: inline-block;
  color: #fff;
  line-height: 1;
}

.lucide {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.network .lucide {
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: top;
}

.footer-legal {
  white-space: nowrap;
}

.footer-legal li {
  display: inline-block;
  margin-left: 1.25rem;
  vertical-align: middle;
}

.footer-legal li:first-child {
  margin-left: 0;
}

.footer-legal .lang-switch {
  font: inherit;
}

.footer-legal a {
  color: inherit;
}

.footer-legal a:hover {
  color: #fff;
}


/**
 * 8.0 OREMI floating button
 * ----------------------------------------------------------------------------
 */

.oremi-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 70;
}

.oremi-fab-panel {
  width: 100%;
  max-width: 21.25rem;
  margin: 0 0 0.75rem auto;
  padding: 1.375rem;
  border-radius: 1.5rem 1.5rem 0.25rem 1.5rem;
  background: var(--plum);
  box-shadow: 0 24px 60px rgba(46, 26, 56, 0.45);
  color: #fff;
}

.oremi-fab-name {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.oremi-fab-exit {
  height: 2.125rem;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: none;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}

.oremi-fab-exit:hover {
  background: rgba(255, 255, 255, 0.1);
}

.oremi-fab-text {
  margin: 0.75rem 0;
  color: #E0D3E8;
  font-size: 0.875rem;
  line-height: 1.5;
}

.oremi-fab-channel {
  min-height: 3.25rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem 1rem 1rem 0.25rem;
  background: var(--lilac-soft);
  color: var(--plum);
}

.oremi-fab-channel:hover {
  background: #fff;
  color: var(--plum);
}

.oremi-fab-channel-label {
  display: block;
  color: var(--plum-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.oremi-fab-channel-value {
  display: block;
  font-size: 1rem;
  font-weight: 600;
}

.oremi-fab-more {
  display: block;
  height: 2.875rem;
  border-radius: 999px;
  background: var(--lilac);
  color: var(--plum);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 2.875rem;
  text-align: center;
}

.oremi-fab-more:hover {
  background: #fff;
  color: var(--plum);
}

.oremi-fab-toggle {
  display: block;
  width: 100%;
  height: 3.5rem;
  padding: 0 1.375rem 0 1.125rem;
  border: 0;
  border-radius: 999px;
  background: var(--plum);
  box-shadow: 0 12px 30px rgba(46, 26, 56, 0.4);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 3.5rem;
  text-align: center;
  cursor: pointer;
}

.oremi-fab-toggle:focus-visible {
  outline-color: var(--lilac);
}

.oremi-fab-dot {
  display: inline-block;
  width: 0.625rem;
  height: 0.625rem;
  margin-right: 0.625rem;
  border-radius: 50%;
  background: var(--lilac);
  vertical-align: 0.0625rem;
}

.fab-open {
  display: none;
}

.oremi-fab.is-open .fab-open {
  display: inline;
}

.oremi-fab.is-open .fab-closed {
  display: none;
}


/**
 * Inner pages: Projets, Projet, Opportunités, Offre
 * ----------------------------------------------------------------------------
 */

/* Head, breadcrumb, title */
.trail {
  margin-bottom: 1.375rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

.trail ol {
  margin: -0.5rem 0 0;
  padding: 0;
  line-height: 1.25rem;
  list-style: none;
}

.trail li {
  display: inline-block;
  margin-top: 0.5rem;
}

.trail li:not(:last-child)::after {
  content: "/";
  margin: 0 0.5rem;
}

.trail a,
.trail a:hover {
  color: var(--muted);
}

.trail [aria-current="page"] {
  color: var(--ink);
}

.inner-head {
  padding: 2.5rem 0;
  background: var(--cream);
}

.inner-head-white {
  background: #fff;
}

.inner-head-list {
  padding-bottom: 3.5rem;
}

.inner-title {
  margin: 0 0 1.375rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.inner-title .accent {
  color: var(--green);
  font-weight: 700;
}

.inner-lead {
  max-width: 38.75rem;
  margin: 0;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

.inner-lead-wide {
  max-width: 45rem;
}

.inner-section {
  padding: 3.5rem 0;
}

.block-title {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.sub-title {
  margin: 0;
  font-size: 1.8125rem;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.btn-h46 { font-size: 0.875rem; line-height: 2.6875rem; }

/* Filters, chips, counters */
.filter-bar {
  position: sticky;
  top: var(--header-height);
  z-index: 20;
  padding: 0.875rem 0;
  border-bottom: 1px solid #E1DCCF;
  background: var(--cream);
}

.filter-chips {
  margin-top: -0.5rem;
}

.filter-chip {
  display: inline-block;
  height: 2.625rem;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2.4375rem;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.filter-chip:hover,
.filter-chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.seg {
  display: inline-block;
  padding: 0.25rem;
  border-radius: 999px;
  background: #ECE8DF;
  vertical-align: top;
}

.seg button {
  display: inline-block;
  height: 2.25rem;
  margin-right: 0.25rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 2.25rem;
  vertical-align: top;
  cursor: pointer;
}

.seg button:last-child {
  margin-right: 0;
}

.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.list-count {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.link-toggle {
  height: 2.625rem;
  padding: 0 0.25rem;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.link-toggle:hover {
  color: var(--ink);
}

.empty-box {
  padding: 4rem 1.5rem;
  background: #fff;
  text-align: center;
}

.empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.empty-text {
  padding: 2.5rem 0;
  color: var(--muted);
  font-size: 1.0625rem;
  font-weight: 500;
}

/* Pagination */
.pager {
  margin: 2.5rem -0.25rem 0;
  text-align: center;
}

.pager button {
  margin: 0.5rem 0.25rem 0;
  border: 1.5px solid var(--ink);
  background: none;
  color: var(--ink);
  font-weight: 600;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pager button:hover {
  background: var(--ink);
  color: #fff;
}

.pager button:disabled {
  background: none;
  color: var(--ink);
  opacity: 0.35;
  cursor: default;
}

.pager-step {
  height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 999px;
  font-size: 0.875rem;
  line-height: 2.5625rem;
}

.pager-num {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  font-size: 0.9375rem;
  line-height: 2.5625rem;
}

.pager button[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

/* Projets: list and cards */
.projects-list {
  padding: 1.75rem 0 4.5rem;
}

.proj-grid {
  margin-bottom: -1.5rem;
}

.proj-card {
  background: #fff;
  color: var(--ink);
  transition: box-shadow 0.25s;
}

.proj-card:hover {
  color: var(--ink);
  box-shadow: 0 20px 40px rgba(20, 35, 27, 0.12);
}

.proj-card:focus-visible {
  outline-offset: 3px;
}

.theme-dssr { --tc: var(--green); --ti: var(--green); --ts: var(--green-pale); }
.theme-auto { --tc: var(--terra); --ti: var(--terra-dark); --ts: #F6DDD2; }
.theme-plaidoyer { --tc: var(--gold); --ti: #8A6410; --ts: #F5E6BF; }

.proj-media {
  position: relative;
}

.proj-media img {
  display: block;
  width: 100%;
  height: 14.375rem;
  border-top: 0.375rem solid var(--tc);
  object-fit: cover;
}

.proj-status,
.proj-badge {
  position: absolute;
  top: 1.25rem;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.proj-status {
  left: 0.875rem;
  padding-left: 1.5625rem;
}

.proj-status::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-top: -0.21875rem;
  border-radius: 50%;
  background: #2FA35A;
}

.proj-status.is-done::before {
  background: #9aa39d;
}

.proj-badge {
  right: 0.875rem;
  background: var(--ink);
  color: #fff;
}

.proj-body {
  padding: 1.5rem 1.5rem 1.625rem;
}

.proj-theme {
  margin-bottom: 0.75rem;
  color: var(--ti);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proj-name {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.proj-desc {
  margin-bottom: 0.75rem;
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.proj-foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.proj-zones {
  margin: -0.375rem 0 0.875rem;
  font-size: 0;
  line-height: 0;
}

.proj-zone {
  display: inline-block;
  margin: 0.375rem 0.375rem 0 0;
  padding: 0.25rem 0.625rem;
  border: 1px solid #E1DCCF;
  border-radius: 999px;
  color: var(--body);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  vertical-align: top;
}

.proj-period {
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
}

.proj-more {
  color: var(--ti);
  font-size: 0.875rem;
  font-weight: 600;
}

/* Projet: tags, cover, facts, content blocks */
.project-head {
  padding: 2rem 0 0;
  background: var(--cream);
}

.tag-row {
  margin: -0.625rem 0 1.375rem;
}

.tag-row > * {
  display: inline-block;
  margin: 0.625rem 0.625rem 0 0;
  padding: 0.4375rem 0.875rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  vertical-align: top;
}

.tag-dark {
  background: var(--ink);
  color: #fff;
}

.tag-dark:hover {
  background: var(--green);
  color: #fff;
}

.tag-theme {
  background: var(--ts);
  color: var(--ti);
  transition: background 0.2s, color 0.2s;
}

.tag-theme:hover {
  background: var(--ti);
  color: #fff;
}

.tag-status {
  position: relative;
  padding-left: 1.875rem;
  background: #fff;
  color: var(--ink);
}

.tag-status::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.875rem;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-radius: 50%;
  background: #2FA35A;
}

.tag-status.is-done::before {
  background: #9aa39d;
}

.project-cover {
  display: block;
  width: 100%;
  height: 15rem;
  border-top: 0.5rem solid var(--tc);
  border-radius: 0 0 0 var(--media-radius);
  object-fit: cover;
}

.project-facts {
  padding: 1.75rem;
  background: #fff;
}

.fact {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-label {
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fact-value {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.project-facts .btn {
  display: block;
  width: 100%;
  margin-top: 1.375rem;
}

.project-text {
  max-width: 45rem;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
}

.obj-list {
  margin: 0;
  border-top: 1px solid #d9d3c5;
}

.obj-list li {
  position: relative;
  padding: 1rem 0 1rem 2.5rem;
  border-bottom: 1px solid #d9d3c5;
  font-size: 1rem;
  line-height: 1.65;
}

.obj-num {
  position: absolute;
  top: 1rem;
  left: 0;
  color: var(--ti);
  font-size: 1rem;
  font-weight: 600;
  line-height: normal;
}

.fig-card {
  padding: 1.375rem;
}

.fig-dark { background: var(--green-dark); color: #fff; }
.fig-soft { background: var(--ts); color: var(--ink); }
.fig-white { background: #fff; color: var(--ink); }

.fig-num {
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
}

.fig-dark .fig-num { color: #fff; }
.fig-soft .fig-num { color: var(--ti); }
.fig-white .fig-num { color: var(--green); }

.fig-label {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}

.gallery-grid {
  margin-bottom: -0.5rem;
}

.gallery-tile {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0.375rem;
  background: var(--line);
  cursor: zoom-in;
  transition: opacity 0.2s;
}

.gallery-tile:hover {
  opacity: 0.85;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card {
  position: relative;
  display: block;
  min-height: 6.25rem;
  padding: 1.125rem 1.125rem 1.125rem 8rem;
  background: var(--cream);
  color: var(--ink);
  transition: box-shadow 0.25s;
}

.related-card:hover {
  color: var(--ink);
  box-shadow: 0 16px 32px rgba(20, 35, 27, 0.1);
}

.related-card:focus-visible {
  outline-offset: 3px;
}

.related-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6.875rem;
  border-top: 0.3125rem solid var(--tc);
}

.related-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-card .proj-theme {
  display: block;
  margin-bottom: 0.375rem;
}

.related-card .proj-name {
  margin-bottom: 0.375rem;
}

.related-meta {
  color: var(--muted);
  font-size: 0.8125rem;
}

/* Photo gallery modal */
.gallery-modal .modal-content {
  border: 0;
  border-radius: 0;
  background: #0E1712;
  color: #fff;
}

.gallery-bar {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-title {
  overflow: hidden;
  font-size: 1.125rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-count {
  color: var(--green-soft);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gallery-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.375rem;
  line-height: 2.5rem;
  cursor: pointer;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.gallery-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.gallery-img {
  position: absolute;
  top: 50%;
  left: 50%;
  max-width: calc(100% - 8rem);
  max-height: calc(100% - 1.5rem);
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 3rem;
  height: 3rem;
  margin-top: -1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 3rem;
  cursor: pointer;
}

.gallery-prev { left: 0.75rem; }
.gallery-next { right: 0.75rem; }

.gallery-nav.is-off {
  opacity: 0.3;
}

.gallery-thumbs {
  padding: 0.75rem 1rem 1rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0;
  white-space: nowrap;
}

.gallery-thumb {
  display: inline-block;
  width: 2.75rem;
  height: 3.875rem;
  margin-right: 0.5rem;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: none;
  opacity: 0.55;
  vertical-align: top;
  cursor: pointer;
}

.gallery-thumb.is-active {
  border-color: var(--green-soft);
  opacity: 1;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Opportunités: list and calls */
.opp-list {
  border-top: 2px solid var(--ink);
}

.opp-row {
  display: block;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition: background 0.2s;
}

.opp-row:hover {
  background: var(--cream);
  color: var(--ink);
}

.opp-row:focus-visible {
  outline-offset: -3px;
}

.opp-row.is-closed {
  color: #6b776f;
}

.opp-row.is-closed:hover {
  color: var(--ink);
}

.opp-line {
  margin-bottom: -0.75rem;
}

.opp-meta {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.opp-meta > * + * {
  margin-left: 0.75rem;
}

.opp-type {
  color: var(--green);
}

.opp-place,
.is-closed .opp-type {
  color: #6b776f;
}

.opp-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.opp-contract {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.875rem;
}

.opp-deadline {
  display: block;
  color: var(--body);
  font-size: 0.875rem;
  font-weight: 500;
}

.opp-status {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.is-closed .opp-status {
  background: #ECE8DF;
  color: var(--muted);
}

.opp-go {
  display: block;
  color: var(--green);
  font-size: 0.9375rem;
  font-weight: 600;
}

.call-card {
  padding: 1.75rem;
}

.call-label {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
}

.call-title {
  margin: 0 0 1rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.call-text {
  font-size: 1rem;
  line-height: 1.6;
}

.call-join {
  border-radius: 0 0 0 4rem;
  background: var(--green-dark);
  color: #fff;
}

.call-join .call-label { color: var(--green-soft); }
.call-join .call-text { margin-bottom: 1.5rem; color: var(--green-pale); }

.call-warn {
  border-top: 0.375rem solid var(--terra);
  background: #fff;
}

.call-warn .call-label { color: var(--terra-dark); }
.call-warn .call-text { color: var(--body); }

/* Offre */
.offre-meta {
  color: var(--body);
  font-size: 1rem;
  font-weight: 500;
}

.offre-kind {
  margin-bottom: 1.25rem;
}

.offre-type {
  margin-right: 0.75rem;
  color: var(--green);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
  vertical-align: middle;
}

.offre-kind .opp-status {
  vertical-align: middle;
}

.offre-title {
  max-width: 1000px;
  margin: 0 0 1.25rem;
}

.offre-body {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.offre-text {
  color: #22322a;
  font-size: 1rem;
  line-height: 1.7;
}

.offre-summary {
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.offre-h2 {
  margin: 0 0 0.875rem;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.offre-list {
  margin: 0;
}

.offre-list li {
  position: relative;
  padding-left: 1.375rem;
}

.offre-list li + li {
  margin-top: 0.625rem;
}

.offre-list li::before {
  content: "";
  position: absolute;
  top: 0.6875rem;
  left: 0;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--terra);
}

.offre-list-green li::before { background: var(--green); }
.offre-list-gold li::before { background: var(--gold); }

.offre-how {
  padding: 1.5rem;
  background: var(--cream);
}

.offre-how .offre-h2 {
  margin-bottom: 0.75rem;
}

.offre-aside {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: 1.75rem;
  background: var(--cream);
}

.offre-aside .fact {
  border-bottom-color: #E1DBCE;
}

.offre-aside .fact-label {
  color: #6b776f;
}

.offre-aside .fact-value {
  font-weight: 600;
  line-height: normal;
}

.offre-aside .btn {
  display: block;
  width: 100%;
  margin-top: 1.375rem;
}

.offre-share {
  display: block;
  width: 100%;
  height: 2.75rem;
  margin-top: 0.625rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
}

.offre-other {
  display: block;
  padding: 1.5rem;
  background: #fff;
  color: var(--ink);
}

.offre-other:hover {
  color: var(--green);
}

.offre-other:focus-visible {
  outline-offset: 3px;
}

.offre-other .opp-meta {
  margin-bottom: 0.625rem;
  color: var(--green);
}

.offre-other .opp-title {
  margin-bottom: 0.625rem;
}

.offre-other-meta {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Short message after a copy action */
.toast-msg {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  z-index: 1100;
  max-width: min(32.5rem, 90vw);
  padding: 0.875rem 1.25rem 0.875rem 2.5rem;
  border-radius: 0.875rem;
  background: var(--ink);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
  transform: translateX(-50%);
}

.toast-msg::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 1.25rem;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.25rem;
  border-radius: 50%;
  background: var(--gold);
}


/**
 * 9.0 Reveal
 * ----------------------------------------------------------------------------
 */

.js .fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.js .fade-up.is-visible {
  opacity: 1;
  transform: none;
}


/**
 * 9.5 Inner pages: A propos, Domaine, Impact, OREMI (group A)
 * ----------------------------------------------------------------------------
 */

/* Shared: page hero, breadcrumb, section rhythm, chips */
.section-page {
  padding: 4rem 0;
}

.section-page.section-page-flush {
  padding-top: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 0 3rem;
  background: var(--cream);
}

.page-hero .container {
  position: relative;
}

.page-hero .eyebrow {
  margin-bottom: 1.375rem;
}

.crumbs {
  margin: 0 0 1.375rem;
  padding: 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.25rem;
  list-style: none;
}

.crumbs li {
  display: inline-block;
}

.crumbs li + li::before {
  content: "/";
  margin: 0 0.5rem;
}

.crumbs a {
  color: inherit;
}

.crumbs [aria-current="page"] {
  color: var(--ink);
}

.page-title {
  margin: 0 0 1.375rem;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-title .accent {
  color: var(--green);
  font-weight: 700;
}

.page-lead {
  max-width: 37.5rem;
  margin: 0;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

.page-media {
  position: relative;
  height: 16.25rem;
}

.page-media img {
  width: 100%;
  height: 100%;
  border-radius: 3.5rem 0 0 0;
  object-fit: cover;
}

.page-h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-h2 .accent {
  font-weight: 700;
}

.page-h2 .accent-green {
  color: var(--green);
}

.page-note {
  max-width: 27.5rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.page-section-dark {
  background: var(--green-dark);
  color: #fff;
}

.btn-h52 { font-size: 0.9375rem; line-height: 3.25rem; }
.btn-px24 { padding: 0 1.5rem; }

.chip-list {
  margin: -0.625rem -0.625rem 0 0;
  list-style: none;
}

.chip-list-sm {
  margin: -0.5rem -0.5rem 0 0;
}

.chip {
  display: inline-block;
  margin: 0.625rem 0.625rem 0 0;
  border-radius: 999px;
}

.chip-green {
  padding: 0.625rem 1.125rem;
  background: #E6F1E3;
  color: var(--green-dark);
  font-size: 0.9375rem;
  font-weight: 600;
}

.chip-mint {
  margin: 0.5rem 0.5rem 0 0;
  padding: 0.5rem 0.875rem;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: 0.875rem;
  font-weight: 500;
}

.chip-plum {
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.08);
  color: #E0D3E8;
  font-size: 0.875rem;
  font-weight: 500;
}

/* A propos */
.about-card {
  padding: 1.75rem;
  background: var(--cream);
}

.about-card-vision {
  border-radius: 0 0 0 5rem;
  background: var(--green-dark);
  color: #fff;
}

.about-card-text {
  margin: 0;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.about-card-vision .about-card-text {
  letter-spacing: -0.005em;
}

.value-card {
  --vf: var(--ink);
  --vs: var(--body);
  --vn: var(--green);
  --vd: var(--terra);
  position: relative;
  min-height: 18.75rem;
  padding: 1.75rem 1.625rem 1.875rem;
  background: var(--cream);
  color: var(--vf);
  transition: transform 0.25s;
}

.value-card:hover {
  transform: translateY(-0.25rem);
}

.value-card-dark { --vf: #fff; --vs: #CFE0CC; --vn: var(--green-soft); background: var(--green-dark); }
.value-card-mint { --vf: var(--green-dark); --vd: var(--green); background: var(--green-pale); }
.value-card-terra { --vf: #fff; --vs: #FBE6DC; --vn: #FBE6DC; --vd: #fff; background: var(--terra); }
.value-card-cream { --vd: var(--gold); }
.value-card-sand { --vn: #8A6410; background: #F5E6BF; }

.value-num {
  margin-bottom: 0.875rem;
  color: var(--vn);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.value-dot {
  position: absolute;
  top: 2rem;
  right: 1.625rem;
  width: 0.875rem;
  height: 0.875rem;
  border-radius: 50% 50% 50% 0;
  background: var(--vd);
}

.value-title {
  margin: auto 0 0.875rem;
  font-size: 1.3125rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.value-text {
  color: var(--vs);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.core-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.strategy-card {
  --sp: 1.75rem;
  --sf: var(--green-dark);
  --ss: var(--body);
  --sn: var(--green);
  position: relative;
  padding: var(--sp) var(--sp) var(--sp) calc(var(--sp) + 4.5rem + 1rem);
  background: #fff;
  color: var(--sf);
  transition: transform 0.25s;
}

.strategy-card:hover {
  transform: translateY(-0.25rem);
}

.strategy-card-1 { border-radius: 4.5rem 0 0 0; }
.strategy-card-2 { --sn: var(--green); border-radius: 0 4.5rem 0 0; background: var(--green-pale); }
.strategy-card-3 { --sf: #fff; --ss: #FBE6DC; --sn: #FBE6DC; border-radius: 0 0 0 4.5rem; background: var(--terra); }
.strategy-card-4 { --sf: var(--ink); --sn: #8A6410; border-radius: 0 0 4.5rem 0; background: #F5E6BF; }

.strategy-num {
  position: absolute;
  top: var(--sp);
  left: var(--sp);
  color: var(--sn);
  font-size: 3rem;
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.strategy-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.strategy-text {
  color: var(--ss);
  font-size: 1rem;
  line-height: 1.6;
}

.timeline-item {
  padding-top: 1.25rem;
  border-top: 3px solid var(--terra);
}

.timeline-year {
  margin-bottom: 0.875rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.timeline-text {
  color: var(--body);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4.5rem 4.5rem 0 0;
  background: var(--line);
  object-fit: cover;
  object-position: center 20%;
}

.team-photo-low {
  object-position: center 25%;
}

.team-name {
  margin: 0.625rem 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
}

.team-role {
  color: var(--muted);
  font-size: 0.875rem;
}

/* Domaine */
.domain-theme {
  --dc: var(--green);
  --dink: var(--green);
  --dsoft: var(--green-pale);
}

.domain-theme-terra { --dc: var(--terra); --dink: var(--terra-dark); --dsoft: #F6DDD2; }
.domain-theme-gold { --dc: var(--gold); --dink: #8A6410; --dsoft: #F5E6BF; }

.domain-hero {
  padding-bottom: 3.5rem;
  background: var(--dsoft);
}

.domain-hero .crumbs {
  color: var(--body);
}

.domain-hero .page-lead {
  max-width: 36.25rem;
}

.domain-media {
  height: 16.25rem;
  padding-left: 0.875rem;
}

.domain-media::before {
  content: "";
  position: absolute;
  top: 22%;
  left: 0;
  width: 0.75rem;
  height: 32%;
  background: var(--dc);
}

.domain-prio {
  position: relative;
  margin-bottom: 1.375rem;
  padding-left: 2.625rem;
  color: var(--dink);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.6875rem;
}

.domain-prio::before {
  content: "";
  position: absolute;
  top: 0.03125rem;
  left: 0;
  width: 1.625rem;
  height: 1.625rem;
  border-radius: 50%;
  background: var(--dc);
}

.domain-theme-terra .domain-prio::before {
  top: 0.375rem;
  width: 1.875rem;
  height: 0.9375rem;
  border-radius: 1.875rem 1.875rem 0 0;
}

.domain-theme-gold .domain-prio::before {
  top: 0.21875rem;
  left: 0.1875rem;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0;
  transform: rotate(45deg);
}

.approach-item {
  padding-top: 1.375rem;
  border-top: 3px solid var(--dc);
}

.approach-num {
  margin-bottom: 0.75rem;
  color: var(--dink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.approach-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.approach-text {
  color: var(--body);
  font-size: 1rem;
  line-height: 1.6;
}

.linked-card {
  display: block;
  background: #fff;
  color: var(--ink);
  transition: transform 0.25s, box-shadow 0.25s;
}

.linked-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 20px 40px rgba(20, 35, 27, 0.12);
  color: var(--ink);
}

.linked-card:focus-visible {
  outline-offset: 3px;
}

.linked-media {
  position: relative;
  border-top: 0.375rem solid var(--dc);
}

.linked-media img {
  width: 100%;
  height: 12.125rem;
  object-fit: cover;
}

.linked-status {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  padding: 0.375rem 0.75rem 0.375rem 1.5625rem;
  border-radius: 999px;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.linked-status::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0.75rem;
  width: 0.4375rem;
  height: 0.4375rem;
  margin-top: -0.21875rem;
  border-radius: 50%;
  background: #2FA35A;
}

.linked-status-done::before {
  background: #9aa39d;
}

.linked-body {
  padding: 1.375rem 1.5rem 1.625rem;
}

.linked-theme {
  margin-bottom: 0.625rem;
  color: var(--dink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.linked-title {
  margin: 0 0 0.625rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.linked-meta {
  color: var(--muted);
  font-size: 0.875rem;
}

.other-domain {
  position: relative;
  display: block;
  min-height: 5.875rem;
  padding: 1.5rem 3.875rem 1.5rem 4.5rem;
  background: #fff;
  color: var(--ink);
  transition: color 0.2s;
}

.other-domain:hover {
  color: var(--green);
}

.other-domain:focus-visible {
  outline-offset: 3px;
}

.other-domain-diamond {
  padding-left: 3.875rem;
}

.other-domain-mark {
  position: absolute;
  top: 50%;
  left: 1.5rem;
  background: #C8542B;
}

.other-domain-half .other-domain-mark {
  width: 1.875rem;
  height: 0.9375rem;
  margin-top: -0.46875rem;
  border-radius: 1.875rem 1.875rem 0 0;
}

.other-domain-circle .other-domain-mark {
  width: 1.625rem;
  height: 1.625rem;
  margin-top: -0.8125rem;
  border-radius: 50%;
  background: var(--green);
}

.other-domain-diamond .other-domain-mark {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: -0.625rem;
  background: var(--gold);
  transform: rotate(45deg);
}

.other-domain-num {
  display: block;
  margin-bottom: 0.125rem;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.other-domain-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.other-domain-arrow {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  margin-top: -0.9375rem;
  font-size: 1.25rem;
  line-height: 1.875rem;
}

/* Impact */
.impact-hero {
  background: var(--green-dark);
  color: #fff;
}

.impact-hero::before {
  content: "";
  position: absolute;
  top: -25vw;
  right: -20vw;
  width: 70vw;
  height: 70vw;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 2.375rem, rgba(255, 255, 255, 0.05) 2.375rem 2.4375rem);
  pointer-events: none;
}

.impact-hero {
  padding-bottom: 3.5rem;
}

.impact-hero .crumbs {
  color: var(--green-soft);
}

.impact-hero .crumbs [aria-current="page"] {
  color: #fff;
}

.impact-hero .page-title {
  max-width: 1000px;
}

.impact-hero .page-title .accent {
  color: var(--terra-pale);
}

.impact-hero .page-lead {
  max-width: 38.75rem;
  color: #CFE0CC;
}

.impact-grid {
  padding: 0 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.impact-cell {
  height: 100%;
  margin: 0 -0.75rem;
  padding: 2rem 1.75rem;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.impact-value {
  margin-bottom: 0.625rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.impact-label {
  color: #DCEBD9;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
}

.impact-figure {
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 0 0 0 6rem;
  background: var(--cream);
}

.map-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.map-main {
  width: 12.5rem;
}

.map-svg .c {
  fill: #E4DED2;
  stroke: #fff;
  stroke-width: 0.6;
  stroke-linejoin: round;
}

.map-svg .c.on {
  fill: var(--green);
}

.map-zoom {
  border: 1.5px dashed var(--terra);
}

.map-zoom .c {
  stroke-width: 1.2;
}

.map-box {
  fill: none;
  stroke: var(--terra);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
}

.map-sud,
.map-name,
.map-commune,
.map-sea {
  font-family: var(--font-main);
}

.map-sud {
  fill: var(--terra);
  font-size: 1.25rem;
  font-weight: 700;
}

.map-name {
  fill: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
}

.map-commune {
  fill: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  stroke: #fff;
  stroke-width: 3;
  stroke-linejoin: round;
  paint-order: stroke;
}

.map-sea {
  fill: #6b7a70;
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.map-caption {
  margin-top: 0.5rem;
  color: var(--terra);
  font-size: 0.75rem;
  font-weight: 600;
}

.map-legend {
  margin: 0.5rem 0 0;
  color: var(--body);
  font-size: 0.8125rem;
  font-weight: 500;
  list-style: none;
  text-align: center;
}

.map-legend li {
  display: inline-block;
  margin: 0.5rem 0.625rem 0;
}

.map-legend li::before {
  content: "";
  display: inline-block;
  width: 0.875rem;
  height: 0.875rem;
  margin-right: 0.5rem;
  background: var(--green);
  vertical-align: middle;
}

.map-legend li + li::before {
  height: 0;
  background: none;
  border-top: 1.5px solid #5f6e64;
}

.story-card {
  background: var(--green-dark);
  color: #fff;
  transition: transform 0.25s;
}

.story-card:hover {
  transform: translateY(-0.25rem);
  color: #fff;
}

.story-card:focus-visible {
  outline-offset: 3px;
}

.story-card-img {
  width: calc(100% - 2rem);
  height: 16.25rem;
  margin: 1rem 1rem 0;
  border-radius: 3.5rem 0 0 0;
  object-fit: cover;
}

.story-card-title {
  margin-bottom: 0.875rem;
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.story-card-who {
  margin-top: auto;
  color: var(--green-soft);
  font-size: 0.8125rem;
  font-weight: 500;
}

.plan-card {
  padding: 1.75rem 2rem;
  background: #fff;
}

.plan-info {
  position: relative;
  min-height: 4.875rem;
}

.plan-info::before,
.ep-head-text::before {
  content: "";
  display: inline-block;
  height: 4.875rem;
  vertical-align: middle;
}

.plan-text {
  display: inline-block;
  width: 100%;
  padding-left: 4.75rem;
  vertical-align: middle;
}

.plan-cover {
  position: absolute;
  top: 50%;
  left: 0;
  width: 3.5rem;
  height: 4.875rem;
  box-shadow: 0 4px 12px rgba(20, 35, 27, 0.18);
  object-fit: cover;
  transform: translateY(-50%);
}

.plan-title {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.plan-meta {
  color: var(--muted);
  font-size: 0.875rem;
}

/* OREMI */
.oremi-hero {
  position: relative;
  overflow: hidden;
  padding: 2rem 0 4rem;
  background: var(--plum);
  color: var(--lilac-soft);
}

.oremi-hero::before {
  content: "";
  position: absolute;
  top: -20vw;
  right: -15vw;
  width: 60vw;
  height: 60vw;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 2.125rem, rgba(255, 255, 255, 0.045) 2.125rem 2.1875rem);
  pointer-events: none;
}

.oremi-hero .container {
  position: relative;
}

.oremi-hero .page-title {
  max-width: 1100px;
  margin-bottom: 1.75rem;
  color: #fff;
  letter-spacing: -0.045em;
}

.oremi-hero .page-title .accent {
  color: var(--lilac);
}

.oremi-hero .page-lead {
  max-width: 38.75rem;
  color: #E0D3E8;
}

.oremi-exit {
  width: auto;
  height: 3rem;
  padding: 0 1.25rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: none;
  color: #fff;
  font-size: 0.875rem;
  line-height: 2.8125rem;
  cursor: pointer;
}

.oremi-exit:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.oremi-exit:focus-visible {
  outline-color: var(--lilac);
}

.channel-card {
  position: relative;
  display: block;
  padding: 1.75rem;
  border-radius: 2rem 2rem 2rem 0.375rem;
  background: var(--lilac-soft);
  color: var(--plum);
  transition: transform 0.2s, background 0.2s;
}

.channel-card:hover {
  transform: translateY(-0.25rem);
  background: #fff;
  color: var(--plum);
}

.channel-card:focus-visible {
  outline-color: var(--lilac);
}

.channel-label {
  display: block;
  min-height: 2.0625rem;
  color: var(--plum-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.channel-arrow {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-size: 1.375rem;
  line-height: 2.0625rem;
}

.channel-value {
  display: block;
  margin-top: 1.75rem;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
}

.oremi-steps {
  padding: 3.5rem 0;
  background: var(--plum-deep);
  color: #fff;
}

.step-item {
  padding-top: 1.375rem;
  border-top: 2px solid #C9A6DA;
}

.step-num {
  margin-bottom: 0.75rem;
  color: var(--lilac);
  font-size: 1rem;
  font-weight: 600;
}

.step-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.step-text {
  color: #E0D3E8;
  font-size: 1rem;
  line-height: 1.55;
}

.oremi-faq {
  padding: 3.5rem 0;
  background: var(--lilac-soft);
  color: var(--plum);
}

.oremi-faq .page-h2 .accent {
  color: var(--plum-text);
}

.faq-narrow {
  max-width: 55.5rem;
  margin: 0 auto;
}

.faq-list {
  border-top: 2px solid var(--plum);
}

.faq-item {
  border-bottom: 1px solid #C9A6DA;
}

.faq-item summary {
  position: relative;
  display: block;
  min-height: 2.75rem;
  padding: 1.375rem 3.5rem 1.375rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: "";
  display: inline-block;
  height: 2.25rem;
  vertical-align: middle;
}

.faq-q {
  display: inline-block;
  vertical-align: middle;
}

.faq-icon {
  position: absolute;
  top: 50%;
  right: 0;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -1.125rem;
  border-radius: 50%;
  background: var(--plum);
  color: #fff;
  line-height: 2.25rem;
  text-align: center;
}

.faq-icon .lucide {
  width: 1.125rem;
  height: 1.125rem;
  vertical-align: -0.1875rem;
}

.faq-icon .lucide-minus,
.faq-item[open] .faq-icon .lucide-plus {
  display: none;
}

.faq-item[open] .faq-icon .lucide-minus {
  display: inline-block;
}

.faq-item summary:focus-visible {
  outline: 3px solid var(--plum-accent);
  outline-offset: 2px;
}

.faq-answer {
  margin: 0;
  padding: 0 3.5rem 1.5rem 0;
  color: #4A3356;
  font-size: 1rem;
  line-height: 1.7;
}

.oremi-note {
  position: relative;
  margin-top: 2.25rem;
  padding: 1.375rem 1.5rem 1.375rem 3.125rem;
  border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
  background: #fff;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.oremi-note::before {
  content: "";
  position: absolute;
  top: 1.8125rem;
  left: 1.5rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--terra);
}


/**
 * 9.6 Library pages: ressources, mediatheque, podcast, episode, video (group C)
 * ----------------------------------------------------------------------------
 */

/* Shared: breadcrumb, titles, chips, counts */
.lib-crumbs {
  margin-top: -0.5rem;
  font-size: 0;
}

.lib-crumbs > li {
  display: inline-block;
  margin: 0.5rem 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: normal;
}

.lib-crumbs a {
  color: inherit;
}

.lib-crumbs a:hover {
  color: var(--ink);
}

.lib-crumbs .crumb-current {
  color: var(--ink);
}

.lib-crumbs-light > li {
  color: #9fb3a6;
}

.lib-crumbs-light a:hover,
.lib-crumbs-light .crumb-current {
  color: #fff;
}

.lib-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lib-title .accent {
  font-weight: 700;
}

.lib-title .accent-green {
  color: var(--green);
}

.lib-title .accent-terra {
  color: var(--terra-pale);
}

.lib-intro {
  max-width: 38.75rem;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
}

.lib-intro-light {
  max-width: 40rem;
  color: #c9d6cd;
}

.lib-label {
  color: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lib-h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lib-counttext {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-h48 { font-size: 0.9375rem; line-height: 3rem; }

.btn-h52.btn-outline-white { line-height: 3.0625rem; }

.btn-line-white {
  padding: 0 1.375rem;
  border: 1.5px solid #fff;
  color: #fff;
}

.btn-line-white.btn-h48 {
  line-height: 2.8125rem;
}

.btn-line-white:hover {
  background: #fff;
  color: var(--ink);
}

.lib-chip-rows {
  margin-top: -0.5rem;
  font-size: 0;
}

.lib-chip-group {
  display: block;
  margin: 0.25rem 0 0;
  vertical-align: top;
}

.lib-chip-label {
  display: inline-block;
  height: 2.75rem;
  margin: 0.5rem 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 2.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: top;
}

.lib-chip {
  position: relative;
  display: inline-block;
  height: 2.75rem;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2.5625rem;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
}

.lib-chip:hover,
.lib-chip[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.lib-chip-sm {
  height: 2.625rem;
  line-height: 2.4375rem;
}

.lib-chip-show {
  padding: 0 1rem 0 2.125rem;
  background: #fff;
}

.lib-chip-show:hover,
.lib-chip-show[aria-pressed="true"] {
  background: var(--ink);
}

.lib-chip-dot {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: currentColor;
}

.lib-chip-dot-doxami { background: var(--terra); }
.lib-chip-dot-oremi { background: var(--green); }
.lib-chip-dot-hs { background: #6B3A7A; }

.lib-chip-n {
  margin-left: 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.65;
}

.lib-search {
  position: relative;
  display: block;
  max-width: 35rem;
  height: 3.5rem;
  margin: 0;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
}

.lib-search:focus-within {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

.lib-search [data-lucide],
.lib-search .lucide {
  position: absolute;
  top: 1.15625rem;
  left: 1.375rem;
  stroke-width: 2.2;
  color: var(--ink);
}

.lib-search input {
  display: block;
  width: 100%;
  height: 3.3125rem;
  padding: 0 2.75rem 0 3.25rem;
  border: 0;
  border-radius: 999px;
  outline: 0;
  background: none;
  color: var(--ink);
  font-size: 1rem;
  line-height: 3.3125rem;
}

.lib-search-clear {
  position: absolute;
  top: 0.46875rem;
  right: 0.625rem;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #F1EEE6;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 2.25rem;
  cursor: pointer;
}

.lib-search-clear:hover {
  background: #E2DDD2;
}

.lib-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.lib-search .lib-search-clear .lucide {
  position: static;
  vertical-align: -0.125em;
}

.lib-search-pod {
  max-width: none;
  height: 3.25rem;
}

.lib-search-pod [data-lucide],
.lib-search-pod .lucide {
  top: 1.03125rem;
  left: 1.25rem;
}

.lib-search-pod input {
  height: 3.0625rem;
  padding-left: 3.125rem;
  line-height: 3.0625rem;
}

/* Ressources */
.lib-head {
  padding: 2.5rem 0 2.5rem;
  background: #fff;
}

.res-feat {
  padding: 0 0.75rem;
  background: var(--green-dark);
  color: #fff;
}

.res-feat-cell {
  position: relative;
  height: 100%;
  margin: 0 -0.75rem;
  padding: 1.75rem;
}

.res-feat-cover-cell {
  min-height: 17.5rem;
  border-radius: 0 0 3.5rem 0;
  background: var(--green);
  text-align: center;
}

.res-feat-cover {
  width: min(15rem, 62%);
  aspect-ratio: 800 / 1131;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  transform: rotate(-2deg);
}

.res-feat-label {
  margin-bottom: 1rem;
  color: var(--green-soft);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
}

.res-feat-title {
  margin-bottom: 1rem;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.res-feat-desc {
  margin-bottom: 1rem;
  color: var(--green-pale);
  font-size: 1rem;
  line-height: 1.7;
}

.res-feat-meta {
  margin-bottom: 1.5rem;
  color: var(--green-soft);
  font-size: 0.875rem;
  font-weight: 500;
}

.res-feat .btn-white {
  padding: 0 1.5rem;
}

.res-feat .btn-white:hover {
  background: var(--green-pale);
}

.res-feat .btn-outline-white {
  padding: 0 1.375rem;
}

.lib-filters {
  padding: 1.5rem 0 0.75rem;
  background: #fff;
}

.lib-filters .lib-chip-rows {
  margin-top: 0.25rem;
}

.lib-list {
  padding: 0.75rem 0 4.5rem;
  background: #fff;
}

.lib-count {
  margin-bottom: 0.5rem;
  padding: 1rem 0 1.25rem;
  border-top: 2px solid var(--ink);
}

.lib-reset {
  height: 2.25rem;
  padding: 0 0.875rem;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
  cursor: pointer;
}

.res-grid {
  margin-bottom: -3rem;
}

.res-card {
  min-width: 0;
}

.res-cover {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #F1EEE6;
  box-shadow: 0 10px 24px rgba(20, 35, 27, 0.1);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
}

.res-cover:hover {
  box-shadow: 0 18px 36px rgba(20, 35, 27, 0.18);
  transform: translateY(-0.25rem);
}

.res-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.res-fmt {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.3125rem 0.625rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: normal;
}

.res-ph {
  position: absolute;
  inset: 0;
  color: var(--ink);
}

.res-ph-gold {
  background: var(--gold);
}

.res-ph-cream {
  border: 1.5px solid var(--ink);
  background: var(--cream);
}

.res-ph-brand,
.res-ph-name,
.res-ph-kind {
  position: absolute;
  left: 1.375rem;
}

.res-ph-brand {
  top: 1.375rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.res-ph-name {
  top: 50%;
  right: 1.375rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  text-wrap: balance;
  transform: translateY(-50%);
}

.res-ph-kind {
  bottom: 1.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.res-meta {
  margin-top: 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.res-meta > span + span {
  margin-left: 0.625rem;
}

.res-type-rapport { color: var(--green); }
.res-type-bd { color: var(--terra-dark); }
.res-type-doc { color: #8A6410; }

.res-theme {
  color: #6b776f;
}

.res-title {
  margin: 0.875rem 0 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.res-desc {
  margin-top: 0.875rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.res-info {
  margin-top: 0.875rem;
  color: #6b776f;
  font-size: 0.8125rem;
  font-weight: 500;
}

.res-actions {
  margin-top: auto;
  padding-top: 0.625rem;
  font-size: 0;
}

.res-btn {
  display: inline-block;
  height: 2.75rem;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0 1.125rem;
  border: 1.5px solid var(--green);
  border-radius: 999px;
  background: transparent;
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 2.5625rem;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.res-btn:hover {
  background: var(--green);
  color: #fff;
}

.res-btn-solid {
  background: var(--green);
  color: #fff;
}

.res-btn-solid:hover {
  background: var(--green-dark);
}

.lib-empty {
  padding: 3.5rem 0 0;
}

.lib-empty-title {
  margin-bottom: 0.875rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.lib-empty-btn {
  height: 2.875rem;
  padding: 0 1.375rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

/* Comic reader */
.reader {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: #0E1712;
  color: #fff;
}

.reader-box {
  height: 100%;
}

.reader-bar {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.reader-bar > * + * {
  margin-left: 1rem;
}

.reader-title {
  min-width: 0;
  overflow: hidden;
  font-size: 1.125rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reader-count {
  color: var(--green-soft);
  font-size: 0.875rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.reader-pdf {
  height: 2.5rem;
  padding: 0 1rem;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 2.3125rem;
}

.reader-pdf:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.reader-close {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.375rem;
  line-height: 2.5rem;
  cursor: pointer;
}

.reader-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.reader-stage {
  min-height: 0;
  padding: 0.75rem;
}

.reader-stage > * + * {
  margin-left: 0.5rem;
}

.reader-nav {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 3rem;
  cursor: pointer;
}

.reader-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.reader-img {
  max-width: calc(100% - 8rem);
  max-height: 100%;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  cursor: pointer;
}

.reader-thumbs {
  padding: 0.75rem 1rem 1rem;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.reader-thumbs button {
  flex-shrink: 0;
  width: 2.75rem;
  height: 3.875rem;
  padding: 0;
  border: 2px solid transparent;
  background-position: center top;
  background-size: cover;
  opacity: 0.55;
  cursor: pointer;
}

.reader-thumbs button + button {
  margin-left: 0.5rem;
}

.reader-thumbs button.is-current {
  border-color: var(--green-soft);
  opacity: 1;
}

/* Media library */
.media-hero {
  padding: 2.5rem 0 4rem;
  background: var(--ink);
  color: #fff;
}

.media-hero .lib-title {
  color: #fff;
}

.player-card {
  padding: 1.375rem;
  background: #1E3328;
}

.ep-head {
  position: relative;
  min-height: 6.875rem;
  padding-left: 8.125rem;
}

.ep-head-text {
  min-height: 6.875rem;
}

.ep-head-text::before {
  height: 6.875rem;
}

.ep-head-text-cell {
  display: inline-block;
  width: 100%;
  vertical-align: middle;
}

.ep-cover {
  position: absolute;
  top: 50%;
  left: 0;
  width: 6.875rem;
  height: 6.875rem;
  border-radius: 4rem 0 0 0;
  transform: translateY(-50%);
}

.ep-cover-doxami { background: var(--terra); }
.ep-cover-oremi { background: var(--green); }
.ep-cover-hs { background: #6B3A7A; }

.ep-cover-code {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.ep-head-label {
  color: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-head-title {
  display: block;
  margin-top: 0.375rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

.ep-head-title:hover {
  color: #fff;
  text-decoration: underline;
}

.ep-head-sub {
  margin-top: 0.375rem;
  color: #9fb3a6;
  font-size: 0.875rem;
}

.player-btn {
  position: relative;
  display: block;
  width: 3.75rem;
  height: 3.75rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: transform 0.2s;
}

.player-btn:hover {
  transform: scale(1.06);
}

.player-btn:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 3px;
}

.player-btn::before {
  content: "";
  position: absolute;
  top: calc(50% - 0.625rem);
  left: calc(50% - 0.34375rem);
  border-top: 0.625rem solid transparent;
  border-bottom: 0.625rem solid transparent;
  border-left: 1rem solid var(--ink);
}

.player-btn::after {
  content: "";
  position: absolute;
  top: calc(50% - 0.5625rem);
  left: calc(50% + 0.15625rem);
  display: none;
  width: 0.3125rem;
  height: 1.125rem;
  background: var(--ink);
}

.player-btn.is-playing::before {
  left: calc(50% - 0.46875rem);
  width: 0.3125rem;
  height: 1.125rem;
  border: 0;
  background: var(--ink);
}

.player-btn.is-playing::after {
  display: block;
}

.player-btn-lg {
  width: 4rem;
  height: 4rem;
}

.wave {
  height: 3.25rem;
}

.wave-lg {
  height: 3.5rem;
}

.wave span {
  flex: 1;
  height: var(--h);
  border-radius: 0.125rem;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.2s;
}

.wave span + span {
  margin-left: 0.125rem;
}

.wave span.is-played {
  background: var(--terra);
}

.player-time {
  color: #9fb3a6;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.media-follow {
  color: #9fb3a6;
  font-size: 0.875rem;
  font-weight: 500;
}

.media-follow a {
  display: inline-block;
  margin-left: 1rem;
  color: #fff;
  vertical-align: middle;
}

.media-follow a:hover {
  color: var(--green-soft);
}

.ep-list-head {
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.ep-list-label {
  color: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-list-count {
  color: #9fb3a6;
  font-size: 0.8125rem;
  font-weight: 500;
}

.ep-row {
  display: block;
  min-height: 2.75rem;
  padding: 1rem 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.ep-row:hover {
  background: #1E3328;
  color: #fff;
}

.ep-row:focus-visible {
  outline-offset: -3px;
}

.ep-n {
  display: block;
  width: 1.75rem;
  color: #9fb3a6;
  font-size: 1rem;
  font-weight: 600;
}

.ep-row-title {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.25;
  text-wrap: pretty;
}

.ep-row-meta {
  display: block;
  margin-top: 0.25rem;
  color: #9fb3a6;
  font-size: 0.8125rem;
}

.ep-row-dur {
  color: #9fb3a6;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.ep-list-head + div + .btn {
  margin-top: 1.25rem;
}

.media-videos {
  padding: 3.5rem 0;
  background: var(--cream);
}

.vid-grid {
  margin-bottom: -2.25rem;
}

.vid-card {
  display: block;
  color: var(--ink);
}

.vid-card:hover {
  color: var(--green);
}

.vid-card:focus-visible {
  outline-offset: 0.25rem;
}

.vid-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
}

.vid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vid-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(12, 30, 20, 0.25);
}

.vid-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  margin: -2rem 0 0 -2rem;
  border-radius: 50%;
  background: var(--ink);
}

.vid-play::before {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 1.65625rem;
  border-top: 0.625rem solid transparent;
  border-bottom: 0.625rem solid transparent;
  border-left: 1rem solid #fff;
}

.vid-play-sm {
  width: 3.5rem;
  height: 3.5rem;
  margin: -1.75rem 0 0 -1.75rem;
}

.vid-play-sm::before {
  top: 1.21875rem;
  left: 1.4375rem;
  border-top-width: 0.5625rem;
  border-bottom-width: 0.5625rem;
  border-left-width: 0.875rem;
}

.vid-dur {
  position: absolute;
  right: 0.625rem;
  bottom: 0.625rem;
  z-index: 1;
  padding: 0.25rem 0.5rem;
  background: var(--ink);
  color: #fff;
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 500;
}

.vid-cat {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vid-cat-terra-dark { color: var(--terra-dark); }
.vid-cat-green { color: var(--green); }
.vid-cat-plum { color: #6B3A7A; }
.vid-cat-terra { color: var(--terra); }

.vid-title {
  display: block;
  margin-top: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.lib-pager {
  margin: 3rem -0.25rem 0;
  font-size: 0;
  text-align: center;
}

.lib-pager button {
  display: inline-block;
  height: 2.75rem;
  margin: 0.5rem 0.25rem 0;
  padding: 0 1.125rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: none;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 2.5625rem;
  vertical-align: top;
  cursor: pointer;
}

.lib-pager button:hover {
  background: var(--ink);
  color: #fff;
}

.lib-pager button:disabled {
  opacity: 0.35;
  cursor: default;
}

.lib-pager button:disabled:hover {
  background: none;
  color: var(--ink);
}

.lib-pager .pager-page {
  width: 2.75rem;
  padding: 0;
  font-size: 0.9375rem;
}

.lib-pager .pager-page[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

/* Podcast list */
.pod-head {
  padding: 2.5rem 0 3rem;
  background: var(--ink);
  color: #fff;
}

.pod-head .lib-title {
  color: #fff;
}

.pod-list {
  padding: 2rem 0 4.5rem;
  background: var(--cream);
}

.pod-sort {
  height: 3.25rem;
  padding: 0 1.25rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 3.0625rem;
  cursor: pointer;
}

.pod-sort:hover {
  background: var(--ink);
  color: #fff;
}

.lib-chip-rows-seasons {
  margin-top: -0.5rem;
}

.pod-rows {
  border-top: 1px solid #E2DDD2;
}

.pod-row {
  display: block;
  padding: 1.25rem 0;
  border-bottom: 1px solid #E2DDD2;
  color: var(--ink);
}

.pod-row:hover {
  color: var(--green);
}

.pod-n {
  display: block;
  width: 2.75rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.pod-n-doxami { color: var(--terra); }
.pod-n-oremi { color: var(--green); }
.pod-n-hs { color: #6B3A7A; }

.pod-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.pod-meta {
  display: block;
  margin-top: 0.375rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.pod-dur {
  color: var(--muted);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: nowrap;
}

.pod-empty {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.lib-pager-pod {
  margin-top: 2.5rem;
}

/* Episode */
.ep-hero {
  padding: 2.5rem 0 3rem;
  background: var(--ink);
  color: #fff;
}

.ep-cover-xl {
  position: relative;
  top: 0;
  display: block;
  width: 6rem;
  height: auto;
  aspect-ratio: 1;
  border-radius: 4.5rem 0 0 0;
  transform: none;
}

.ep-cover-xl .ep-cover-code {
  right: 0.875rem;
  bottom: 0.875rem;
}

.ep-hero-label {
  margin-bottom: 0.75rem;
  color: var(--green-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-hero-label a {
  color: var(--green-soft);
}

.ep-hero-label a:hover {
  color: var(--green-soft);
  text-decoration: underline;
}

.ep-hero .lib-title {
  margin-bottom: 0.75rem;
  color: #fff;
}

.ep-hero-guest {
  color: #c9d6cd;
  font-size: 1rem;
}

.ep-hero-player {
  margin-top: 1.5rem;
}

.ep-body {
  padding: 2.5rem 0 4.5rem;
  background: var(--cream);
}

.ep-h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.ep-lead {
  max-width: 45rem;
  margin-top: 0.875rem;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.ep-next {
  display: block;
  padding: 1.25rem 1.375rem;
  border: 1.5px solid #E2DDD2;
  background: #fff;
  color: var(--ink);
  text-align: right;
}

.ep-next:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.ep-next-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ep-next-title {
  display: block;
  margin-top: 0.375rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Video */
.vid-hero {
  padding: 2.5rem 0 2.5rem;
  background: var(--ink);
  color: #fff;
}

.vid-hero .lib-title {
  max-width: 60rem;
  color: #fff;
}

.vid-meta {
  color: #9fb3a6;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vid-meta > span + span {
  margin-left: 0.75rem;
}

.vid-meta-cat {
  color: var(--terra-pale);
}

.vid-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 0.5rem;
  background: #000;
}

.vid-body {
  padding: 2.5rem 0 4.5rem;
  background: var(--cream);
}

.vid-desc {
  max-width: 47.5rem;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}


/**
 * 9.8 News, article, contact (group D)
 * ----------------------------------------------------------------------------
 */

/* Shared parts used by the three pages */
.page-hero.page-hero-filter {
  padding-bottom: 2rem;
}

.page-lead-wide {
  max-width: 38.75rem;
}

.page-lead-sm {
  max-width: 32.5rem;
}

.page-h2 .accent-terra {
  color: var(--terra);
}

.eyebrow-terra {
  margin-bottom: 1.125rem;
  color: var(--terra-dark);
}

.news-count {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.cat-annonce { color: #6E3D86; }
.cat-terrain { color: var(--green); }
.cat-formation { color: var(--green-dark); }
.cat-mobilisation { color: #8A6410; }
.cat-recrutement { color: var(--terra-dark); }

.btn-terra {
  padding: 0 1.25rem;
  background: var(--terra);
  color: #fff;
}

.btn-terra.btn-h46 {
  line-height: 2.875rem;
}

.btn-terra:hover {
  background: var(--terra-dark);
  color: #fff;
}

.btn-terra:focus-visible {
  outline-color: var(--ink);
  outline-offset: 2px;
}

.btn-outline-terra {
  padding: 0 1.25rem;
  border: 1.5px solid var(--terra);
  color: var(--terra-dark);
}

.btn-outline-terra:hover {
  background: var(--terra);
  color: #fff;
}

/* News: filter chips */
.chip-row {
  margin: -0.5rem -0.5rem 0 0;
}

.chip-filter {
  height: 2.625rem;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0 1rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 2.4375rem;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.chip-filter:hover,
.chip-filter[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.chip-filter:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

/* News: list */
.news-section {
  padding: 1rem 0 4.5rem;
  background: var(--cream);
}

.news-feature {
  color: var(--ink);
}

.news-feature:hover .news-feature-title,
.news-tile:hover .news-tile-title {
  color: var(--green);
}

.news-feature-img {
  display: block;
  width: 100%;
  height: 15rem;
  border-radius: 0 0 0 3.5rem;
  object-fit: cover;
}

.news-feature-title {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.news-feature-text {
  margin: 0;
  color: var(--body);
  font-size: 1rem;
  line-height: 1.7;
}

.news-grid {
  margin-top: -2.75rem;
}

.news-tile {
  color: var(--ink);
}

.news-tile-img {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.news-tile-wide .news-tile-img {
  aspect-ratio: 16 / 10;
}

.news-tile .news-meta {
  margin-bottom: 0.75rem;
}

.news-tile-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.news-tile-wide .news-tile-title {
  margin-bottom: 0;
}

.news-tile-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.news-pager {
  text-align: center;
}

.news-pager .pager-row {
  margin: 0 -0.25rem -0.5rem;
  font-size: 0;
}

.news-pager .pager-step,
.news-pager .pager-num {
  display: inline-block;
  margin: 0 0.25rem 0.5rem;
  padding: 0;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  line-height: 2.5625rem;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.news-pager .pager-step {
  height: 2.75rem;
  padding: 0 1.125rem;
  border-radius: 999px;
  font-size: 0.875rem;
}

.news-pager .pager-num {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  font-size: 0.9375rem;
}

.news-pager .pager-step:hover,
.news-pager .pager-num:hover,
.news-pager .pager-num[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

.news-pager .pager-step:disabled,
.news-pager .pager-step[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
}

.news-pager .pager-step:disabled:hover,
.news-pager .pager-step[aria-disabled="true"]:hover {
  background: transparent;
  color: var(--ink);
}

.news-pager button:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

/* News: press review */
.press-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--line);
  background: #fff;
}

.press-list {
  border-bottom: 1px solid var(--line);
}

.press-row {
  padding: 1.375rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
  transition: color 0.2s;
}

.press-row:hover {
  color: var(--green);
}

.press-meta {
  color: #6b776f;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.press-meta span {
  display: block;
}

.press-media {
  margin-top: 0.25rem;
  color: var(--green);
  letter-spacing: 0.04em;
}

.press-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.press-more {
  color: var(--green);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Article */
.article {
  background: #fff;
}

.article-head {
  padding: 2.5rem 0 2.25rem;
}

.article-title {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.article-lead {
  margin: 0;
  color: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.article-author {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.article-photo {
  display: block;
  width: 100%;
  height: 15rem;
  border-radius: 3.5rem 0 0 0;
  object-fit: cover;
  object-position: center;
}

.article-caption {
  padding-top: 0.625rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.article-body {
  padding: 3rem 0 4rem;
}

.aside-title {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.toc-link {
  display: block;
  width: 100%;
  padding: 0.5rem 0 0.5rem 0.875rem;
  border: 0;
  border-left: 2px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.4;
  text-align: left;
  text-wrap: pretty;
  cursor: pointer;
}

.toc-link:hover {
  color: var(--green);
}

.toc-link.is-active {
  border-left-color: var(--green);
  color: var(--green);
  font-weight: 600;
}

.toc-link:focus-visible,
.share-btn:focus-visible,
.gallery-tile:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

.share-row {
  margin: -0.5rem -0.5rem 0 0;
  font-size: 0;
}

.share-btn {
  display: inline-block;
  width: 2.5rem;
  height: 2.5rem;
  margin: 0.5rem 0.5rem 0 0;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  background: none;
  color: var(--ink);
  line-height: 2.3125rem;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.share-btn:hover {
  background: var(--ink);
  color: #fff;
}

.share-btn .lucide {
  width: 1.125rem;
  height: 1.125rem;
  vertical-align: middle;
}

.share-row-lg .share-btn {
  width: 2.75rem;
  height: 2.75rem;
  line-height: 2.5625rem;
}

.gallery-head {
  margin-top: -1rem;
}

.article-text {
  max-width: 45rem;
  margin-left: auto;
  color: #22322a;
  font-size: 1.125rem;
  line-height: 1.65;
}

.article-text > section + section {
  padding-top: 1.375rem;
}

.article-text section > * + * {
  margin-top: 1.375rem;
}

.article-text p {
  text-wrap: pretty;
}

.article-text h2 {
  margin-top: 1.25rem;
}

.article-text > section.article-gallery {
  padding-top: 2.625rem;
}

.article-gallery h2 {
  margin-top: 0;
}

.article-list li {
  position: relative;
  padding-left: 1.5rem;
  text-wrap: pretty;
}

.article-list li + li {
  margin-top: 0.875rem;
}

.article-list li::before {
  content: "";
  position: absolute;
  top: 0.6875rem;
  left: 0;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50% 50% 50% 0;
  background: var(--green);
}

.article-text .article-quote {
  margin: 2.125rem 0 0.75rem;
  padding: 0 0 0 1.75rem;
  border-left: 0.375rem solid var(--terra);
}

.article-quote blockquote {
  margin: 0;
  color: var(--ink);
  font-size: 1.1875rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

.article-quote figcaption {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: normal;
}

.article-text > .article-share {
  margin-top: 2.375rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.article-share-text {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
}

.related-section {
  padding: 3.5rem 0;
  background: var(--cream);
}

/* Contact */
.contact-section {
  padding: 2.5rem 0 4rem;
  background: var(--cream);
}

.contact-info {
  border-top: 1px solid #d9d3c5;
  font-size: 1rem;
  line-height: 1.65;
}

.contact-info li {
  position: relative;
  padding: 1rem 0 1rem 8.125rem;
  border-bottom: 1px solid #d9d3c5;
  overflow-wrap: anywhere;
}

.contact-info-label {
  position: absolute;
  top: 1rem;
  left: 0;
  width: 6.875rem;
  font-weight: 600;
}

.contact-oremi {
  position: relative;
  min-height: 3.8125rem;
  padding: 1.125rem 3rem 1.125rem 2.75rem;
  border-radius: 1.25rem 1.25rem 1.25rem 0.25rem;
  background: var(--plum);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.4;
}

.contact-oremi:hover {
  background: var(--plum-deep);
  color: #fff;
}

.contact-oremi b {
  font-weight: 700;
}

.contact-oremi-dot {
  position: absolute;
  top: 50%;
  left: 1.25rem;
  width: 0.625rem;
  height: 0.625rem;
  margin-top: -0.3125rem;
  border-radius: 50%;
  background: var(--lilac);
}

.contact-oremi-arrow {
  position: absolute;
  top: 50%;
  right: 1.25rem;
  line-height: 1;
  transform: translateY(-50%);
}

.contact-card {
  padding: 1.5rem;
  background: #fff;
}

.support-section {
  padding: 3.5rem 0;
  background: #fff;
}

.support-grid {
  margin-top: -1rem;
}

.support-card {
  padding: 1.75rem;
  background: var(--cream);
}

.support-tag {
  align-self: flex-start;
  margin-bottom: 0.75rem;
  padding: 0.3125rem 0.75rem;
  border: 1.5px solid var(--terra);
  border-radius: 999px;
  color: var(--terra-dark);
  font-size: 0.75rem;
  font-weight: 600;
}

.support-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.support-text {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.support-code {
  margin: 0 0 0.75rem;
  padding: 0.75rem 0.875rem;
  border: 1.5px dashed #cfc9bb;
  background: #fff;
  color: var(--ink);
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.9375rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.support-actions {
  padding-top: 0.375rem;
}


/**
 * 9.9 Native pages: 404, search, legal
 * ----------------------------------------------------------------------------
 */

/* 404 */
.err-hero {
  padding-bottom: 4rem;
}

.err-code {
  margin-bottom: 0.5rem;
  color: var(--green);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.useful-card {
  position: relative;
  display: block;
  padding: 1.5rem 3.875rem 1.5rem 1.5rem;
  background: #fff;
  color: var(--ink);
  transition: color 0.2s, box-shadow 0.2s;
}

.useful-card:hover {
  box-shadow: 0 20px 40px rgba(20, 35, 27, 0.1);
  color: var(--green);
}

.useful-card:focus-visible {
  outline-offset: 3px;
}

.useful-title {
  display: block;
  margin: 0 0 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
}

.useful-text {
  display: block;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.useful-arrow {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  margin-top: -0.625rem;
  font-size: 1.25rem;
  line-height: 1;
}

/* Search */
.search-form .lib-search {
  max-width: none;
}

.chip-filter[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

a.chip-filter {
  display: inline-block;
}

.search-tab-count {
  margin-left: 0.25rem;
  opacity: 0.6;
}

.search-count {
  color: var(--muted);
  font-size: 0.9375rem;
}

.search-item {
  border-top: 1px solid var(--line);
}

.search-item:last-child {
  border-bottom: 1px solid var(--line);
}

.search-item-link {
  position: relative;
  display: block;
  padding: 1.25rem 3rem 1.25rem 0;
  color: var(--ink);
}

.search-item-link:hover {
  color: var(--green);
}

.search-item-type {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-item-title {
  display: block;
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.search-item-date {
  display: block;
  margin-top: 0.375rem;
  color: var(--muted);
  font-size: 0.8125rem;
}

.search-item-arrow {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  margin-top: -0.625rem;
  font-size: 1.25rem;
  line-height: 1;
}

.search-tips {
  padding-left: 1.25rem;
  color: var(--body);
}

.search-tips li + li {
  margin-top: 0.5rem;
}

/* Legal */
.legal-text {
  max-width: none;
  margin-left: 0;
}

.legal .article-text ul {
  padding-left: 1.25rem;
}

.legal .article-text li + li {
  margin-top: 0.375rem;
}


/**
 * 10.0 Media Queries
 * ----------------------------------------------------------------------------
 */

/* Medium devices (768px) */
@media (min-width: 576px) {
  .nav-oremi,
  .nav-contact {
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0 1.5rem;
  }

  .nav-tools .nav-support {
    float: none;
    margin-left: 1.5rem;
  }

  .oremi-fab {
    left: auto;
    text-align: right;
  }

  .oremi-fab-toggle {
    display: inline-block;
    width: auto;
  }

  .oremi-fab-panel {
    text-align: left;
  }
}

@media (min-width: 768px) {
  /* News, article, contact (group D) */
  .press-meta {
    width: 8.75rem;
  }

  .article-head,
  .contact-section {
    padding-top: 2.875rem;
  }

  .article-title {
    font-size: 2.3125rem;
  }

  .article-photo {
    height: 19.1875rem;
  }

  .contact-card {
    padding: 1.6875rem;
  }

  :root {
    --vw: 0.48rem;
  }

  /* Inner pages (Projets, Projet, Opportunités, Offre) */
  .inner-head { padding-top: 2.875rem; }
  .inner-title { font-size: 2.3125rem; }
  .project-head { padding-top: 2.375rem; }
  .project-cover { height: 17.25rem; }
  .call-card { padding: 1.9375rem; }
  .offre-body { padding-top: 2.875rem; }
  .opp-main { min-width: 24.25rem; }
  .gallery-bar { padding-right: 1.4375rem; padding-left: 1.4375rem; }
  .gallery-thumbs { padding-right: 1.4375rem; padding-left: 1.4375rem; }
  .gallery-prev { left: 0.9375rem; }
  .gallery-next { right: 0.9375rem; }

  /* Library pages (group C) */
  .res-feat .btn-group-row .btn {
    margin-right: 0.75rem;
  }

  .lib-head,
  .media-hero,
  .pod-head,
  .ep-hero,
  .vid-hero {
    padding-top: 2.875rem;
  }

  .res-feat-cell {
    padding: 1.875rem;
  }

  .player-card {
    padding: 1.4375rem;
  }

  .btn {
    display: inline-block;
    width: auto;
  }

  .btn-group-row .btn {
    margin-right: 0.5rem;
  }

  .oremi-badge {
    margin: 0 0 0.75rem 1.5rem;
    line-height: 3.375rem;
  }

  .btn + .oremi-badge {
    margin-left: 1rem;
  }

  .hero {
    padding-top: 2.875rem;
  }

  .oremi-chat {
    padding: 1.9375rem;
  }


  /* Inner pages */
  .page-hero {
    padding: 2.875rem 0 3rem;
  }
  .page-title {
    font-size: 2.3125rem;
  }
  .about-card {
    padding: 1.9375rem;
  }
  .oremi-hero {
    padding: 2.375rem 0 4rem;
  }
}

/* Large devices (992px, desktop navbar) */
@media (min-width: 992px) {
  /* News, article, contact (group D) */
  .news-section {
    padding-bottom: 5.5625rem;
  }

  .press-section,
  .support-section,
  .related-section {
    padding: 4.3125rem 0;
  }

  .news-feature-img {
    height: 18.625rem;
    border-radius: 0 0 0 4.3125rem;
  }

  .article-head,
  .contact-section {
    padding-top: 3.75rem;
  }

  .article-title {
    font-size: 3rem;
  }

  .article-photo {
    height: 24.8125rem;
    border-radius: 4.3125rem 0 0 0;
  }

  .article-body {
    padding-bottom: 4.9375rem;
  }

  .article-aside {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
  }

  .contact-section {
    padding-bottom: 4.9375rem;
  }

  .contact-card {
    padding: 2.1875rem;
  }

  :root {
    --header-height: 7.8125rem;
    --vw: 0.64rem;
    --media-radius: 4.5rem;
  }

  /* Inner pages (Projets, Projet, Opportunités, Offre) */
  .inner-head { padding-top: 3.8125rem; }
  .inner-head-list { padding-bottom: 4.5rem; }
  .inner-title { font-size: 3.0625rem; }
  .inner-section { padding: 4.5rem 0; }
  .block-title { font-size: 1.9375rem; }
  .projects-list { padding-bottom: 5.75rem; }
  .project-head { padding-top: 3.1875rem; }
  .project-cover { height: 23.0625rem; }
  .project-facts { position: sticky; top: calc(var(--header-height) + 1.5rem); width: 21.25rem; margin-right: 0.5rem; }
  .opp-line { margin-bottom: 0; }
  .call-card { padding: 2.5625rem; }
  .call-title { font-size: 1.40625rem; }
  .offre-body { padding-top: 3.8125rem; padding-bottom: 5.125rem; }
  .offre-how { padding: 1.9375rem; }
  .gallery-bar { padding-right: 1.9375rem; padding-left: 1.9375rem; }
  .gallery-thumbs { padding-right: 1.9375rem; padding-left: 1.9375rem; }
  .gallery-prev { left: 1.25rem; }
  .gallery-next { right: 1.25rem; }

  /* Library pages (group C) */
  .lib-title {
    font-size: 3rem;
  }

  .lib-h2 {
    font-size: 1.875rem;
  }

  .lib-head,
  .media-hero,
  .pod-head,
  .ep-hero,
  .vid-hero {
    padding-top: 3.75rem;
  }

  .media-hero {
    padding-bottom: 5rem;
  }

  .pod-head,
  .ep-hero {
    padding-bottom: 3.75rem;
  }

  .vid-hero,
  .vid-body {
    padding-bottom: 3.125rem;
  }

  .lib-list,
  .vid-body,
  .ep-body,
  .pod-list {
    padding-bottom: 5.625rem;
  }

  .vid-body {
    padding-top: 3.125rem;
  }

  .ep-body {
    padding-top: 3.125rem;
  }

  .pod-list {
    padding-top: 2.5rem;
  }

  .media-videos {
    padding: 4.375rem 0;
  }

  .res-feat-cell {
    padding: 2.5rem;
  }

  .res-feat-cover-cell {
    border-radius: 0 0 4.375rem 0;
  }

  .res-feat-cover {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15rem;
    margin: 0;
    transform: translate(-50%, -50%) rotate(-2deg);
  }

  .player-card {
    padding: 1.875rem;
  }

  .ep-cover-xl {
    width: 7.5rem;
  }

  .navbar.is-menu-open {
    height: auto;
    overflow: visible;
    background: #fff;
    border-bottom-color: var(--line);
  }

  .navbar.is-menu-open .navbar-brand img {
    filter: none;
  }

  .navbar-brand {
    padding: 0.625rem 0;
  }

  .navbar-brand img {
    height: 4rem;
  }

  .navbar-collapse {
    max-height: none;
    overflow: visible;
  }

  .navbar-collapse,
  .navbar-collapse.show {
    display: flex;
    flex-direction: row;
    align-items: center;
    min-height: 0;
  }

  .menu-navigation-menu-container {
    margin: 0 auto;
    padding: 0;
  }

  .navbar-nav > .menu-item {
    position: static;
    border-bottom: 0;
  }

  .navbar-nav > .menu-item > a {
    position: relative;
    height: 2.75rem;
    padding: 0 0.5rem;
    border-radius: 999px;
    color: var(--ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 2.75rem;
    letter-spacing: 0;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
  }

  .navbar-nav > .menu-item > a:hover,
  .navbar-nav > .menu-item.is-open > a {
    background: #F1EEE6;
    color: var(--ink);
  }

  .navbar-nav > .menu-item > a:focus-visible {
    outline-offset: 2px;
  }

  .navbar-nav > .menu-item > a::before {
    content: "";
    position: absolute;
    right: 0.5rem;
    bottom: -1.25rem;
    left: 0.5rem;
    height: 3px;
    background: var(--terra);
    opacity: 0;
  }

  .navbar-nav > .menu-item > a[aria-current="page"] {
    color: var(--green);
  }

  .navbar-nav > .menu-item > a[aria-current="page"]::before {
    opacity: 1;
  }

  .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    margin-left: 0.4375rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-0.125rem);
    transition: transform 0.2s;
    vertical-align: middle;
  }

  .menu-item-has-children.is-open > a::after {
    transform: rotate(225deg) translateY(-0.125rem);
  }

  .sub-toggle {
    display: none;
  }

  .mega {
    display: none;
    position: absolute;
    top: calc(100% - 0.0625rem);
    right: 0;
    left: 0;
    padding: 2.25rem 0 2.5rem;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 30px 60px rgba(20, 35, 27, 0.14);
  }

  .is-open > .mega {
    display: block;
    padding: 2.25rem 0 2.5rem;
  }

  .mega-label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mega-intro {
    display: block;
    color: var(--muted);
    font-size: 0.9375rem;
    line-height: 1.6;
  }

  .sub-menu .menu-item {
    margin-bottom: 0.25rem;
  }

  .sub-menu a {
    min-height: 0;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    color: var(--ink);
  }

  .sub-menu a:hover,
  .sub-menu a[aria-current="page"] {
    background: var(--cream);
    color: var(--ink);
  }

  .mega-link-title {
    position: relative;
    padding-left: 1.25rem;
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.625rem;
  }

  .mega-dot {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 0.625rem;
    height: 0.625rem;
    margin-top: -0.3125rem;
    border-radius: 50%;
  }

  .mega-dot-green { background: var(--green); }
  .mega-dot-terra { background: var(--terra); }
  .mega-dot-gold { background: var(--gold); }
  .mega-dot-ink { background: var(--ink); }

  .mega-link-desc {
    display: block;
    padding-left: 1.25rem;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 400;
    line-height: 1.45;
  }

  .mega-feature {
    display: block;
    overflow: hidden;
    background: var(--green-dark);
    color: #fff;
  }

  .mega-feature:hover {
    color: #fff;
  }

  .mega-feature-img {
    display: block;
    height: 8.125rem;
    border-radius: 0 0 0 4rem;
    background: url("assets/images/ph-palabres.webp") center / cover no-repeat;
  }

  .mega-feature-body {
    display: block;
    padding: 1.125rem 1.25rem 1.375rem;
  }

  .mega-feature-tag {
    display: block;
    margin-bottom: 0.375rem;
    color: var(--terra-pale);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .mega-feature-title {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
  }

  .mega-feature-more {
    display: block;
    margin-top: 0.625rem;
    color: var(--green-soft);
    font-size: 0.8125rem;
    font-weight: 600;
  }

  .nav-actions {
    margin-top: 0;
    padding: 0;
    white-space: nowrap;
  }

  .nav-search {
    display: inline-block;
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 0.375rem 0 0;
    border-radius: 50%;
    color: var(--ink);
    line-height: 2.75rem;
    text-align: center;
    vertical-align: top;
    transition: background 0.2s;
  }

  .nav-search:hover,
  .nav-search[aria-current="page"] {
    background: #F1EEE6;
    color: var(--ink);
  }

  .nav-search .lucide {
    margin: 0;
  }

  .nav-search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .nav-oremi,
  .nav-contact {
    display: inline-block;
    height: 2.75rem;
    margin: 0;
    padding: 0 1.25rem;
    font-size: 0.875rem;
    line-height: 2.75rem;
    transition: background 0.2s, color 0.2s;
  }

  .nav-oremi {
    margin-right: 0.375rem;
    padding: 0 1rem;
    border: 1.5px solid var(--plum-line);
    background: none;
    line-height: 2.5625rem;
    color: var(--plum-line);
  }

  .nav-oremi:hover {
    background: var(--lilac-soft);
    color: var(--plum);
  }

  .nav-oremi-dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 50%;
    background: var(--plum-accent);
    vertical-align: 0.0625rem;
  }

  .nav-contact {
    background: var(--green);
    color: #fff;
  }

  .nav-contact:hover {
    background: var(--green-dark);
    color: #fff;
  }

  .hero {
    padding-top: 3.8125rem;
    padding-bottom: 4.5rem;
  }

  .hero-title {
    font-size: 2.3125rem;
  }

  .section {
    padding: 5.75rem 0;
  }

  .section-title {
    font-size: 1.9375rem;
  }

  .stat-img {
    height: 10.25rem;
  }

  .stat-value,
  .domain-num {
    font-size: 2.5625rem;
  }

  .domain-label,
  .oremi-name,
  .footer-news-title {
    font-size: 1.40625rem;
  }

  .oremi-title {
    font-size: 1.9375rem;
  }

  .oremi-chat {
    padding: 2.5625rem;
  }

  .site-footer {
    padding-top: 5.125rem;
  }

  .footer-legal {
    text-align: right;
  }

  .footer-copy {
    white-space: nowrap;
  }

  /* Inner pages */
  .section-page {
    padding: 5.125rem 0;
  }
  .page-hero {
    padding: 3.8125rem 0 3.8125rem;
  }
  .page-title {
    font-size: 3.0625rem;
  }
  .page-media {
    height: 20.5rem;
  }
  .page-media img {
    border-radius: 4.5rem 0 0 0;
  }
  .page-h2 {
    font-size: 1.9375rem;
  }
  .about-card {
    padding: 2.5625rem;
  }
  .strategy-card {
    --sp: 2.1875rem;
    padding: var(--sp) var(--sp) var(--sp) calc(var(--sp) + 4.5rem + 1.25rem);
  }
  .strategy-num {
    font-size: 3.1875rem;
  }
  .timeline-year {
    font-size: 2.5625rem;
  }
  .domain-hero {
    padding-bottom: 4.5rem;
  }
  .domain-media {
    height: 19.1875rem;
  }
  .impact-hero {
    padding-bottom: 4.5rem;
  }
  .impact-value {
    font-size: 2.5625rem;
  }
  .story-card-img {
    border-radius: 4.5rem 0 0 0;
  }
  .oremi-hero {
    padding: 3.1875rem 0 5.125rem;
  }
  .channel-value {
    font-size: 1.4375rem;
  }
  .oremi-steps {
    padding: 4.5rem 0;
  }
  .oremi-faq {
    padding: 4.5rem 0;
  }
}

/* X-Large devices (1200px) */
@media (min-width: 1200px) {
  /* News, article, contact (group D) */
  .news-section {
    padding-bottom: 6.75rem;
  }

  .press-section,
  .support-section,
  .related-section {
    padding: 5.25rem 0;
  }

  .news-feature-img {
    height: 22.5rem;
    border-radius: 0 0 0 5.25rem;
  }

  .news-feature-title {
    font-size: 1.625rem;
  }

  .article-head,
  .contact-section {
    padding-top: 4.5rem;
  }

  .article-title {
    font-size: 3.625rem;
  }

  .article-photo {
    height: 30rem;
    border-radius: 5.25rem 0 0 0;
  }

  .article-body {
    padding-bottom: 6rem;
  }

  .article-quote blockquote {
    font-size: 1.375rem;
  }

  .contact-section {
    padding-bottom: 6rem;
  }

  .contact-card {
    padding: 2.625rem;
  }

  :root {
    --vw: 0.75rem;
    --media-radius: 5.25rem;
  }

  /* Inner pages (Projets, Projet, Opportunités, Offre) */
  .inner-head { padding-top: 4.5rem; }
  .inner-head-list { padding-bottom: 5.25rem; }
  .inner-title { font-size: 3.625rem; }
  .inner-section { padding: 5.25rem 0; }
  .block-title { font-size: 2.25rem; }
  .projects-list { padding-bottom: 6.75rem; }
  .project-head { padding-top: 3.75rem; }
  .project-cover { height: 27rem; }
  .fig-num { font-size: 3rem; }
  .call-card { padding: 3rem; }
  .call-title { font-size: 1.65rem; }
  .offre-body { padding-top: 4.5rem; padding-bottom: 6rem; }
  .offre-how { padding: 2.25rem; }
  .gallery-bar { padding-right: 2rem; padding-left: 2rem; }
  .gallery-thumbs { padding-right: 2rem; padding-left: 2rem; }
  .gallery-prev { left: 1.5rem; }
  .gallery-next { right: 1.5rem; }

  /* Library pages (group C) */
  .lib-chip-group {
    display: inline-block;
    margin-right: 1.5rem;
  }

  .lib-title {
    font-size: 3.5625rem;
  }

  .lib-h2 {
    font-size: 2.25rem;
  }

  .lib-head,
  .media-hero,
  .pod-head,
  .ep-hero,
  .vid-hero {
    padding-top: 4.5rem;
  }

  .media-hero {
    padding-bottom: 6rem;
  }

  .pod-head,
  .ep-hero {
    padding-bottom: 4.5rem;
  }

  .vid-hero {
    padding-bottom: 3.5rem;
  }

  .lib-list,
  .vid-body,
  .ep-body,
  .pod-list {
    padding-bottom: 6.75rem;
  }

  .vid-body {
    padding-top: 3.5rem;
  }

  .ep-body {
    padding-top: 3.75rem;
  }

  .pod-list {
    padding-top: 3rem;
  }

  .media-videos {
    padding: 5.25rem 0;
  }

  .res-feat-cell {
    padding: 3rem;
  }

  .res-feat-cover-cell {
    border-radius: 0 0 5.25rem 0;
  }

  .res-feat-title {
    font-size: 3rem;
  }

  .player-card {
    padding: 2.25rem;
  }

  .ep-cover-xl {
    width: 9rem;
  }

  .navbar-nav > .menu-item > a {
    padding: 0 0.75rem;
  }

  .navbar-nav > .menu-item > a::before {
    right: 0.75rem;
    left: 0.75rem;
  }

  .hero {
    padding-top: 4.5rem;
    padding-bottom: 5.25rem;
  }

  .hero-title {
    font-size: 2.6875rem;
  }

  .section {
    padding: 6.75rem 0;
  }

  .section-title,
  .oremi-title {
    font-size: 2.25rem;
  }

  .section-lead,
  .story-quote {
    font-size: 1.375rem;
  }

  .stat-img {
    height: 12rem;
  }

  .stat-value,
  .domain-num {
    font-size: 3rem;
  }

  .domain-label,
  .oremi-name,
  .footer-news-title {
    font-size: 1.625rem;
  }

  .oremi-chat {
    padding: 3rem;
  }

  .site-footer {
    padding-top: 6rem;
  }

  /* Inner pages */
  .section-page {
    padding: 7rem 0;
  }
  .page-hero {
    padding: 5rem 0 5rem;
  }
  .page-title {
    font-size: 4.25rem;
  }
  .page-media {
    height: 27.5rem;
  }
  .page-media img {
    border-radius: 6.3125rem 0 0 0;
  }
  .page-h2 {
    font-size: 2.6875rem;
  }
  .about-card {
    padding: 3rem;
  }
  .about-card-text {
    font-size: 1.5rem;
  }
  .strategy-card {
    --sp: 2.75rem;
    padding: var(--sp) var(--sp) var(--sp) calc(var(--sp) + 6.3125rem + 1.5rem);
  }
  .strategy-num {
    font-size: 4.5rem;
  }
  .strategy-title {
    font-size: 1.5rem;
  }
  .timeline-year {
    font-size: 3.5rem;
  }
  .domain-hero {
    padding-bottom: 6rem;
  }
  .domain-media {
    height: 26.25rem;
  }
  .impact-hero {
    padding-bottom: 6rem;
  }
  .impact-value {
    font-size: 3.5rem;
  }
  .story-card-img {
    border-radius: 6.3125rem 0 0 0;
  }
  .story-card-title {
    font-size: 1.5rem;
  }
  .oremi-hero {
    padding: 4rem 0 6.5rem;
  }
  .channel-value {
    font-size: 1.875rem;
  }
  .oremi-steps {
    padding: 6rem 0;
  }
  .oremi-faq {
    padding: 6rem 0;
  }
}

/* XX-Large devices (1400px) */
@media (min-width: 1400px) {
  /* News, article, contact (group D) */
  .news-section {
    padding-bottom: 7.5rem;
  }

  .press-section,
  .support-section,
  .related-section {
    padding: 6rem 0;
  }

  .news-feature-img {
    height: 26.25rem;
    border-radius: 0 0 0 6.25rem;
  }

  .news-feature-title {
    font-size: 1.875rem;
  }

  .article-title {
    font-size: 4.25rem;
  }

  .article-photo {
    height: 35rem;
    border-radius: 6.25rem 0 0 0;
  }

  .article-quote blockquote {
    font-size: 1.5rem;
  }

  .contact-section {
    padding-top: 5rem;
    padding-bottom: 6.5rem;
  }

  .contact-card {
    padding: 2.75rem;
  }

  :root {
    --vw: 0.9rem;
    --media-radius: 6.3125rem;
  }

  /* Inner pages (Projets, Projet, Opportunités, Offre) */
  .inner-head { padding-top: 5rem; }
  .inner-head-list { padding-bottom: 5.5rem; }
  .inner-title { font-size: 4.25rem; }
  .inner-section { padding: 6rem 0; }
  .block-title { font-size: 2.6875rem; }
  .projects-list { padding-bottom: 7.5rem; }
  .project-head { padding-top: 4rem; }
  .project-cover { height: 32.375rem; }
  .fig-num { font-size: 3.5rem; }
  .call-label,
  .offre-type { font-size: 1.1875rem; }
  .call-title { font-size: 1.875rem; }
  .offre-body { padding-bottom: 6.5rem; }

  /* Library pages (group C) */
  .lib-title {
    font-size: 4.25rem;
  }

  .lib-h2 {
    font-size: 2.6875rem;
  }

  .lib-head,
  .media-hero,
  .pod-head,
  .ep-hero {
    padding-top: 5rem;
  }

  .media-hero {
    padding-bottom: 6.5rem;
  }

  .vid-hero {
    padding-top: 4.5rem;
  }

  .lib-list,
  .vid-body,
  .ep-body,
  .pod-list {
    padding-bottom: 7.5rem;
  }

  .ep-body {
    padding-top: 4rem;
  }

  .media-videos {
    padding: 6rem 0;
  }

  .res-feat-cell {
    padding: 3.5rem;
  }

  .res-feat-cover-cell {
    border-radius: 0 0 6.25rem 0;
  }

  .res-feat-label {
    font-size: 1.1875rem;
  }

  .res-feat-title {
    font-size: 3.5rem;
  }

  .ep-cover-xl {
    width: 9.375rem;
  }

  .navbar-nav > .menu-item > a {
    padding: 0 0.875rem;
    font-size: 0.9375rem;
  }

  .navbar-nav > .menu-item > a::before {
    right: 0.875rem;
    left: 0.875rem;
  }

  .hero {
    padding-top: 5.375rem;
    padding-bottom: 6.3125rem;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .section {
    padding: 7.5rem 0;
  }

  .section-title,
  .oremi-title {
    font-size: 2.6875rem;
  }

  .section-lead,
  .story-quote {
    font-size: 1.5rem;
  }

  .stat-img {
    height: 13.75rem;
  }

  .stat-value,
  .domain-num {
    font-size: 3.5rem;
  }

  .domain-label,
  .oremi-name,
  .footer-news-title {
    font-size: 1.875rem;
  }

  .oremi-chat {
    padding: 3.5rem;
  }
}

/* Very large screens (1920px): the design stops growing here */
@media (min-width: 1920px) {
  /* News, article, contact (group D) */
  .news-feature-img {
    border-radius: 0 0 0 7.5rem;
  }

  .article-photo {
    border-radius: 7.5rem 0 0 0;
  }

  :root {
    --vw: 1.2rem;
    --media-radius: 7.5rem;
  }

  /* Inner pages (Projets, Projet, Opportunités, Offre) */
  .block-title { font-size: 2.75rem; }
  .project-cover { height: 32.5rem; }

  /* Library pages (group C) */
  .lib-h2 {
    font-size: 2.75rem;
  }

  .res-feat-cover-cell {
    border-radius: 0 0 7.5rem 0;
  }

  .hero {
    padding-top: 5.5rem;
    padding-bottom: 6.5rem;
  }

  .section-title,
  .oremi-title {
    font-size: 2.75rem;
  }

  /* Inner pages */
  .page-media img {
    border-radius: 7.5rem 0 0 0;
  }
  .page-h2 {
    font-size: 2.75rem;
  }
  .strategy-card {
    padding: var(--sp) var(--sp) var(--sp) calc(var(--sp) + 6.5rem + 1.5rem);
  }
  .story-card-img {
    border-radius: 7.5rem 0 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js .fade-up,
  .bubble {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/**
 * WordPress adapters (not in the HTML): Gravity Forms newsletter of the footer takes the
 * look of .newsletter-btn of the HTML form.
 * ----------------------------------------------------------------------------
 */
.site-footer :is(#custom-form, .jvs-gf) .gform_button {
  background: var(--terra);
  border-color: var(--terra);
  color: #fff;
  font-size: 0.875rem;
}

.site-footer :is(#custom-form, .jvs-gf) .gform_button:hover {
  background: var(--terra-dark);
  border-color: var(--terra-dark);
}

/* Filters and pagers are real links (the HTML uses buttons). Same rendering. */
a.filter-chip,
.seg a,
.pager a {
  text-decoration: none;
}

.filter-chip[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.seg a {
  display: inline-block;
  height: 2.25rem;
  margin-right: 0.25rem;
  padding: 0 0.875rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 2.25rem;
  vertical-align: top;
  cursor: pointer;
}

.seg a:last-child {
  margin-right: 0;
}

.seg a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
}

.pager a {
  display: inline-block;
  margin: 0.5rem 0.25rem 0;
  border: 1.5px solid var(--ink);
  background: none;
  color: var(--ink);
  font-weight: 600;
  text-align: center;
  vertical-align: top;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pager a:hover,
.pager a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
}

/* The closed-offers toggle is a real link (AJAX with a link fallback), the HTML one is a button. */
a.link-toggle {
  display: inline-block;
  line-height: 2.625rem;
}

/* Video embed. */
iframe.vid-player {
  border: 0;
}

img.vid-player {
  object-fit: cover;
}

/* Footer newsletter: same height as the HTML pill. */
.site-footer :is(#custom-form, .jvs-gf) {
  --gf-h: 3.5rem;
  --gf-inline-inset: 0.3125rem;
}
