/* ============================================================
   BCRDI — Bureau de Consultance pour la Recherche
   et le Développement Impactant
   Reconstitution statique du site (FR/EN)
   ============================================================ */

:root {
  --green: #0E9E8A;
  --green-dark: #0B7C6C;
  --navy: #0C3A35;
  --navy-deep: #062825;
  --cream: #F6F5F2;
  --sand: #E8E6E1;
  --gray: #8A8A8A;
  --whatsapp: #25D366;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--navy-deep);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { text-decoration: none; color: inherit; }

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

.section-padding { padding: 96px 0; }

h1, h2, h3, h4 { font-family: var(--font-head); }

.section-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 16px;
}

.section-label-light {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
}

/* ---------- Boutons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }

.btn-light {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  color: var(--navy-deep);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
}
.btn-light:hover { background: #fff; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 8px;
  border: 1.5px solid rgba(246,245,242,.4);
  cursor: pointer;
  transition: border-color .3s, background .3s;
}
.btn-outline:hover { border-color: var(--cream); background: rgba(246,245,242,.08); }

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--green);
  font-weight: 600;
  font-size: 15px;
  transition: gap .2s;
  gap: 4px;
}
.text-link:hover { gap: 10px; }
.text-link.light { color: var(--cream); }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(246,245,242,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 18px rgba(6,40,37,.1);
  transition: background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(246,245,242,.99);
  box-shadow: 0 4px 24px rgba(6,40,37,.16);
}
.navbar .container-main {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 48px; width: auto; border-radius: 3px; }

.nav-links { display: none; align-items: center; gap: 32px; }
.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: rgba(6,40,37,.72);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--green); }

.nav-actions { display: none; align-items: center; gap: 16px; }

.lang-switch {
  display: flex;
  align-items: center;
  background: rgba(6,40,37,.08);
  border-radius: 999px;
  padding: 2px;
}
.lang-switch button {
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-head);
  border: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(6,40,37,.6);
  cursor: pointer;
  transition: all .2s;
}
.lang-switch button.active { background: var(--green); color: #fff; }
.lang-switch button:hover:not(.active) { color: var(--navy-deep); }

.nav-cta { padding: 10px 20px; font-size: 14px; }

.nav-burger {
  display: block;
  background: none;
  border: none;
  color: var(--navy-deep);
  cursor: pointer;
  padding: 8px;
}
.nav-burger svg { width: 26px; height: 26px; }

.mobile-menu {
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 999;
  background: rgba(12,58,53,.98);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: rgba(246,245,242,.8);
  padding: 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.mobile-menu a.active, .mobile-menu a:hover { color: var(--cream); }
.mobile-menu .lang-switch { margin: 16px 0 8px; align-self: flex-start; }
.mobile-menu .btn-primary { justify-content: center; margin-top: 8px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-actions { display: flex; }
  .nav-burger { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero pages intérieures ---------- */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  padding-top: 72px;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .2;
  z-index: 0;
}
.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(12,58,53,.8), var(--navy));
}
.page-hero .hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}
.page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(246,245,242,.7);
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Hero accueil ---------- */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.home-hero .hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-hero .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 1.5s ease-in-out;
  will-change: opacity, transform;
}
.home-hero .hero-slide.active {
  opacity: 1;
  animation: heroKenBurns 7s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}
.home-hero .hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.home-hero .hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(246,245,242,.45);
  cursor: pointer;
  transition: all .35s;
}
.home-hero .hero-dots button:hover { background: rgba(246,245,242,.8); }
.home-hero .hero-dots button.active {
  width: 28px;
  background: #2ED9C0;
}
.home-hero .hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(6,40,37,.92) 0%, rgba(12,58,53,.75) 35%, rgba(12,58,53,.55) 60%, rgba(6,40,37,.85) 100%);
}
.home-hero .hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 150px 60px rgba(6,40,37,.4);
}
.home-hero .hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 950px;
  margin: 0 auto;
  will-change: transform, opacity;
}
.home-hero .hero-kicker {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(46,196,152,.95);
  margin-bottom: 24px;
}
.home-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.home-hero .hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(246,245,242,.82);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.home-hero .hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ---------- Sections génériques ---------- */
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy-deep); }
.bg-green { background: var(--green); }

.section-head { max-width: 760px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.2;
}
.section-head h2.light { color: var(--cream); }
.section-head p.sub {
  margin-top: 16px;
  color: var(--gray);
  font-size: 16px;
}
.section-head p.sub.light { color: rgba(246,245,242,.6); }

/* ---------- Qui sommes-nous (accueil) ---------- */
.who-section { background: var(--navy); }
.who-section h2 {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  max-width: 900px;
  margin-bottom: 32px;
}
.who-section .who-text {
  color: rgba(246,245,242,.7);
  font-size: 17px;
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.who-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 64px;
}
@media (min-width: 768px) { .who-grid { grid-template-columns: repeat(3, 1fr); } }
.who-grid .who-img {
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}
.who-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.who-grid .who-img:hover img { transform: scale(1.05); }

/* ---------- Chiffres clés ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 48px; } }
.stat-item { text-align: center; }
a.stat-link {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 16px;
  padding: 18px 10px;
  transition: background .3s, transform .3s, box-shadow .3s;
}
a.stat-link:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(12,58,53,.1);
}
a.stat-link .stat-go {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: .06em;
}
a.stat-link .stat-go svg { width: 14px; height: 14px; }
.stats-band {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
}
.stats-band .section-label { color: rgba(255,255,255,.78); }
.stats-band h2 { color: #fff; }
.stats-band .stat-value { color: #fff; }
.stats-band .stat-label { color: rgba(255,255,255,.88); }
.stats-band a.stat-link:hover {
  background: rgba(255,255,255,.14);
  box-shadow: 0 14px 34px rgba(6,40,37,.25);
}
.stats-band a.stat-link .stat-go { color: #D8FFF7; }

.stat-value {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 8px;
}
.stat-label { font-size: 14px; color: var(--gray); }

/* ---------- Domaines d'intervention ---------- */
.domains-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .domains-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .domains-grid { grid-template-columns: repeat(3, 1fr); } }
.domain-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 32px;
  transition: background .3s, border-color .3s;
}
.domain-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(26,122,92,.35);
}
.domain-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: rgba(26,122,92,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background .3s;
}
.domain-card:hover .domain-icon { background: rgba(26,122,92,.3); }
.domain-icon svg { width: 28px; height: 28px; stroke: var(--green); }
.domain-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 12px;
}
.domain-card p { font-size: 14px; color: rgba(246,245,242,.6); line-height: 1.7; }

/* ---------- Marquee partenaires ---------- */
.partners-marquee { overflow: hidden; padding: 80px 0; }
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  flex-shrink: 0;
  width: 160px; height: 80px;
  margin: 0 16px;
  background: var(--sand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .3s, opacity .3s;
}
.marquee-item:hover { filter: grayscale(0); opacity: 1; }
.marquee-item span {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  text-align: center;
}

/* ---------- Cartes actualités ---------- */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .news-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.news-card {
  background: var(--sand);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6,40,37,.12); }
.news-card .news-img { aspect-ratio: 16/9; overflow: hidden; }
.news-card .news-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card .news-body { padding: 24px; }
.news-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray);
  margin-bottom: 12px;
}
.news-date svg { width: 14px; height: 14px; }
.news-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--green);
  background: rgba(26,122,92,.1);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .3s;
}
.news-card:hover h3 { color: var(--green); }
.news-card .news-desc {
  font-size: 14px;
  color: var(--gray);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-more {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}
.news-more svg { width: 16px; height: 16px; }

/* ---------- Filtres actualités ---------- */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 48px;
}
.news-filters button {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--sand);
  background: #fff;
  color: var(--navy-deep);
  cursor: pointer;
  transition: all .25s;
}
.news-filters button:hover { border-color: var(--green); color: var(--green); }
.news-filters button.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* ---------- CTA bandeau ---------- */
.cta-section { padding: 80px 0; text-align: center; }
.cta-section h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 24px;
}
.cta-section p {
  font-size: 17px;
  color: rgba(246,245,242,.85);
  max-width: 620px;
  margin: 0 auto 32px;
}
.cta-section.dark h2 { color: var(--cream); }
.cta-section.dark p { color: rgba(246,245,242,.65); }

/* ---------- À propos ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 1024px) { .about-story { grid-template-columns: 1fr 1fr; } }
.about-story .story-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-story .story-img img { width: 100%; height: 100%; object-fit: cover; }
.about-story h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 20px;
}
.about-story p { color: #4b5563; font-size: 15.5px; line-height: 1.8; margin-bottom: 16px; }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 40px;
}
.vm-card .vm-badge {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(26,122,92,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.vm-card .vm-badge svg { width: 26px; height: 26px; stroke: var(--green); }
.vm-card h3 { font-size: 22px; font-weight: 700; color: var(--navy-deep); margin-bottom: 6px; }
.vm-card h4 { font-size: 14px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.vm-card p { color: #4b5563; font-size: 15px; line-height: 1.8; }
.vm-card ul { list-style: none; margin-top: 16px; }
.vm-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 9px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.6;
}
.vm-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .values-grid { grid-template-columns: repeat(3, 1fr); } }
.value-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 14px;
  padding: 32px;
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(6,40,37,.1); }
.value-card .value-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(26,122,92,.12);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-card .value-icon svg { width: 24px; height: 24px; stroke: var(--green); }
.value-card h3 { font-size: 18px; font-weight: 700; color: var(--navy-deep); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray); line-height: 1.7; }

/* ---------- Méthodologie ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) { .method-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .method-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; } }
.method-step {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: border-color .3s, background .3s;
}
.method-step:hover { border-color: rgba(26,122,92,.4); background: rgba(255,255,255,.08); }
.method-num {
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.method-step p { font-size: 13px; font-weight: 600; color: var(--cream); line-height: 1.4; }

/* ---------- Expertises ---------- */
.expertise-block {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 40px;
  margin-bottom: 32px;
}
.expertise-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.expertise-head .exp-icon {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 14px;
  background: rgba(26,122,92,.12);
  display: flex; align-items: center; justify-content: center;
}
.expertise-head .exp-icon svg { width: 30px; height: 30px; stroke: var(--green); }
.expertise-head h2 { font-size: 24px; font-weight: 700; color: var(--navy-deep); margin-bottom: 6px; }
.expertise-head p { font-size: 15px; color: var(--gray); }
.expertise-body {
  display: flex;
  flex-direction: column;
  gap: 28px;
  border-top: 1px solid var(--sand);
  padding-top: 28px;
}
@media (min-width: 1024px) { .expertise-body { flex-direction: row; } }
.expertise-body .exp-left { flex: 1; }
.expertise-body .exp-right { flex: 2; }
.exp-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  margin-bottom: 14px;
}
.tools-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tools-tags span {
  padding: 6px 14px;
  background: var(--sand);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy-deep);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
.service-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: var(--cream);
  border-radius: 10px;
}
.service-item svg { flex-shrink: 0; width: 18px; height: 18px; stroke: var(--green); margin-top: 2px; }
.service-item span { font-size: 14px; color: var(--navy-deep); }

/* ---------- Projet en vedette ---------- */
.featured-project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 1024px) { .featured-project { grid-template-columns: 1fr 1.15fr; } }
.featured-project .fp-img { min-height: 320px; position: relative; }
.featured-project .fp-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.featured-project .fp-body { padding: 40px; }
.fp-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  background: rgba(26,122,92,.1);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.fp-partner { font-size: 13px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.fp-body h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; color: var(--navy-deep); line-height: 1.3; margin-bottom: 16px; }
.fp-meta {
  display: flex; flex-wrap: wrap; gap: 20px;
  margin-bottom: 20px;
  font-size: 13px; color: var(--gray);
}
.fp-meta span { display: flex; align-items: center; gap: 6px; }
.fp-meta svg { width: 15px; height: 15px; stroke: var(--green); }
.fp-body > p { font-size: 15px; color: #4b5563; line-height: 1.8; margin-bottom: 24px; }
.fp-cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }
@media (min-width: 640px) { .fp-cols { grid-template-columns: 1fr 1fr; } }
.fp-cols h4 {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--green); margin-bottom: 12px;
}
.fp-cols ul { list-style: none; }
.fp-cols li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 14px; color: var(--navy-deep);
  padding: 5px 0;
}
.fp-cols li svg { flex-shrink: 0; width: 16px; height: 16px; stroke: var(--green); margin-top: 3px; }
.fp-sectors { font-size: 13px; color: var(--gray); border-top: 1px solid var(--sand); padding-top: 16px; }
.fp-provinces { margin-bottom: 24px; }
.fp-provinces h4 {
  font-size: 14px; font-weight: 600; color: var(--green);
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px;
}
.fp-provinces ol {
  margin: 0;
  padding-left: 20px;
  columns: 1;
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.7;
}
@media (min-width: 768px) { .fp-provinces ol { columns: 2; column-gap: 40px; } }
.fp-provinces ol li { margin-bottom: 8px; break-inside: avoid; }
.fp-provinces ol li strong { color: var(--navy-deep); }

/* ---------- Galerie missions ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .g-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 32px 16px 14px;
  background: linear-gradient(to top, rgba(6,40,37,.85), transparent);
  color: var(--cream);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-head);
}

/* ---------- Partenaires ---------- */
.partners-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 768px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
.partner-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6,40,37,.1); }
.partner-logo {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--cream);
  border-radius: 10px;
  padding: 12px;
}
.partner-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner-card h3 { font-size: 19px; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.partner-card .p-full { font-size: 12.5px; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.partner-card p.p-desc { font-size: 14px; color: var(--gray); line-height: 1.7; flex: 1; }
.partner-card a.p-link {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green);
}
.partner-card a.p-link svg { width: 14px; height: 14px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-info h2 { font-size: 24px; font-weight: 700; color: var(--navy-deep); margin-bottom: 28px; }
.info-item { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.info-item .info-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(26,122,92,.12);
  display: flex; align-items: center; justify-content: center;
}
.info-item .info-icon svg { width: 22px; height: 22px; stroke: var(--green); }
.info-item h4 { font-size: 15px; font-weight: 700; color: var(--navy-deep); margin-bottom: 4px; }
.info-item p, .info-item a { font-size: 14px; color: #4b5563; line-height: 1.7; display: block; }
.info-item a:hover { color: var(--green); }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 8px;
  margin-top: 8px;
  transition: background .3s, transform .2s;
}
.whatsapp-btn:hover { background: #20BD5A; transform: translateY(-2px); }
.whatsapp-btn svg { width: 20px; height: 20px; fill: #fff; }

.contact-form {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 18px;
  padding: 40px;
}
.contact-form h2 { font-size: 24px; font-weight: 700; color: var(--navy-deep); margin-bottom: 8px; }
.contact-form > p { font-size: 14.5px; color: var(--gray); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; }
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy-deep);
  padding: 13px 16px;
  border: 1.5px solid var(--sand);
  border-radius: 9px;
  background: var(--cream);
  outline: none;
  transition: border-color .25s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 16px; }
.form-success {
  display: none;
  background: rgba(14,158,138,.1);
  border: 1px solid rgba(14,158,138,.35);
  color: var(--green-dark);
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: rgba(190,30,45,.08);
  border: 1px solid rgba(190,30,45,.3);
  color: #9C1B2E;
  border-radius: 10px;
  padding: 16px 20px;
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 20px;
}
.form-error.show { display: block; }

.map-box {
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sand);
}
.map-box iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-caption {
  background: #fff;
  padding: 14px 20px;
  font-size: 13.5px;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-caption svg { width: 16px; height: 16px; stroke: var(--green); flex-shrink: 0; }

/* ---------- Publications ---------- */
.pub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (min-width: 768px) { .pub-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .pub-grid { grid-template-columns: repeat(6, 1fr); } }
.pub-card {
  background: #fff;
  border: 1px solid var(--sand);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.pub-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(6,40,37,.08); }
.pub-card .pub-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(26,122,92,.12);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.pub-card .pub-icon svg { width: 22px; height: 22px; stroke: var(--green); }
.pub-card p { font-size: 13px; font-weight: 600; color: var(--navy-deep); line-height: 1.4; }

/* ---------- Newsletter ---------- */
.newsletter-section { background: var(--navy); }
.newsletter-box { max-width: 560px; margin: 0 auto; text-align: center; }
.newsletter-box h2 { font-size: 26px; font-weight: 700; color: var(--cream); margin-bottom: 12px; }
.newsletter-box p { font-size: 15px; color: rgba(246,245,242,.65); margin-bottom: 28px; }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .newsletter-form { flex-direction: row; } }
.newsletter-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 14px 18px;
  border-radius: 9px;
  border: 1.5px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  color: var(--cream);
  outline: none;
  transition: border-color .25s;
}
.newsletter-form input::placeholder { color: rgba(246,245,242,.4); }
.newsletter-form input:focus { border-color: var(--green); }

/* ---------- Pages légales ---------- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--sand);
}
.legal-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy-deep);
  margin: 32px 0 12px;
}
.legal-content p { font-size: 15px; color: #4b5563; line-height: 1.85; margin-bottom: 12px; white-space: pre-line; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
}
.notfound h1 { font-size: 42px; font-weight: 700; color: var(--navy-deep); margin-bottom: 12px; }
.notfound p { color: var(--gray); margin-bottom: 28px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--cream); }
.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 72px 0 48px;
}
@media (min-width: 768px) { .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 52px; width: auto; border-radius: 4px; margin-bottom: 18px; }
.footer-brand h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.footer-brand p { font-size: 13.5px; color: rgba(246,245,242,.55); line-height: 1.7; max-width: 300px; }
.footer h5 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 20px;
  color: var(--cream);
}
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a {
  font-size: 14px;
  color: rgba(246,245,242,.6);
  transition: color .2s;
}
.footer ul li a:hover { color: var(--cream); }
.footer-contact p {
  font-size: 14px;
  color: rgba(246,245,242,.6);
  margin-bottom: 11px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.footer-contact svg { width: 15px; height: 15px; stroke: var(--green); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.footer-bottom p { font-size: 12.5px; color: rgba(246,245,242,.4); }
.footer-bottom .footer-ids { font-size: 11.5px; color: rgba(246,245,242,.32); margin-top: 4px; }

/* ---------- Animations au scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}
