/* =============================================================
   ONG AZLA NAZAOUKH — Thème WordPress institutionnel
   Style : ongfad.org (Vantage / Elementor / Roboto + Roboto Slab)
   ============================================================= */

:root {
  /* Couleurs institutionnelles ONG */
  --green-900: #0f3d22;
  --green-800: #155a2c;
  --green-700: #1f7a3e;
  --green-600: #2a9a52;
  --green-100: #e8f5ec;
  --green-50:  #f3faf5;

  --gold-700: #b87617;
  --gold-600: #d68a1c;
  --gold-500: #e89422;
  --gold-100: #fbeed1;

  --blue-700: #194b6e;

  --dark:    #1c2c36;
  --text:    #4a5560;
  --muted:   #7a8590;
  --line:    #e6e9ec;
  --bg:      #ffffff;
  --bg-soft: #f5f7f8;

  --primary: var(--green-700);
  --accent:  var(--gold-500);

  /* Typo */
  --serif: "Roboto Slab", Georgia, serif;
  --sans:  "Roboto", "Lato", system-ui, sans-serif;

  /* Layout */
  --container: 1240px;
  --gutter: clamp(1.25rem, 3vw, 2rem);

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-1: 0 2px 8px rgba(28,44,54,.08);
  --shadow-2: 0 8px 24px rgba(28,44,54,.10);
  --shadow-3: 0 18px 42px rgba(28,44,54,.16);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  font-weight: 400;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { padding-left: 1.1rem; }

/* ===== Typographie ===== */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
  margin: 0 0 .8rem;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1rem; }
strong { color: var(--dark); }

/* ===== Container & sections ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(3.5rem, 7vw, 6rem) 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.78); }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-green {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  color: rgba(255,255,255,.85);
}
.section-green h1, .section-green h2, .section-green h3, .section-green h4 { color: #fff; }

/* ===== Section heading ===== */
.sec-title {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.sec-title .kicker {
  display: inline-block;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  padding: 6px 14px;
  background: var(--green-100);
  border-radius: 999px;
  margin-bottom: 1rem;
}
.section-dark .sec-title .kicker, .section-green .sec-title .kicker {
  background: rgba(255,255,255,.08); color: var(--gold-500);
}
.sec-title h2 { margin: .4rem 0 .6rem; }
.sec-title h2 .accent { color: var(--primary); }
.section-dark .sec-title h2 .accent, .section-green .sec-title h2 .accent { color: var(--gold-500); }
.sec-title h2::after {
  content: "";
  display: block;
  width: 60px; height: 3px;
  background: var(--accent);
  margin: 1rem auto 0;
}
.sec-title p { color: var(--muted); font-size: 1.02rem; }
.section-dark .sec-title p, .section-green .sec-title p { color: rgba(255,255,255,.65); }

.sec-title.left { text-align: left; margin: 0 0 2.6rem; }
.sec-title.left h2::after { margin-left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600; font-size: .92rem;
  font-family: var(--sans);
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s, color .25s, box-shadow .25s, border-color .25s;
  position: relative;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(31,122,62,.28); }
.btn-primary:hover { background: var(--green-800); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,122,62,.36); }

.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(232,148,34,.30); }
.btn-accent:hover { background: var(--gold-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(232,148,34,.38); }

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

.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--accent); color: #fff; transform: translateY(-2px); }

.btn-text {
  color: var(--primary); text-transform: uppercase;
  font-weight: 700; font-size: .82rem; letter-spacing: .12em;
  padding: 0;
}
.btn-text::after {
  content: "→"; margin-left: .5rem; transition: margin-left .25s var(--ease);
}
.btn-text:hover::after { margin-left: 1rem; }

/* ===== Header / Top bar / Nav ===== */
.top-bar {
  background: var(--green-900);
  color: rgba(255,255,255,.78);
  font-size: .82rem;
  padding: 8px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem; }
.top-bar a { color: rgba(255,255,255,.85); transition: color .2s; }
.top-bar a:hover { color: var(--gold-500); }
.top-info { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.top-info span { display: inline-flex; align-items: center; gap: .4rem; }
.top-info svg { width: 14px; height: 14px; }
.top-socials { display: flex; gap: .8rem; }
.top-socials a {
  width: 26px; height: 26px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: background .25s, transform .25s;
}
.top-socials a:hover { background: var(--accent); transform: translateY(-2px); }
.top-socials svg { width: 12px; height: 12px; color: #fff; }

.site-header {
  position: sticky;
  top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 4px 18px rgba(28,44,54,.08); }

.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { height: 56px; width: auto; }
.brand-text { line-height: 1.2; }
.brand-text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--dark);
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-text small {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex; align-items: center;
  list-style: none; padding: 0; margin: 0;
  gap: .2rem;
}
.nav-links > li > a {
  display: inline-block;
  padding: 12px 16px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .01em;
  position: relative;
  transition: color .2s;
}
.nav-links > li > a::after {
  content: ""; position: absolute;
  left: 16px; right: 16px; bottom: 6px;
  height: 2px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-links > li > a:hover { color: var(--primary); }
.nav-links > li > a:hover::after { transform: scaleX(1); }
.nav-links > li > a.is-active { color: var(--primary); }
.nav-links > li > a.is-active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: 12px 22px;
  background: var(--primary);
  color: #fff !important;
  border-radius: 4px;
  font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .08em;
  transition: background .25s, transform .25s, box-shadow .25s;
  box-shadow: 0 4px 14px rgba(31,122,62,.25);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232,148,34,.32); }
.nav-cta svg { width: 14px; height: 14px; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 4px;
  background: var(--primary);
  color: #fff;
}
.menu-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 0 auto; position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: #fff;
  transition: transform .3s, top .3s;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(15,61,34,.85) 0%, rgba(15,61,34,.55) 55%, rgba(15,61,34,.35) 100%),
    url("../img/team-hero.webp") center/cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 30%, rgba(232,148,34,.20), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(42,154,82,.18), transparent 70%);
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'><circle cx='20' cy='20' r='1' fill='%23ffffff'/></svg>");
}
.hero-inner {
  position: relative; z-index: 2;
  padding: 8rem 0 6rem;
  max-width: 760px;
}
.hero .kicker {
  display: inline-block;
  font-size: .76rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-500);
  padding: 6px 14px;
  background: rgba(232,148,34,.12);
  border: 1px solid rgba(232,148,34,.35);
  border-radius: 999px;
  margin-bottom: 1.4rem;
  font-weight: 700;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -.01em;
}
.hero h1 .hl { color: var(--gold-500); }
.hero p.lead {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: rgba(255,255,255,.88);
  max-width: 60ch;
  margin-bottom: 2.2rem;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-strip {
  position: relative; z-index: 2;
  background: rgba(15,61,34,.88);
  backdrop-filter: blur(6px);
  margin-top: auto;
}
.hero-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.hero-strip .cell {
  padding: 1.6rem 1.2rem;
  border-left: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
}
.hero-strip .cell:first-child { border-left: 0; }
.hero-strip .cell .num {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem; font-weight: 700;
  color: #fff; line-height: 1;
}
.hero-strip .cell .num .suf { color: var(--gold-500); }
.hero-strip .cell .lbl {
  display: block;
  font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: .5rem;
  color: rgba(255,255,255,.65);
}

/* Hero animations on load */
.hero h1, .hero .kicker, .hero p.lead, .hero-cta {
  opacity: 0; transform: translateY(20px);
  animation: heroIn .9s var(--ease) forwards;
}
.hero .kicker { animation-delay: .1s; }
.hero h1     { animation-delay: .25s; }
.hero p.lead { animation-delay: .4s; }
.hero-cta    { animation-delay: .55s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* ===== Intro split ===== */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.intro-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  box-shadow: var(--shadow-2);
}
.intro-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.intro-img:hover img { transform: scale(1.05); }
.intro-img::after {
  content: ""; position: absolute; inset: auto auto -20px -20px;
  width: 140px; height: 140px;
  background: var(--accent);
  border-radius: var(--radius);
  z-index: -1;
}
.intro-img-wrap { position: relative; }
.intro-img-wrap::before {
  content: ""; position: absolute; top: -20px; right: -20px;
  width: 70%; height: 70%;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  z-index: -1;
}
.intro .badge-year {
  position: absolute; right: 20px; bottom: 20px;
  background: #fff;
  padding: 1rem 1.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-2);
  text-align: center;
}
.intro .badge-year strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem; color: var(--primary); line-height: 1;
}
.intro .badge-year span {
  font-size: .74rem; text-transform: uppercase;
  letter-spacing: .12em; color: var(--muted);
}
.intro h2 { margin-bottom: 1.2rem; }
.intro h2 .accent { color: var(--primary); }
.intro p { font-size: 1.02rem; line-height: 1.85; color: var(--text); }
.intro .features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1rem; margin: 1.6rem 0 2rem;
  list-style: none; padding: 0;
}
.intro .features li {
  display: flex; gap: .7rem; align-items: flex-start;
  color: var(--dark); font-weight: 500; font-size: .98rem;
}
.intro .features li::before {
  content: "✓"; flex: 0 0 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--green-100); color: var(--primary);
  border-radius: 50%; font-size: .8rem; font-weight: 700;
  margin-top: 2px;
}
.signature {
  display: flex; align-items: center; gap: 1rem;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.signature .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--green-900));
  display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 700;
}
.signature .info strong { display: block; color: var(--dark); }
.signature .info span { font-size: .85rem; color: var(--muted); }

/* ===== Volets / Info-box cards ===== */
.volets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.volet {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.volet:hover { transform: translateY(-8px); box-shadow: var(--shadow-3); }
.volet-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.volet-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.volet:hover .volet-img img { transform: scale(1.08); }
.volet-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,61,34,.55));
}
.volet-icon {
  position: absolute; left: 24px; bottom: -28px;
  width: 60px; height: 60px;
  border-radius: 12px;
  background: var(--primary);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(31,122,62,.32);
  z-index: 2;
  transition: background .35s, transform .35s;
}
.volet:hover .volet-icon { background: var(--accent); transform: rotate(-5deg) scale(1.08); }
.volet-icon svg { width: 26px; height: 26px; }
.volet-body { padding: 3rem 1.8rem 1.8rem; flex-grow: 1; display: flex; flex-direction: column; }
.volet-body h3 { margin-bottom: .6rem; }
.volet-body p { color: var(--text); font-size: .94rem; margin-bottom: 1.2rem; flex-grow: 1; }
.volet-body ul {
  list-style: none; padding: 0; margin: 0 0 1.4rem;
}
.volet-body li {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .88rem; color: var(--text);
  padding: 3px 0;
}
.volet-body li::before {
  content: ""; flex: 0 0 6px; height: 6px;
  background: var(--accent); border-radius: 50%;
  margin-top: 9px;
}
.volet-foot { border-top: 1px solid var(--line); padding-top: 1rem; }

/* ===== Funfact / Counters ===== */
.funfacts {
  background:
    linear-gradient(135deg, rgba(15,61,34,.92), rgba(15,61,34,.85)),
    url("../img/staff-1.webp") center/cover no-repeat fixed;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.funfacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.funfact {
  text-align: center;
  padding: 1rem;
}
.funfact .ff-icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.15);
  display: grid; place-items: center;
  color: var(--gold-500);
  transition: background .35s, transform .35s, border-color .35s;
}
.funfact:hover .ff-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.1); }
.funfact .ff-icon svg { width: 30px; height: 30px; }
.funfact .num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.funfact .num .suf { color: var(--gold-500); }
.funfact .lbl {
  display: block;
  font-size: .92rem;
  color: rgba(255,255,255,.75);
  margin-top: .6rem;
  letter-spacing: .04em;
}

/* ===== Projects ===== */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.project {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 380px;
  box-shadow: var(--shadow-1);
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
}
.project img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 1s var(--ease);
}
.project::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(15,61,34,.2) 0%, rgba(15,61,34,.92) 100%);
  transition: opacity .4s;
}
.project:hover img { transform: scale(1.08); }
.project-body { padding: 2rem; width: 100%; }
.project .tag {
  display: inline-block;
  font-size: .72rem;
  padding: 5px 12px;
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: .8rem;
}
.project h3 { color: #fff; font-size: 1.6rem; margin: 0 0 .6rem; }
.project p { color: rgba(255,255,255,.85); margin: 0 0 1rem; font-size: .94rem; line-height: 1.6; }
.project dl {
  display: grid; grid-template-columns: auto 1fr;
  gap: .3rem 1rem;
  margin: 0 0 1.2rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .86rem;
}
.project dt { color: rgba(255,255,255,.65); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .74rem; }
.project dd { margin: 0; color: #fff; font-weight: 500; }
.project a.more {
  color: var(--gold-500); font-weight: 700; text-transform: uppercase;
  font-size: .82rem; letter-spacing: .12em;
}
.project a.more::after { content: " →"; }

/* ===== Map / Regions ===== */
.regions-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.region-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.region-card {
  padding: 1rem 1.2rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: .8rem;
  transition: background .25s, border-color .25s, transform .25s;
}
.region-card:hover { background: rgba(255,255,255,.10); border-color: var(--gold-500); transform: translateX(4px); }
.region-card .rc-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold-500); flex-shrink: 0;
}
.region-card.hq .rc-dot { background: #fff; box-shadow: 0 0 0 4px rgba(232,148,34,.4); }
.region-card .rc-name { color: #fff; font-weight: 600; }
.region-card .rc-desc { color: rgba(255,255,255,.55); font-size: .8rem; }
.region-card.hq { background: rgba(232,148,34,.12); border-color: var(--gold-500); }

.niger-map {
  position: relative;
  aspect-ratio: 3 / 2;
  min-height: 360px;
}
.niger-map svg, .niger-map-svg { width: 100%; height: 100%; overflow: visible; display: block; }

.region-path {
  fill: rgba(255,255,255,.06);
  stroke: rgba(255,255,255,.55);
  stroke-width: 1.2;
  stroke-linejoin: round;
  cursor: pointer;
  transition: fill .3s var(--ease), stroke .3s, filter .3s, transform .35s var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}
.region-path:hover,
.region-path.hot {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 1.8;
  filter: drop-shadow(0 6px 14px rgba(232,148,34,.45));
}
.region-path.is-hq {
  fill: rgba(232,148,34,.22);
  stroke: var(--gold-500);
  stroke-width: 1.6;
}
.region-path.is-hq:hover,
.region-path.is-hq.hot {
  fill: var(--gold-500);
  stroke: #fff;
  stroke-width: 2;
}

.region-label {
  font-family: var(--sans);
  font-size: 13px;
  fill: rgba(255,255,255,.92);
  letter-spacing: .04em;
  font-weight: 600;
  text-transform: uppercase;
  pointer-events: none;
  paint-order: stroke fill;
  stroke: rgba(15,61,34,.65);
  stroke-width: 3px;
}

.hq-marker { pointer-events: none; }
.hq-marker .hq-dot { fill: var(--gold-500); stroke: #fff; stroke-width: 2; }
.hq-marker .hq-star { fill: #fff; font-size: 13px; font-weight: 700; }
.hq-marker .hq-pulse {
  fill: var(--gold-500); opacity: .55;
  transform-origin: center; transform-box: fill-box;
  animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(2.6); opacity: 0; }
}

.region-card.hot {
  background: rgba(232,148,34,.18);
  border-color: var(--gold-500);
  transform: translateX(4px);
}
.region-card.hot.hq { background: rgba(232,148,34,.3); }

/* ===== Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.partner-cell {
  aspect-ratio: 2.2 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  padding: 1rem;
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  font-family: var(--serif);
  color: var(--muted);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  line-height: 1.1;
}
.partner-cell:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
  border-color: var(--primary);
  color: var(--primary);
}
.partner-cell small {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .3rem;
  font-weight: 600;
}

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform .4s var(--ease), box-shadow .4s;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.news-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.08); }
.news-date {
  position: absolute; top: 16px; left: 16px;
  background: var(--accent); color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-align: center; line-height: 1;
  font-weight: 700;
}
.news-date strong { display: block; font-size: 1.2rem; font-family: var(--serif); }
.news-date span { display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.news-body { padding: 1.4rem 1.6rem 1.6rem; flex-grow: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  font-size: .76rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
  margin-bottom: .6rem;
}
.news-meta a { color: var(--primary); }
.news-card h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.news-card h3 a { color: var(--dark); transition: color .2s; }
.news-card h3 a:hover { color: var(--primary); }
.news-card p { color: var(--text); font-size: .94rem; flex-grow: 1; }

/* ===== Innovation / Feature row ===== */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-2);
}
.feature-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.feature-img:hover img { transform: scale(1.05); }
.feature-text h2 { margin-bottom: 1rem; }
.feature-text .kicker {
  display: inline-block;
  font-size: .76rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--primary);
  background: var(--green-100);
  padding: 6px 14px; border-radius: 999px;
  font-weight: 700; margin-bottom: 1rem;
}
.feature-text p { color: var(--text); }

/* ===== CTA Band ===== */
.cta-band {
  position: relative;
  padding: 4rem 0;
  background:
    linear-gradient(120deg, rgba(15,61,34,.92), rgba(31,122,62,.85)),
    url("../img/team-orange.webp") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.cta-band .container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 .4rem; }
.cta-band h2 .accent { color: var(--gold-500); }
.cta-band p { color: rgba(255,255,255,.78); margin: 0; }
.cta-band .cta-actions { display: flex; gap: 1rem; justify-content: flex-end; flex-wrap: wrap; }

/* ===== Page hero (interior) ===== */
.page-hero {
  position: relative;
  padding: 6rem 0 5rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15,61,34,.92), rgba(15,61,34,.65)),
    url("../img/staff-1.webp") center/cover no-repeat;
  overflow: hidden;
}
.page-hero.hero-about    { background: linear-gradient(120deg, rgba(15,61,34,.92), rgba(15,61,34,.65)), url("../img/team-hero.webp") center 30%/cover no-repeat; }
.page-hero.hero-domaines { background: linear-gradient(120deg, rgba(15,61,34,.92), rgba(15,61,34,.65)), url("../img/mission-village.webp") center/cover no-repeat; }
.page-hero.hero-projets  { background: linear-gradient(120deg, rgba(15,61,34,.92), rgba(15,61,34,.65)), url("../img/mission-agricole.webp") center/cover no-repeat; }
.page-hero.hero-contact  { background: linear-gradient(120deg, rgba(15,61,34,.92), rgba(15,61,34,.65)), url("../img/staff-2.webp") center/cover no-repeat; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30'><circle cx='15' cy='15' r='1' fill='%23ffffff' opacity='.5'/></svg>");
  opacity: .08;
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; max-width: 18ch; margin-bottom: .6rem; }
.page-hero .lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 60ch; }
.crumbs {
  display: flex; gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-bottom: 1.4rem;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600;
}
.crumbs a { color: var(--gold-500); }
.crumbs span:not(:last-child)::after { content: " / "; margin-left: .4rem; color: rgba(255,255,255,.4); }

/* ===== About fact grid ===== */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.fact-cell {
  padding: 1.2rem 1.4rem;
  background: var(--bg-soft);
  border-left: 3px solid var(--primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.fact-cell dt {
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
  margin-bottom: .3rem;
}
.fact-cell dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.05rem; font-weight: 600;
  color: var(--dark);
}

/* ===== Governance tree ===== */
.gov-tree {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
  max-width: 520px;
}
.gov-node {
  display: flex; align-items: center; gap: 1rem;
  padding: 16px 20px;
  background: #fff;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-1);
  position: relative;
  transition: transform .25s, box-shadow .25s;
}
.gov-node:hover { transform: translateX(4px); box-shadow: var(--shadow-2); }
.gov-node .lvl {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  font-weight: 700; font-size: .82rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.gov-node h4 { margin: 0; font-size: 1rem; color: var(--dark); }
.gov-node small { color: var(--muted); font-size: .82rem; }
.gov-node + .gov-node::before {
  content: ""; position: absolute;
  top: -12px; left: 38px;
  width: 4px; height: 12px;
  background: var(--green-100);
}

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
.contact-info {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  padding: 2.4rem;
  border-radius: var(--radius);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 200px; height: 200px;
  background: rgba(232,148,34,.15);
  border-radius: 50%;
}
.contact-info h3 { color: #fff; position: relative; }
.contact-info .info-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.contact-info .info-row:first-of-type { border-top: 0; }
.contact-info .ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center;
  color: var(--gold-500);
}
.contact-info .ic svg { width: 18px; height: 18px; }
.contact-info label {
  display: block;
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
  font-weight: 700;
  margin-bottom: .2rem;
}
.contact-info p { margin: 0; color: rgba(255,255,255,.92); line-height: 1.55; }
.contact-info a { color: rgba(255,255,255,.92); }
.contact-info a:hover { color: var(--gold-500); }

.contact-form {
  background: #fff;
  padding: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-form h3 { margin-bottom: .4rem; }
.contact-form p.muted { color: var(--muted); margin-bottom: 1.6rem; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--dark); font-weight: 700;
}
.field input, .field select, .field textarea {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--dark);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31,122,62,.12);
}
.field textarea { min-height: 140px; resize: vertical; }

/* ===== Footer ===== */
.site-footer {
  background: #142028;
  color: rgba(255,255,255,.65);
  padding: 4rem 0 1.4rem;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}
.foot-grid h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid rgba(255,255,255,.08);
  position: relative;
}
.foot-grid h4::after {
  content: ""; position: absolute; bottom: -2px; left: 0;
  width: 40px; height: 2px; background: var(--accent);
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { padding: 5px 0; font-size: .92rem; }
.foot-grid a { transition: color .2s, padding-left .2s; }
.foot-grid a:hover { color: var(--gold-500); padding-left: 4px; }

.foot-brand img { height: 64px; margin-bottom: 1rem; filter: brightness(1.05); }
.foot-brand p { font-size: .92rem; line-height: 1.7; }
.foot-socials { display: flex; gap: .6rem; margin-top: 1.2rem; }
.foot-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: grid; place-items: center;
  transition: background .25s, transform .25s;
}
.foot-socials a:hover { background: var(--accent); transform: translateY(-3px); }
.foot-socials svg { width: 14px; height: 14px; color: #fff; }

.contact-list li { display: flex; gap: .8rem; align-items: flex-start; padding: 8px 0; }
.contact-list svg { width: 16px; height: 16px; color: var(--gold-500); margin-top: 3px; flex-shrink: 0; }

.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.4rem;
  display: flex; justify-content: space-between; flex-wrap: wrap;
  gap: 1rem;
  font-size: .82rem;
  color: rgba(255,255,255,.45);
}

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"].in { transition-delay: .08s; }
.reveal[data-delay="2"].in { transition-delay: .16s; }
.reveal[data-delay="3"].in { transition-delay: .24s; }
.reveal[data-delay="4"].in { transition-delay: .32s; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 200;
  transition: width .1s linear;
}

/* Back to top */
.back-top {
  position: fixed; right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center;
  box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .3s;
  z-index: 50;
}
.back-top.show { opacity: 1; pointer-events: auto; transform: none; }
.back-top:hover { background: var(--accent); }
.back-top svg { width: 16px; height: 16px; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .volets, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero-strip .cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
}
@media (max-width: 860px) {
  .top-info { font-size: .76rem; gap: .8rem; }
  .top-socials { display: none; }
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav-cta { display: none; }
  .nav-mobile {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 85%; max-width: 320px;
    background: #fff;
    padding: 5rem 1.6rem 2rem;
    transform: translateX(101%);
    transition: transform .35s var(--ease);
    z-index: 95;
    box-shadow: -10px 0 30px rgba(0,0,0,.15);
    overflow-y: auto;
  }
  .menu-open .nav-mobile { transform: none; }
  .nav-mobile a {
    display: block; padding: 12px 0;
    font-weight: 600; font-size: 1rem;
    color: var(--dark);
    border-bottom: 1px solid var(--line);
  }
  .nav-mobile a:hover { color: var(--primary); }
  .menu-open::after {
    content: ""; position: fixed; inset: 0;
    background: rgba(0,0,0,.4); z-index: 90;
  }

  .intro, .regions-block, .feature-row, .contact-grid, .cta-band .container { grid-template-columns: 1fr; gap: 2rem; }
  .volets, .news-grid, .projects, .funfacts-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .cta-actions { justify-content: flex-start; }
  .feature-row.reverse { direction: ltr; }
  .intro-img-wrap::before { display: none; }
  .intro-img { aspect-ratio: 4 / 3; }
  .region-cards { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero-strip .container { grid-template-columns: 1fr; }
  .hero-strip .cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .facts-grid { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal, .hero h1, .hero .kicker, .hero p.lead, .hero-cta { opacity: 1; transform: none; }
}

/* ===== Équipe (accueil) ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.team-card { text-align: center; }
.team-card .photo {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1.1rem;
  border: 4px solid var(--green-100);
  box-shadow: var(--shadow-2);
}
.team-card .photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.team-card:hover .photo img { transform: scale(1.08); }
.team-card h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.team-card p { color: var(--muted); font-size: .9rem; }

/* ===== Mot du Coordonnateur ===== */
.coord-card {
  display: flex;
  gap: 2.2rem;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 2.5rem;
  box-shadow: var(--shadow-2);
  max-width: 920px;
  margin: 0 auto;
}
.coord-card .photo {
  flex: 0 0 140px;
  width: 140px; height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--green-100);
}
.coord-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.coord-card blockquote {
  font-style: italic;
  color: var(--dark);
  line-height: 1.75;
  margin: 0 0 1.2rem;
  font-size: 1.02rem;
}
.coord-card .who { border-top: 1px solid var(--line); padding-top: 1rem; }
.coord-card .who strong { display: block; font-family: var(--serif); font-size: 1.1rem; }
.coord-card .who span { color: var(--primary); font-weight: 600; font-size: .9rem; }
.coord-card .who small { display: block; color: var(--muted); font-size: .8rem; }

/* ===== Partenaires avec logos ===== */
.partner-cell.has-logo { aspect-ratio: auto; min-height: 130px; padding: 1.1rem .8rem; }
.partner-cell.has-logo img {
  max-height: 52px;
  max-width: 85%;
  width: auto;
  object-fit: contain;
  margin: 0 auto .55rem;
  display: block;
}

@media (max-width: 860px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .coord-card { flex-direction: column; text-align: center; padding: 1.8rem; }
}
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* Mot du coordonnateur — message long */
.coord-card blockquote p { margin: 0 0 .95rem; }
.coord-card blockquote p:last-child { margin-bottom: 0; }
.coord-card { align-items: flex-start; }
.coord-card .photo { position: sticky; top: 100px; }

/* ===== HERO SLIDESHOW ===== */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.6s ease-in-out;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
  animation: heroKenBurns 8s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.09); }
}
.hero-slides::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(15,61,34,.88) 0%, rgba(15,61,34,.58) 55%, rgba(15,61,34,.35) 100%);
}
.hero::before, .hero-pattern { z-index: 1; }
.hero .container, .hero-strip { position: relative; z-index: 2; }

.hero-nav {
  position: absolute;
  right: 2.2rem; top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex; flex-direction: column; gap: .65rem;
}
.hero-nav button {
  width: 12px; height: 12px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,.55);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .45s var(--ease);
}
.hero-nav button:hover { border-color: #fff; background: rgba(255,255,255,.35); }
.hero-nav button.is-active {
  height: 34px;
  border-color: var(--gold-500);
  background: linear-gradient(180deg, var(--gold-500), rgba(232,148,34,.4));
  box-shadow: 0 0 14px rgba(232,148,34,.55);
}
@media (max-width: 860px) {
  .hero-nav { right: 1rem; gap: .5rem; }
  .hero-nav button { width: 10px; height: 10px; }
  .hero-nav button.is-active { height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active { animation: none; }
}

/* Correctif : le panneau mobile ne doit exister que sur petit écran */
.nav-mobile { display: none; }
@media (max-width: 860px) {
  .nav-mobile { display: block; }
}

/* ===== Équipe — cercles animés ===== */
.team-card .photo {
  position: relative;
  width: 172px; height: 172px;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  border: none;
  box-shadow: none;
  overflow: visible;
}
.team-card .photo::before {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--gold-500), var(--primary) 35%,
    rgba(42,154,82,.15) 55%, var(--primary) 75%, var(--gold-500));
  animation: teamRingSpin 7s linear infinite;
  z-index: 0;
}
.team-card .photo::after {
  content: "";
  position: absolute; inset: -16px;
  border-radius: 50%;
  border: 2px dashed rgba(42,154,82,.35);
  animation: teamRingSpinReverse 22s linear infinite;
  z-index: 0;
  transition: border-color .4s var(--ease), inset .4s var(--ease);
}
.team-card .photo img {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  border: 6px solid #fff;
  object-fit: cover;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), filter .55s var(--ease);
  filter: saturate(.95);
  box-shadow: 0 10px 26px rgba(15,61,34,.16);
}
@keyframes teamRingSpin { to { transform: rotate(360deg); } }
@keyframes teamRingSpinReverse { to { transform: rotate(-360deg); } }

.team-card:hover .photo::before { animation-duration: 2.2s; }
.team-card:hover .photo::after {
  border-color: var(--gold-500);
  animation-duration: 8s;
}
.team-card:hover .photo img {
  transform: scale(1.07);
  filter: saturate(1.12);
  box-shadow: 0 18px 44px rgba(15,61,34,.30), 0 0 0 10px rgba(232,148,34,.10);
}

.team-card h3 {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.team-card h3::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--gold-500));
  transform: translateX(-50%);
  transition: width .45s var(--ease);
}
.team-card:hover h3::after { width: 70%; }

@media (prefers-reduced-motion: reduce) {
  .team-card .photo::before,
  .team-card .photo::after { animation: none; }
}

/* Mot du coordonnateur — même anneau animé */
.coord-card .photo { position: sticky; top: 100px; border: none; overflow: visible; }
.coord-card .photo::before {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    var(--gold-500), var(--primary) 35%,
    rgba(42,154,82,.15) 55%, var(--primary) 75%, var(--gold-500));
  animation: teamRingSpin 8s linear infinite;
}
.coord-card .photo img {
  position: relative; z-index: 1;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 8px 22px rgba(15,61,34,.16);
}
@media (prefers-reduced-motion: reduce) { .coord-card .photo::before { animation: none; } }

/* ===== Mot du Coordonnateur — refonte grand portrait ===== */
.coord-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.8rem;
  align-items: start;
  max-width: 1040px;
}
.coord-photo {
  position: sticky; top: 110px;
}
.coord-photo::before {
  content: "";
  position: absolute;
  inset: 18px -16px -16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--gold-500));
  opacity: .9;
}
.coord-photo img {
  position: relative; z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 18px;
  border: 6px solid #fff;
  box-shadow: 0 22px 55px rgba(15,61,34,.28);
  transition: transform .55s var(--ease);
}
.coord-photo:hover img { transform: translateY(-6px); }
.coord-id {
  position: relative; z-index: 1;
  margin-top: 1.4rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 26px rgba(15,61,34,.10);
}
.coord-id strong { display: block; font-family: var(--serif); font-size: 1.02rem; line-height: 1.3; }
.coord-id span { display: block; color: var(--primary); font-weight: 700; font-size: .88rem; margin-top: .3rem; }
.coord-id small { display: block; color: var(--muted); font-size: .78rem; margin-top: .15rem; }

.coord-text { position: relative; padding-top: .4rem; }
.coord-text::before {
  content: "\201C";
  position: absolute;
  top: -2.4rem; left: -.6rem;
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 1;
  color: var(--gold-500);
  opacity: .35;
  pointer-events: none;
}
.coord-text blockquote p:first-child::first-letter {
  font-family: var(--serif);
  font-size: 2.1em;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  padding-right: 2px;
}

@media (max-width: 860px) {
  .coord-card { grid-template-columns: 1fr; gap: 2rem; }
  .coord-photo { position: static; max-width: 300px; margin: 0 auto; }
  .coord-text::before { top: -1.6rem; font-size: 5rem; }
}

/* Mot du Coordonnateur — message a gauche, photo a droite */
.coord-card { grid-template-columns: 1fr 320px; }
.coord-photo { order: 2; }
.coord-text  { order: 1; }
.coord-photo::before { inset: 18px 18px -16px -16px; }
@media (max-width: 860px) {
  .coord-photo { order: 1; }
  .coord-text  { order: 2; }
}

/* ===== CORRECTIFS RESPONSIVE (bloc final — priorite maximale par cascade) ===== */
body { overflow-x: clip; }

@media (max-width: 860px) {
  /* Mot du Coordonnateur : une seule colonne, photo positionnee (le cadre
     degrade reste attache a la photo et ne recouvre plus la section) */
  .coord-card {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding: 1.6rem;
    text-align: left;
  }
  .coord-photo {
    position: relative;
    top: auto;
    order: 1;
    max-width: 280px;
    margin: 0 auto;
  }
  .coord-photo::before { inset: 14px 14px -12px -12px; }
  .coord-text { order: 2; text-align: left; }
  .coord-text::before { left: 0; top: -1.4rem; font-size: 4.5rem; }
  .coord-text blockquote { font-size: .98rem; }
  .coord-id strong { font-size: .95rem; }
}

@media (max-width: 560px) {
  .coord-card { padding: 1.2rem; }
  .coord-photo { max-width: 240px; }
  .team-card .photo { width: 150px; height: 150px; }
  .hero-nav { right: .6rem; }
}

/* ============================================================
   REFONTE MOBILE — affichage propre et anime sur tous ecrans
   ============================================================ */

/* Bouton menu : plus joli et lisible */
.menu-toggle {
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--green-800));
  box-shadow: 0 4px 14px rgba(15,61,34,.30);
  border: 1px solid rgba(255,255,255,.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.menu-toggle:active { transform: scale(.92); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  height: 2.5px; border-radius: 2px;
}

@media (max-width: 860px) {
  /* --- Barre du haut : compacte, centree --- */
  .top-bar { padding: 6px 0; }
  .top-bar .container { justify-content: center; }
  .top-info { justify-content: center; gap: 1rem; }

  /* --- HERO : mise en page verticale fluide --- */
  .hero {
    flex-direction: column;
    min-height: auto;
  }
  .hero .container { order: 1; width: 100%; }
  .hero-nav {
    order: 2;
    position: static;
    transform: none;
    flex-direction: row;
    justify-content: center;
    margin: .2rem auto 1.4rem;
  }
  .hero-nav button.is-active { height: 12px; width: 34px; }
  .hero-strip { order: 3; width: 100%; }
  .hero-inner { padding: 3.8rem 0 1.6rem; max-width: 100%; }
  .hero .kicker { font-size: .66rem; letter-spacing: .14em; padding: 5px 12px; }
  .hero h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero p.lead { font-size: .98rem; line-height: 1.7; }
  .hero-cta { gap: .7rem; }
  .hero-cta .btn { padding: .8rem 1.2rem; font-size: .92rem; }

  /* Stats du hero : 2x2 compact */
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero-strip .cell { padding: 1rem .9rem; text-align: center; }
  .hero-strip .cell .num { font-size: 1.7rem; }
  .hero-strip .cell .lbl { font-size: .66rem; letter-spacing: .1em; margin-top: .3rem; }

  /* --- Sections : respiration adaptee --- */
  section { padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .sec-title h2 { font-size: clamp(1.5rem, 6.4vw, 2rem); }
  .sec-title p { font-size: .95rem; }

  /* Volets / projets / actus : une colonne aeree */
  .volets, .projects, .news-grid { grid-template-columns: 1fr; gap: 1.4rem; }

  /* Fun facts : 2x2 */
  .funfacts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }

  /* Pages internes : hero reduit */
  .page-hero { padding: 4.2rem 0 2.6rem; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
}

@media (max-width: 560px) {
  /* Barre du haut : masquer l'adresse, garder tel + email */
  .top-info span:first-child { display: none; }
  .top-info { font-size: .72rem; }

  /* Hero : stats toujours 2x2, jamais 1 colonne interminable */
  .hero-strip .container { grid-template-columns: repeat(2, 1fr); }
  .hero-strip .cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.1); }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }

  /* Cartes et grilles */
  .funfacts-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .partner-cell.has-logo { min-height: 112px; }
  .partner-cell.has-logo img { max-height: 40px; }

  /* Boutons pleine largeur confortables */
  .btn { min-height: 46px; }
}

/* Petites animations douces partout (souris ET tactile) */
.volet, .project, .news-card, .partner-cell, .region-card, .team-card {
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
@media (hover: none) {
  /* Sur tactile : effet au toucher */
  .volet:active, .project:active, .news-card:active, .partner-cell:active { transform: scale(.98); }
}

/* ===== Carte du Niger — correctif mobile ===== */
@media (max-width: 860px) {
  .regions-block { gap: 1.6rem; }
  .niger-map {
    min-height: 0;                /* plus de vide : la carte epouse son contenu */
    aspect-ratio: 3 / 2;
    padding: 0 12px;              /* marge pour les etiquettes (Diffa, Tillaberi) */
    width: 100%;
    max-width: 520px;
    margin: 0 auto;               /* toujours centree */
  }
  .niger-map svg, .niger-map-svg { overflow: hidden; }
  .region-cards { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .region-card { padding: .8rem .9rem; }
  .rc-name { font-size: .9rem; }
  .rc-desc { font-size: .74rem; }
}
@media (max-width: 400px) {
  .region-cards { grid-template-columns: 1fr; }
}

/* ===== Bouton menu (hamburger) — refonte propre et definitive ===== */
.menu-toggle {
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  width: 42px; height: 42px;
  min-width: 42px;
  flex: 0 0 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--primary);
  box-shadow: 0 2px 8px rgba(15,61,34,.25);
  display: none;
  place-items: center;
  align-self: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background .25s var(--ease), transform .2s var(--ease);
}
@media (max-width: 860px) { .menu-toggle { display: grid; } }
.menu-toggle:hover { background: var(--green-800); }
.menu-toggle:active { transform: scale(.94); }
.menu-toggle:focus { outline: none; }
.menu-toggle:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: #fff;
  margin: 0;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute; left: 0;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after  { top: 6px; }

.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }

/* ===== Cartes d'articles — miniatures maitrisees et animees ===== */
.news-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 22px rgba(15,61,34,.08);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 22px 48px rgba(15,61,34,.18); }
.news-img {
  position: relative;
  aspect-ratio: 16 / 10;      /* hauteur fixe : les affiches ne debordent plus */
  overflow: hidden;
}
.news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .6s var(--ease), filter .6s var(--ease);
}
.news-card:hover .news-img img { transform: scale(1.07); filter: saturate(1.1); }
.news-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,61,34,.35), transparent 45%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.news-card:hover .news-img::after { opacity: 1; }
.news-date {
  z-index: 2;
  box-shadow: 0 6px 16px rgba(0,0,0,.25);
  transition: transform .35s var(--ease);
}
.news-card:hover .news-date { transform: scale(1.08) rotate(-3deg); }
.news-body h3 a { transition: color .3s; }
.news-card:hover .news-body h3 a { color: var(--primary); }
