/* ==========================================================================
   SAHEL GROUP - PAGE ACCUEIL CSS
   Sections : Hero, Sahel Group, Services, Leadership, Stats, CTA
   ========================================================================== */

/* ========== VARIABLES GLOBALES ========== */
:root {
  /* Colors */
  --sahel-primary: #0a4275;
  --sahel-primary-light: #1a5a9a;
  --sahel-secondary: #ff7849;
  --sahel-accent: #059669;
  --sahel-dark: #0f172a;
  --sahel-gray: #64748b;
  --sahel-gray-light: #cbd5e1;
  --sahel-light: #f8fafc;
  --sahel-white: #ffffff;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #0a4275 0%, #062c50 100%);
  --gradient-accent: linear-gradient(135deg, #059669 0%, #047857 100%);
  --gradient-secondary: linear-gradient(135deg, #ff7849 0%, #ff5500 100%);
  --gradient-hero: linear-gradient(180deg, #f8fafc 0%, #eff6ff 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #0a3847 100%);

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 5rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
}

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

.home-hero {
  position: relative;
  padding: var(--space-2xl) 0;
  background: var(--gradient-hero);
  overflow: hidden;
  min-height: auto;
  display: flex;
  align-items: flex-start;
}

/* Background Effects */
.hero-background-effects {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.hero-gradient-orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(10, 66, 117, 0.08);
  top: -200px;
  right: -100px;
  animation: floatOrb 20s ease-in-out infinite;
}

.hero-gradient-orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(5, 150, 105, 0.06);
  bottom: -100px;
  left: -50px;
  animation: floatOrb 15s ease-in-out infinite reverse;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(10, 66, 117, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 66, 117, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

@keyframes floatOrb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 20px) scale(1.05);
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: rgba(10, 66, 117, 0.1);
  border: 2px solid rgba(10, 66, 117, 0.15);
  color: var(--sahel-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--space-md);
}

.tech-glow {
  animation: techPulse 2s ease-in-out infinite;
}

@keyframes techPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.home-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--sahel-dark);
  margin-bottom: var(--space-md);
}

.gradient-text {
  background: linear-gradient(
    135deg,
    var(--sahel-primary),
    var(--sahel-accent)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.home-hero-subtitle {
  font-size: 1.125rem;
  color: var(--sahel-gray);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  max-width: 540px;
}

/* ── Hero CTAs ── */
.hero-cta-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: var(--space-lg);
  max-width: 480px;
}

/* Bouton principal — pleine largeur */
.mega-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--gradient-primary);
  color: var(--sahel-white);
  padding: 18px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(10, 66, 117, 0.32);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.mega-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  transition: background 0.2s;
}

.mega-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(10, 66, 117, 0.42);
  color: var(--sahel-white);
}

.mega-cta:hover::after {
  background: rgba(255, 255, 255, 0.06);
}

/* Flèche ronde commune */
.cta-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.mega-cta:hover .cta-arrow {
  transform: translateX(5px);
}

/* Ligne des 2 boutons secondaires */
.hero-cta-row {
  display: flex;
  gap: 10px;
}

/* Boutons secondaires */
.quick-cta {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sahel-white);
  color: var(--sahel-dark);
  padding: 14px 18px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid #e2e8f0;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.quick-cta .cta-arrow {
  background: rgba(10, 66, 117, 0.08);
  color: var(--sahel-primary);
  margin-left: auto;
}

/* Pharmacie — accent vert au hover */
.quick-cta-pharma .quick-icon { color: var(--sahel-accent); }

.quick-cta-pharma:hover {
  border-color: var(--sahel-accent);
  background: #f0fdf4;
  color: var(--sahel-accent-dark, #047857);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.15);
}

.quick-cta-pharma:hover .cta-arrow {
  background: rgba(5, 150, 105, 0.12);
  color: var(--sahel-accent);
  transform: translateX(4px);
}

/* Résultats — accent bleu au hover */
.quick-cta-labo .quick-icon { color: var(--sahel-primary); }

.quick-cta-labo:hover {
  border-color: var(--sahel-primary);
  background: #eff6ff;
  color: var(--sahel-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 66, 117, 0.15);
}

.quick-cta-labo:hover .cta-arrow {
  background: rgba(10, 66, 117, 0.1);
  color: var(--sahel-primary);
  transform: translateX(4px);
}

.quick-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

/* Trust Indicators */
.hero-trust-indicators {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--sahel-gray);
  font-size: 0.875rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--sahel-accent);
}

/* Hero Visual */
.hero-visual-group {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  height: 600px;
  border-radius: 60px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(15, 23, 42, 0.12), 0 10px 20px rgba(var(--sahel-accent-rgb), 0.05);
  border: 10px solid #ffffff;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-wrapper:hover {
  transform: scale(1.01);
  box-shadow: 0 60px 100px rgba(15, 23, 42, 0.18);
}

.hero-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-image-glow {
  position: absolute;
  inset: -40px;
  background: var(--gradient-accent);
  opacity: 0.15;
  filter: blur(60px);
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.25;
  }
}

/* ==========================================================================
   SAHEL GROUP SECTION
   ========================================================================== */

.sahel-group {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.sahel-group::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(10, 66, 117, 0.15),
      transparent 60%
    ),
    radial-gradient(circle at 80% 80%, rgba(5, 150, 105, 0.1), transparent 60%);
  pointer-events: none;
  animation: pulseGradient 15s ease-in-out infinite;
}

@keyframes pulseGradient {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.group-badge .badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--sahel-white);
}

.sahel-group-title {
  color: var(--sahel-white);
  font-weight: 900;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

/* Pillar Cards */
.group-pillar {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  transition: all var(--transition-base);
  cursor: pointer;
  overflow: hidden;
}

.group-pillar:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
}

.pillar-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  opacity: 0;
  top: -150px;
  right: -150px;
  filter: blur(80px);
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.group-pillar:hover .pillar-glow {
  opacity: 0.2;
}

.primary-glow {
  background: var(--sahel-primary);
}
.success-glow {
  background: var(--sahel-accent);
}
.secondary-glow {
  background: var(--sahel-secondary);
}

.pillar-icon {
  font-size: 3.5rem;
  color: var(--sahel-white);
  margin-bottom: var(--space-md);
  transition: transform var(--transition-base);
}

.group-pillar:hover .pillar-icon {
  transform: scale(1.1) rotate(5deg);
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sahel-white);
  margin-bottom: var(--space-sm);
}

.pillar-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
}

.valeur-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  margin: 0.25rem;
  transition: transform var(--transition-fast);
}

.valeur-badge:hover {
  transform: translateY(-2px);
}

.valeur-badge:nth-child(1) {
  background: rgba(10, 66, 117, 0.25);
  color: #6ba5d6;
  border: 1px solid rgba(10, 66, 117, 0.4);
}

.valeur-badge:nth-child(2) {
  background: rgba(5, 150, 105, 0.25);
  color: #5fe3b3;
  border: 1px solid rgba(5, 150, 105, 0.4);
}

.valeur-badge:nth-child(3) {
  background: rgba(255, 107, 53, 0.25);
  color: #ffa587;
  border: 1px solid rgba(255, 107, 53, 0.4);
}

.valeur-badge:nth-child(4) {
  background: rgba(255, 217, 61, 0.25);
  color: #ffe799;
  border: 1px solid rgba(255, 217, 61, 0.4);
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  padding: var(--space-3xl) 0;
  background: var(--sahel-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-title {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 800;
  color: var(--sahel-dark);
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--sahel-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Service Cards */
.service-card {
  position: relative;
  background: var(--sahel-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
  border-color: var(--sahel-primary);
}

.service-card--featured {
  border-color: var(--sahel-accent);
  box-shadow: 0 12px 32px rgba(5, 150, 105, 0.15);
}

/* Badges */
.featured-badge,
.coming-soon-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

.featured-badge {
  background: var(--gradient-accent);
  color: var(--sahel-white);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

.coming-soon-badge {
  background: rgba(255, 107, 53, 0.15);
  color: var(--sahel-secondary);
  border: 1px solid rgba(255, 107, 53, 0.3);
}

/* Service Icon */
.service-icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--sahel-white);
  margin-bottom: var(--space-md);
  box-shadow: 0 8px 24px rgba(10, 66, 117, 0.25);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon-wrapper {
  transform: scale(1.1) rotate(-5deg);
}

.service-icon-wrapper--success {
  background: var(--gradient-accent);
}

.service-icon-wrapper--info {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

.service-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--sahel-dark);
  margin-bottom: var(--space-sm);
}

.service-description {
  color: var(--sahel-gray);
  margin-bottom: var(--space-md);
  line-height: 1.7;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md) 0;
}

.service-features li {
  color: var(--sahel-dark);
  padding: var(--space-xs) 0;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.95rem;
}

.service-features i {
  color: var(--sahel-accent);
  font-size: 1rem;
  flex-shrink: 0;
}

/* Service Link */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--sahel-primary);
  font-weight: 700;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--transition-fast);
  align-self: flex-start;
  margin-top: auto;
}

.service-link:hover {
  gap: var(--space-sm);
  background: var(--sahel-primary);
  color: var(--sahel-white);
  border-color: var(--sahel-primary);
  transform: translateX(4px);
}

.service-link--success {
  color: var(--sahel-accent);
}

.service-link--success:hover {
  background: var(--sahel-accent);
  border-color: var(--sahel-accent);
  color: var(--sahel-white);
}

.service-link--info {
  color: #6366f1;
}

.service-link--info:hover {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: #6366f1;
  color: var(--sahel-white);
}

/* ==========================================================================
   LEADERSHIP SECTION
   ========================================================================== */

.leadership-section {
  padding: var(--space-3xl) 0;
  background: var(--sahel-light);
}

.exec-card {
  background: var(--sahel-white);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.exec-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--sahel-primary);
}

/* Avatar */
.exec-avatar {
  margin-bottom: var(--space-md);
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--sahel-white);
  margin: 0 auto;
  box-shadow: 0 12px 32px rgba(10, 66, 117, 0.25);
  transition: all var(--transition-base);
  position: relative;
}

.avatar-placeholder::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(10, 66, 117, 0.2);
}

.exec-card:hover .avatar-placeholder {
  transform: scale(1.08) rotate(5deg);
}

.avatar-placeholder--accent {
  background: var(--gradient-accent);
}

.avatar-placeholder--accent::after {
  border-color: rgba(5, 150, 105, 0.3);
}

.avatar-placeholder--secondary {
  background: var(--gradient-secondary);
}

.avatar-placeholder--secondary::after {
  border-color: rgba(255, 107, 53, 0.3);
}

.exec-content {
  flex-grow: 1;
}

.exec-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sahel-dark);
  margin-bottom: var(--space-xs);
}

.exec-role {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--sahel-primary);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.exec-role--accent {
  color: var(--sahel-accent);
}

.exec-role--secondary {
  color: var(--sahel-secondary);
}

.exec-description {
  color: var(--sahel-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */

.stats-section {
  position: relative;
  padding: var(--space-3xl) 0;
  background: var(--gradient-dark);
  overflow: hidden;
}

.stats-background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(10, 66, 117, 0.2), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(5, 150, 105, 0.15), transparent 60%);
  pointer-events: none;
}

.stat-item {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-base);
  text-align: center;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-8px);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--sahel-accent);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

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

.cta-partenariat {
  padding: var(--space-3xl) 0;
  background: var(--sahel-light);
}

.cta-card {
  background: var(--sahel-white);
  border: 2px solid var(--sahel-gray-light);
  border-radius: var(--radius-3xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-base);
}

.cta-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--sahel-primary);
}

.cta-content {
  padding-right: var(--space-lg);
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--sahel-dark);
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--sahel-gray);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.cta-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cta-benefits li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--sahel-dark);
  font-weight: 500;
  padding: var(--space-xs) 0;
}

.cta-benefits i {
  color: var(--sahel-accent);
  font-size: 1.25rem;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: var(--gradient-primary);
  color: var(--sahel-white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(10, 66, 117, 0.3);
  transition: all var(--transition-base);
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 66, 117, 0.4);
  color: var(--sahel-white);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  background: var(--sahel-white);
  color: var(--sahel-primary);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--sahel-primary);
  transition: all var(--transition-base);
}

.btn-cta-outline:hover {
  background: var(--sahel-primary);
  color: var(--sahel-white);
  transform: translateY(-3px);
}

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

@media (max-width: 1199.98px) {
  .hero-image-wrapper {
    height: 500px;
  }
}

@media (max-width: 991px) {
  .hero-image-wrapper {
    height: 400px;
    border-radius: 40px;
    border-width: 6px;
  }

  .home-hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
  }

  .hero-cta-container {
    max-width: 100%;
  }

  .hero-cta-row {
    flex-direction: column;
  }

  .mega-cta,
  .quick-cta {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-indicators {
    justify-content: center;
  }

  .hero-visual-group {
    margin-top: var(--space-xl);
  }

  .cta-content {
    padding-right: 0;
    margin-bottom: var(--space-lg);
    text-align: center;
  }

  .cta-benefits li {
    justify-content: center;
  }

  .cta-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    flex: 1;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .sahel-group {
    padding: var(--space-2xl) 0;
  }

  .group-pillar {
    padding: var(--space-lg);
  }

  .pillar-icon {
    font-size: 2.5rem;
  }

  .services-section,
  .leadership-section,
  .stats-section,
  .cta-partenariat {
    padding: var(--space-2xl) 0;
  }

  .service-card,
  .exec-card {
    padding: var(--space-lg);
  }

  .avatar-placeholder {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .cta-card {
    padding: var(--space-lg);
  }

  .cta-actions {
    flex-direction: column;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .home-hero-title {
    font-size: 1.75rem;
  }

  .hero-badge {
    font-size: 0.75rem;
  }

  .trust-item {
    font-size: 0.75rem;
  }

  .stat-item {
    padding: var(--space-md);
  }

  .stat-number {
    font-size: 2rem;
  }

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

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--sahel-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES — MOBILE FIXES
   Les classes Bootstrap utilisent !important, donc nos overrides aussi.
   ========================================================================== */

/* ── Tablette : 576px → 767px ── */
@media (max-width: 767.98px) {
  /* Badge groupe : px-5 → padding réduit, fs-5 → font-size réduit */
  .group-badge .badge {
    padding: 0.6rem 1.5rem !important;
    font-size: 0.9rem !important;
    white-space: normal;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  /* Titre SAHEL GROUP : display-2 Bootstrap = 4.5rem → on réduit */
  .sahel-group-title {
    font-size: 2.75rem !important;
  }

  /* Sous-titre : fs-4 Bootstrap = 1.5rem → on réduit */
  .sahel-group .lead.fs-4 {
    font-size: 1.15rem !important;
  }

  /* Pilier cards : p-5 Bootstrap = 3rem → on compacte */
  .group-pillar {
    padding: 1.75rem !important;
  }
}

/* ── Mobile : < 576px ── */
@media (max-width: 575.98px) {
  /* Badge : encore plus compact sur petits écrans */
  .group-badge .badge {
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.02em;
  }

  .group-badge .badge i {
    font-size: 0.9rem !important;
    flex-shrink: 0;
  }

  /* Titre */
  .sahel-group-title {
    font-size: 2rem !important;
  }

  /* Sous-titre */
  .sahel-group .lead.fs-4 {
    font-size: 1rem !important;
  }

  /* Pilier cards encore plus compacts */
  .group-pillar {
    padding: 1.25rem !important;
  }

  /* Hero : réduction légère du padding global */
  .home-hero {
    padding: var(--space-lg) 0;
  }

  /* Hero badge */
  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.9rem;
  }

  /* Stats : display-3 Bootstrap sur très petits écrans */
  .stat-number {
    font-size: 2.25rem !important;
  }

  /* CTA card */
  .cta-card {
    padding: var(--space-md) !important;
  }
}

/* ── Extra Small Mobile : < 375px ── */
@media (max-width: 374.98px) {
  .hero-image-wrapper {
    height: 260px;
    border-radius: 24px;
    border-width: 4px;
  }

  .home-hero-title {
    font-size: 1.5rem;
  }

  .sahel-group-title {
    font-size: 1.75rem !important;
  }

  .service-card {
    padding: var(--space-md);
  }

  .exec-card {
    padding: var(--space-md);
  }

  .stat-number {
    font-size: 1.75rem;
  }
}
