/* ===== VARIABLES (maquette AZON DODE) ===== */
:root {
  --green-dark: #004225;
  --green: #013220;
  --green-mid: #0a5238;
  --green-light: #1a6b52;
  --yellow: #ffcc00;
  --yellow-text: #1a1a1a;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;
  --orange: #e67e22;
  --blue: #2980b9;
  --lime: #27ae60;
  --font: 'Poppins', sans-serif;
  --radius: 14px;
  --shadow: 0 4px 20px rgba(0,0,0,.07);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--gray-700); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}
.btn:active { transform: translateY(1px); }
.btn.is-loading {
  opacity: .72;
  pointer-events: none;
  cursor: wait;
}
.btn--green { background: var(--green-dark); color: var(--white); }
.btn--green:hover { background: var(--green-light); }
.btn--yellow { background: var(--yellow); color: #1a1a1a; }
.btn--yellow:hover { filter: brightness(.96); }
.btn--ghost {
  background: var(--white);
  border: 1.5px solid rgba(0, 66, 37, .2);
  color: var(--green-dark);
}
.btn--ghost:hover {
  border-color: var(--green-dark);
  background: rgba(0, 66, 37, .04);
}
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, .55);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, .1);
  border-color: var(--white);
}

.btn--video {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.65);
  padding: 11px 22px;
}
.btn--video:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn__play {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.75);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ===== HEADER ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.header__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 76px;
  gap: 24px;
}
.header__brand { display: flex; align-items: center; gap: 12px; }
.header__logo {
  width: 52px; height: 52px;
  object-fit: contain;
  border-radius: 50%;
}
.header__brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.header__brand-text strong {
  font-size: 1.05rem; font-weight: 700;
  color: var(--green-dark); letter-spacing: .3px;
}
.header__brand-text span { font-size: .68rem; color: var(--gray-500); }
.header__nav {
  display: flex; align-items: center; justify-content: center;
  gap: 32px;
}
.header__nav a {
  font-size: .84rem; font-weight: 500;
  color: var(--gray-600);
  display: flex; align-items: center; gap: 4px;
  transition: color .2s;
  position: relative;
  padding-bottom: 4px;
}
.header__nav a:hover { color: var(--green-dark); }
.header__nav a.active {
  color: var(--green-dark); font-weight: 600;
}
.header__nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
}
.header__cta { padding: 11px 22px; font-size: .8rem; }
.header__nav .header__cta-mobile,
a.btn.header__cta-mobile { display: none; }
.header__burger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.header__burger span {
  display: block; width: 24px; height: 2px; background: var(--green-dark); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.header__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.is-open span:nth-child(2) { opacity: 0; }
.header__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BUTTON VARIANTS ===== */
.btn--white {
  background: var(--white);
  color: var(--green-dark);
  border: 2px solid var(--white);
}
.btn--white:hover { filter: brightness(.97); }

.pill-label {
  display: inline-block;
  padding: 8px 22px;
  border: 1.5px solid var(--gray-200);
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 14px;
}
.pill-label--green {
  border-color: rgba(0, 66, 37, .15);
  background: rgba(0, 66, 37, .04);
}

/* ===== HERO V2 (landing maquette) ===== */
.hero-v2 {
  margin-top: 76px;
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-v2__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-v2__slides {
  position: absolute;
  inset: 0;
}
.hero-v2__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
}
.hero-v2__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.hero-v2__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-v2__bg > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-v2__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg, rgba(0, 40, 24, .92) 0%, rgba(0, 40, 24, .78) 42%, rgba(0, 40, 24, .25) 72%, transparent 100%);
}
.hero-v2__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 72px;
  width: 100%;
}
.hero-v2__content { max-width: 520px; }
.hero-v2__eyebrow {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255,255,255,.85);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.hero-v2__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero-v2__title--yellow { color: var(--yellow); margin-bottom: 18px; }
.hero-v2__desc {
  font-size: .84rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  max-width: 460px;
}
.hero-v2__bar {
  position: relative;
  z-index: 3;
  background: var(--yellow);
  padding: 18px 0;
  margin-top: 28px;
}
.hero-v2__bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-v2__video {
  color: var(--green-dark) !important;
  border-color: rgba(0, 66, 37, .25) !important;
  background: rgba(255,255,255,.35) !important;
}
.hero-v2__video .btn__play {
  border-color: var(--green-dark);
  color: var(--green-dark);
}
.hero-v2__thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  margin-left: 4px;
}

/* Modale vidéo du hero (vidéo importée) */
.hero-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.hero-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .82);
}
.hero-video-modal__box {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: 86vh;
}
.hero-video-modal__box video {
  width: 100%;
  max-height: 86vh;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
}
.hero-video-modal__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}
.hero-video-modal__close:hover { background: var(--yellow, #ffc107); }
@media (max-width: 640px) {
  .hero-video-modal__close { top: 8px; right: 8px; }
}

/* ===== MISSIONS ===== */
.missions {
  padding: 64px 0;
  background: var(--white);
}
.missions__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.missions__head p {
  font-size: .84rem;
  color: var(--gray-500);
  line-height: 1.75;
}
.missions__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.mission-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--green-dark);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.mission-card__img { height: 160px; overflow: hidden; }
.mission-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mission-card__body {
  padding: 20px 18px 24px;
  text-align: center;
}
.mission-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.mission-card__body p {
  font-size: .68rem;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
}

/* ===== VISION ===== */
.vision {
  padding: 72px 0;
  background: var(--green-dark);
}
.vision__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.vision__media { position: relative; }
.vision__photo-main {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  aspect-ratio: 3/4;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.vision__photo-inset {
  position: absolute;
  right: 0;
  bottom: -20px;
  width: 52%;
  max-width: 240px;
  border-radius: 14px;
  border: 4px solid var(--green-dark);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.vision__text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}
.vision__text h2 span { color: var(--yellow); }
.vision__text > p {
  font-size: .82rem;
  color: rgba(255,255,255,.75);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 420px;
}
.vision__checks {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}
.vision__checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  color: rgba(255,255,255,.88);
}
.vision__checks strong { color: var(--yellow); font-weight: 700; }
.vision__check-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(255,204,0,.15);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== FILIÈRES STRIP ===== */
.filieres-strip {
  padding: 72px 0;
  background: #faf8f4;
}
.filieres-strip__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.filieres-strip__head p {
  font-size: .84rem;
  color: var(--gray-500);
  line-height: 1.75;
}
.filieres-strip__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.filieres-strip__slide {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 3/5;
}
.filieres-strip__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.filieres-strip__slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  text-align: center;
}
.filieres-strip__dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.filieres-strip__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--gray-200);
  cursor: pointer;
  padding: 0;
}
.filieres-strip__dots button.is-active { background: var(--green-dark); }

/* ===== FORMATIONS SHOWCASE ===== */
.formations-showcase {
  padding: 72px 0;
  background: #f3f0e8;
}
.formations-showcase__head {
  text-align: center;
  margin-bottom: 40px;
}
.formations-showcase__head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.formations-showcase__head p {
  font-size: .84rem;
  color: var(--gray-500);
}
.formations-showcase__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.formation-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 3/4.2;
  box-shadow: var(--shadow);
}
.formation-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.formation-tile__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 18px;
  background: linear-gradient(transparent, rgba(0, 40, 24, .88));
}
.formation-tile__label h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--yellow);
  margin-bottom: 6px;
  line-height: 1.25;
}
.formation-tile__label p {
  font-size: .65rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
}

/* ===== BLOG HOME ===== */
.blog-home {
  padding: 72px 0;
  background: var(--white);
}
.blog-home__title {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 36px;
  text-transform: lowercase;
}
.blog-home__title::first-letter { text-transform: uppercase; }
.blog-home__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}
.blog-featured {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.blog-featured__img { display: block; height: 280px; overflow: hidden; }
.blog-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured__body { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--green-dark);
  font-size: .62rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.blog-featured__body time,
.blog-mini__body time {
  display: block;
  font-size: .7rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.blog-featured__body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-featured__body h3 a:hover { color: var(--green-light); }
.blog-featured__body p {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.65;
}
.blog-home__side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.blog-mini {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}
.blog-mini__img { display: block; height: 110px; overflow: hidden; }
.blog-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.blog-mini__body { padding: 14px; }
.blog-mini__body h4 {
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.35;
  margin-top: 4px;
}
.blog-mini__body h4 a:hover { color: var(--green-light); }

/* ===== CTA JAUNE ===== */
.cta-yellow {
  padding: 56px 0 0;
  background: var(--yellow);
}
.cta-yellow__inner { padding-bottom: 0; }
.cta-yellow__text {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-yellow__text h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.cta-yellow__text > p {
  font-size: .84rem;
  color: rgba(0, 40, 24, .75);
  line-height: 1.7;
  margin-bottom: 24px;
}
.cta-yellow__actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.cta-yellow__contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--green-dark);
  border-radius: 16px 16px 0 0;
  margin-top: 40px;
  overflow: hidden;
}
.cta-yellow__contact {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.08);
}
.cta-yellow__contact:last-child { border-right: none; }
.cta-yellow__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,204,0,.45);
  color: var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-yellow__contact strong {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  margin-bottom: 4px;
}
.cta-yellow__contact span {
  font-size: .78rem;
  font-weight: 500;
  color: var(--white);
}

/* ===== HERO (legacy pages) ===== */
.hero { margin-top: 76px; }

.hero__stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #004225;
}

.hero__photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 46%;
  min-width: 340px;
  overflow: hidden;
  z-index: 0;
}

.hero__bg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
}

.hero__curve {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero__leaf {
  position: absolute;
  left: 24px;
  bottom: 110px;
  width: 130px;
  height: 130px;
  z-index: 2;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 88px;
  z-index: 3;
  width: auto;
  max-width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px 24px max(32px, calc((100vw - 1200px) / 2 + 32px));
}

.hero__eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: 3px;
  color: rgba(255,255,255,.85);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero__title--yellow {
  color: var(--yellow);
  margin-bottom: 22px;
  white-space: nowrap;
}

.hero__filieres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 22px;
  max-width: 480px;
}
.hero__filieres li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .63rem;
  font-weight: 500;
  color: rgba(255,255,255,.95);
  letter-spacing: .5px;
  text-transform: uppercase;
  line-height: 1.35;
}
.hero__dot {
  width: 7px;
  height: 7px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.hero__desc {
  font-size: .8rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 400px;
}

.hero__bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(24px, calc((100vw - 1200px) / 2 + 24px));
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hero__infobar {
  flex-shrink: 0;
  background: #013819;
  border-radius: 999px;
  box-shadow: 0 10px 36px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.06);
}

.hero__infobar-inner {
  display: flex;
  align-items: stretch;
}

.hero__info-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-right: 1px solid rgba(255,255,255,.1);
}
.hero__info-box:first-child { padding-left: 18px; }
.hero__info-box:last-child {
  border-right: none;
  padding-right: 22px;
}

.hero__info-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: transparent;
  color: var(--yellow);
  border: 1.5px solid rgba(255,204,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.hero__info-label {
  font-size: .62rem;
  color: rgba(255,255,255,.7);
  line-height: 1.25;
  font-weight: 400;
  white-space: nowrap;
}

.hero__info-text strong {
  color: var(--white);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .4px;
  line-height: 1.2;
  white-space: nowrap;
}

/* ===== VALUES ===== */
.values {
  padding: 56px 0 0;
  background: var(--white);
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--gray-200);
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 28px 22px;
  border-right: 1px solid var(--gray-200);
  text-align: left;
}
.value-card:last-child { border-right: none; }

.value-card__icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: #f5f3ef;
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card__body { flex: 1; min-width: 0; }

.value-card h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
  line-height: 1.2;
}

.value-card p {
  font-size: .72rem;
  color: #555;
  line-height: 1.65;
}

.values__next {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--green-dark);
  padding: 36px 0 8px;
  text-transform: uppercase;
}

/* ===== FILIÈRES ===== */
.filieres { padding: 24px 0 80px; background: var(--white); }
.section-eyebrow { text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: 2.5px; color: var(--green-dark); margin-bottom: 10px; }
.section-title { text-align: center; font-size: clamp(1.45rem, 2.8vw, 1.95rem); font-weight: 700; color: var(--gray-900); margin-bottom: 14px; line-height: 1.35; }
.section-title em { font-style: normal; color: var(--green-dark); }
.section-desc { text-align: center; font-size: .84rem; color: var(--gray-500); max-width: 540px; margin: 0 auto 52px; line-height: 1.75; }
.filieres__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.filiere-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0,0,0,.08);
  transition: transform .3s, box-shadow .3s;
}
.filiere-card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,.12); }

.filiere-card__img { height: 168px; overflow: hidden; }
.filiere-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform .4s; }
.filiere-card__img--boulangerie img { object-position: center 20%; }
.filiere-card__img--maraichage { object-position: 55% 35%; }
.filiere-card__img--pisciculture img { object-position: center 35%; }
.filiere-card:hover .filiere-card__img img { transform: scale(1.03); }

.filiere-card__body {
  padding: 0 16px 22px;
  position: relative;
  text-align: center;
}

.filiere-card__icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: -25px auto 12px;
  position: relative; z-index: 2;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  color: var(--white);
}

.filiere-card__icon--orange { background: #e8893a; }
.filiere-card__icon--blue { background: #3498db; }
.filiere-card__icon--green { background: #43a047; }

.filiere-card__title {
  font-size: .88rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}
.filiere-card__title--orange { color: #e8893a; }
.filiere-card__title--blue { color: #3498db; }
.filiere-card__title--green { color: #43a047; }

.filiere-card__body p {
  font-size: .68rem;
  color: #444;
  line-height: 1.65;
  margin-bottom: 16px;
  min-height: 68px;
}

.filiere-card__link {
  font-size: .68rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1.5px solid;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all .2s;
  background: transparent;
}
.filiere-card__link--orange { color: #e8893a; border-color: #e8893a; }
.filiere-card__link--blue { color: #3498db; border-color: #3498db; }
.filiere-card__link--green { color: #43a047; border-color: #43a047; }
.filiere-card__link--orange:hover { background: #e8893a; color: var(--white); }
.filiere-card__link--blue:hover { background: #3498db; color: var(--white); }
.filiere-card__link--green:hover { background: #43a047; color: var(--white); }

/* ===== IMPACT ===== */
.impact {
  position: relative;
  padding: 72px 0;
  background: #003318;
  overflow: hidden;
}

.impact__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.impact__bg img {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 100%;
  width: auto;
  min-height: 100%;
  max-width: 1279px;
  object-fit: cover;
  object-position: 55% 40%;
}

.impact__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 40, 24, 0.88);
}

.impact__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 40px;
  align-items: center;
}

.impact__eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--yellow);
  margin-bottom: 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--yellow);
  text-transform: uppercase;
}

.impact__text h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 18px;
}

.impact__text p {
  font-size: .82rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  margin-bottom: 28px;
  max-width: 340px;
}

.impact__btn {
  padding: 12px 24px;
  font-size: .82rem;
}

.impact__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat-card {
  background: var(--white);
  border-radius: 14px;
  padding: 26px 14px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 190px;
  justify-content: flex-start;
}

.stat-card__icon {
  color: #004225;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.stat-card__number {
  font-size: 1.85rem;
  font-weight: 800;
  color: #004225;
  line-height: 1;
}

.stat-card span {
  font-size: .65rem;
  color: #004225;
  line-height: 1.45;
  max-width: 120px;
  font-weight: 500;
}

/* ===== CONTACT BAR ===== */
.contact-bar {
  padding: 18px 0;
  background: #faf8f4;
  border-top: 1px solid rgba(0, 66, 37, .06);
}

.contact-bar__inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.contact-bar__label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: .875rem;
  font-weight: 700;
  color: var(--green-dark);
  flex-shrink: 0;
  line-height: 1.2;
  padding-right: 4px;
}

.contact-bar__label::after {
  content: '';
  width: 100%;
  min-width: 108px;
  height: 2px;
  background: var(--yellow);
  margin-top: 5px;
  border-radius: 1px;
}

.contact-bar__items {
  display: flex;
  align-items: center;
  gap: 44px;
  flex: 1;
  margin-left: 40px;
  flex-wrap: wrap;
}

.contact-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--green-dark);
  transition: opacity .2s;
  white-space: nowrap;
}

.contact-bar__item:hover { opacity: .75; }

.contact-bar__item svg {
  color: var(--green-dark);
  flex-shrink: 0;
}

.contact-bar__social {
  display: flex;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
  padding-left: 24px;
}

.contact-bar__social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.contact-bar__social a:hover { background: var(--green-light); }

/* ===== FOOTER ===== */
.footer { background: var(--green-dark); color: rgba(255,255,255,.72); padding-top: 60px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr; gap: 44px; padding-bottom: 44px; }
.footer__brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; }
.footer__logo--white {
  width: 110px;
  height: auto;
  border-radius: 0;
  margin-bottom: 18px;
  display: block;
  background: transparent;
}
.footer__brand-row strong { font-size: 1.05rem; color: var(--white); font-weight: 700; }
.footer__brand p { font-size: .8rem; line-height: 1.75; }
.footer__links h4, .footer__engagement h4 { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; color: var(--white); margin-bottom: 18px; }
.footer__links ul { display: flex; flex-direction: column; gap: 9px; }
.footer__links a { font-size: .8rem; transition: color .2s; }
.footer__links a:hover { color: var(--yellow); }
.footer__engagement { position: relative; }
.footer__engagement p { font-size: .8rem; line-height: 1.75; max-width: 270px; }
.footer__leaf { position: absolute; right: 0; top: 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; }
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; }
.footer__bottom p { font-size: .76rem; }
.footer__top {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green-light); border: none; color: var(--white);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.footer__top:hover { background: var(--yellow); color: var(--green-dark); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero__info-box { padding: 10px 14px; }
  .hero__info-box:first-child { padding-left: 14px; }
  .hero__info-box:last-child { padding-right: 16px; }
  .hero__info-label { font-size: .58rem; }
  .hero__info-text strong { font-size: .68rem; }
}

@media (max-width: 1100px) {
  .filieres__grid { grid-template-columns: repeat(2, 1fr); }
  .impact__stats { grid-template-columns: repeat(2, 1fr); }
  .impact__inner { grid-template-columns: 1fr; gap: 32px; }
  .missions__grid { grid-template-columns: repeat(2, 1fr); }
  .vision__grid { grid-template-columns: 1fr; gap: 40px; }
  .vision__photo-main { max-width: 100%; }
  .vision__photo-inset { right: 12px; bottom: -12px; }
  .formations-showcase__grid { grid-template-columns: 1fr 1fr; }
  .blog-home__grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .header__container { grid-template-columns: auto auto; justify-content: space-between; }
  .header__nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white); flex-direction: column;
    padding: 20px 24px 28px; gap: 4px; box-shadow: var(--shadow);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }
  .header__nav.open { display: flex; }
  .header__nav a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(0, 66, 37, .06);
  }
  .header__cta { display: none; }
  .header__nav.open .header__cta-mobile,
  .header__nav.open a.btn.header__cta-mobile {
    display: inline-flex;
    margin-top: 12px;
    justify-content: center;
    width: 100%;
  }
  .header__burger { display: flex; }
  body.nav-open { overflow: hidden; }

  .hero__curve { width: 100%; height: 100%; }
  .hero__content {
    position: relative;
    width: 100%;
    max-width: none;
    bottom: auto;
    padding: 40px 24px 16px;
  }
  .hero__bottom {
    position: relative;
    bottom: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0 24px 24px;
  }
  .hero__infobar {
    border-radius: 16px;
    overflow: hidden;
  }
  .hero__infobar-inner {
    flex-direction: column;
  }
  .hero__title--yellow { white-space: normal; }
  .hero__photo {
    width: 100%;
    min-width: 0;
    opacity: .35;
  }
  .hero__bg { object-position: center 35%; }
  .hero__info-box {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    justify-content: flex-start;
    padding: 14px 18px;
  }
  .hero__info-box:first-child { padding-left: 18px; }
  .hero__info-box:last-child { border-bottom: none; padding-right: 18px; }
  .hero__info-label,
  .hero__info-text strong { white-space: normal; }

  .values__grid { grid-template-columns: 1fr 1fr; }
  .value-card:nth-child(2) { border-right: none; }
  .value-card:nth-child(1),
  .value-card:nth-child(2) { border-bottom: 1px solid var(--gray-200); }
  .impact__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .filieres-strip__track { grid-template-columns: repeat(2, 1fr); }
  .filieres-strip__dots { display: flex; }
  .cta-yellow__contacts { grid-template-columns: 1fr; border-radius: 12px 12px 0 0; }
  .cta-yellow__contact { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .cta-yellow__contact:last-child { border-bottom: none; }
}

@media (max-width: 600px) {
  .hero__filieres { grid-template-columns: 1fr; }
  .values__grid { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .value-card:last-child { border-bottom: none; }
  .filieres__grid, .impact__stats { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .missions__grid { grid-template-columns: 1fr; }
  .filieres-strip__track { grid-template-columns: 1fr; }
  .formations-showcase__grid { grid-template-columns: 1fr; }
  .blog-home__side { grid-template-columns: 1fr; }
  .hero-v2__bar-inner { flex-direction: column; align-items: stretch; }
  .hero-v2__bar-inner .btn { justify-content: center; }
  .footer__leaf { display: none; }
  .contact-bar__inner {
    flex-wrap: wrap;
    row-gap: 16px;
  }
  .contact-bar__items {
    margin-left: 0;
    gap: 20px;
    width: 100%;
  }
  .contact-bar__social {
    margin-left: 0;
    padding-left: 0;
  }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .page-cta { flex-direction: column; text-align: center; }
}

/* ===== INNER PAGES ===== */
.page { margin-top: 76px; }

.page-hero {
  background: linear-gradient(135deg, #004225 0%, #002613 100%);
  padding: 56px 0 64px;
  color: var(--white);
}

.page-hero__inner { max-width: 720px; }

.page-hero__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--yellow);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.page-hero h1 span { color: var(--yellow); }

.page-hero p {
  font-size: .9rem;
  color: rgba(255,255,255,.78);
  line-height: 1.75;
  max-width: 560px;
}

.page-section { padding: 64px 0; }
.page-section--gray { background: var(--gray-50); }
.page-section--green { background: #004225; color: var(--white); }

.section-title--center { text-align: center; margin-bottom: 36px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid__text h2 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.about-grid__text p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about-grid__text .btn { margin-top: 10px; }

.about-grid__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-grid__media img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* ===== PAGE À PROPOS ===== */
.page-hero--image {
  position: relative;
  overflow: hidden;
  padding: 88px 0 96px;
}
.page-hero--image .page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero--image .page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero--image .page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(120deg, rgba(0, 38, 19, .92) 0%, rgba(0, 66, 37, .78) 55%, rgba(0, 66, 37, .55) 100%);
}
.page-hero--image .page-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.page-hero__lead {
  font-size: 1rem;
  color: rgba(255, 255, 255, .88);
  line-height: 1.8;
  max-width: 620px;
}

.about-mission__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.about-mission__content .pill-label { margin-bottom: 14px; }
.about-mission__content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 18px;
  line-height: 1.25;
}
.about-mission__content p {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 16px;
}
.about-mission__content .btn { margin-top: 8px; }
.about-mission__media { position: relative; min-height: 360px; }
.about-mission__photo-main {
  width: 100%;
  max-width: 520px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .14);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-mission__photo-inset {
  position: absolute;
  right: 0;
  bottom: -18px;
  width: 46%;
  max-width: 220px;
  border-radius: 14px;
  border: 5px solid var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
  object-fit: cover;
  aspect-ratio: 1;
}

.about-stats {
  background: var(--green-dark);
  color: var(--white);
  padding: 36px 0;
}
.about-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-stat {
  text-align: center;
  padding: 12px 10px;
  border-right: 1px solid rgba(255, 255, 255, .14);
}
.about-stat:last-child { border-right: none; }
.about-stat strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--yellow);
  line-height: 1.1;
  margin-bottom: 8px;
}
.about-stat span {
  display: block;
  font-size: .78rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .82);
}

.about-section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}
.about-section-head .pill-label { margin-bottom: 12px; }
.about-section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.about-section-head p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.about-pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.about-pillar-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .1);
}
.about-pillar-card__img {
  height: 150px;
  overflow: hidden;
}
.about-pillar-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.about-pillar-card:hover .about-pillar-card__img img { transform: scale(1.05); }
.about-pillar-card__body { padding: 20px 18px 22px; }
.about-pillar-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.about-pillar-card__body p {
  font-size: .8rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.about-cards.page-section {
  padding: 20px 0 28px;
}
.about-pillars.page-section {
  padding-bottom: 44px;
}

.about-cards-slider {
  max-width: 400px;
  margin: 0 auto;
}
.about-cards-slider__stack {
  position: relative;
  width: min(400px, 92vw);
  aspect-ratio: 1;
  margin: 0 auto;
  perspective: 1100px;
  overflow: hidden;
}
.about-cards-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(18px) scale(0.94) rotate(-4deg);
  transform-origin: center bottom;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
}
.about-cards-slider__slide.about-info-card {
  position: absolute;
}
.about-cards-slider__slide.is-active {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  z-index: 3;
  pointer-events: auto;
}
.about-cards-slider__slide.is-falling {
  z-index: 4;
  animation: aboutCardFall .68s cubic-bezier(.45, 0, .75, .2) forwards;
}
.about-cards-slider__slide.is-rising {
  z-index: 2;
  animation: aboutCardRise .68s cubic-bezier(.2, .8, .2, 1) forwards;
}
@keyframes aboutCardFall {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(72px) scale(0.9) rotate(-14deg);
  }
}
@keyframes aboutCardRise {
  0% {
    opacity: 0;
    transform: translateY(-18px) scale(0.92) rotate(8deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}
.about-cards-slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.about-cards-slider__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 999px;
  background: rgba(0, 66, 37, .22);
  cursor: pointer;
  padding: 0;
  transition: width .25s ease, background .25s ease;
}
.about-cards-slider__dot.is-active {
  width: 28px;
  background: var(--green-dark);
}
.about-cards-slider__dot:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}

.about-info-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .08);
  overflow: hidden;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 22px;
  text-align: center;
}
.about-info-card__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 260px;
}
.about-info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 66, 37, .08);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.about-info-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.about-info-card p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.7;
}

@media (prefers-reduced-motion: reduce) {
  .about-cards-slider__slide.is-falling,
  .about-cards-slider__slide.is-rising { animation: none; }
}

.about-cta {
  background: linear-gradient(135deg, #004225 0%, #002613 100%);
  padding: 64px 0;
  color: var(--white);
}
.about-cta__inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.about-cta__inner h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.about-cta__inner p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.75;
  margin-bottom: 24px;
}
.about-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .about-mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .about-mission__media { min-height: auto; max-width: 520px; margin: 0 auto; }
  .about-pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .about-stats__grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat:nth-child(2) { border-right: none; }
  .about-stat:nth-child(1),
  .about-stat:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
}
@media (max-width: 700px) {
  .page-hero--image { padding: 72px 0 80px; }
  .about-cards__grid,
  .about-pillars__grid { grid-template-columns: 1fr; }
  .about-mission__photo-inset {
    right: 12px;
    bottom: -12px;
    width: 42%;
  }
  .about-stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .about-stat:last-child { border-bottom: none; }
}


.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.info-card p { font-size: .84rem; color: var(--gray-600); line-height: 1.7; }

.program-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.program-card__head { margin-bottom: 12px; }

.program-card__tag {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.program-card__tag--orange { background: rgba(230,126,34,.12); color: var(--orange); }
.program-card__tag--blue { background: rgba(41,128,185,.12); color: var(--blue); }
.program-card__tag--green { background: rgba(39,174,96,.12); color: var(--lime); }

.program-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
}

.program-card p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 14px;
}

.program-card__meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.program-card__meta li {
  font-size: .75rem;
  color: var(--gray-500);
  font-weight: 500;
}

.page-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.page-cta h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.page-cta p { font-size: .86rem; color: rgba(255,255,255,.78); max-width: 520px; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.news-card__img { height: 180px; overflow: hidden; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; }

.news-card__body { padding: 22px; }

.news-card__body time {
  font-size: .72rem;
  color: var(--gray-400);
  font-weight: 500;
}

.news-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 8px 0 10px;
  line-height: 1.35;
}

.news-card__body p {
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 14px;
}

.news-card__body a,
.news-card__read {
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
}
.news-card__read:hover { text-decoration: underline; }

/* Panneau lecture article */
body.news-modal-open { overflow: hidden; }
.news-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
}
.news-modal[hidden] { display: none !important; }
.news-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
}
.news-modal__panel {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
}
.news-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #222;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}
.news-modal__close:hover { background: #fff; }
.news-modal__hero {
  height: 220px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}
.news-modal__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-modal__content {
  padding: 24px 28px 32px;
}
.news-modal__tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: rgba(26, 95, 60, .1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.news-modal__date {
  display: block;
  font-size: .78rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.news-modal__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.35;
  margin: 0 0 18px;
}
.news-modal__body {
  font-size: .92rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.news-modal__body p { margin: 0 0 14px; }
.news-modal__body p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .news-modal__content { padding: 20px 18px 28px; }
  .news-modal__hero { height: 180px; }
  .news-modal__title { font-size: 1.15rem; }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: .86rem;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-dark);
}

.contact-info h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 20px;
}

.contact-info__list {
  list-style: none;
  margin-bottom: 28px;
}

.contact-info__list li {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-info__list strong {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-400);
}

.contact-info__list span,
.contact-info__list a {
  font-size: .9rem;
  color: var(--gray-700);
  font-weight: 500;
}

.contact-info__hours h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.contact-info__hours p {
  font-size: .84rem;
  color: var(--gray-600);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .info-cards, .news-grid { grid-template-columns: 1fr 1fr; }
  .program-list { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .actualites-layout__grid {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .actualites-layout__aside {
    width: 300px;
    padding: 24px 22px 32px;
  }
  .actualites-layout__main .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .actualites-layout__grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-left: 24px;
    padding-right: 24px;
  }
  .actualites-layout__main-inner {
    max-width: none;
    padding-right: 0;
  }
  .actualites-layout__aside {
    position: static;
    width: 100%;
    min-height: auto;
    padding: 20px;
    background: #f4f7f4;
    border-radius: 16px;
    border: 1px solid rgba(0, 66, 37, .1);
    box-shadow: 0 2px 12px rgba(0, 66, 37, .05);
  }
  .actualites-layout__aside::before {
    display: none;
  }
  .actualites-layout__main .news-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .info-cards, .news-grid { grid-template-columns: 1fr; }
}

/* ——— Annonces ——— */
.blog-home__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.blog-home__all { font-size: .85rem; font-weight: 600; color: var(--green-dark); }
.blog-home__announcements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
.page-section__subtitle { font-size: 1.15rem; color: var(--green-dark); margin-bottom: 18px; }

/* ——— Page Actualités : 2 colonnes ——— */
.actualites-layout {
  padding-top: 48px;
  padding-bottom: 64px;
  overflow: hidden;
}
.actualites-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
  padding-left: max(24px, calc((100vw - 1200px) / 2));
  padding-right: max(24px, calc((100vw - 1200px) / 2));
}
.actualites-layout__main {
  min-width: 0;
}
.actualites-layout__main-inner {
  max-width: none;
}
.actualites-layout__main .news-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.actualites-layout__main .news-card__img {
  height: 165px;
}
.actualites-layout__main .news-card__body {
  padding: 20px;
}
.actualites-layout__main .news-card__body h3 {
  font-size: 1rem;
}
.actualites-layout__main .news-card__body p {
  font-size: .82rem;
}
.actualites-layout__aside {
  position: sticky;
  top: 92px;
  align-self: start;
  width: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 36px;
  background: #f4f7f4;
  border-radius: 14px;
  border: 1px solid rgba(0, 66, 37, .1);
  box-shadow: 0 2px 16px rgba(0, 66, 37, .05);
  min-height: auto;
  z-index: 1;
}
.actualites-layout__aside::before {
  display: none;
}
.actualites-layout__aside .page-section__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--yellow);
  flex-shrink: 0;
}
.actualites-layout__aside .announcements-page__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  width: 100%;
}
.actualites-layout__aside .announcement-card {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 22px;
  margin-bottom: 0;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 66, 37, .08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}
.actualites-layout__aside .announcement-card--page {
  margin-bottom: 0;
}
.actualites-layout__aside .announcement-card h3 {
  font-size: .92rem;
  line-height: 1.45;
  margin: 8px 0 10px;
}
.actualites-layout__aside .announcement-card p {
  font-size: .8rem;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.actualites-layout__aside .announcement-card__link {
  margin-top: 14px;
  font-size: .78rem;
}
.actualites-layout__aside .announcement-card time {
  font-size: .7rem;
}

.page-section--announcements { padding-bottom: 0; }
.announcements-home__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-bottom: 24px; }
.announcements-home__head h2 { font-size: 1.6rem; color: var(--green-dark); margin: 0; flex: 1; }
.announcements-home__all { font-size: .85rem; font-weight: 600; color: var(--green-dark); }
.announcements-home__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.announcement-card { background: #fff; border-radius: 12px; padding: 20px; border: 1px solid rgba(0,66,37,.08); box-shadow: 0 2px 12px rgba(0,0,0,.04); transition: transform .2s ease, box-shadow .2s ease; }
.announcement-card:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,66,37,.08); }
.announcement-card time { font-size: .72rem; color: #888; }
.announcement-card h3 { font-size: 1rem; margin: 8px 0; color: var(--green-dark); }
.announcement-card p { font-size: .84rem; color: #555; line-height: 1.6; }
.announcement-card__link { display: inline-block; margin-top: 10px; font-size: .8rem; font-weight: 600; color: var(--green-dark); }
.announcement-card--page { margin-bottom: 16px; }

/* ——— Galerie ——— */
.gallery-teaser { padding: 56px 0; }
.gallery-teaser__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
.gallery-teaser__title { font-size: 1.6rem; color: var(--green-dark); margin: 0; }
.gallery-teaser__all { font-size: .85rem; font-weight: 600; color: var(--green-dark); }
.gallery-teaser__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-teaser__item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; display: block; }
.gallery-teaser__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-teaser__item span { position: absolute; inset: auto 0 0 0; padding: 10px; background: linear-gradient(transparent, rgba(0,0,0,.7)); color: #fff; font-size: .75rem; }

/* ——— Partenaires ——— */
.partners {
  padding: 56px 0;
  background: #fff;
}
.partners--detail {
  padding: 72px 0;
}
.partners__head,
.partners .about-section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}
.partners__head .pill-label,
.partners .about-section-head .pill-label { margin-bottom: 12px; }
.partners__head h2,
.partners .about-section-head h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}
.partners__head p,
.partners .about-section-head p {
  font-size: .9rem;
  color: var(--gray-600);
  line-height: 1.75;
}
.partners__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.partners__grid--detail { gap: 24px; }
.partners__card {
  background: #f8faf9;
  border: 1px solid rgba(0, 66, 37, .08);
  border-radius: 14px;
  padding: 24px 20px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.partners__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 66, 37, .08);
}
.partners__card--detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
}
.partners__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  margin-bottom: 16px;
}
.partners__logo img,
.partners__logo-link img,
.partners__logo-wrap img {
  max-width: 180px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.partners__logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 10px;
  background: #0b1f33;
}
.partners__logo-wrap:has(img[src*="infa"]),
.partners__logo-wrap:has(img[src*="fat-consulting"]) {
  background: transparent;
  padding: 0;
}
.partners__card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.partners__card p,
.partners__card-body p {
  font-size: .85rem;
  line-height: 1.65;
  color: var(--gray-600);
  margin: 0;
}
.partners__more {
  text-align: center;
  margin: 28px 0 0;
}
.partners__more a {
  font-size: .88rem;
  font-weight: 600;
  color: var(--green-dark);
}

/* Défilement auto dès 5 partenaires */
.partners-marquee {
  margin-top: 8px;
}
.partners-marquee__viewport,
.footer-partners__marquee-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: partnersMarquee 45s linear infinite;
}
.partners-marquee__track .partners__card {
  flex: 0 0 min(300px, 78vw);
  max-width: 300px;
}
.partners-marquee:hover .partners-marquee__track,
.footer-partners__marquee:hover .footer-partners__marquee-track {
  animation-play-state: paused;
}
.footer-partners__marquee {
  flex: 1;
  min-width: 0;
}
.footer-partners__marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: partnersMarquee 35s linear infinite;
}
@keyframes partnersMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-marquee__track,
  .footer-partners__marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    max-width: 100%;
  }
  .partners-marquee__viewport,
  .footer-partners__marquee-viewport {
    mask-image: none;
    -webkit-mask-image: none;
  }
}

.footer-partners {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  background: rgba(0, 0, 0, .12);
}
.footer-partners__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}
.footer-partners__label {
  margin: 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
}
.footer-partners__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.footer-partners__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .95);
  transition: transform .2s ease, box-shadow .2s ease;
}
.footer-partners__logo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.footer-partners__logo img {
  max-width: 120px;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.footer-partners__logo:has(img[src*="digidesk"]) {
  background: #0b1f33;
  padding: 6px 10px;
}
.gallery-page__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding-top: 4px;
}
.gallery-page__filter {
  appearance: none;
  border: 1px solid rgba(27, 94, 52, .22);
  background: #fff;
  color: var(--green-dark);
  font: inherit;
  font-size: .78rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.gallery-page__filter:hover {
  border-color: var(--green-dark);
  transform: translateY(-1px);
}
.gallery-page__filter.is-active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}
.gallery-page__filter:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 2px;
}
.gallery-page__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-page__item {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.gallery-page__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.gallery-page__item:focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: 3px;
}
.gallery-page__item.is-hidden,
.gallery-page__item[hidden] { display: none !important; }
.gallery-page__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; pointer-events: none; }
.gallery-page__item figcaption { padding: 12px 14px; font-size: .84rem; color: #444; }
.gallery-page__item--video { position: relative; }
.gallery-page__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 66, 37, .82);
  color: #fff;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  transition: transform .2s ease, background .2s ease;
}
.gallery-page__item--video::before {
  content: "";
  position: absolute;
  inset: 0;
  bottom: auto;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,.05), rgba(0,0,0,.28));
  pointer-events: none;
}
.gallery-page__item--video:hover .gallery-page__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(0, 66, 37, .95);
}
.gallery-page__play svg { margin-left: 3px; }
.gallery-page__cat { display: block; font-size: .7rem; color: var(--green-dark); font-weight: 600; text-transform: uppercase; margin-bottom: 4px; }
.gallery-page__empty {
  text-align: center;
  color: #666;
  font-size: .95rem;
  padding: 28px 12px 8px;
  margin: 0;
}
.gallery-page__subhead {
  grid-column: 1 / -1;
  margin: 8px 0 -4px;
  padding-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  border-bottom: 2px solid rgba(0, 66, 37, .15);
}
.gallery-page__subhead.is-hidden,
.gallery-page__subhead[hidden] { display: none !important; }

/* Visionneuse galerie */
body.gallery-lightbox-open { overflow: hidden; }
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .88);
}
.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  max-height: calc(100vh - 32px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-lightbox__figure {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gallery-lightbox__img,
.gallery-lightbox__video {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  background: #111;
}
.gallery-lightbox__video { max-width: min(100%, 520px); }
.gallery-lightbox__video[hidden] { display: none; }
.gallery-lightbox__caption {
  margin-top: 14px;
  text-align: center;
  color: #fff;
  max-width: 720px;
}
.gallery-lightbox__cat {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #b8e6c8;
  margin-bottom: 4px;
}
.gallery-lightbox__text {
  display: block;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(255,255,255,.92);
}
.gallery-lightbox__counter {
  margin: 10px 0 0;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
}
.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  border: none;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  border-radius: 999px;
  transition: background .2s ease, transform .15s ease;
}
.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover:not(:disabled) {
  background: rgba(255,255,255,.22);
}
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.gallery-lightbox__close {
  top: -6px;
  right: 0;
  width: 42px;
  height: 42px;
  font-size: 1.6rem;
  line-height: 1;
}
.gallery-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 1.4rem;
}
.gallery-lightbox__nav:hover:not(:disabled) { transform: translateY(-50%) scale(1.04); }
.gallery-lightbox__nav--prev { left: -58px; }
.gallery-lightbox__nav--next { right: -58px; }
.gallery-lightbox__nav:disabled { opacity: .35; cursor: default; }

@media (max-width: 900px) {
  .gallery-lightbox__nav--prev { left: 4px; }
  .gallery-lightbox__nav--next { right: 4px; }
  .gallery-lightbox__close { top: 4px; right: 4px; }
  .gallery-lightbox__img,
  .gallery-lightbox__video { max-height: calc(100vh - 220px); }
}

/* ——— Filière associée ——— */
.filiere-related { background: rgba(52,152,219,.1); border-bottom: 1px solid rgba(52,152,219,.2); }
.filiere-related__inner { padding: 14px 0; font-size: .88rem; color: #2c5282; }
.filiere-related__inner a { font-weight: 600; color: var(--green-dark); }
.filiere-card__group { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #3498db; margin-bottom: 4px; letter-spacing: .04em; }

@media (max-width: 900px) {
  .announcements-home__list, .gallery-teaser__grid, .partners__grid { grid-template-columns: 1fr 1fr; }
  .gallery-page__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .announcements-home__list, .gallery-teaser__grid, .gallery-page__grid, .partners__grid { grid-template-columns: 1fr; }
  .hero-v2 { min-height: 520px; }
  .hero-v2__desc { font-size: .9rem; }
  .hero-v2__title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .mission-card, .announcement-card, .hero-v2__slide, .header__burger span {
    transition: none !important;
  }
  .mission-card:hover, .announcement-card:hover { transform: none; }
}
