/* ===================================
   MBRC - Modern CSS Framework
   =================================== */

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors - Benin Flag Inspired */
  --green-primary: #008C3B;
  --green-light: #00A847;
  --green-dark: #00652B;
  --yellow-primary: #FCD116;
  --yellow-light: #FFE066;
  --yellow-dark: #E6B800;
  --red-primary: #E8112D;
  --red-light: #FF2A47;
  --red-dark: #C00020;

  /* Neutral Colors */
  /* --white: #FFFFFF;
  --black: #0A0A0A;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827; */

  --white: #F2F2F2;      /* blanc légèrement grisé */
--black: #000000;      /* déjà très sombre */
--gray-50: #EDEEEF;
--gray-100: #E6E7EA;
--gray-200: #D3D6DB;
--gray-300: #BFC4CC;
--gray-400: #8C949F;
--gray-500: #616874;
--gray-600: #444C59;
--gray-700: #313A46;
--gray-800: #1B2531;
--gray-900: #0C1018;


  /* Typography */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
/* system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif; */
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  overflow-x: hidden;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* ===================================
   NAVBAR
   =================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--gray-900);
  transition: opacity var(--transition-fast);
}

.brand:hover {
  opacity: 0.8;
}

.brand-logo {
  position: relative;
}

.flag-container {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px 3px;
  background: var(--green-dark);
  /* border-radius: var(--radius-full); */
  box-shadow: var(--shadow-md);
}

.flag-stripe {
  width: 8px;
  height: 24px;
  border-radius: var(--radius-full);
}

.flag-stripe.green { background: var(--green-primary); }
.flag-stripe.yellow { background: var(--yellow-primary); }
.flag-stripe.red { background: var(--red-primary); }

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-tagline {
  font-size: 0.75rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  list-style: none;
}

.nav-link {
  position: relative;
  /* padding: var(--space-xs) var(--space-md); */
  padding: 8px 15px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-700);
  text-decoration: none;
  border-radius: 25px;
  transition: all var(--transition-fast);
  min-width: 100% !important;
}


.nav-item {
    /* min-width: 100px; */
    margin: 0px 5px;
}

.nav-link:hover {
  color: var(--green-primary);
  background: var(--gray-100);
}

.nav-link.active {
  color: var(--green-primary);
  background: rgba(0, 140, 59, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn .icon {
  width: 18px;
  height: 18px;
}

.btn-primary {

  background: linear-gradient(135deg,  #2563eb, #008c3b);
  /* background: linear-gradient(135deg, var(--green-primary), var(--green-dark)); */
  color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 140, 59, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 140, 59, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--gray-800);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
}

.btn-ghost:hover {
  background: var(--gray-100);
}

.btn-white {
  background: var(--white);
  color: var(--green-primary);
  box-shadow: var(--shadow-lg);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-newsletter {
  padding: 0.75rem;
  /* background: var(--green-primary); */
  background: linear-gradient(135deg,  #2563eb, #008c3b);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-newsletter svg {
  width: 20px;
  height: 20px;
}

.btn-newsletter:hover {
  background: var(--green-dark);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: var(--space-3xl);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 140, 59, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(252, 209, 22, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(232, 17, 45, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.5rem 1rem;
  background: var(--gray-900);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.icon-star {
  width: 16px;
  height: 16px;
  color: var(--yellow-primary);
}

.hero-title {
  font-family: var(--font-display);
  /* font-size: clamp(2.5rem, 6vw, 4rem); */
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-300);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-400);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--gray-400);
  border-radius: var(--radius-full);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
  50% { opacity: 1; transform: translateX(-50%) translateY(8px); }
}

/* ===================================
   SECTIONS
   =================================== */

.main-content {
  padding-top: 80px;
}

.section {
  padding: var(--space-3xl) 0;
}

.section-light {
  background: var(--white);
}

.section-dark {
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-2xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: var(--green-primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-badge.light {
  background: rgba(255, 255, 255, 0.2);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--white);
}

.section-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.8;
}

/* ===================================
   MISSION CARDS
   =================================== */

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.mission-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.mission-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.mission-card.featured {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  border: none;
}

.mission-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}

.mission-card.featured .mission-icon {
  background: rgba(255, 255, 255, 0.2);
}

.mission-icon svg {
  width: 32px;
  height: 32px;
  color: var(--green-primary);
}

.mission-card.featured .mission-icon svg {
  color: var(--white);
}

.mission-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.mission-text {
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.mission-card.featured .mission-text {
  color: rgba(255, 255, 255, 0.9);
}

.mission-list {
  list-style: none;
  padding: 0;
}

.mission-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-xs);
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.mission-card.featured .mission-list li {
  color: rgba(255, 255, 255, 0.9);
}

.mission-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green-primary);
  font-weight: 700;
}

.mission-card.featured .mission-list li::before {
  color: var(--white);
}

/* ===================================
   DOMAINES CARDS
   =================================== */

.domaines-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
  gap: var(--space-lg);
}

.domaine-card {
  position: relative;
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  text-decoration: none;
  overflow: hidden;
  transition: all var(--transition-base);
}

.domaine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-dark));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.domaine-card:hover::before {
  transform: scaleX(1);
}

.domaine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--green-primary);
}

.domaine-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
  transition: all var(--transition-base);
}

.domaine-card:hover .domaine-icon {
  background: var(--green-primary);
}

.domaine-icon svg {
  width: 28px;
  height: 28px;
  color: var(--green-primary);
  transition: color var(--transition-fast);
}

.domaine-card:hover .domaine-icon svg {
  color: var(--white);
}

.domaine-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.domaine-description {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.domaine-card.view-all {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.view-all-content {
  text-align: center;
}

.view-all-text {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.domaine-card.view-all .icon {
  width: 24px;
  height: 24px;
  color: var(--white);
}

/* ===================================
   CTA SECTION
   =================================== */

.cta-section {
  padding: 0;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  padding: var(--space-3xl);
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-radius: var(--radius-2xl);
  color: var(--white);
}

.cta-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.cta-description {
  font-size: 1.125rem;
  opacity: 0.9;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  flex-shrink: 0;
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.testimonial-stars {
  color: var(--yellow-primary);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: var(--space-lg);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.author-avatar {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-primary);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--gray-900);
}

.author-role {
  font-size: 0.875rem;
  color: var(--gray-600);
}

/* ===================================
   PAGE HERO
   =================================== */

.page-hero {
  padding: calc(80px + var(--space-2xl)) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.page-hero2 {
  padding: calc(80px + var(--space-3xl)) 0 var(--space-2xl);
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.page-hero-content {
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 40px;
  text-align: center;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.breadcrumb a {
  color: var(--green-primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.page-title {
  font-family: var(--font-display);
  /* font-size: clamp(2.5rem, 5vw, 3.5rem); */
font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.page-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ===================================
   CONTENT CARDS
   =================================== */

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: var(--space-xl);
}

.content-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid var(--gray-200);
  transition: all var(--transition-base);
}

.content-card:hover {
  border-color: var(--green-primary);
  box-shadow: var(--shadow-lg);
}

.content-card.featured {
  background: linear-gradient(135deg, rgba(0, 140, 59, 0.05), rgba(0, 140, 59, 0.02));
  border-color: var(--green-primary);
}

.content-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-md);
}

.content-icon.vision {
  background: rgba(37, 99, 235, 0.1);
}

.content-icon.mission {
  background: rgba(0, 140, 59, 0.1);
}

.content-icon svg {
  width: 32px;
  height: 32px;
  color: var(--green-primary);
}

.content-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-md);
}

.content-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

/* ===================================
   MANIFESTE
   =================================== */

.manifeste-content {
  text-align: center;
  max-width: 90vw;
  margin: 0 auto;
}

.manifeste-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  /* grid-template-columns: repeat(auto-fit, minmax(480px, 1fr)); */
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.manifeste-item {
  text-align: justify;
}

.manifeste-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.manifeste-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.manifeste-item p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

/* ===================================
   VALEURS
   =================================== */
.plateforme-valeurs-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: var(--space-lg); /* --space-lg = 2rem*/
}

.valeurs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg); /* --space-lg = 2rem*/
}

.valeur-card {
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition-base);
}

.valeur-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-primary);
}

.valeur-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  border-radius: var(--radius-full);
  margin: 0 auto var(--space-md);
  transition: all var(--transition-base);
}

.valeur-card:hover .valeur-icon {
  background: var(--green-primary);
}

.valeur-icon svg {
  width: 28px;
  height: 28px;
  color: var(--green-primary);
  transition: color var(--transition-fast);
}

.valeur-card:hover .valeur-icon svg {
  color: var(--white);
}

.valeur-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.valeur-text {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===================================
   HISTOIRE
   =================================== */

.histoire-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.histoire-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.histoire-text.strong {
  font-weight: 600;
  color: var(--gray-800);
}

.histoire-cta {
  margin-top: var(--space-xl);
}

.histoire-timeline {
  position: relative;
  padding-left: var(--space-xl);
}

.histoire-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--green-primary), var(--green-dark));
}

.timeline-item {
  position: relative;
  margin-bottom: var(--space-xl);
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-xl) - 6px);
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--white);
  border: 3px solid var(--green-primary);
  border-radius: var(--radius-full);
  z-index: 1;
}

.timeline-item.active .timeline-dot {
  background: var(--green-primary);
  box-shadow: 0 0 0 8px rgba(0, 140, 59, 0.2);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: var(--space-xs);
}

.timeline-content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===================================
   TEAM
   =================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.team-card {
  padding: var(--space-xl);
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: all var(--transition-base);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  margin-bottom: var(--space-md);
}

.avatar-placeholder {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin: 0 auto;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--space-xs);
}

.team-role {
  font-size: 0.9375rem;
  color: var(--green-primary);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.team-bio {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.team-join {
  margin-top: var(--space-2xl);
  padding: var(--space-xl);
  background: var(--gray-100);
  border-radius: var(--radius-xl);
  text-align: center;
}

.team-join p {
  font-size: 1.125rem;
  color: var(--gray-700);
  margin-bottom: var(--space-md);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-top {
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid var(--gray-700);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-tagline {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.footer-description {
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.social-links {
  display: flex;
  gap: var(--space-sm);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-800);
  border-radius: var(--radius-md);
  color: var(--gray-300);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--green-primary);
  color: var(--white);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-md);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--white);
}

.newsletter-text {
  font-size: 0.9375rem;
  margin-bottom: var(--space-md);
}

.newsletter-form {
  display: flex;
  gap: var(--space-xs);
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem;
  background: var(--gray-800);
  border: 1px solid var(--gray-700);
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 0.9375rem;
}

.newsletter-form input::placeholder {
  color: var(--gray-500);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--green-primary);
}

.footer-bottom {
  padding-top: var(--space-lg);
}

.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
}

.footer-legal {
  display: flex;
  gap: var(--space-lg);
}

.footer-legal a {
  font-size: 0.875rem;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--white);
}


/* ===================================
   RESPONSIVE
   =================================== */

/* Desktop Large (1440px+) */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
  }
/* .brand-tagline{
display: none;
} */
}

/* Desktop (1024px - 1439px) - Déjà bien géré par le CSS de base */



/* Tablet & Small Desktop (768px - 1023px) */
@media (max-width: 1024px) {
  /* Réduire les paddings */
.brand-tagline{
display: none;
}
  .section {
    padding: var(--space-2xl) 0;
  }

  /* Hero */
  .hero-title {
    font-size: 2.5rem;
  }

  /* Grids en 2 colonnes */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mission-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .domaines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .valeurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plateforme-valeurs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Histoire */
  .histoire-layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  /* CTA */
  .cta-box {
    flex-direction: column;
    text-align: center;
    gap: var(--space-lg);
  }

  .cta-actions {
    width: 100%;
    justify-content: center;
  }

  /* Manifeste */
  .manifeste-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile & Tablet (max-width: 768px) */
@media (max-width: 768px) {
  /* Container */
  .container {
    padding: 0 var(--space-sm);
  }

  /* Navbar */
  .navbar-content {
    padding: var(--space-sm) 0;
  }

  .brand-tagline {
    display: none;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  /* Menu mobile */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 70px var(--space-md) var(--space-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-base);
    z-index: 999;
    overflow-y: auto;
    height: 100vh !important;
    width: 80vw !important;
    box-shadow: var(--shadow-2xl);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    margin: 5px 0;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: var(--space-md);
    font-size: 1.125rem;
    border-radius: var(--radius-md);
    text-align: left;
    display: block;
  }

  .nav-item:last-child .btn-primary {
    width: 100%;
    margin-top: var(--space-md);
    justify-content: center;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 1001;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
    gap: var(--space-sm);
  }

  .nav-actions .btn {
    width: 100%;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding-top: 80px;
    padding-bottom: var(--space-2xl);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .scroll-indicator {
    display: none;
  }

  /* Sections */
  .section {
    padding: var(--space-xl) 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-description {
    font-size: 1rem;
  }

  /* Grids en 1 colonne */
  .mission-grid,
  .domaines-grid,
  .content-grid,
  .team-grid,
  .testimonials-grid,
  .manifeste-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .valeurs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .plateforme-valeurs-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Cards */
  .mission-card,
  .domaine-card,
  .content-card,
  .valeur-card,
  .testimonial-card,
  .team-card {
    padding: var(--space-md);
  }

  /* CTA */
  .cta-box {
    padding: var(--space-xl) var(--space-md);
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }

  .footer-legal {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Timeline */
  .histoire-timeline {
    padding-left: var(--space-md);
  }

  .timeline-dot {
    left: calc(-1 * var(--space-md) - 6px);
  }

/* Dans @media (max-width: 768px) */
.content-card > div[style*="display: flex"] {
  flex-direction: column !important;
  align-items: center !important;
}

.content-card .domaine-icon {
  margin: 0 auto var(--space-md) !important;
}

/* Justifier le texte des paragraphes */
.content-card .content-text,
.content-card p {
  text-align: justify !important;
}

/* Garder le titre centré */
.content-card .content-title {
  text-align: center !important;
}


}

/* Mobile Small (max-width: 480px) */
@media (max-width: 480px) {
  /* Typography plus petite */
  .hero-title {
    font-size: 1.75rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  /* Boutons en pleine largeur */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  /* Stats plus compacts */
  .stat-value {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.8125rem;
  }

  /* Valeurs en 1 colonne sur très petit écran */
  .valeurs-grid {
    grid-template-columns: 1fr;
  }

  /* Cards plus compactes */
  .mission-card,
  .domaine-card,
  .content-card {
    padding: var(--space-sm) var(--space-md);
  }

  /* CTA */
  .cta-title {
    font-size: 1.5rem;
  }

  .cta-description {
    font-size: 0.9375rem;
  }
}

/* Landscape mobile (orientation paysage) */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: var(--space-xl);
  }

  .nav-menu {
    padding: 60px var(--space-md) var(--space-md);
  }
}



/* Print styles */
@media print {
  .navbar,
  .mobile-menu-btn,
  .hero-actions,
  .cta-section,
  .footer {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: var(--space-md);
  }

  body {
    background: white;
    color: black;
  }
}
