/* ============================================================
   Portfolio Noël Koutohou Jahways — CSS Principal
   Swiss Design × Afrique Verte
   ============================================================ */

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --terre:       #0F4C5C;
  --vert-foret:  #0E7C86;
  --vert-clair:  #2AA7B3;
  --or-sahel:    #D7A24B;
  --creme:       #F2FBFC;
  --text:        #10272C;
  --text-light:  #4A686F;
  --white:       #FFFFFF;
  --semence:     #66C7B6;
  --eau:         #2F93A1;

  /* Espacements */
  --xs: 8px; --sm: 16px; --md: 24px; --lg: 32px;
  --xl: 48px; --2xl: 64px; --3xl: 96px;

  /* Transitions */
  --tr: 0.3s ease;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ─── Typographie ────────────────────────────────────────────── */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  color: var(--terre);
  letter-spacing: -1px;
  line-height: 1.1;
}
h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
}
h3 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}
h4 {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
}
p { font-size: 16px; line-height: 1.75; color: var(--text-light); }
blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  border-left: 4px solid var(--or-sahel);
  padding: var(--md) var(--lg);
  color: var(--terre);
  font-style: italic;
  background: var(--creme);
  margin: var(--xl) 0;
}
blockquote cite {
  display: block;
  margin-top: var(--sm);
  font-size: 14px;
  font-style: normal;
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
}

/* ─── Layout ─────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--lg);
}
main { min-height: 60vh; }
section { padding: var(--3xl) 0; }
.section-creme { background: var(--creme); }
.section-dark  { background: var(--vert-foret); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p  { color: rgba(255,255,255,0.8); }

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: var(--2xl);
}
.section-header h2 { color: var(--terre); }
.section-header p  { max-width: 640px; margin: var(--sm) auto 0; font-size: 18px; }
.section-header--light h2 { color: var(--white); }
.section-header--light p  { color: rgba(255,255,255,0.85); }

/* ─── Scroll Progress Bar ────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--vert-clair);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ─── Header / Navigation ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--vert-foret);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--lg);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon svg { width: 34px; height: 34px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-initials {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 900;
  color: var(--terre);
  letter-spacing: -0.5px;
}
.logo-subtitle {
  font-size: 9px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Nav */
.main-nav { flex: 1; min-width: 0; overflow: visible; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  flex-wrap: nowrap;
}
.nav-link {
  padding: 5px 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  border-radius: 4px;
  transition: color var(--tr), background var(--tr);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--vert-foret);
  background: rgba(14,124,134,0.12);
}
.nav-link--contact {
  background: var(--vert-foret);
  color: var(--white) !important;
  border-radius: 4px;
  margin-left: 4px;
}
.nav-link--contact:hover {
  background: var(--terre);
  color: var(--white) !important;
}

/* Lang switcher */
.lang-switcher { flex-shrink: 0; }
.lang-btn {
  display: inline-block;
  padding: 5px 11px;
  border: 2px solid var(--vert-foret);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--vert-foret);
  letter-spacing: 1px;
  transition: background var(--tr), color var(--tr);
}
.lang-btn:hover {
  background: var(--vert-foret);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--tr);
}

/* ─── Hero Section ───────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100svh - 72px);
  padding: clamp(38px, 7vh, 72px) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FCFD 100%);
}
.hero::after {
  content: '';
  position: absolute;
  width: 58%;
  height: 125%;
  right: -16%;
  top: -18%;
  border-radius: 55% 0 0 55%;
  background: linear-gradient(145deg, #1395A5 0%, #1AA9BA 45%, #33BFD0 100%);
  transform: rotate(-3deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}
.hero-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.hero-content {
  max-width: 640px;
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  color: #7A9095;
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.6vw, 72px);
  font-weight: 900;
  color: #103A47;
  letter-spacing: -0.8px;
  line-height: 1.08;
  margin-bottom: 8px;
}
.hero-role {
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--vert-foret);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.hero-bio {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 16px;
}
.hero-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.hero-social {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(16,58,71,0.2);
  color: #5E7A82;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr);
}
.hero-social:hover {
  background: var(--vert-foret);
  color: var(--white);
  border-color: var(--vert-foret);
  transform: translateY(-2px);
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.hero-main-cta {
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 14px;
  letter-spacing: 0.2px;
}
.hero-stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-stat {
  min-width: 150px;
  background: rgba(16,58,71,0.04);
  border: 1px solid rgba(16,58,71,0.12);
  border-radius: 10px;
  padding: 12px 14px;
}
.hero-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: var(--vert-foret);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-stat span {
  font-size: 12px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.hero-visual {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-blob {
  position: relative;
  width: min(520px, 100%);
  height: 560px;
  border-radius: 54% 46% 42% 58% / 56% 42% 58% 44%;
  background: linear-gradient(160deg, #0E7C86 0%, #1FA7B8 50%, #3BC5D6 100%);
  box-shadow: 0 30px 60px rgba(15,76,92,0.24);
  overflow: hidden;
}
.hero-blob::before {
  content: '';
  position: absolute;
  inset: -20% -10% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.25), rgba(255,255,255,0));
}
.hero-figure {
  position: absolute;
  inset: 0;
  background: url('../images/portrait.png') center 18%/cover no-repeat;
  mix-blend-mode: normal;
  opacity: 1;
}

/* ─── Boutons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr);
  border: 2px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--vert-foret);
  color: var(--white);
  border-color: var(--vert-foret);
}
.btn-primary:hover { background: var(--terre); border-color: var(--terre); }
.btn-outline {
  background: transparent;
  color: var(--creme);
  border-color: var(--creme);
}
.btn-outline:hover { background: var(--creme); color: var(--terre); }
.btn-glass {
  background: rgba(236,254,255,0.12);
  color: #ECFEFF;
  border-color: rgba(236,254,255,0.38);
}
.btn-glass:hover {
  background: rgba(236,254,255,0.25);
  color: #062C33;
  border-color: rgba(236,254,255,0.58);
}
.btn-or {
  background: var(--or-sahel);
  color: var(--white);
  border-color: var(--or-sahel);
}
.btn-or:hover { background: var(--terre); border-color: var(--terre); }
.btn-sm { padding: 8px 18px; font-size: 13px; }

/* ─── Axes d'Engagement ──────────────────────────────────────── */
.axes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg);
  margin-top: var(--lg);
}
.axe-card {
  background: var(--white);
  border-radius: 8px;
  padding: var(--lg);
  border-left: 4px solid var(--or-sahel);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--tr), box-shadow var(--tr);
}
.axe-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.axe-icon {
  width: 48px; height: 48px;
  background: var(--creme);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--md);
  color: var(--vert-foret);
  font-size: 22px;
}
.axe-card h3 { color: var(--terre); margin-bottom: var(--xs); font-size: 20px; }
.axe-card p  { font-size: 15px; }

/* ─── Stats / Chiffres Clés ──────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--lg);
  text-align: center;
}
.stat-item {}
.stat-number {
  font-family: 'Inter', sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 14px;
  color: var(--semence);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  display: block;
}

/* ─── Projets Cards ──────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg);
}
.project-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.06);
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(14,124,134,0.22);
}

/* Zone image */
.project-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--vert-foret) 0%, #168A96 52%, var(--vert-clair) 100%);
  flex-shrink: 0;
}
.project-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.project-card:hover .project-card-media img { transform: scale(1.07); }

/* Placeholder SVG décoratif */
.project-card-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0A5A63 0%, #0E7C86 42%, #1999A6 72%, #2AA7B3 100%);
}
.project-card-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 70%, rgba(102,199,182,0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(215,162,75,0.16) 0%, transparent 50%);
}

/* Badges thèmes flottants */
.project-card-badges {
  position: absolute;
  top: 14px; left: 14px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.pcard-badge {
  background: rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

/* Badge statut */
.pcard-statut {
  position: absolute;
  bottom: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 20px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.pcard-statut--en_cours {
  background: rgba(102,199,182,0.22);
  border: 1px solid rgba(102,199,182,0.5);
  color: #D9FFF6;
}
.pcard-statut--termine {
  background: rgba(215,162,75,0.24);
  border: 1px solid rgba(215,162,75,0.48);
  color: #FFE1A9;
}
.pcard-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pcard-statut--en_cours .pcard-dot {
  background: #66C7B6;
  box-shadow: 0 0 0 3px rgba(102,199,182,0.35);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
.pcard-statut--termine .pcard-dot {
  background: var(--or-sahel);
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 2px rgba(102,199,182,0.35); }
  50%       { box-shadow: 0 0 0 5px rgba(102,199,182,0.1); }
}

/* Zone texte */
.project-card-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card-lieu {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--vert-clair);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-card-lieu i { font-size: 10px; }
.project-card-info h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--terre);
  line-height: 1.35;
  margin-bottom: 10px;
}
.project-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-light);
  flex: 1;
  margin-bottom: 18px;
}
.pcard-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vert-foret);
  text-decoration: none;
  border-top: 1px solid rgba(14,124,134,0.15);
  padding-top: 14px;
  transition: gap var(--tr), color var(--tr);
}
.pcard-cta:hover { color: var(--terre); gap: 11px; }
.pcard-cta i { font-size: 11px; transition: transform var(--tr); }
.pcard-cta:hover i { transform: translateX(3px); }

/* Impact highlight (page projets) */
.pcard-impact {
  font-size: 12px;
  font-weight: 600;
  color: var(--vert-clair);
  background: rgba(14,124,134,0.08);
  border-left: 3px solid var(--semence);
  padding: 7px 10px;
  border-radius: 0 4px 4px 0;
  margin-bottom: 14px;
  line-height: 1.4;
}
.pcard-impact i { margin-right: 5px; font-size: 11px; }

/* Filtre projets */
.projects-filter {
  display: flex;
  gap: var(--sm);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--xl);
}
.filter-btn {
  padding: 8px 20px;
  border: 2px solid var(--vert-foret);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--vert-foret);
  background: transparent;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--vert-foret);
  color: var(--white);
}

/* ─── ONG Blocs ──────────────────────────────────────────────── */
.ong-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--xl);
}
.ong-bloc {
  background: var(--white);
  border-radius: 8px;
  padding: var(--xl);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-top: 4px solid var(--vert-foret);
}
.ong-logo {
  width: 64px; height: 64px;
  background: var(--vert-foret);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 24px;
  margin-bottom: var(--md);
}
.ong-bloc h3 { color: var(--terre); margin-bottom: 4px; font-size: 22px; }
.ong-role    { font-size: 13px; color: var(--vert-clair); font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: var(--md); }
.ong-bloc p  { margin-bottom: var(--lg); }

/* ─── Blog Cards ──────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--lg);
}
.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: transform var(--tr), border-color var(--tr);
  border: 2px solid transparent;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--vert-clair);
}
.blog-card-img {
  width: 100%; height: 200px;
  object-fit: cover;
}
.blog-card-body { padding: var(--md); }
.blog-card-meta {
  display: flex;
  gap: var(--sm);
  align-items: center;
  margin-bottom: var(--sm);
  font-size: 12px;
  color: var(--text-light);
}
.blog-card-meta .tag { font-size: 10px; }
.blog-card h3 { font-size: 18px; color: var(--terre); margin-bottom: 8px; line-height: 1.3; }
.blog-card p  { font-size: 14px; margin-bottom: var(--md); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card-link { font-size: 13px; font-weight: 700; color: var(--vert-foret); }
.blog-card-link:hover { color: var(--terre); }

/* ─── Galerie Masonry ────────────────────────────────────────── */
.gallery-grid {
  columns: 3;
  column-gap: var(--md);
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--md);
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,124,134,0.85) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--tr);
  display: flex;
  align-items: flex-end;
  padding: var(--md);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-caption {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(28,28,28,0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img-wrap { position: relative; max-width: 90vw; max-height: 90vh; }
.lightbox-img  { max-width: 90vw; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox-close {
  position: absolute;
  top: var(--md); right: var(--md);
  background: none;
  border: none;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}
.lightbox-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: var(--white);
  font-size: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.lightbox-nav:hover { background: var(--vert-foret); }
.lightbox-prev { left: -64px; }
.lightbox-next { right: -64px; }
.lightbox-caption {
  margin-top: var(--sm);
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  text-align: center;
}

/* ─── Timeline (About) ───────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: var(--xl);
  border-left: 3px solid var(--vert-foret);
  margin-top: var(--lg);
}
.timeline-item {
  position: relative;
  padding-bottom: var(--xl);
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--xl) - 7px);
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--or-sahel);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--or-sahel);
}
.timeline-year {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--or-sahel);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.timeline-item h4 { color: var(--terre); margin-bottom: 4px; }
.timeline-item p  { font-size: 14px; }

/* ─── Contact Form ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--2xl);
  align-items: start;
}
.contact-form { background: var(--white); border-radius: 8px; padding: var(--xl); box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.form-group { margin-bottom: var(--md); }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--creme);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--creme);
  transition: border-color var(--tr), background var(--tr);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--vert-foret);
  background: var(--white);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-checkbox { display: flex; gap: var(--sm); align-items: flex-start; }
.form-checkbox input { width: auto; flex-shrink: 0; margin-top: 3px; }
.form-checkbox label { font-size: 13px; text-transform: none; letter-spacing: 0; font-weight: 400; }

.contact-info { padding: var(--lg) 0; }
.contact-info h3 { color: var(--terre); margin-bottom: var(--md); }
.contact-info-item { display: flex; gap: var(--md); align-items: flex-start; margin-bottom: var(--lg); }
.contact-info-icon { width: 40px; height: 40px; background: var(--vert-foret); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 16px; flex-shrink: 0; }
.contact-info-text h4 { color: var(--text); font-size: 14px; margin-bottom: 2px; }
.contact-info-text p  { font-size: 14px; color: var(--text-light); }
.contact-info-text a  { color: var(--vert-foret); font-weight: 600; }

/* ─── Social Links ───────────────────────────────────────────── */
.social-links { display: flex; gap: var(--sm); flex-wrap: wrap; margin-top: var(--md); }
.social-link {
  width: 40px; height: 40px;
  background: var(--vert-foret);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 16px;
  transition: background var(--tr), transform var(--tr);
}
.social-link:hover { background: var(--or-sahel); transform: translateY(-2px); }

/* ─── Alert / Flash Messages ─────────────────────────────────── */
.alert {
  padding: var(--md) var(--lg);
  border-radius: 4px;
  margin-bottom: var(--md);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sm);
}
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }
.alert-info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid #17a2b8; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: var(--terre);
  color: var(--creme);
  padding: var(--3xl) 0 var(--xl);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--2xl);
  padding-bottom: var(--2xl);
  border-bottom: 1px solid rgba(245,240,232,0.15);
}
.footer-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--or-sahel);
  margin-bottom: var(--md);
}
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 14px; color: rgba(245,240,232,0.8); transition: color var(--tr); display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--white); }
.footer-networks { font-size: 13px; color: rgba(245,240,232,0.6); margin-top: var(--sm); }
.footer-networks-label { font-weight: 700; color: rgba(245,240,232,0.8); }
.footer-social { display: flex; gap: var(--sm); margin-top: var(--md); }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(245,240,232,0.1); display: flex; align-items: center; justify-content: center; color: var(--creme); font-size: 14px; transition: background var(--tr); }
.social-btn:hover { background: var(--or-sahel); }
.footer-bottom {
  padding-top: var(--lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(245,240,232,0.6);
}

/* ─── Fade-in Animation ──────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: var(--vert-foret);
  padding: var(--3xl) 0;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--or-sahel);
}
.page-hero h1 { color: var(--creme); font-size: clamp(32px, 5vw, 56px); }
.page-hero p  { color: rgba(245,240,232,0.85); font-size: 18px; margin-top: var(--sm); max-width: 600px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(245,240,232,0.6); margin-bottom: var(--md); }
.breadcrumb a { color: var(--semence); }
.breadcrumb-sep { color: rgba(245,240,232,0.3); }

/* ─── Missions Grid ──────────────────────────────────────────── */
.missions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--lg);
}
.mission-card {
  background: var(--white);
  border-radius: 8px;
  padding: var(--lg);
  border-top: 4px solid var(--vert-foret);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform var(--tr);
}
.mission-card:hover { transform: translateY(-4px); }
.mission-icon { font-size: 28px; margin-bottom: var(--sm); color: var(--vert-foret); }
.mission-card h3 { color: var(--terre); font-size: 17px; margin-bottom: 8px; }
.mission-card p  { font-size: 14px; }

/* ─── Cookie Banner ──────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--creme);
  border-top: 3px solid var(--or-sahel);
  padding: var(--md) var(--lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--md);
  z-index: 9000;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  font-size: 14px;
  color: var(--text);
}
#cookie-banner.hidden { display: none; }
#cookie-banner p { margin: 0; }
#cookie-accept { white-space: nowrap; }

/* ─── Placeholder image ──────────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, var(--vert-foret) 0%, var(--vert-clair) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-size: 40px;
}
