/* ========================================
   DPC — Diaspora Physique Cameroun
   Home Page Styles — VERSION CORRIGÉE RESPONSIVE
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* === CEINTURE DE SÉCURITÉ ANTI-DÉBORDEMENT === */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

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

:root {
  --primary: #0A2818;
  --primary-light: #155A30;
  --primary-hero: #0A2818;
  --primary-dark: #041F0D;
  --accent: #009E49;
  --accent-hover: #006B32;
  --footer-bg: #052B13;
  --cream-bg: #F5FAF7;
  --white: #ffffff;
  --text-dark: #061410;
  --text-gray: #4A5D52;
  --font: 'Inter', sans-serif;
  --radius-pill: 100px;
  --radius-card: 24px;
  --radius-section: 60px;
  --transition: all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--cream-bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; object-fit: cover; }

/* ---------- Header / Navbar ---------- */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 30px 40px;
  width: 100%;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--white);
  border-radius: var(--radius-pill);
  padding: 12px 12px 12px 32px;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  box-sizing: border-box;
  flex-shrink: 0;
}

.logo {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--primary);
  text-transform: uppercase;
}

.nav-links { display: flex; align-items: center; gap: 28px; }

.nav-links a {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.nav-links a:hover { color: var(--accent); }

.nav-link-pages { display: flex; align-items: center; gap: 4px; cursor: pointer; }
.nav-link-pages .chevron { font-size: 10px; }

.nav-right { display: flex; align-items: center; gap: 20px; }
.cart-link { font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--text-dark); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 12px 20px 12px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover { background: var(--accent-yellow-hover, #C9A200); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(254,203,0,0.35); }

.btn-primary .arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 16px;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 2px solid #c0c8d8;
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-dark:hover { border-color: var(--primary); }

/* ---------- Hero Section ---------- */
.home-hero {
  position: relative;
  min-height: 90vh;
  padding: 220px 40px 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
  object-fit: cover;
}

.home-hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(5, 30, 12, 0.9) 0%, rgba(5, 40, 18, 0.65) 100%);
  z-index: -1;
}

.home-hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.home-hero-content h1 {
  font-size: 52px;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 5px;
  letter-spacing: -1px;
}

.home-hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 18px;
  line-height: 1.7;
  margin: 0 auto 40px;
  max-width: 600px;
}

.home-hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* ---------- Numbers / Stats ---------- */
.home-numbers {
  padding: 10px 40px;
  position: relative;
  z-index: 10;
  background: var(--cream-bg);
  overflow: hidden;                /* ← AJOUT : empêche tout débordement */
}

.numbers-header {
  text-align: center;
  margin-bottom: 30px;
}

.numbers-header h2 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  max-width: 100%;
  margin: 0 auto;
  line-height: 1.15;
  /* white-space: nowrap retiré → permet le passage à la ligne sur mobile */
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.stat-card {
  position: relative;
  height: 380px;
  border-radius: 40px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.stat-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: -2;
}

.stat-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(5,43,19,0.9) 0%, rgba(5,43,19,0.1) 80%);
  z-index: -1;
}

.stat-card h3 {
  font-size: 56px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 4px;
  line-height: 1;
}
.stat-card p {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.5px;
}

/* ---------- Partners ---------- */
.partners-section {
  background: var(--footer-bg);
  padding: 80px 40px;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  overflow: hidden;                /* ← AJOUT : contient .node-network SVG */
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.partners-text {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 40px;
  letter-spacing: 1px;
}

.partners-logos {
  display: flex;
  align-items: stretch;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  min-width: 140px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.partner-logo:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-3px);
}
.partner-logo img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  opacity: 0.9;
}
.partner-logo .partner-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
  text-align: center;
}

/* ---------- About Section ---------- */
.about-section {
  padding: 100px 40px;
  background: var(--cream-bg);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  overflow: hidden;                /* ← AJOUT */
}

.about-img-wrapper {
  position: relative;
  border-radius: 60px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-content h2 {
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.about-content p {
  color: var(--text-gray);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 40px;
}

/* ---------- Mission Video ---------- */
.mission-section {
  background: var(--footer-bg);
  padding: 90px 40px;
  border-radius: var(--radius-section);
  text-align: center;
  position: relative;              /* ← AJOUT pour absolute children */
  overflow: hidden;                /* ← AJOUT : contient atom-orbit + équations */
}

.mission-section h2 {
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 60px;
  max-width: 800px;
  margin: 0 auto 48px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.video-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.play-btn:hover { background: var(--white); }
.play-btn:hover svg { fill: var(--accent); }
.play-btn svg { width: 36px; height: 36px; fill: var(--white); margin-left: 6px; transition: var(--transition); }

/* ---------- Objectives ---------- */
.objectives-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;                /* ← AJOUT */
}

.objectives-header {
  text-align: center;
  margin-bottom: 40px;
}

.objectives-header h2 {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.objectives-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  background: var(--cream-bg);
  border-radius: 24px;
  border: 1px solid #c0c8d8;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-item.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
  gap: 20px;
}

.faq-question span {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  transition: var(--transition);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 24px;
  font-weight: 400;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-question span {
  color: var(--white);
}

.faq-item.active .faq-toggle {
  background: var(--accent);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
  padding: 0 30px 30px;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.objective-img {
  border-radius: 40px;
  overflow: hidden;
  height: 100%;
}
.objective-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Join Us Banner ---------- */
.join-banner {
  position: relative;
  padding: 140px 40px;
  border-radius: var(--radius-section);
  overflow: hidden;
  margin: 0 20px;
}

.join-bg {
  position: absolute; top:0; left:0; width:100%; height:100%;
  z-index: -2; object-fit: cover;
}
.join-overlay {
  position: absolute; top:0; left:0; width:100%; height:100%;
  background: linear-gradient(90deg, rgba(5,43,19,0.92) 0%, rgba(5,43,19,0.2) 100%);
  z-index: -1;
}

.join-banner-content {
  max-width: 600px;
}

.join-banner h2 {
  font-size: 44px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -1.5px;
}

.join-banner-buttons {
  display: flex; align-items: center; gap: 16px;
}

/* ---------- Testimonials ---------- */
.testimonials-section {
  padding: 120px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  overflow: hidden;                /* ← AJOUT */
}

.testi-left h2 {
  font-size: 38px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -1px;
}
.testi-left p {
  color: var(--text-gray);
  font-size: 17px;
  line-height: 1.7;
  max-width: 400px;
}

.testi-card {
  background: var(--white);
  border-radius: 40px;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}
.testi-card p {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.5;
  margin-bottom: 40px;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 20px;
}
.author-avatar {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: var(--accent);
}
.author-info h4 {
  font-size: 18px; font-weight: 800; color: var(--primary); text-transform: uppercase;
}
.author-info span {
  font-size: 14px; color: var(--text-gray);
}

/* ---------- Projects Slider ---------- */
.projects-section {
  background: var(--footer-bg);
  padding: 50px 40px;
  border-radius: var(--radius-section);
  margin: 0 20px;
  overflow: hidden;                /* ← AJOUT */
}
.projects-header { text-align: center; margin-bottom: 50px; }

.projects-header h2 {
  font-size: 34px; font-weight: 900; text-transform: uppercase; color: var(--white); letter-spacing: -0.5px; line-height: 1.15; margin-top: 5px;
}

.projects-slider {
  max-width: 1200px; margin: 0 auto; position: relative; overflow: visible;
}
.projects-track {
  display: flex; gap: 40px; transition: transform 0.5s ease;
}
.project-card {
  min-width: calc(33.333% - 27px);
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
}
.project-img { height: 300px; }
.project-img img { width: 100%; height: 100%; }
.project-info { padding: 40px; }
.project-info h3 {
  font-size: 22px; font-weight: 900; text-transform: uppercase; color: var(--primary); margin-bottom: 30px;
}
.project-stats {
  display: flex; flex-direction: column; gap: 16px;
}
.p-stat {
  display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; border-bottom: 1px dashed rgba(0,0,0,0.1); padding-bottom: 12px;
}
.p-stat:last-child { border-bottom: none; padding-bottom: 0; }
.p-stat .s-val { color: var(--accent); }

/* ---------- Articles & Resources ---------- */
.articles-section {
  padding: 50px 40px;
  max-width: 1200px; margin: 0 auto;
  overflow: hidden;                /* ← AJOUT */
}
.articles-header {
  display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px;
}

.articles-header h2 {
  font-size: 38px; font-weight: 900; text-transform: uppercase; color: var(--primary); max-width: 600px; line-height: 1.1; letter-spacing: -1px;
}

.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.article-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
  position: relative;
}
.article-img { height: 240px; position: relative; }
.article-img img { width: 100%; height: 100%; }

.article-tag {
  position: absolute; top: 20px; right: 20px;
  display: inline-block; padding: 8px 16px; background: #CE1126; color: #ffffff;
  font-size: 11px; font-weight: 800; text-transform: uppercase; border-radius: 30px; z-index: 2;
  box-shadow: 0 4px 10px rgba(206,17,38,0.3); letter-spacing: 0.5px;
}
.article-info { padding: 30px; }
.article-info h3 {
  font-size: 17px; font-weight: 800; color: var(--primary); line-height: 1.4; margin-bottom: 20px; transition: var(--transition);
}
.article-card:hover h3 { color: var(--accent); }
.article-meta {
  font-size: 13px; font-weight: 700; color: var(--text-gray); text-transform: uppercase;
}

/* ---------- Section Réseaux Sociaux ---------- */
.social-section {
  padding: 20px 40px 40px;
  text-align: center;
  background: var(--cream-bg);
  overflow: hidden;                /* ← AJOUT */
}
.social-section h2 { font-size: 30px; font-weight: 900; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; line-height: 1.15; }
.social-section p { font-size: 16px; color: var(--text-gray); margin-bottom: 40px; }
.social-buttons-row { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.btn-social { display: inline-flex; align-items: center; gap: 12px; padding: 16px 36px; border-radius: 100px; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; transition: all 0.3s ease; cursor: pointer; }
.btn-facebook { background: #1877F2; color: #ffffff; }
.btn-facebook svg { fill: #ffffff; }
.btn-facebook:hover { background: #0d65d9; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(24,119,242,0.3); }
.btn-linkedin { background: #0A66C2; color: #ffffff; }
.btn-linkedin svg { stroke: #ffffff; fill: none; }
.btn-linkedin:hover { background: #084f96; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(10,102,194,0.3); }

/* ---------- Instagram (Reused) ---------- */
.instagram-section { padding: 70px 40px; text-align: center; overflow: hidden; }
.instagram-section h2 { font-size: 30px; font-weight: 900; text-transform: uppercase; color: var(--primary); margin-bottom: 40px; line-height: 1.15; }
.instagram-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; max-width: 1100px; margin: 0 auto 50px; height: 500px;
}
.insta-img { border-radius: 16px; overflow: hidden; position: relative; }
.insta-img img { width: 100%; height: 100%; object-fit: cover; }
.insta-img:first-child { grid-row: 1 / 3; }
.insta-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.insta-placeholder.forest { background: linear-gradient(135deg, #0A2818 0%, #155A30 40%, #009E49 70%, #0A2818 100%); }
.insta-placeholder.elk { background: linear-gradient(135deg, #2E4A6C 0%, #4A8BC6 50%, #009E49 100%); }
.insta-placeholder.moss { background: linear-gradient(135deg, #041F0D 0%, #155A30 50%, #4A8BC6 100%); }
.insta-placeholder.lake { background: linear-gradient(135deg, #3A6B9C 0%, #6A9BD6 40%, #D4C8A4 100%); }
.insta-placeholder.owl { background: linear-gradient(135deg, #2E5A8C 0%, #4A8BC6 50%, #009E49 100%); }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--footer-bg);
  background: linear-gradient(135deg, #071A0E 0%, #0D3A1F 100%);
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  padding: 90px 40px;
  margin-top: 40px;
  overflow: hidden;                /* ← AJOUT */
}
.cta-content { display: flex; align-items: center; justify-content: space-between; max-width: 1200px; margin: 0 auto; }
.cta-content h2 { font-size: 34px; font-weight: 900; text-transform: uppercase; color: var(--white); line-height: 1.2; max-width: 560px; letter-spacing: -0.3px; }
.cta-buttons { display: flex; align-items: center; gap: 16px; }

/* ---------- Footer ---------- */
.footer {
  background: var(--footer-bg);
  background: linear-gradient(135deg, #071A0E 0%, #0D3A1F 100%);
  padding: 60px 40px 40px;
  color: var(--white);
  overflow: hidden;                /* ← AJOUT */
}

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; max-width: 1200px; margin: 0 auto 50px; }

.footer-brand .footer-logo { font-size: 18px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 30px; max-width: 280px; }
.newsletter-form { display: flex; align-items: center; background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--radius-pill); padding: 8px 8px 8px 24px; max-width: 340px; }
.newsletter-form input { flex: 1; background: transparent; border: none; color: var(--white); font-family: var(--font); font-size: 14px; outline: none; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); border: none; cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.newsletter-btn:hover { background: var(--accent-hover); }
.newsletter-btn svg { width: 18px; height: 18px; fill: none; stroke: var(--white); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-nav h4, .footer-social h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; color: var(--white); }
.footer-nav ul { display: flex; flex-direction: column; gap: 14px; }
.footer-nav ul li a { font-size: 13px; font-weight: 600; text-transform: uppercase; color: rgba(255,255,255,0.65); letter-spacing: 0.5px; transition: var(--transition); }
.footer-nav ul li a:hover { color: var(--white); }
.footer-nav-links { display: flex; flex-direction: column; gap: 14px; }
.footer-nav-links li a { font-size: 13px; font-weight: 600; text-transform: uppercase; color: rgba(255,255,255,0.65); letter-spacing: 0.5px; transition: var(--transition); }
.footer-nav-links li a:hover { color: var(--white); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 120px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; background: rgba(212, 168, 67, 0.25); border-radius: 14px; cursor: pointer; transition: var(--transition); }
.social-icon:hover { background: var(--accent); transform: translateY(-2px); }
.social-icon svg { width: 20px; height: 20px; fill: var(--white); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); }
.footer-bottom p { font-size: 13px; font-weight: 700; text-transform: uppercase; color: rgba(255,255,255,0.5); letter-spacing: 0.5px; }

/* ---------- PREMIUM ENHANCEMENTS ---------- */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 40px rgba(5, 43, 19, 0.15);
}

.testi-card-inner {
  position: relative;
  background: var(--white);
  border-radius: 37px;
  padding: 60px;
}

.partner-logo {
  transition: all 0.4s ease;
  cursor: default;
}
.partner-logo:hover {
  color: var(--accent);
  text-shadow: 0 0 30px rgba(212, 168, 67, 0.5);
  transform: scale(1.08);
}

.play-btn::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid rgba(212, 168, 67, 0.4);
  animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.stat-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 60px rgba(212, 168, 67, 0.2);
}

.insta-img {
  cursor: pointer;
  transition: transform 0.4s ease;
}
.insta-img:hover {
  transform: scale(1.04);
}
.insta-img::after {
  content: '@DPC';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 40, 18, 0.6);
  color: white;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.insta-img:hover::after {
  opacity: 1;
}

.home-hero-overlay {
  background: linear-gradient(135deg,
    rgba(5, 30, 12, 0.92) 0%,
    rgba(5, 40, 18, 0.7) 40%,
    rgba(46, 107, 166, 0.5) 70%,
    rgba(5, 30, 12, 0.85) 100%);
  background-size: 200% 200%;
  animation: heroGradient 12s ease infinite;
}
@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.faq-item {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item:hover {
  transform: translateX(6px);
  border-color: var(--accent);
}
.faq-item.active:hover {
  transform: translateX(0);
}

.article-img img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.article-card:hover .article-img img {
  transform: scale(1.08);
}

.social-icon {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.social-icon:hover {
  box-shadow: 0 8px 24px rgba(212, 168, 67, 0.35);
}

.mobile-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  text-align: center;
  margin-top: 20px;
  padding: 16px 20px !important;
}

.mobile-cta:hover {
  background: var(--accent-hover) !important;
}

/* ====================================================
   RESPONSIVE — TOUS LES 100vw REMPLACÉS PAR 100%
   ==================================================== */
@media (max-width: 1024px) {
  .header { padding: 20px 20px; width: 100%; box-sizing: border-box; }
  .navbar { padding: 12px 16px; width: 100%; box-sizing: border-box; flex-wrap: wrap; }
  .home-hero-content h1 { font-size: 40px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }
  .about-section { grid-template-columns: 1fr; gap: 50px; padding: 70px 40px; }
  .objectives-grid { grid-template-columns: 1fr; gap: 50px; }
  .testimonials-section { grid-template-columns: 1fr; gap: 50px; padding: 70px 40px; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .project-card { min-width: calc(50% - 20px); }
  .instagram-grid { height: 400px; }
  .stat-card { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 8px 8px;
    width: 100%;                       /* ← 100vw → 100% */
    box-sizing: border-box;
    z-index: 100;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
  }
  .navbar {
    padding: 8px 12px;
    width: calc(100% - 16px);          /* ← 100vw → 100% */
    max-width: none;
    box-sizing: border-box;
    flex-wrap: nowrap;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 8px;
    margin: 0;
    justify-content: space-between;
  }
  .logo { font-size: 16px; flex-shrink: 0; min-width: auto; }
  .logo img { max-height: 32px; width: auto; }

  .home-hero { padding: 120px 20px 80px; min-height: auto; margin-top: 60px; }
  .home-hero-content h1 { font-size: 30px; letter-spacing: -0.5px; }
  .home-hero-content p { font-size: 15px; }
  .home-hero-buttons { flex-direction: column; width: 100%; }
  .home-hero-buttons .btn-primary,
  .home-hero-buttons .btn-outline-white { width: 100%; justify-content: center; }
  .home-numbers { padding: 50px 20px; }
  .numbers-grid { grid-template-columns: 1fr; gap: 20px; }
  .numbers-header h2 { font-size: 24px; }
  .stat-card { height: 280px; padding: 30px; }
  .stat-card h3 { font-size: 42px; }
  .partners-section { padding: 50px 20px; }
  .partners-logos { gap: 30px; }
  .partner-logo { font-size: 18px; }
  .about-section { padding: 50px 20px; gap: 40px; }
  .about-content h2 { font-size: 26px; }
  .about-content p { font-size: 15px; }
  .about-img-wrapper { aspect-ratio: 16/10; border-radius: 30px; }
  .mission-section { padding: 70px 20px; border-radius: 30px; }
  .mission-section h2 { font-size: 26px; margin-bottom: 40px; }
  .video-wrapper { border-radius: 24px; }
  .objectives-section { padding: 50px 20px; }
  .objectives-header h2 { font-size: 24px; }
  .objectives-header { margin-bottom: 40px; }
  .faq-question { padding: 20px; }
  .faq-question span { font-size: 15px; }
  .faq-toggle { width: 36px; height: 36px; font-size: 20px; }
  .faq-answer p { padding: 0 20px 20px; font-size: 14px; }
  .objective-img { height: 300px; border-radius: 24px; }
  .join-banner { padding: 70px 20px; margin: 0; border-radius: 30px; }
  .join-banner h2 { font-size: 28px; }
  .join-banner-buttons { flex-direction: column; width: 100%; }
  .join-banner-buttons .btn-primary,
  .join-banner-buttons .btn-outline-white { width: 100%; justify-content: center; }
  .testimonials-section { padding: 50px 20px; }
  .testi-left h2 { font-size: 26px; }
  .testi-card { padding: 36px; border-radius: 30px; }
  .testi-card p { font-size: 18px; }
  .testi-card-inner { padding: 36px; border-radius: 27px; }
  .projects-section { padding: 70px 20px; margin: 0; border-radius: 30px; }
  .projects-header h2 { font-size: 24px; }
  .project-card { min-width: 100%; border-radius: 24px; }
  .project-img { height: 220px; }
  .project-info { padding: 28px; }
  .project-info h3 { font-size: 18px; }
  .articles-section {
    padding: 70px 40px 5px;
    max-width: 1200px;
    margin-bottom: 5px;
  }
  .articles-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .articles-header h2 { font-size: 26px; }
  .articles-grid { grid-template-columns: 1fr; gap: 24px; }
  .instagram-section { padding: 40px 20px; }
  .instagram-section h2 { font-size: 24px; margin-bottom: 30px; }
  .instagram-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; gap: 12px; }
  .insta-img:first-child { grid-row: auto; }
  .insta-img { height: 180px; }
  .social-section {
    padding: 20px 40px 25px;
    text-align: center;
    background: var(--cream-bg);
  }
  .social-section h2 {
    font-size: 30px;
    margin-bottom: 10px;
  }
  .social-section p {
    margin-bottom: 24px;
  }
  .cta-banner { padding: 60px 20px; }
  .cta-content { flex-direction: column; gap: 24px; text-align: center; }
  .cta-content h2 { font-size: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .header {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 6px 6px;
    width: 100%;                       /* ← 100vw → 100% */
    box-sizing: border-box;
    z-index: 100;
  }
  .navbar {
    padding: 6px 8px;
    width: calc(100% - 12px);          /* ← 100vw → 100% */
    max-width: none;
    box-sizing: border-box;
    border-radius: 6px;
    margin: 0;
    gap: 8px;
  }
  .logo { font-size: 14px; flex-shrink: 0; min-width: auto; }
  .logo img { max-height: 28px; width: auto; }

  .home-hero-content h1 { font-size: 26px; }
  .stat-card { height: 240px; padding: 24px; }
  .stat-card h3 { font-size: 36px; }
  .about-content h2, .mission-section h2, .join-banner h2, .testi-left h2, .projects-header h2, .articles-header h2 { font-size: 22px; }
  .testi-card p { font-size: 16px; }
  .join-banner { border-radius: 20px; margin: 0 8px; }
  .projects-section { border-radius: 20px; margin: 0 8px; }
  .instagram-grid { grid-template-columns: 1fr; }
  .insta-img { height: 200px; }

  .mobile-nav-overlay {
    padding: 60px 12px 40px;
    width: 100%;                       /* ← 100vw → 100% */
    box-sizing: border-box;
  }
  .mobile-nav-overlay a { padding: 12px 16px; font-size: 13px; }
  .mobile-nav-sep { padding: 8px 16px; }
}

/* ============================================================
   ⚠️ OVERRIDES — Suppression motifs nid d'abeilles + quadrillage
   ============================================================ */
.home-hero::before, .home-hero::after,
.home-numbers::before, .home-numbers::after,
.partners-section::before, .partners-section::after,
.mission-section::before, .mission-section::after,
.about-section::before, .about-section::after,
.objectives-section::before, .objectives-section::after,
.join-banner::before, .join-banner::after,
.testimonials-section::before, .testimonials-section::after,
.projects-section::before, .projects-section::after,
.articles-section::before, .articles-section::after,
.social-section::before, .social-section::after,
.instagram-section::before, .instagram-section::after,
.cta-banner::before, .cta-banner::after,
.footer::before, .footer::after,
.hex-bg::before, .hex-bg::after,
.lab-grid-bg::before, .lab-grid-bg::after,
.lab-grid-bg.lab-grid-dark::before, .lab-grid-bg.lab-grid-dark::after {
  display: none !important;
  content: none !important;
  background-image: none !important;
}

body::before {
  display: none !important;
  content: none !important;
  background-image: none !important;
}