/* ==========================================================================
   GREENWAR ASBL — Charte Générale & Graphique + Maquette Site (Pure CSS)
   Polices : Aptos Display / Aptos / Arial (alternative officielle charte)
   Palette :
     - GreenWar :      #0F612A | Fond doux : #F7FAF7 | Footer : #0B291A
     - Sarco Lab :     #287D86 | Fond doux : #E7F2F4
     - Sarco Academy : #D6B356 / #B49234 | Nuances : #E3C872, #FBEBA1 | Fond : #F3E9CD
     - Sarco Terra :   #4E972A | Fond doux : #EEF7E9
   ========================================================================== */

:root {
  --gw-green: #0F612A;
  --gw-green-dark: #0B291A;
  --gw-green-hover: #0B4B20;
  --gw-bg-soft: #F7FAF7;
  --gw-hero-pill: #199E49;

  --lab-main: #287D86;
  --lab-soft: #E7F2F4;

  --academy-main: #D6B356;
  --academy-text: #9E7B22;
  --academy-mid: #E3C872;
  --academy-light: #FBEBA1;
  --academy-soft: #F3E9CD;

  --terra-main: #4E972A;
  --terra-soft: #EEF7E9;

  --pilier-famille: #D633A6;
  --pilier-etat: #8B9391;
  --pilier-asso: #EA7600;
  --pilier-entrep: #99581D;

  --text-main: #203C32;
  --text-dark: #0D231A;
  --text-muted: #658273;
  --text-disabled: #A3ADA6;
  --border-light: #DCE7DE;
  --white: #FFFFFF;

  --font-heading: 'Aptos Display', 'Aptos', Arial, Helvetica, sans-serif;
  --font-body: 'Aptos', 'Aptos Display', Arial, Helvetica, sans-serif;

  --container-max: 1280px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-soft: 0 8px 28px rgba(15, 45, 28, 0.06);
  --shadow-dropdown: 0 14px 36px rgba(11, 41, 26, 0.12);
}

@property --fade-start {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

@property --fade-end {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 {
  text-wrap: balance;
}

p, li {
  text-wrap: pretty;
  overflow-wrap: break-word;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 28px;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   1. EN-TÊTE (HEADER) & NAVIGATION (SANS "ACCUEIL", REJOINDRE GRISÉ)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  height: var(--header-height);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 4px 0;
}

.brand-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-main);
  padding: 8px 2px;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--gw-green);
}

.nav-link.active {
  color: var(--gw-green);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 3px;
  background-color: var(--gw-green);
  border-radius: 2px;
}

.nav-link.disabled {
  color: var(--text-disabled);
  cursor: not-allowed;
  pointer-events: none;
  user-select: none;
}

.nav-caret {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
  opacity: 0.75;
}

.nav-item:hover .nav-caret,
.nav-item:focus-within .nav-caret {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.dropdown-panel {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 260px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1100;
}

.dropdown-panel.mega-ecosystem {
  min-width: 680px;
  left: -120px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.nav-item:hover .dropdown-panel,
.nav-item:focus-within .dropdown-panel,
.nav-item.open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  font-weight: 500;
}

.dropdown-link:hover,
.dropdown-link.active {
  background-color: var(--gw-bg-soft);
  color: var(--gw-green);
}

.mega-top-bar {
  grid-column: 1 / -1;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-overview-link {
  font-weight: 700;
  color: var(--gw-green);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-overview-link:hover {
  text-decoration: underline;
}

.mega-col-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
  padding: 0 10px;
  display: block;
}

.mega-col-title:hover {
  color: var(--gw-green);
}

.dot-lab { width: 8px; height: 8px; border-radius: 50%; background: var(--lab-main); flex-shrink: 0; }
.dot-academy { width: 8px; height: 8px; border-radius: 50%; background: var(--academy-main); flex-shrink: 0; }
.dot-terra { width: 8px; height: 8px; border-radius: 50%; background: var(--terra-main); flex-shrink: 0; }

/* Mobile Menu Button & Drawer */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 41, 26, 0.45);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 88vw);
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 1300;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.12);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-head img {
  height: 46px;
}

.mobile-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px 8px;
}

.mobile-nav-body {
  padding: 18px 22px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-link {
  display: block;
  padding: 10px 8px;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--text-main);
  border-radius: var(--radius-sm);
}

.mobile-link.active {
  color: var(--gw-green);
  background: var(--gw-bg-soft);
}

.mobile-link.disabled {
  color: var(--text-disabled);
  pointer-events: none;
}

.mobile-sublist {
  padding-left: 16px;
  margin-bottom: 6px;
  border-left: 2px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mobile-sublink {
  display: block;
  padding: 6px 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-radius: 6px;
}

.mobile-sublink:hover,
.mobile-sublink.active {
  color: var(--gw-green);
  background: var(--gw-bg-soft);
}

/* ==========================================================================
   2. FIL D'ARIANE (BREADCRUMB), PARTAGE SOCIAL (SANS TRACEUR) & SOUS-NAVIGATION
   ========================================================================== */
.breadcrumb-bar {
  padding: 12px 0 8px;
  background: var(--white);
}

.breadcrumb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gw-green);
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: 0.6;
}

.breadcrumb .current {
  color: var(--text-main);
  font-weight: 600;
}

/* Widget de partage tous réseaux sociaux — 100% statique / Vanilla JS, zéro traceur */
.share-widget {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

.share-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.share-toggle-btn:hover,
.share-widget.open .share-toggle-btn {
  background: var(--white);
  border-color: var(--gw-green);
  color: var(--gw-green);
  box-shadow: 0 4px 14px rgba(15, 97, 42, 0.1);
}

.share-toggle-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.share-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 310px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 14px;
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.share-widget.open .share-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.share-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 9px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.share-popover-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.share-privacy-badge {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gw-green);
  background: var(--gw-bg-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.share-net-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-main);
  background: var(--white);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.share-net-link:hover {
  background: var(--gw-bg-soft);
  border-color: var(--border-light);
  color: var(--gw-green);
}

.share-net-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.share-actions-footer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.share-copy-btn,
.share-native-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.share-copy-btn {
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  color: var(--text-main);
}

.share-copy-btn:hover {
  border-color: var(--gw-green);
  color: var(--gw-green);
}

.share-copy-btn.copied {
  background: var(--gw-green);
  border-color: var(--gw-green);
  color: var(--white);
}

.share-native-btn {
  background: var(--gw-green);
  border: 1px solid var(--gw-green);
  color: var(--white);
}

.share-native-btn:hover {
  background: var(--gw-green-hover);
  border-color: var(--gw-green-hover);
}

.share-native-btn[hidden] {
  display: none;
}

.share-copy-btn svg,
.share-native-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.share-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

/* Sub-navigation pills (Qui sommes-nous & L'écosystème) */
.subnav-strip {
  padding: 4px 0 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.subnav-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.25;
  background: var(--gw-bg-soft);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: border-color 0.16s ease, color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.subnav-pill:hover {
  border-color: var(--gw-green);
  color: var(--gw-green);
}

.eco-subnav-grid {
  display: grid;
  grid-template-columns: minmax(215px, 240px) repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.eco-subnav-grid .subnav-pill {
  border-radius: 10px;
  background: var(--white);
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  min-height: 38px;
  font-size: 0.82rem;
}

.eco-subnav-grid .subnav-pill:hover {
  box-shadow: 0 2px 8px rgba(15, 97, 42, 0.08);
}

.eco-subnav-grid .subnav-overview {
  grid-column: 1 / -1;
  background: #E8F3EA;
  border-color: #C7DFCB;
  font-weight: 700;
  min-height: 36px;
}

.eco-subnav-grid .subnav-hub {
  justify-content: space-between;
  text-align: left;
  padding: 8px 13px;
  background: #EEF5EF;
  border-color: #CEE1D1;
  font-weight: 700;
}

.eco-subnav-grid .subnav-hub::after {
  content: "›";
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.65;
  flex: none;
}

.qsn-subnav-grid {
  padding: 8px;
  gap: 7px;
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.qsn-subnav-grid .subnav-pill {
  flex: 1 1 auto;
  justify-content: center;
  text-align: center;
  border-radius: 10px;
  background: var(--white);
  padding: 8px 12px;
  font-size: 0.84rem;
}

.subnav-pill.pill-lab::before,
.subnav-pill.pill-academy::before,
.subnav-pill.pill-terra::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex: none;
}

.subnav-pill.pill-lab::before { background: var(--lab-main); }
.subnav-pill.pill-academy::before { background: var(--academy-main); }
.subnav-pill.pill-terra::before { background: var(--terra-main); }

.subnav-pill.active,
.eco-subnav-grid .subnav-pill.active,
.qsn-subnav-grid .subnav-pill.active {
  background: var(--gw-green);
  color: var(--white);
  border-color: var(--gw-green);
  box-shadow: 0 3px 10px rgba(15, 97, 42, 0.18);
}

.eco-subnav-grid .subnav-hub.active::after {
  opacity: 0.95;
}

.subnav-pill.pill-lab.active,
.eco-subnav-grid .subnav-pill.pill-lab.active {
  background: var(--lab-main);
  border-color: var(--lab-main);
  color: var(--white);
}

.subnav-pill.pill-academy.active,
.eco-subnav-grid .subnav-pill.pill-academy.active {
  background: var(--academy-main);
  border-color: var(--academy-main);
  color: #1D2922;
}

.subnav-pill.pill-terra.active,
.eco-subnav-grid .subnav-pill.pill-terra.active {
  background: var(--terra-main);
  border-color: var(--terra-main);
  color: var(--white);
}

.subnav-pill.pill-lab.active::before,
.subnav-pill.pill-terra.active::before { background: var(--white); }
.subnav-pill.pill-academy.active::before { background: #1D2922; }

@media (max-width: 920px) and (min-width: 769px) {
  .eco-subnav-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .eco-subnav-grid .subnav-hub {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
}

/* ==========================================================================
   3. PAGE ACCUEIL (SLIDE 1) — HÉRO CENTRÉ SUR LAPTOP, TABLETTE & MOBILE
   ========================================================================== */
.home-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 10px 0 32px;
}

.hero-wrapper {
  flex: 1;
  display: flex;
  align-items: stretch;
}

.hero-card {
  position: relative;
  width: 100%;
  min-height: clamp(460px, calc(100vh - 260px), 680px);
  min-height: clamp(460px, calc(100dvh - 260px), 680px);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 28px;
  background-color: #102B1B;
  background-image:
    linear-gradient(180deg, rgba(11, 35, 21, 0.68) 0%, rgba(11, 35, 21, 0.74) 55%, rgba(9, 29, 17, 0.82) 100%),
    url('../imgs/hero-foret.jpg');
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 18px;
  border-radius: 999px;
  background: rgba(25, 48, 28, 0.72);
  border: 1px solid rgba(183, 224, 122, 0.35);
  color: #C5E86C;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #A9E34B;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  font-size: clamp(1.55rem, 3.1vw, 2.55rem);
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--gw-hero-pill);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 28px;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(25, 158, 73, 0.35);
}

.hero-cta:hover {
  background-color: var(--gw-green);
  transform: translateY(-2px);
}

/* ==========================================================================
   4. COMPOSANTS ÉDITORIAUX COMMUNS (LIGNE DIRECTRICE CHARTE)
   ========================================================================== */
.page-section {
  padding: 12px 0 56px;
  flex: 1;
}

/* Fiche style diapositive avec liseré vertical à gauche */
.sheet-card {
  position: relative;
  background: #FAFDF9;
  border: 1px solid var(--border-light);
  border-left: 10px solid var(--gw-green);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 52px);
  box-shadow: var(--shadow-soft);
}

.sheet-card.theme-green-solid {
  background: var(--gw-green);
  border-color: var(--gw-green);
  border-left: 10px solid var(--white);
  color: var(--white);
}

.sheet-card.theme-soft-green {
  background: #DFEFE2;
  border-left-color: var(--gw-green);
}

.sheet-card.theme-lab {
  background: var(--lab-soft);
  border-color: #C7E0E4;
  border-left-color: var(--lab-main);
}

.sheet-card.theme-academy {
  background: var(--academy-soft);
  border-color: #E6D5A7;
  border-left-color: var(--academy-main);
}

.sheet-card.theme-terra {
  background: var(--terra-soft);
  border-color: #CFE6C4;
  border-left-color: var(--terra-main);
}

/* Rubrique avec trait doré (ex: — GREENWAR EN BREF) */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gw-green);
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 38px;
  height: 3px;
  background-color: var(--academy-main);
  border-radius: 2px;
}

.section-eyebrow.light {
  color: var(--academy-mid);
}

/* En-tête de fiche numérotée (01 Les familles, 02 L'État, etc.) */
.sheet-top-meta {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.sheet-category-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.theme-green-solid .sheet-category-tag {
  color: var(--white);
}

.numbered-heading {
  display: flex;
  align-items: baseline;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.heading-num {
  position: relative;
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.1;
  padding-bottom: 10px;
}

.heading-num::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  background: var(--gw-green);
}

.theme-green-solid .heading-num {
  color: #6CC24A;
}

.theme-green-solid .heading-num::after {
  background: var(--white);
}

.heading-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.15;
}

.theme-green-solid .heading-title {
  color: var(--white);
}

.theme-lab .heading-title {
  color: var(--lab-main);
}

.theme-academy .heading-title {
  color: var(--text-dark);
}

.theme-terra .heading-title {
  color: var(--gw-green);
}

.title-underline {
  width: 58px;
  height: 4px;
  background: var(--gw-green);
  margin: 10px 0 26px;
}

.theme-lab .title-underline { background: var(--lab-main); }
.theme-academy .title-underline { background: var(--academy-main); }
.theme-terra .title-underline { background: var(--terra-main); }

/* Navigation bas de fiche (Précédent / Suivant comme le PPT) */
.sheet-pager {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pager-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gw-green);
}

.pager-btn:hover {
  background: var(--gw-bg-soft);
  border-color: var(--gw-green);
}

/* ==========================================================================
   5. QUI SOMMES-NOUS (SLIDES 2 À 8)
   ========================================================================== */
.qsn-view {
  display: none;
  animation: fadeIn 0.22s ease;
}

.qsn-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Slide 2 : GreenWar en bref */
.bref-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: stretch;
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(26px, 4vw, 44px);
}

.bref-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: #DCEEE0;
  color: var(--gw-green);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.bref-text p {
  margin-bottom: 16px;
  font-size: 1.04rem;
  color: var(--text-main);
}

.bref-text p:last-child {
  margin-bottom: 0;
}

.bref-highlight-box {
  background: #E5F1E8;
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bref-highlight-bar {
  width: 48px;
  height: 4px;
  background: var(--academy-main);
  margin-bottom: 22px;
  border-radius: 2px;
}

.bref-highlight-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-dark);
}

.bref-highlight-quote span {
  color: var(--gw-green);
}

/* Slide 3 : Notre histoire */
.histoire-box {
  background: #F5F7F2;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px);
}

.histoire-box p {
  font-size: 1.12rem;
  line-height: 1.72;
  color: #42544B;
  margin-bottom: 20px;
  max-width: 980px;
}

.histoire-box p:last-child {
  margin-bottom: 0;
}

/* Slide 4 : Le cap que nous suivons (et vision-mission.html) */
.cap-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 28px;
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  gap: 28px 44px;
  padding-bottom: 28px;
  border-bottom: 2px solid var(--gw-green);
  margin-bottom: 26px;
}

.cap-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
}

.cap-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--academy-text);
  padding-top: 3px;
}

.cap-item p {
  font-size: 1.02rem;
  color: #3E554B;
  line-height: 1.62;
}

.cap-quote-box {
  background: #ECF5EC;
  border-left: 5px solid var(--gw-green);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 22px 28px;
}

.cap-quote-box blockquote {
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 10px;
}

.cap-quote-box blockquote:last-child {
  margin-bottom: 0;
}

.cap-quote-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gw-green);
}

/* Slide 5 : Ce qui nous rassemble */
.rassemble-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 24px 0 28px;
}

.rassemble-card {
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rassemble-card:hover {
  border-color: var(--gw-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.rassemble-icon {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.rassemble-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

.rassemble-closing {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gw-green);
  line-height: 1.55;
}

/* Slide 6 : Nos engagements */
.engagements-title {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 600;
  color: var(--gw-green);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 26px;
}

.engagements-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.engagement-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 14px;
  align-items: start;
}

.engagement-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #C4A253;
  margin-top: 7px;
}

.engagement-row h3 {
  font-family: var(--font-heading);
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--gw-green);
  margin-bottom: 4px;
}

.engagement-row p {
  color: #4A5D54;
  font-size: 1rem;
}

/* Slide 7 : Notre positionnement */
.positionnement-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.positionnement-list li {
  position: relative;
  padding-left: 22px;
  font-size: 1.05rem;
  color: var(--text-main);
}

.positionnement-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gw-green);
}

/* Slide 8 : Notre organisation (4 cartes activités) */
.org-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 26px;
}

.org-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 26px;
}

.org-card {
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  border-top: 5px solid var(--gw-green);
  background: var(--gw-bg-soft);
}

.org-card.card-lab { background: var(--lab-soft); border-top-color: var(--lab-main); }
.org-card.card-academy { background: var(--academy-soft); border-top-color: #B49234; }
.org-card.card-terra { background: var(--terra-soft); border-top-color: var(--terra-main); }

.org-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.org-role {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gw-green);
  margin-bottom: 12px;
  display: block;
}

.card-lab .org-role, .card-lab .org-mail { color: var(--lab-main); }
.card-academy .org-role, .card-academy .org-mail { color: #9A7920; }
.card-terra .org-role, .card-terra .org-mail { color: var(--terra-main); }

.org-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--text-main);
}

.org-mail {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gw-green);
  word-break: break-all;
}

.org-mail:hover {
  text-decoration: underline;
}

.org-collective-note {
  font-size: 1.06rem;
  color: var(--text-main);
  background: var(--gw-bg-soft);
  padding: 16px 22px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gw-green);
}

/* ==========================================================================
   6. L'ÉCOSYSTÈME — VUE D'ENSEMBLE INTERACTIVE (SLIDE 9 / image15.png)
   ========================================================================== */
.eco-overview-shell {
  display: grid;
  grid-template-columns: 380px 1fr;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  background: #F4F5F3;
}

.eco-left-panel {
  background: var(--gw-green);
  border-left: 8px solid var(--academy-main);
  color: var(--white);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.eco-left-lead {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
}

.eco-left-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eco-left-link-card {
  display: block;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.eco-left-link-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.eco-left-link-card strong {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  color: var(--white);
}

.eco-left-link-card span {
  font-size: 1.05rem;
  color: #D7EAD9;
}

.eco-left-link-card em {
  display: block;
  margin-top: 3px;
  font-size: 0.88rem;
  color: #CFE4D3;
}

.eco-diagram-area {
  position: relative;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #FFFFFF 0%, #F2F4F1 100%);
}

.eco-interactive-board {
  position: relative;
  width: min(640px, 100%);
  aspect-ratio: 1 / 1;
  container: eco-board / inline-size;
}

.eco-svg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eco-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  z-index: 3;
  group: true;
}

.eco-node-circle {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 6px 18px rgba(15, 45, 28, 0.12);
  border: 5px solid var(--gw-green);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.eco-node:hover .eco-node-circle {
  transform: scale(1.09);
  box-shadow: 0 10px 26px rgba(15, 97, 42, 0.24);
}

.eco-node-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eco-node-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.92);
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.2;
  max-width: 130px;
}

.eco-node:hover .eco-node-label {
  color: var(--gw-green);
  text-decoration: underline;
}

/* Couleurs d'anneaux du schéma écosystème (fidèle à image15.png) */
.ring-entrep .eco-node-circle { border-color: var(--pilier-entrep); width: 84px; height: 84px; }
.ring-famille .eco-node-circle { border-color: var(--pilier-famille); width: 84px; height: 84px; }
.ring-asso .eco-node-circle { border-color: var(--pilier-asso); width: 84px; height: 84px; }
.ring-etat .eco-node-circle { border-color: var(--pilier-etat); width: 84px; height: 84px; }

.ring-champ .eco-node-circle { border-color: var(--gw-green); width: 72px; height: 72px; }

.ring-lab .eco-node-circle { border-color: var(--lab-main); width: 80px; height: 80px; }
.ring-academy .eco-node-circle { border-color: var(--academy-main); width: 80px; height: 80px; }
.ring-terra .eco-node-circle { border-color: var(--terra-main); width: 80px; height: 80px; }

.eco-center-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #486327;
  border: 3px solid var(--gw-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 4;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

.eco-center-badge:hover {
  background: var(--gw-green);
  transform: translate(-50%, -50%) scale(1.06);
}

.eco-hint {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   7. LES QUATRE PILIERS — SCHÉMA INTERACTIF (SLIDE 10 / image16.jpg)
   ========================================================================== */
.piliers-intro {
  max-width: 980px;
  margin: 0 auto 28px;
  text-align: center;
  font-size: 1.04rem;
  color: var(--text-main);
}

.piliers-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.flow-top-box {
  border: 2px solid var(--gw-green);
  background: var(--gw-bg-soft);
  padding: 14px 38px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--text-dark);
}

.piliers-cards-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.pilier-schema-card {
  background: var(--white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-soft);
}

.pilier-schema-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15, 45, 28, 0.12);
}

.pilier-schema-card.p-famille { border-color: var(--pilier-famille); }
.pilier-schema-card.p-etat { border-color: var(--pilier-etat); }
.pilier-schema-card.p-asso { border-color: var(--pilier-asso); }
.pilier-schema-card.p-entrep { border-color: var(--pilier-entrep); }

.pilier-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid currentColor;
}

.p-famille .pilier-card-head { border-bottom-color: var(--pilier-famille); }
.p-etat .pilier-card-head { border-bottom-color: var(--pilier-etat); }
.p-asso .pilier-card-head { border-bottom-color: var(--pilier-asso); }
.p-entrep .pilier-card-head { border-bottom-color: var(--pilier-entrep); }

.pilier-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--gw-green);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.p-famille .pilier-icon-ring { border-color: var(--pilier-famille); }
.p-etat .pilier-icon-ring { border-color: var(--pilier-etat); }
.p-asso .pilier-icon-ring { border-color: var(--pilier-asso); }
.p-entrep .pilier-icon-ring { border-color: var(--pilier-entrep); }

.pilier-card-head :is(h2, h3) {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.pilier-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pilier-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  color: var(--text-dark);
}

.pilier-bullets li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.p-famille .pilier-bullets li::before { background: var(--pilier-famille); }
.p-etat .pilier-bullets li::before { background: var(--pilier-etat); }
.p-asso .pilier-bullets li::before { background: var(--pilier-asso); }
.p-entrep .pilier-bullets li::before { background: var(--pilier-entrep); }

.pilier-card-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gw-green);
}

.etat-subpowers {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: #EDF6EE;
  padding: 18px;
  border-radius: var(--radius-md);
}

.subpower-box {
  background: #EFEFEF;
  border: 1px solid #C8CECB;
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  text-align: center;
}

.subpower-box :is(h3, h4) {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: #0D4B54;
  margin-bottom: 4px;
}

.subpower-box p {
  font-size: 0.8rem;
  color: var(--text-dark);
}

.flow-bottom-solution {
  background: var(--gw-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  padding: 15px 56px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   8. FICHES DÉTAILLÉES PILIERS, CHAMPS & ACTIVITÉS (SLIDES 11 À 22)
   ========================================================================== */
.sheet-lead {
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  margin-bottom: 24px;
  max-width: 960px;
}

.sheet-emphasis {
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 700;
  line-height: 1.48;
  max-width: 900px;
}

.two-col-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}

.panel-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 24px 26px;
}

.panel-box.tinted {
  background: #ECF5EB;
}

.panel-box h3 {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--gw-green);
  margin-bottom: 16px;
  line-height: 1.4;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 1rem;
  line-height: 1.52;
  color: var(--text-dark);
}

.bullet-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--gw-green);
  font-weight: 700;
}

.bullet-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 32px;
  margin: 16px 0 24px;
}

.callout-strip {
  background: #ECF5EB;
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin-top: 20px;
  font-size: 1.04rem;
  line-height: 1.58;
  color: var(--text-dark);
}

.callout-strip.white-bg {
  background: var(--white);
}

.callout-strip.academy-gold {
  background: var(--academy-mid);
  margin: 22px 0;
}

/* Activités avec photo à droite (Sarco Lab, Sarco Academy, Sarco Terra) */
.activity-split {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.activity-subtitle {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--lab-main);
  margin-bottom: 18px;
  line-height: 1.4;
}

.activity-photo-figure img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  object-fit: cover;
}

.activity-photo-caption {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-main);
  opacity: 0.85;
}

.terra-top-row {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.terra-three-cols {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1.35fr;
  gap: 28px;
}

.terra-col h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gw-green);
  margin-bottom: 12px;
}

.terra-col p {
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--text-dark);
}

/* Slide 22 : Des activités complémentaires */
.comp-bars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 28px;
}

.comp-bar {
  display: block;
  padding: 20px 24px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-dark);
  border-left: 8px solid var(--gw-green);
}

.comp-bar.bar-lab { background: var(--lab-soft); border-left-color: var(--lab-main); }
.comp-bar.bar-academy { background: var(--academy-soft); border-left-color: var(--academy-main); }
.comp-bar.bar-terra { background: var(--terra-soft); border-left-color: var(--terra-main); }

.comp-bar:hover {
  transform: translateX(4px);
}

/* ==========================================================================
   9. LA SARCOMUSATION (SLIDE 23)
   ========================================================================== */
.sarco-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-soft);
  background: #FAF8F2;
}

.sarco-body {
  display: grid;
  grid-template-columns: 1.55fr 0.85fr;
  align-items: stretch;
}

.sarco-text {
  padding: clamp(28px, 4.5vw, 54px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.sarco-text p {
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--text-dark);
}

.sarco-lead-word {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  color: #0D3D22;
}

.sarco-simple-summary {
  font-weight: 700;
  color: #0D3D22;
}

.sarco-image-wrap {
  position: relative;
  min-height: 340px;
}

.sarco-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sarco-bottom-banner {
  background: #084C27;
  color: var(--white);
  text-align: center;
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
}

.sarco-bottom-banner a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #CBEFA8;
}

.sarco-bottom-banner a:hover {
  color: var(--white);
}

/* ==========================================================================
   10. NOS PROJETS & ACTUALITÉS (SLIDES 24 & 25)
   ========================================================================== */
.announcement-card {
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: clamp(44px, 7vw, 88px) clamp(28px, 5vw, 64px);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.announcement-kicker {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gw-green);
  margin-bottom: 20px;
}

.announcement-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.2;
  max-width: 880px;
  margin-bottom: 28px;
}

.announcement-bar {
  width: 78px;
  height: 5px;
  background: var(--academy-main);
  border-radius: 3px;
}

/* ==========================================================================
   10b. VUE D'ENSEMBLE CHAMPS D'APPLICATION & TROIS ACTIVITÉS (PDF PAGE 1)
   ========================================================================== */
.champs-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 22px 0;
}

.champ-overview-card {
  background: var(--white);
  border: 1.5px solid #63A870;
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.champ-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
  border-color: var(--gw-green);
}

.champ-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.champ-card-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1;
  padding-bottom: 6px;
  border-bottom: 3px solid var(--gw-green);
}

.champ-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 3px solid var(--gw-green);
  padding: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--white);
}

.champ-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.champ-card-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #A8D1AF;
}

.champ-card-desc {
  font-size: 0.93rem;
  line-height: 1.52;
  color: var(--text-dark);
}

.champs-bottom-banner {
  background: #E4F2E6;
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--gw-green);
}

.activites-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 24px 0;
}

.activite-overview-card {
  border-radius: var(--radius-md);
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.activite-overview-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.activite-overview-card.act-card-lab {
  background: var(--lab-soft);
  border-color: #8AC4CB;
}

.activite-overview-card.act-card-academy {
  background: #FBF2DA;
  border-color: #E3C872;
}

.activite-overview-card.act-card-terra {
  background: var(--terra-soft);
  border-color: #9ED183;
}

.act-card-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  margin-bottom: 4px;
}

.act-card-num {
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  padding-bottom: 6px;
  border-bottom: 3px solid currentColor;
}

.act-card-lab .act-card-num { color: var(--lab-main); }
.act-card-academy .act-card-num { color: #C59B27; }
.act-card-terra .act-card-num { color: var(--terra-main); }

.act-card-symbol {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--white);
  padding: 8px;
  border: 3px solid var(--lab-main);
  display: flex;
  align-items: center;
  justify-content: center;
}

.act-card-academy .act-card-symbol { border-color: #D6B356; }
.act-card-terra .act-card-symbol { border-color: var(--terra-main); }

.act-card-symbol img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.act-card-title {
  font-family: var(--font-heading);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1.5px solid rgba(15, 45, 28, 0.16);
}

.act-card-lab .act-card-title { color: #0D3F47; }
.act-card-academy .act-card-title { color: #1D2922; }
.act-card-terra .act-card-title { color: #124B22; }

.act-card-verb {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 800;
  text-align: center;
  color: var(--text-dark);
  margin-top: 2px;
}

.act-card-desc {
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--text-dark);
  text-align: center;
}

.activites-bottom-banner {
  background: #EAF4EA;
  border-radius: var(--radius-sm);
  padding: 15px 22px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 800;
  color: var(--text-dark);
}

/* ==========================================================================
   10c. NOS PROJETS — CARTE AQUARELLE INTERACTIVE & 14 FICHES (PDF PAGES 3–17)
   ========================================================================== */
.projets-map-card {
  background-color: #FAF8F2;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.2vw, 28px);
  box-shadow: var(--shadow-soft);
  margin-bottom: 42px;
  overflow: hidden;
}

.projets-mindmap {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 760;
  container: projets-map / inline-size;
}

.mindmap-svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.mindmap-svg-desktop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block;
}

.mindmap-cloud-bg-mobile,
.mindmap-mobile-branches,
.mindmap-mobile-blue-fan {
  display: none;
}

.mindmap-cloud,
.mindmap-mobile-hub-row {
  display: contents;
}

.projets-map-head {
  position: absolute;
  left: 50%;
  top: 7.5%;
  transform: translate(-50%, -50%);
  width: 56%;
  text-align: center;
  z-index: 2;
}

.projets-map-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.4vw, 2.85rem);
  font-weight: 800;
  color: #1D2621;
  line-height: 1.1;
  margin-bottom: 4px;
}

.projets-map-subtitle {
  font-size: clamp(0.92rem, 1.35vw, 1.18rem);
  color: #2B3830;
  font-weight: 500;
  line-height: 1.25;
}

.mindmap-center-hub {
  position: absolute;
  left: 50%;
  top: 36.2%;
  transform: translate(-50%, -50%);
  width: 21%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  z-index: 2;
}

.map-center-logo {
  width: clamp(110px, 14vw, 185px);
  height: auto;
}

.map-center-motto {
  font-family: var(--font-heading);
  font-size: clamp(0.68rem, 0.98vw, 0.94rem);
  font-weight: 800;
  line-height: 1.28;
  color: #1D2621;
}

.mindmap-cloud-title {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-align: center;
  z-index: 2;
}

.cloud-title-green {
  left: 20.7%;
  top: 44.5%;
  color: #0F5C2E;
  font-style: italic;
}

.cloud-title-blue {
  left: 50%;
  top: 68.9%;
  color: #153A5B;
}

.mindmap-node {
  --tx: -50%;
  --ty: -50%;
  --lift: 0px;
  position: absolute;
  transform: translate(var(--tx), calc(var(--ty) + var(--lift)));
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 6px 10px;
  min-height: 28px;
  border-radius: 12px;
  background: transparent;
  color: #1D2621;
  text-align: center;
  text-decoration: none;
  z-index: 3;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, color 0.18s ease;
}

.mindmap-cloud-green .mindmap-node,
.mindmap-cloud-gold .mindmap-node {
  max-width: min(215px, 15.6%);
}

.mindmap-cloud-blue .mindmap-node {
  max-width: min(235px, 20.5%);
}

.mindmap-node:hover {
  --lift: -2px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 4px 14px rgba(15, 45, 28, 0.12);
}

.mindmap-node:focus-visible {
  background: rgba(255, 255, 255, 0.88);
  outline: 3px solid var(--gw-green);
  outline-offset: 3px;
}

.mindmap-cloud-green .mindmap-node:hover .map-node-title {
  color: #0F612A;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mindmap-cloud-gold .mindmap-node:hover .map-node-title {
  color: #7D5B1E;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mindmap-cloud-blue .mindmap-node:hover .map-node-title {
  color: #153A5B;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.map-node-title {
  font-family: var(--font-heading);
  font-size: clamp(0.76rem, 1.15vw, 0.98rem);
  font-weight: 800;
  line-height: 1.22;
  color: #1D2621;
}

.map-node-sub {
  font-size: clamp(0.68rem, 0.95vw, 0.84rem);
  font-style: italic;
  color: #2F4238;
  line-height: 1.22;
}

@supports (font-size: 1cqi) {
  .projets-map-title {
    font-size: clamp(1.75rem, 3.8cqi, 2.85rem);
  }
  .projets-map-subtitle {
    font-size: clamp(0.92rem, 1.55cqi, 1.18rem);
  }
  .map-center-logo {
    width: clamp(110px, 16.5cqi, 185px);
  }
  .map-center-motto {
    font-size: clamp(0.68rem, 1.12cqi, 0.94rem);
  }
  .mindmap-cloud-title {
    font-size: clamp(1.15rem, 2.15cqi, 1.65rem);
  }
  .map-node-title {
    font-size: clamp(0.76rem, 1.28cqi, 0.98rem);
  }
  .map-node-sub {
    font-size: clamp(0.68rem, 1.05cqi, 0.84rem);
  }
}

/* Coordonnées des 14 nœuds sur la toile desktop 1200×760 */
.node-01 { left: 12.3%; top: 26.8%; }
.node-02 { left: 28.3%; top: 27.6%; }
.node-08 { left: 12.7%; top: 59.8%; }
.node-06 { left: 28.3%; top: 58.9%; }
.node-03 { left: 70.5%; top: 28.2%; }
.node-04 { left: 87.3%; top: 28.2%; }
.node-05 { left: 70.5%; top: 60.2%; }
.node-07 { left: 87.7%; top: 60.5%; }
.node-09 { left: 28%;   top: 78.8%; }
.node-10 { left: 50%;   top: 78.8%; }
.node-11 { left: 72%;   top: 78.8%; }
.node-12 { left: 28%;   top: 90.6%; }
.node-13 { left: 50%;   top: 90.6%; }
.node-14 { left: 72%;   top: 90.6%; }

.projets-map-hint {
  margin-top: 10px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .projets-mindmap {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .mindmap-svg-desktop {
    display: none;
  }
  .projets-map-head,
  .mindmap-center-hub,
  .mindmap-cloud-title,
  .mindmap-node {
    position: relative;
    left: auto;
    top: auto;
    width: auto;
    max-width: none;
    --tx: 0px;
    --ty: 0px;
  }
  .projets-map-head {
    transform: none;
    width: 100%;
    margin-bottom: 2px;
  }
  .mindmap-center-hub {
    transform: none;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }
  .map-center-logo {
    width: 132px;
  }
  .map-center-motto {
    font-size: 0.88rem;
  }
  .mindmap-cloud {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    padding: 24px 16px;
    isolation: isolate;
    align-items: center;
  }
  .mindmap-cloud-bg-mobile {
    display: block;
    position: absolute;
    inset: -6px -10px;
    width: calc(100% + 20px);
    height: calc(100% + 12px);
    z-index: -1;
    pointer-events: none;
  }
  .mindmap-mobile-hub-row {
    display: grid;
    place-items: center;
    grid-column: 1 / -1;
    position: relative;
    margin: 2px 0;
  }
  .mindmap-mobile-branches {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
  }
  .mindmap-mobile-hub-row .mindmap-cloud-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(212, 240, 206, 0.78);
    padding: 2px 10px;
    border-radius: 999px;
  }
  .cloud-title-blue {
    grid-column: 1 / -1;
    transform: none;
    white-space: normal;
  }
  .mindmap-mobile-blue-fan {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto 2px;
  }
  .mindmap-node {
    padding: 8px 6px;
    width: 100%;
  }
  .mindmap-cloud-green .mindmap-node,
  .mindmap-cloud-gold .mindmap-node,
  .mindmap-cloud-blue .mindmap-node {
    max-width: none;
  }
  .mindmap-cloud-blue .mindmap-node::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4E6E8E;
    margin-bottom: 3px;
  }
  .map-node-title {
    font-size: 0.9rem;
  }
  .map-node-sub {
    font-size: 0.78rem;
  }
}

/* 14 Fiches projets détaillées */
.projets-sheets-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.projet-sheet {
  --proj-accent: #185A33;
  --proj-soft: rgba(24, 90, 51, 0.08);
  background-color: #FAF9F4;
  background-image:
    radial-gradient(ellipse 45% 60% at 0% 50%, rgba(164, 204, 152, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 45% 45% at 85% 0%, rgba(245, 217, 158, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 95% 100%, rgba(203, 224, 238, 0.34) 0%, transparent 70%);
  border: 1px solid var(--border-light);
  border-left: 8px solid var(--proj-accent);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-soft);
}

.projet-sheet.theme-proj-gold {
  --proj-accent: #7D5B1E;
  --proj-soft: rgba(125, 91, 30, 0.09);
}

.projet-sheet.theme-proj-blue {
  --proj-accent: #1D466B;
  --proj-soft: rgba(29, 70, 107, 0.08);
}

.projet-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.projet-kicker {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--proj-accent);
  margin-bottom: 8px;
}

.projet-title {
  font-family: var(--font-heading);
  font-size: clamp(1.48rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--proj-accent);
}

.projet-num {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--proj-accent);
  flex-shrink: 0;
}

.projet-body-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 28px 44px;
  margin: 24px 0 28px;
}

.projet-col-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.projet-section-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--proj-accent);
  margin-bottom: 8px;
}

.projet-block p {
  font-size: 1.02rem;
  line-height: 1.58;
  color: #202B25;
}

.projet-actions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.projet-action-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: start;
}

.projet-action-num {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--proj-accent);
  padding-top: 2px;
}

.projet-action-item p {
  font-size: 0.99rem;
  line-height: 1.55;
  color: #202B25;
}

.projet-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px 36px;
  align-items: end;
  padding-top: 20px;
  border-top: 1px solid rgba(15, 45, 28, 0.12);
}

.projet-budget-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.projet-budget-value {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--proj-accent);
  background: var(--proj-soft);
  padding: 5px 14px;
  border-radius: 999px;
}

.projet-sheet-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.projet-back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--proj-accent);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(15, 45, 28, 0.14);
}

.projet-back-top:hover {
  background: var(--white);
  border-color: var(--proj-accent);
}

/* ==========================================================================
   11. CONTACT (SLIDE 26 / image49.jpeg)
   ========================================================================== */
.contact-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 2.75rem);
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 6px;
}

.contact-subtitle {
  font-size: 1.08rem;
  color: #354A54;
  margin-bottom: 28px;
}

.contact-general-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.contact-general-box {
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 22px 28px;
}

.contact-general-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gw-green);
  margin-bottom: 6px;
}

.contact-general-label.press {
  color: #8E6516;
}

.contact-general-mail {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  color: var(--text-dark);
}

.contact-general-mail:hover {
  color: var(--gw-green);
}

.contact-leads-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.contact-lead-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--gw-bg-soft);
  display: flex;
  flex-direction: column;
}

.contact-lead-card.lead-lab { background: var(--lab-soft); border-color: #C4DFE3; }
.contact-lead-card.lead-academy { background: var(--academy-soft); border-color: #E5D4A6; }
.contact-lead-card.lead-terra { background: var(--terra-soft); border-color: #CDE4C2; }

.contact-lead-header {
  padding: 13px 20px;
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  background: var(--gw-green);
}

.lead-lab .contact-lead-header { background: var(--lab-main); }
.lead-academy .contact-lead-header { background: var(--academy-main); }
.lead-terra .contact-lead-header { background: var(--terra-main); }

.contact-lead-body {
  padding: 22px 20px 26px;
}

.contact-lead-name {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--text-dark);
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--gw-green);
}

.lead-lab .contact-lead-name { border-bottom-color: var(--lab-main); }
.lead-academy .contact-lead-name { border-bottom-color: var(--academy-main); }
.lead-terra .contact-lead-name { border-bottom-color: var(--terra-main); }

.contact-lead-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-lead-links a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   12. PAGES LÉGALES (COOKIES, CONFIDENTIALITÉ, MENTIONS LÉGALES — SLIDES 27-29)
   ========================================================================== */
.legal-article {
  max-width: 920px;
  padding-bottom: 24px;
}

.legal-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}

.legal-article h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gw-green);
  margin: 28px 0 12px;
}

.legal-article h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 18px 0 8px;
}

.legal-article p {
  margin-bottom: 12px;
  color: var(--text-main);
}

.legal-article ul {
  margin: 8px 0 16px 20px;
  list-style: disc;
}

.legal-article li {
  margin-bottom: 6px;
}

.legal-card-info {
  background: var(--gw-bg-soft);
  border-left: 4px solid var(--gw-green);
  padding: 16px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 14px 0 18px;
}

.legal-card-info p {
  margin-bottom: 4px;
}

/* ==========================================================================
   13. PIED DE PAGE IDENTIQUE SUR TOUTES LES PAGES (SLIDES 1-29 + image2.png)
   ========================================================================== */
.site-footer {
  background-color: var(--gw-green-dark);
  background-image:
    linear-gradient(180deg, rgba(11, 41, 26, 0.78) 0%, rgba(11, 41, 26, 0.92) 100%),
    url('../imgs/footer-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  color: var(--white);
  padding: 28px 20px 24px;
  text-align: center;
  margin-top: auto;
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--white);
}

.footer-motto {
  font-size: clamp(0.76rem, 3.4vw, 0.92rem);
  color: var(--white);
  text-wrap: balance;
}

.footer-address {
  font-size: 0.84rem;
  color: #E1EBE3;
  margin-top: 2px;
}

.footer-legal-row {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #D2DED5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
}

.footer-legal-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.footer-legal-links a {
  color: #D2DED5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links a:hover {
  color: var(--white);
}

@keyframes reveal-fade-start {
  to {
    --fade-start: var(--fade-size);
  }
}

@keyframes hide-fade-end {
  from {
    --fade-end: var(--fade-size);
  }
}

@container eco-board (max-width: 480px) {
  .eco-node {
    gap: 2px;
  }
  .eco-node-circle {
    width: 12cqi;
    height: 12cqi;
    padding: 1.4cqi;
    border-width: 3px;
  }
  .ring-entrep .eco-node-circle,
  .ring-famille .eco-node-circle,
  .ring-asso .eco-node-circle,
  .ring-etat .eco-node-circle {
    width: 12.8cqi;
    height: 12.8cqi;
  }
  .ring-champ .eco-node-circle {
    width: 11.2cqi;
    height: 11.2cqi;
  }
  .ring-lab .eco-node-circle,
  .ring-academy .eco-node-circle,
  .ring-terra .eco-node-circle {
    width: 12cqi;
    height: 12cqi;
  }
  .eco-center-badge {
    width: 12.4cqi;
    height: 12.4cqi;
    font-size: clamp(0.46rem, 2.2cqi, 0.8rem);
    border-width: 2px;
  }
  .eco-node-label {
    font-size: clamp(0.48rem, 2.2cqi, 0.76rem);
    padding: 1px 4px;
    max-width: 24cqi;
    line-height: 1.12;
  }
}

@media (pointer: coarse) {
  .mobile-toggle,
  .mobile-close {
    min-width: 44px;
    min-height: 44px;
  }
  .subnav-pill {
    min-height: 44px;
  }
}

/* ==========================================================================
   14. RESPONSIVE DESIGN (LAPTOP, IPAD / TABLETTE, TÉLÉPHONE)
   ========================================================================== */
@media (max-width: 1120px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .org-cards-grid,
  .contact-leads-grid,
  .piliers-cards-row,
  .champs-overview-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .eco-overview-shell {
    grid-template-columns: 1fr;
  }
  .eco-left-panel {
    border-left: none;
    border-top: 6px solid var(--academy-main);
  }
  .terra-three-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .activites-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .bref-grid,
  .rassemble-grid,
  .two-col-panels,
  .bullet-grid-2,
  .activity-split,
  .terra-top-row,
  .sarco-body,
  .contact-general-grid,
  .projet-body-grid {
    grid-template-columns: 1fr;
  }
  .cap-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }
  .projet-footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .etat-subpowers {
    grid-template-columns: repeat(2, 1fr);
  }
  .sarco-image-wrap {
    min-height: 260px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .subnav-strip {
    padding: 4px 0 12px;
    margin-bottom: 18px;
  }
  .subnav-pills,
  .eco-subnav-grid,
  .qsn-subnav-grid {
    display: flex;
    flex-wrap: nowrap;
    padding: 6px 2px;
    gap: 8px;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: inline proximity;
    scroll-padding-inline: 24px;
    --fade-size: 2rem;
    mask:
      linear-gradient(black, black) no-clip subtract,
      linear-gradient(to right, black, transparent) 0 0 / var(--fade-start) 100% no-repeat no-clip,
      linear-gradient(to right, transparent, black) 100% 0 / var(--fade-end) 100% no-repeat no-clip;
    animation: reveal-fade-start linear both, hide-fade-end linear both;
    animation-timeline: scroll(self inline);
    animation-range: 0 var(--fade-size), calc(100% - var(--fade-size)) 100%;
    transition: --fade-start 0.2s, --fade-end 0.2s;
  }
  .subnav-pills::-webkit-scrollbar {
    display: none;
  }
  .subnav-pills.more-start {
    --fade-start: var(--fade-size);
  }
  .subnav-pills.more-end {
    --fade-end: var(--fade-size);
  }
  .subnav-pill,
  .eco-subnav-grid .subnav-pill,
  .qsn-subnav-grid .subnav-pill {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
    border-radius: 999px;
    padding: 7px 14px;
    min-height: 36px;
    font-size: 0.85rem;
    background: var(--gw-bg-soft);
  }
  .eco-subnav-grid .subnav-overview,
  .eco-subnav-grid .subnav-hub {
    grid-column: auto;
    background: #E8F3EA;
    border-color: #C7DFCB;
  }
  .eco-subnav-grid .subnav-hub::after {
    display: none;
  }
  .subnav-pill.active,
  .eco-subnav-grid .subnav-pill.active,
  .qsn-subnav-grid .subnav-pill.active {
    background: var(--gw-green);
    border-color: var(--gw-green);
    color: var(--white);
  }
  .subnav-pill.pill-lab.active,
  .eco-subnav-grid .subnav-pill.pill-lab.active {
    background: var(--lab-main);
    border-color: var(--lab-main);
    color: var(--white);
  }
  .subnav-pill.pill-academy.active,
  .eco-subnav-grid .subnav-pill.pill-academy.active {
    background: var(--academy-main);
    border-color: var(--academy-main);
    color: #1D2922;
  }
  .subnav-pill.pill-terra.active,
  .eco-subnav-grid .subnav-pill.pill-terra.active {
    background: var(--terra-main);
    border-color: var(--terra-main);
    color: var(--white);
  }
}

@media (pointer: coarse) {
  .subnav-pill,
  .eco-subnav-grid .subnav-pill,
  .qsn-subnav-grid .subnav-pill {
    min-height: 44px;
  }
}

@media (max-width: 620px) {
  .site-header {
    --header-height: 64px;
    height: 64px;
  }
  .brand-logo img {
    height: 46px;
  }
  .container {
    padding: 0 16px;
  }
  .breadcrumb-row {
    flex-wrap: nowrap;
    gap: 8px;
  }
  .breadcrumb {
    font-size: 0.8rem;
    min-width: 0;
  }
  .share-toggle-btn {
    padding: 5px 10px;
    font-size: 0.78rem;
    flex-shrink: 0;
  }
  .hero-card {
    min-height: calc(100dvh - 210px);
    padding: 34px 18px;
  }
  .hero-kicker {
    font-size: clamp(0.64rem, 2.7vw, 0.78rem);
    padding: 6px 12px;
    text-align: center;
  }
  .share-popover {
    width: min(304px, calc(100vw - 32px));
  }
  .org-cards-grid,
  .contact-leads-grid,
  .piliers-cards-row,
  .etat-subpowers,
  .champs-overview-grid {
    grid-template-columns: 1fr;
  }
  .eco-diagram-area {
    padding: 16px 8px;
  }
  .contact-general-mail {
    overflow-wrap: anywhere;
  }
  .flow-top-box,
  .flow-bottom-solution {
    padding: 12px 20px;
    text-align: center;
    max-width: 100%;
  }
  .projets-map-card {
    padding: 18px 12px;
  }
  .mindmap-cloud {
    padding: 22px 10px;
  }
}

@media (max-width: 520px) {
  .footer-legal-links {
    gap: 6px 14px;
  }
  .footer-legal-links > span {
    display: none;
  }
}

@media (pointer: coarse) {
  .mindmap-node {
    min-height: 44px;
  }
}


/* ==========================================================================
   15. LAYOUT PLEIN ÉCRAN & SIDEBAR ÉDITORIALE (MAQUETTE SAM V3 — 1 PAGE PAR SOUS-MENU)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  @view-transition {
    navigation: auto;
  }
}

.skip-link:where(:not(:focus-visible, :focus)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus-visible,
.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 3000;
  padding: 10px 18px;
  border-radius: 8px;
  background: var(--gw-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(11, 41, 26, 0.25);
  outline: 3px solid var(--academy-main);
  outline-offset: 2px;
}

html, body {
  overflow-x: clip;
}

body {
  min-height: 100dvh;
}

.site-header {
  height: 72px;
  --header-height: 72px;
}

.site-header .header-inner {
  max-width: none;
  width: 100%;
  padding: 0 clamp(18px, 3vw, 48px);
}

.dropdown-panel.mega-projets {
  min-width: 580px;
  left: auto;
  right: -130px;
  padding: 18px 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.brand-logo img {
  height: 54px;
}

.nav-link.active,
.nav-link[aria-current="page"] {
  color: var(--gw-green);
  font-weight: 700;
}

.nav-link.active::after,
.nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -2px;
  height: 3px;
  border-radius: 3px;
  background: var(--academy-main);
}

/* --- Accueil : Hero plein écran bord à bord --- */
.home-hero-full {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(32px, 4.5dvh, 64px) clamp(20px, 5vw, 64px);
  background-color: #0D2D19;
  background-image:
    linear-gradient(160deg, rgba(10, 42, 22, 0.72) 0%, rgba(14, 58, 30, 0.62) 55%, rgba(8, 34, 18, 0.78) 100%),
    url('../imgs/hero-foret-1920.webp');
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.home-hero-full .hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto;
}

.home-hero-full .hero-title {
  font-size: clamp(1.9rem, 3.6vw, 3.25rem);
  line-height: 1.2;
}

/* --- Conteneur plein écran ouvert (pages sans sidebar, cadrage 1 écran + footer visible) --- */
.sam-full-shell {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--white);
  padding: clamp(20px, 2.8dvh, 42px) clamp(20px, 4.5vw, 72px) clamp(16px, 2.2dvh, 28px);
}

.sam-full-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* --- Conteneur plein écran scindé (Sidebar sticky gauche + contenu large droite) --- */
.sam-split-shell {
  display: grid;
  grid-template-columns: clamp(235px, 20.5vw, 290px) minmax(0, 1fr);
  width: 100%;
  flex: 1;
  background: var(--white);
}

.sam-sidebar {
  background: var(--gw-bg-soft);
  border-right: 1px solid var(--border-light);
  padding: clamp(22px, 3dvh, 36px) 22px 28px;
}

.sam-toc {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  max-height: calc(100dvh - var(--header-height) - 48px);
  overflow-y: auto;
}

.sam-toc-summary {
  list-style: none;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 18px;
  padding-left: 14px;
  cursor: default;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sam-toc-summary::-webkit-details-marker {
  display: none;
}

@media (min-width: 921px) {
  .sam-toc.has-hub .sam-toc-summary {
    display: none;
  }
}

.sam-toc-chevron {
  display: none;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.sam-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  scroll-target-group: auto;
}

.sam-sidebar-group-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gw-green);
  padding: 14px 12px 6px 14px;
  margin-top: 6px;
}

.sam-sidebar-group-title:first-child {
  margin-top: 0;
  padding-top: 0;
}

.sam-sidebar-hub-link {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--gw-green);
  padding: 0 10px 14px 14px;
}

.sam-sidebar-hub-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sam-sidebar-link {
  display: block;
  position: relative;
  padding: 8px 10px 8px 16px;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-main);
  border-radius: 6px;
  transition: color 0.16s ease, background-color 0.16s ease;
}

.sam-sidebar-link:hover {
  color: var(--gw-green);
  background: rgba(15, 97, 42, 0.05);
}

.sam-sidebar-link:focus-visible {
  outline: 3px solid var(--gw-green);
  outline-offset: 2px;
}

.sam-sidebar-link:is(:target-current, .target-current, .active, [aria-current="page"]) {
  color: var(--gw-green);
  font-weight: 700;
}

.sam-sidebar-link:is(:target-current, .target-current, .active, [aria-current="page"])::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: var(--academy-main);
}

.sam-sidebar-secondary {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sam-sidebar-secondary a {
  display: block;
  padding: 6px 10px 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: 6px;
}

.sam-sidebar-secondary a:hover {
  color: var(--gw-green);
  background: rgba(15, 97, 42, 0.05);
}

.sam-content {
  padding: clamp(22px, 3dvh, 44px) clamp(24px, 4.5vw, 76px) clamp(16px, 2.2dvh, 28px);
  background: var(--white);
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* --- Typographie éditoriale plein écran --- */
.sam-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gw-green);
  margin-bottom: 12px;
}

.sam-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--academy-main);
  flex: none;
}

.sam-eyebrow-icon {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gw-green);
  margin-bottom: 10px;
}

.sam-eyebrow-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.sam-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.95rem);
  font-weight: 800;
  color: var(--gw-green-dark);
  line-height: 1.14;
  margin-bottom: 18px;
}

.sam-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.7vw, 2.55rem);
  font-weight: 800;
  color: var(--gw-green-dark);
  line-height: 1.16;
  margin-bottom: 16px;
}

.sam-lead-green {
  font-family: var(--font-heading);
  font-size: clamp(1.28rem, 2vw, 1.85rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.28;
  margin-bottom: 22px;
  max-width: 820px;
}

.sam-lead-dark {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.55vw, 1.48rem);
  font-weight: 800;
  color: var(--gw-green-dark);
  line-height: 1.35;
  margin-bottom: 22px;
  max-width: 920px;
}

.sam-prose {
  font-size: clamp(1.02rem, 1.12vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-main);
  max-width: 860px;
}

.sam-prose p + p {
  margin-top: 16px;
}

/* --- Sections verticales Qui sommes-nous --- */
.sam-section {
  padding: clamp(36px, 4.5vw, 64px) 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: calc(var(--header-height) + 18px);
}

.sam-section:first-child {
  padding-top: 0;
}

.sam-section:last-of-type {
  border-bottom: none;
  padding-bottom: 24px;
}

.sam-quote-bar {
  margin-top: 28px;
  padding: 22px 26px;
  background: #F4F8F4;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  font-weight: 800;
  color: var(--gw-green);
  max-width: 860px;
}

.sam-cap-quote {
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: clamp(1.04rem, 1.2vw, 1.18rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.5;
  max-width: 860px;
}

.sam-split-media {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.sam-photo-frame {
  border-radius: 6px;
  overflow: hidden;
  background: var(--gw-bg-soft);
}

.sam-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sam-photo-tall img {
  aspect-ratio: 3 / 4;
  max-height: 520px;
}

.sam-photo-landscape img {
  aspect-ratio: 16 / 10;
}

/* Ce qui nous rassemble (grille 2x2 avec photos + icônes) */
.sam-rassemble-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.8vw, 34px);
  margin: 24px 0 26px;
}

.sam-rassemble-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sam-rassemble-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--gw-green-dark);
}

.sam-rassemble-card-head img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: none;
}

.sam-rassemble-card-photo {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
}

.sam-rassemble-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.sam-rassemble-card:hover .sam-rassemble-card-photo img {
  transform: scale(1.03);
}

.sam-closing-green {
  font-family: var(--font-heading);
  font-size: clamp(1.04rem, 1.25vw, 1.2rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.45;
  max-width: 900px;
}

/* Nos engagements : accordéon interactif 2 colonnes */
.sam-engagements-widget {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-top: 24px;
}

.sam-eng-list {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--border-light);
}

.sam-eng-item {
  border-bottom: 2px solid var(--border-light);
}

.sam-eng-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 4px;
  background: transparent;
  border: none;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.3vw, 1.26rem);
  font-weight: 600;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: color 0.16s ease;
}

.sam-eng-btn:hover {
  color: var(--gw-green);
}

.sam-eng-btn:focus-visible {
  outline: 3px solid var(--gw-green);
  outline-offset: 2px;
  border-radius: 4px;
}

.sam-eng-item.is-open .sam-eng-btn {
  color: var(--gw-green);
  font-weight: 800;
}

.sam-eng-sign {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1;
  flex: none;
}

.sam-eng-item.is-open .sam-eng-sign::before {
  content: "−";
}

.sam-eng-item:not(.is-open) .sam-eng-sign::before {
  content: "+";
}

.sam-eng-mobile-body {
  display: none;
  padding-bottom: 18px;
}

.sam-eng-mobile-body img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.sam-eng-mobile-body p {
  font-size: 1rem;
  color: var(--text-main);
  line-height: 1.55;
}

.sam-eng-stage {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sam-eng-stage-img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: 6px;
  background: var(--gw-bg-soft);
}

.sam-eng-stage-text {
  font-size: clamp(1.04rem, 1.2vw, 1.22rem);
  line-height: 1.55;
  color: var(--text-main);
}

/* Notre positionnement (2 colonnes : texte + encadré vert doux) */
.sam-pos-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
  margin-top: 12px;
}

.sam-pos-box {
  background: #E4EFE6;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 4px;
}

.sam-pos-box :is(h2, h3) {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.55vw, 1.48rem);
  font-weight: 800;
  color: var(--gw-green-dark);
  line-height: 1.28;
  margin-bottom: 16px;
}

.sam-square-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sam-square-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--text-main);
}

.sam-square-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.56em;
  width: 7px;
  height: 7px;
  background: var(--gw-green);
}

.sam-square-list.bullets-gold li::before {
  background: var(--academy-main);
  width: 9px;
  height: 5px;
}

/* Notre organisation (4 cartes pastel avec barre de couleur en tête) */
.sam-org-subhead {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 18px;
}

.sam-org-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.sam-org-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: 8px;
  border-top: 4px solid var(--gw-green);
  background: #F4F8F4;
}

.sam-org-card.org-lab { background: var(--lab-soft); border-top-color: var(--lab-main); }
.sam-org-card.org-academy { background: #F5EBD0; border-top-color: #C79F37; }
.sam-org-card.org-terra { background: var(--terra-soft); border-top-color: var(--terra-main); }

.sam-org-card :is(h2, h3) {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gw-green-dark);
  margin-bottom: 6px;
}

.sam-org-role {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 12px;
}

.sam-org-card.org-lab .sam-org-role,
.sam-org-card.org-lab .sam-org-mail { color: var(--lab-main); }
.sam-org-card.org-academy .sam-org-role,
.sam-org-card.org-academy .sam-org-mail { color: var(--academy-text); }
.sam-org-card.org-terra .sam-org-role,
.sam-org-card.org-terra .sam-org-mail { color: var(--terra-main); }

.sam-org-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text-main);
  flex: 1;
  margin-bottom: 16px;
}

.sam-org-mail {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gw-green);
  word-break: break-word;
}

.sam-org-mail:hover {
  text-decoration: underline;
}

.sam-org-note {
  padding: 16px 20px;
  background: #F4F8F4;
  border-left: 4px solid var(--gw-green);
  border-radius: 4px;
  font-size: 0.96rem;
  color: var(--text-main);
}

/* --- L'écosystème Vue d'ensemble (Slide 12 plein écran) --- */
.sam-eco-overview {
  display: grid;
  grid-template-columns: minmax(300px, 36%) minmax(0, 1fr);
  background: #F8FAF8;
  border-left: 6px solid var(--academy-main);
  overflow: hidden;
  margin-bottom: 12px;
}

.sam-eco-left {
  background: #E7F0E9;
  padding: clamp(28px, 3.5vw, 48px) clamp(22px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.sam-eco-left-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gw-green-dark);
  margin-bottom: 14px;
}

.sam-eco-left-lead {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 1.9vw, 1.75rem);
  font-weight: 800;
  color: var(--gw-green-dark);
  line-height: 1.3;
}

.sam-eco-left-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sam-eco-card-link {
  display: block;
  padding: 16px 18px;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid rgba(15, 97, 42, 0.1);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.sam-eco-card-link:hover {
  transform: translateX(4px);
  border-color: var(--gw-green);
  box-shadow: 0 6px 18px rgba(11, 41, 26, 0.08);
}

.sam-eco-card-link strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.04rem;
  color: var(--gw-green-dark);
  margin-bottom: 3px;
}

.sam-eco-card-link span {
  display: block;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- Piliers détail (Slides 14–17) --- */
.sam-pilier-banner {
  width: 100%;
  aspect-ratio: 16 / 5.8;
  object-fit: cover;
  border-radius: 4px;
  margin: 8px 0 24px;
}

.sam-gold-callout {
  border-left: 5px solid var(--academy-main);
  padding: 6px 0 6px 22px;
  font-family: var(--font-heading);
  font-size: clamp(1.08rem, 1.35vw, 1.32rem);
  font-weight: 600;
  color: var(--gw-green);
  line-height: 1.48;
  max-width: 780px;
}

.sam-two-col-rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 52px);
  margin-top: 22px;
}

.sam-ruled-col {
  border-top: 3px solid var(--gw-green);
  padding-top: 16px;
}

.sam-ruled-col.rule-gold {
  border-top-color: var(--academy-main);
}

.sam-ruled-col h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.06rem, 1.25vw, 1.2rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.32;
  margin-bottom: 14px;
}

.sam-entreprises-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 36px;
  margin: 14px 0 24px;
}

/* --- Champs détail (Slides 19–22) --- */
.sam-champ-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 10px 0 28px;
}

.sam-champ-hero-icon {
  width: clamp(130px, 15vw, 200px);
  height: auto;
  object-fit: contain;
}

/* --- Activités détail (Slides 24–27) --- */
.sam-activity-rule {
  height: 4px;
  width: 100%;
  border-radius: 2px;
  background: var(--lab-main);
  margin: 8px 0 28px;
}

.sam-activity-rule.rule-academy { background: #B89435; }
.sam-activity-rule.rule-terra { background: #648F32; }

.sam-terra-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sam-terra-item h2 {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 800;
  color: #5C892B;
  margin-bottom: 4px;
}

.sam-comp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 22px 0 28px;
}

.sam-comp-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sam-comp-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
}

.sam-comp-bar {
  height: 4px;
  border-radius: 2px;
  background: var(--lab-main);
}

.sam-comp-card.comp-academy .sam-comp-bar { background: #B89435; }
.sam-comp-card.comp-terra .sam-comp-bar { background: #648F32; }

.sam-comp-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--lab-main);
}

.sam-comp-card.comp-academy .sam-comp-title { color: var(--academy-text); }
.sam-comp-card.comp-terra .sam-comp-title { color: #5C892B; }

.sam-comp-title img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* --- La sarcomusation (Slide 28) --- */
.sam-sarco-cta {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 16px 24px;
  background: var(--gw-green);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
  border-radius: 4px;
}

.sam-sarco-cta:hover {
  background: var(--gw-green-hover);
}

/* --- Nos projets (Slide 29 : schéma aquarelle 1 écran + Slides 30–43 : 1 fiche dédiée par page) --- */
.sam-projets-map-stage {
  width: 100%;
  background: #FAF8F2;
  border-radius: 6px;
  padding: clamp(12px, 1.8dvh, 22px) clamp(12px, 2.5vw, 32px);
}

.sam-projets-map-stage .projets-mindmap {
  max-width: 1120px;
  margin: 0 auto;
}

.sam-projets-caption {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  font-weight: 800;
  color: var(--gw-green);
  margin-top: clamp(10px, 1.4dvh, 18px);
}

.sam-content .projet-sheet {
  margin-bottom: 0;
  padding: clamp(22px, 2.8dvh, 34px) clamp(22px, 3vw, 38px) clamp(18px, 2.2dvh, 26px);
}

.sam-content .projet-sheet-head {
  margin-bottom: clamp(14px, 2dvh, 24px);
}

.sam-content .projet-body-grid {
  gap: clamp(18px, 2.4vw, 36px);
  margin-bottom: clamp(14px, 2dvh, 24px);
}

.sam-content .projet-footer-grid {
  padding-top: clamp(12px, 1.6dvh, 20px);
}

.sam-content .projet-sheet-actions {
  margin-top: clamp(12px, 1.6dvh, 20px);
}

/* --- Actualités (Slide 44) --- */
.sam-news-banner {
  background: var(--gw-bg-soft);
  padding: clamp(44px, 7dvh, 92px) clamp(28px, 5vw, 72px);
  border-radius: 4px;
  margin-top: 16px;
}

.sam-news-banner h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.95rem);
  font-weight: 800;
  color: var(--gw-green);
  line-height: 1.22;
  max-width: 820px;
  margin-bottom: 24px;
}

.sam-news-gold-bar {
  width: 64px;
  height: 4px;
  background: var(--academy-main);
  border-radius: 2px;
}

/* --- Lien discret en bas à droite ("Page suivante →"), ancré au-dessus du footer --- */
.sam-next-bar {
  margin-top: auto;
  padding-top: clamp(14px, 2dvh, 22px);
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.sam-content > *:not(.sam-next-bar):last-of-type,
.sam-full-inner > *:not(.sam-next-bar):last-of-type {
  margin-bottom: clamp(16px, 2.2dvh, 28px);
}

/* Cadrage 1 écran confortable sur desktop (>= 921px) pour garder le footer visible sans rogner */
@media (min-width: 921px) {
  .sam-projets-map-stage {
    padding: clamp(8px, 1.2dvh, 16px) clamp(12px, 2.2vw, 28px);
  }

  .sam-projets-map-stage .projets-mindmap {
    max-width: max(620px, min(955px, calc((100dvh - 275px) * 1.53)));
  }

  .sam-projets-map-stage .projets-map-hint {
    color: var(--gw-green);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 6px;
  }

  .sam-eco-overview .eco-interactive-board {
    max-width: max(360px, min(510px, calc(100dvh - 280px)));
  }

  .sam-eco-overview .eco-diagram-area {
    padding: clamp(10px, 1.4dvh, 20px) 16px;
  }

  .sam-eco-left {
    padding: clamp(20px, 2.6dvh, 38px) clamp(20px, 2.6vw, 34px);
    gap: clamp(16px, 2dvh, 24px);
  }

  .sam-photo-tall img {
    max-height: clamp(280px, 52dvh, 450px);
  }

  .sam-photo-landscape img {
    max-height: clamp(210px, 40dvh, 340px);
  }

  .sam-rassemble-photos {
    gap: clamp(10px, 1.4dvh, 18px) clamp(18px, 2.4vw, 28px);
    margin: clamp(8px, 1.2dvh, 16px) 0 clamp(10px, 1.4dvh, 16px);
  }

  .sam-rassemble-card {
    gap: 6px;
  }

  .sam-rassemble-card-photo {
    aspect-ratio: auto;
    height: clamp(104px, 16.8dvh, 162px);
  }

  .sam-eng-stage-img {
    max-height: clamp(220px, 40dvh, 350px);
  }

  .sam-pilier-banner {
    aspect-ratio: auto;
    height: clamp(108px, 17.5dvh, 184px);
    margin: 4px 0 clamp(10px, 1.4dvh, 16px);
  }

  .sam-square-list {
    gap: 6px;
  }

  .sam-square-list li {
    font-size: clamp(0.94rem, 1.02vw, 1.02rem);
    line-height: 1.42;
  }

  .sam-ruled-col {
    padding-top: 12px;
  }

  .sam-ruled-col h2 {
    margin-bottom: 10px;
  }

  .sam-comp-photo {
    aspect-ratio: auto;
    height: clamp(128px, 21dvh, 195px);
  }

  .sam-h1 {
    font-size: clamp(1.75rem, 2.6vw, 2.55rem);
    margin-bottom: clamp(8px, 1.2dvh, 14px);
  }

  .sam-lead-green,
  .sam-lead-dark {
    margin-bottom: clamp(10px, 1.4dvh, 16px);
  }

  .sam-two-col-rules {
    margin-top: clamp(10px, 1.4dvh, 16px);
  }

  .sam-entreprises-cols {
    margin: 8px 0 clamp(10px, 1.4dvh, 14px);
  }

  .sam-champ-hero {
    margin: 6px 0 clamp(12px, 1.8dvh, 20px);
  }

  .sam-champ-hero-icon {
    width: clamp(110px, 12.5vw, 170px);
  }

  .sam-activity-rule {
    margin: 4px 0 clamp(12px, 1.8dvh, 20px);
  }

  .sam-terra-list {
    gap: 9px;
  }

  .sam-terra-list .sam-prose {
    font-size: clamp(0.92rem, 1vw, 1.01rem);
    line-height: 1.48;
  }

  .sam-org-card {
    padding: 16px 16px;
  }

  .sam-org-desc {
    margin-bottom: 12px;
    line-height: 1.44;
  }

  .sam-org-grid {
    margin-bottom: 14px;
  }

  .sam-content .projet-sheet {
    padding: clamp(18px, 2.2dvh, 28px) clamp(22px, 2.8vw, 36px) clamp(14px, 1.8dvh, 22px);
  }

  .sam-content .projet-body-grid {
    margin-bottom: clamp(10px, 1.5dvh, 18px);
  }

  .sam-content .projet-actions-list {
    gap: 8px;
  }

  /* Vue d'ensemble Piliers / Champs / Activités : cadrage 1 écran */
  .sam-full-shell .sheet-card {
    padding: clamp(16px, 2dvh, 24px) clamp(22px, 2.8vw, 36px);
  }

  .sam-full-shell .sheet-card .heading-title {
    margin-bottom: 8px;
  }

  .sam-full-shell .sheet-card .title-underline {
    margin-bottom: 12px;
  }

  .sam-full-shell .sheet-lead {
    margin-bottom: 10px;
  }

  .sam-full-shell .champs-overview-grid,
  .sam-full-shell .activites-overview-grid {
    margin: clamp(10px, 1.4dvh, 16px) 0 clamp(12px, 1.6dvh, 18px);
  }

  .sam-full-shell .champ-overview-card,
  .sam-full-shell .activite-overview-card {
    padding: clamp(12px, 1.6dvh, 18px) 14px;
  }

  .sam-full-shell .piliers-intro {
    margin-bottom: clamp(8px, 1.2dvh, 14px);
    font-size: 0.96rem;
    line-height: 1.48;
  }

  .sam-full-shell .piliers-flow {
    gap: clamp(6px, 1dvh, 11px);
  }

  .sam-full-shell .flow-pill {
    padding: 7px 24px;
    font-size: 0.92rem;
  }

  .sam-full-shell .pilier-card {
    padding: clamp(9px, 1.2dvh, 14px) 15px;
  }

  .sam-full-shell .pilier-card-head {
    margin-bottom: 8px;
    padding-bottom: 7px;
  }

  .sam-full-shell .pilier-card-head img {
    width: 34px;
    height: 34px;
  }

  .sam-full-shell .pilier-card ul {
    gap: 4px;
    margin-bottom: 8px;
  }

  .sam-full-shell .etat-sub-band {
    padding: 8px 12px;
  }

  .sam-full-shell .etat-sub-item {
    padding: 7px 10px;
  }

  .sam-full-shell .etat-subpowers {
    padding: 10px 14px;
    gap: 10px;
  }

  .sam-full-shell .subpower-box {
    padding: 8px 8px;
  }

  .sam-full-shell .subpower-box p {
    font-size: 0.76rem;
  }

  .sam-full-shell .contact-layout {
    gap: clamp(18px, 2.6vw, 34px);
  }
}

.sam-next-link {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--gw-green);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sam-next-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Footer compact plein écran vert foncé (#094722) --- */
.sam-footer {
  background: #094722;
  color: var(--white);
  width: 100%;
  padding: 18px clamp(20px, 3.5vw, 48px);
}

.sam-footer-inner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
}

.sam-footer-left {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
}

.sam-footer-brand {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--white);
}

.sam-footer-meta {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.sam-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
  font-size: 0.9rem;
}

.sam-footer-links a {
  color: rgba(255, 255, 255, 0.92);
}

.sam-footer-links a:hover {
  color: var(--academy-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Responsive plein écran (Tablette & Mobile : zéro scroll horizontal) --- */
@media (max-width: 1080px) {
  .sam-org-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sam-eco-overview {
    grid-template-columns: 1fr;
    border-left: none;
    border-top: 6px solid var(--academy-main);
  }
}

@media (max-width: 920px) {
  .sam-split-shell {
    grid-template-columns: 1fr;
  }
  .sam-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 12px 18px;
  }
  .sam-toc {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .sam-toc-summary {
    margin-bottom: 0;
    padding: 6px 4px;
    cursor: pointer;
  }
  .sam-toc[open] .sam-toc-summary {
    margin-bottom: 10px;
  }
  .sam-toc-chevron {
    display: inline-block;
  }
  .sam-toc[open] .sam-toc-chevron {
    transform: rotate(180deg);
  }
  .sam-content {
    padding: 28px 18px 42px;
  }
  .sam-split-media,
  .sam-pos-grid,
  .sam-two-col-rules,
  .sam-comp-grid,
  .sam-champ-hero {
    grid-template-columns: 1fr;
  }
  .sam-champ-hero-icon {
    width: 112px;
    order: -1;
  }
  .sam-engagements-widget {
    grid-template-columns: 1fr;
  }
  .sam-eng-stage {
    display: none;
  }
  .sam-eng-item.is-open .sam-eng-mobile-body {
    display: block;
  }
}

@media (max-width: 680px) {
  .sam-rassemble-photos,
  .sam-org-grid,
  .sam-entreprises-cols {
    grid-template-columns: 1fr;
  }
  .sam-pilier-banner {
    aspect-ratio: 16 / 9;
  }
  .sam-footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .sam-footer-links {
    gap: 8px 18px;
    font-size: 0.86rem;
  }
}

@media (pointer: coarse) {
  .sam-sidebar-link,
  .sam-eng-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* ==========================================================================
   16. SÉLECTEUR DE LANGUE (7 LANGUES : FR/NL/EN/DE/SQ/ES/PL) & FAQ NATIVE
   ========================================================================== */
.header-right-tools {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.site-header .main-nav {
  gap: clamp(12px, 1.45vw, 22px);
}

.site-header .nav-link {
  font-size: clamp(0.87rem, 0.96vw, 0.96rem);
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

/* Menu déroulant natif <details class="lang-switcher-menu"> (0 cookie, 100 % crawlable) */
.lang-switcher-menu {
  position: relative;
}

.lang-switcher-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  background: var(--gw-bg-soft);
  border: 1px solid var(--border-light);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-dark);
  line-height: 1.1;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.lang-switcher-trigger::-webkit-details-marker {
  display: none;
}

.lang-switcher-trigger:hover,
.lang-switcher-menu[open] .lang-switcher-trigger {
  background: var(--white);
  border-color: var(--gw-green);
  color: var(--gw-green);
  box-shadow: 0 4px 14px rgba(15, 97, 42, 0.1);
}

.lang-switcher-trigger:focus-visible {
  outline: 2px solid var(--gw-green);
  outline-offset: 2px;
}

.lang-globe-icon {
  width: 15px;
  height: 15px;
  color: var(--gw-green);
  flex-shrink: 0;
}

.lang-caret-icon {
  width: 12px;
  height: 12px;
  opacity: 0.75;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}

.lang-switcher-menu[open] .lang-caret-icon {
  transform: rotate(180deg);
}

.lang-switcher-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 176px;
  max-width: calc(100vw - 24px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 1150;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-main);
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.lang-option:hover {
  background: var(--gw-bg-soft);
  color: var(--gw-green);
}

.lang-option:focus-visible {
  outline: 2px solid var(--gw-green);
  outline-offset: -2px;
}

.lang-option.active,
.lang-option[aria-current="true"] {
  background: var(--gw-green);
  color: var(--white);
  font-weight: 700;
}

.lang-opt-code {
  font-family: var(--font-heading);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  min-width: 22px;
  opacity: 0.8;
}

.lang-option.active .lang-opt-code,
.lang-option[aria-current="true"] .lang-opt-code {
  opacity: 1;
}

.lang-opt-name {
  font-weight: 600;
}

/* Grille de pastilles 7 langues dans le tiroir mobile */
.mobile-lang-bar {
  padding: 12px 22px;
  border-bottom: 1px solid var(--border-light);
  background: var(--gw-bg-soft);
}

.lang-switcher-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 7px 6px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: var(--gw-bg-soft);
  line-height: 1.1;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.lang-link:hover {
  color: var(--gw-green);
  background: rgba(15, 97, 42, 0.1);
}

.lang-link:focus-visible {
  outline: 2px solid var(--gw-green);
  outline-offset: 2px;
}

.lang-link.active,
.lang-link[aria-current="true"] {
  background: var(--gw-green);
  color: var(--white);
}

@media (max-width: 1120px) {
  .site-header .main-nav {
    display: none;
  }
  .site-header .mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 420px) {
  .site-header .header-inner {
    padding: 0 12px;
    gap: 8px;
  }
  .brand-logo img {
    height: 44px;
  }
  .header-right-tools {
    gap: 6px;
  }
  .header-right-tools .lang-switcher-trigger {
    padding: 5px 9px;
    gap: 5px;
    font-size: 0.75rem;
  }
  .header-right-tools .lang-globe-icon {
    width: 14px;
    height: 14px;
  }
}

/* --- FAQ native accordéon (La sarcomusation — indexable SEO & IA + find-in-page) --- */
.sam-faq {
  margin-top: clamp(14px, 2dvh, 22px);
}

.sam-faq-heading {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  font-weight: 800;
  color: var(--gw-green);
  margin-bottom: 10px;
}

.sam-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  align-items: start;
}

.sam-faq-item {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--gw-bg-soft);
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.sam-faq-item[open] {
  background: var(--white);
  border-color: var(--gw-green);
}

.sam-faq-item > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.65ch;
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gw-green-dark);
  line-height: 1.32;
  user-select: none;
}

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

.sam-faq-item > summary::before {
  content: "";
  inline-size: 0.95em;
  block-size: 0.95em;
  flex-shrink: 0;
  background-color: var(--gw-green);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.sam-faq-item[open] > summary::before {
  rotate: 0deg;
}

.sam-faq-item > summary:focus-visible {
  outline: 3px solid var(--gw-green);
  outline-offset: -2px;
  border-radius: 5px;
}

.sam-faq-item::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.sam-faq-item:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .sam-faq-item > summary::before {
    transition: rotate 0.2s ease;
  }
  .sam-faq-item::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.25s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.sam-faq-answer {
  padding: 0 14px 12px 30px;
  font-size: 0.89rem;
  line-height: 1.5;
  color: var(--text-main);
}

@media (min-width: 921px) {
  .sam-sarco-page .sam-photo-landscape img {
    max-height: clamp(185px, 28dvh, 250px);
  }
  .sam-sarco-page .sam-quote-bar {
    margin-top: clamp(10px, 1.4dvh, 16px);
    padding: 12px 18px;
    font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  }
  .sam-sarco-page .sam-sarco-cta {
    margin-top: clamp(10px, 1.4dvh, 14px);
    padding: 11px 20px;
    font-size: 0.96rem;
  }
  .sam-sarco-page .sam-prose {
    font-size: clamp(0.94rem, 1.02vw, 1.03rem);
    line-height: 1.52;
  }
  .sam-sarco-page .sam-prose p + p {
    margin-top: 10px;
  }
}

@media (max-width: 920px) {
  .sam-faq-grid {
    grid-template-columns: 1fr;
  }
}
