:root {
  --fpa-primary: #004d40;
  --fpa-primary-dark: #00382e;
  --fpa-primary-light: #e0f2f1;
  --fpa-primary-glow: rgba(0, 77, 64, 0.12);
  --fpa-ink: #0f172a;
  --fpa-muted: #64748b;
  --fpa-border: #e2e8f0;
  --fpa-soft: #f8fafc;
  --fpa-white: #ffffff;
  --fpa-radius: 8px;
  --fpa-max: 1180px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--fpa-ink);
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
}

main#app {
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

/* ==========================================================================
   SPA Page Transitions & Micro-Animations
   ========================================================================== */
.fpa-page-enter {
  animation: fpaPageFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fpaPageFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fpa-stagger-1 { animation: fpaPageFadeIn 0.35s 0.04s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fpa-stagger-2 { animation: fpaPageFadeIn 0.35s 0.09s cubic-bezier(0.16, 1, 0.3, 1) both; }
.fpa-stagger-3 { animation: fpaPageFadeIn 0.35s 0.14s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ==========================================================================
/* ==========================================================================
   Header & Navbar (Vert Pastel, Typographie Blanche, Fixe & Compact sur 1 Ligne)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #1b493f;
  background: linear-gradient(135deg, #1b493f 0%, #205c4f 100%);
  box-shadow: 0 3px 16px rgba(10, 40, 32, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.25s ease;
  width: 100%;
}

.navbar {
  max-width: var(--fpa-max);
  margin: auto;
  min-height: 60px;
  padding-top: 4px;
  padding-bottom: 4px;
}

.brand {
  font-size: 1.10rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s ease, opacity 0.2s ease;
  white-space: nowrap;
}

.brand:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.brand-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-logo-wrap.header-logo-wrap {
  width: 40px;
  height: 40px;
  padding: 3px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.brand-logo-wrap.drawer-logo-wrap {
  width: 44px;
  height: 44px;
  padding: 4px;
}

.brand-logo-wrap.footer-logo-wrap {
  width: 56px;
  height: 56px;
  padding: 5px;
  background: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-logo-fallback {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.brand-logo-fallback.footer-logo-fallback {
  background: #ffffff;
  color: var(--fpa-primary);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.74rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 8px 10px !important;
  border-radius: 6px;
  border-bottom: none;
  transition: all 0.18s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.14);
}

.nav-link.active {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.22);
  font-weight: 700;
}

/* Sous-menus DÃ©roulants Ultra EsthÃ©tiques, Fluides & Ã‰lÃ©gants */
.nav-item.dropdown {
  position: relative;
  padding-bottom: 4px;
}

.nav-item.dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-item.dropdown > .nav-link::after {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.85);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.85);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item.dropdown:hover > .nav-link::after {
  transform: rotate(-135deg) translateY(-1px);
}

.fpa-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
  padding: 8px;
  margin: 0;
  display: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
  list-style: none;
}

.fpa-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  transform: rotate(45deg);
  border-top-left-radius: 2px;
}

.nav-item.dropdown:hover .fpa-dropdown-menu,
.nav-item.dropdown:focus-within .fpa-dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.fpa-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  color: #1e293b;
  text-decoration: none;
  font-size: 0.80rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.18s ease;
  position: relative;
  z-index: 2;
}

.fpa-dropdown-item i {
  font-size: 0.95rem;
  transition: transform 0.18s ease, color 0.18s ease;
}

.fpa-dropdown-item:hover {
  background: #f0fdf4;
  color: #166534;
  transform: translateX(3px);
}

.fpa-dropdown-item:hover i {
  transform: scale(1.15);
  color: #166534 !important;
}

.fpa-dropdown-item.active {
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
}

/* Charter & Engagement Icons */
.charter-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.25s ease;
}

.engagement-card:hover .charter-icon-bubble {
  transform: scale(1.08);
  background: #dcfce7;
}

/* About Pillars Cards */
.about-pillar-card {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.about-pillar-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.about-pillar-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fpa-primary);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.btn-header-donate {
  background: #ffffff;
  color: #1b493f !important;
  font-size: 0.76rem;
  font-weight: 750;
  padding: 7px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
  white-space: nowrap;
  border: none;
  display: inline-flex;
  align-items: center;
}

.btn-header-donate:hover {
  background: #f0fdf4;
  color: #143e35 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}
  font-weight: 700;
}

.language-switch .btn {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.language-switch .btn.active {
  background: var(--fpa-primary);
  border-color: var(--fpa-primary);
  color: #fff;
}

/* ==========================================================================
   Mobile Bottom Navigation (Instagram Style)
   ========================================================================== */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--fpa-border);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 650;
  padding: 5px 2px;
  min-width: 0;
  border-radius: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  line-height: 1.1;
  background: transparent;
  border: none;
}

.bottom-nav-item i {
  font-size: 1.3rem;
  line-height: 1;
  margin-bottom: 3px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.bottom-nav-item:hover, .bottom-nav-item:focus {
  color: var(--fpa-primary);
}

.bottom-nav-item.active {
  color: var(--fpa-primary);
  font-weight: 750;
}

.bottom-nav-item.active i {
  transform: scale(1.15);
  color: var(--fpa-primary);
}

/* Elevated Donate Button in Bottom Nav */
.bottom-nav-item.bottom-nav-donate {
  position: relative;
  color: var(--fpa-primary);
}

.bottom-nav-item.bottom-nav-donate .donate-icon-bubble {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fpa-primary), #00796b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 77, 64, 0.35);
  margin-bottom: 2px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

.bottom-nav-item.bottom-nav-donate .donate-icon-bubble i {
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #ffffff;
}

.bottom-nav-item.bottom-nav-donate:hover .donate-icon-bubble,
.bottom-nav-item.bottom-nav-donate:active .donate-icon-bubble {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 77, 64, 0.45);
}

.bottom-nav-item.bottom-nav-donate.active .donate-icon-bubble {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.2), 0 6px 16px rgba(0, 77, 64, 0.4);
}

/* ==========================================================================
   Offcanvas Drawer (Hamburger)
   ========================================================================== */
.offcanvas {
  --bs-offcanvas-width: 320px;
  --bs-offcanvas-zindex: 1070;
  z-index: 1070 !important;
  border-left: 1px solid var(--fpa-border);
  background: #ffffff;
}

.offcanvas-backdrop {
  z-index: 1065 !important;
}

.offcanvas-body {
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow-y: auto;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  color: var(--fpa-ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-bottom: 4px;
}

.mobile-drawer-link i {
  font-size: 1.2rem;
  color: var(--fpa-muted);
  width: 24px;
  text-align: center;
  transition: color 0.2s ease;
}

.mobile-drawer-link:hover {
  background: var(--fpa-soft);
  color: var(--fpa-primary);
}

.mobile-drawer-link:hover i {
  color: var(--fpa-primary);
}

.mobile-drawer-link.active {
  background: var(--fpa-primary-light);
  color: var(--fpa-primary);
  font-weight: 750;
}

.mobile-drawer-link.active i {
  color: var(--fpa-primary);
}

/* ==========================================================================
   Buttons & Core Components
   ========================================================================== */
.btn-fpa {
  background: var(--fpa-primary);
  border: 1px solid var(--fpa-primary);
  color: #fff;
  border-radius: var(--fpa-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding: 12px 22px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px var(--fpa-primary-glow);
}

.btn-fpa:hover, .btn-fpa:focus {
  background: var(--fpa-primary-dark);
  border-color: var(--fpa-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--fpa-primary-glow);
}

.btn-outline-fpa {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  color: var(--fpa-ink);
  border-radius: var(--fpa-radius);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem;
  padding: 12px 22px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline-fpa:hover, .btn-outline-fpa:focus {
  border-color: var(--fpa-primary);
  color: var(--fpa-primary);
  background: var(--fpa-primary-light);
  transform: translateY(-2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--fpa-primary-light);
  color: var(--fpa-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 30px;
  margin-bottom: 20px;
}

.section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.section-soft {
  background: var(--fpa-soft);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  color: var(--fpa-ink);
  line-height: 1.2;
}

.section-intro {
  max-width: 680px;
  color: var(--fpa-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section & Clean Image Display
   ========================================================================== */
.hero {
  padding: 60px 0 75px;
  position: relative;
  background: radial-gradient(circle at 85% 20%, rgba(0, 77, 64, 0.035) 0%, transparent 65%);
  width: 100%;
}

.hero-title, .hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--fpa-ink);
}

.hero-lead, .hero p {
  font-size: 1.05rem;
  color: var(--fpa-muted);
  line-height: 1.7;
  max-width: 100%;
}

.hero-photo-wrapper {
  position: relative;
  width: 100%;
}

.hero-photo-container {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--fpa-border);
  background: #ffffff;
  position: relative;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.hero-photo {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.hero-photo-wrapper:hover .hero-photo {
  transform: scale(1.015);
}

.trust-bar {
  background: #f8fafc;
  border: 1px solid var(--fpa-border);
  border-radius: 10px;
  padding: 12px 18px;
}

/* ==========================================================================
   Stat Cards & Animated Values
   ========================================================================== */
.stat-card, .plain-card {
  height: 100%;
  border: 1px solid var(--fpa-border);
  border-radius: var(--fpa-radius);
  background: #ffffff;
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fpa-muted);
}

.stat-value {
  font-size: 2.15rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-top: 10px;
  color: var(--fpa-primary);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

/* ==========================================================================
   Action Cards
   ========================================================================== */
.action-card {
  border: 1px solid var(--fpa-border);
  border-radius: var(--fpa-radius);
  overflow: hidden;
  height: 100%;
  background: #ffffff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.action-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 77, 64, 0.2);
}

.action-card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.action-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.action-card:hover img {
  transform: scale(1.04);
}

.action-card .content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.action-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.35;
}

.meta {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fpa-primary);
  font-weight: 700;
}

.progress {
  height: 6px;
  border-radius: 10px;
  background: #e2e8f0;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--fpa-primary), #10b981);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Map & Zones Interactive
   ========================================================================== */
#maliMap {
  height: 480px;
  width: 100%;
  border: 1px solid var(--fpa-border);
  border-radius: var(--fpa-radius);
  z-index: 1;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.map-side {
  padding: 30px;
  border: 1px solid var(--fpa-border);
  border-radius: var(--fpa-radius);
  background: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.zone-item {
  padding: 12px 16px;
  border: 1px solid var(--fpa-border);
  border-radius: 6px;
  margin-bottom: 8px;
  background: var(--fpa-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.zone-item:hover, .zone-item.active {
  background: #ffffff;
  border-color: var(--fpa-primary);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 77, 64, 0.08);
}

.zone-item .zone-name {
  font-weight: 650;
  font-size: 0.92rem;
}

.zone-item .zone-badge {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--fpa-primary-light);
  color: var(--fpa-primary);
  padding: 3px 8px;
  border-radius: 4px;
}

.report-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--fpa-border);
}

.report-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Donation & Forms
   ========================================================================== */
.donation-shell {
  border: 1px solid var(--fpa-border);
  border-radius: var(--fpa-radius);
  padding: 34px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.amount-btn {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  padding: 16px 8px;
  font-weight: 700;
  border-radius: 6px;
  transition: all 0.2s ease;
  color: var(--fpa-ink);
  cursor: pointer;
}

.amount-btn:hover {
  border-color: var(--fpa-primary);
  background: var(--fpa-primary-light);
}

.amount-btn.active {
  border-color: var(--fpa-primary);
  background: var(--fpa-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 77, 64, 0.2);
}

.form-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--fpa-ink);
  margin-bottom: 6px;
}

.form-control, .form-select {
  border-radius: 6px;
  min-height: 48px;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
  border-color: var(--fpa-primary);
  box-shadow: 0 0 0 3px rgba(0, 77, 64, 0.12);
  outline: none;
}

.payment-choice {
  border: 1px solid var(--fpa-border);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
}

.payment-choice:hover {
  border-color: var(--fpa-primary);
  background: var(--fpa-soft);
}

.payment-choice.active {
  border-color: var(--fpa-primary) !important;
  background: var(--fpa-soft) !important;
  box-shadow: 0 0 0 2px rgba(0, 77, 64, 0.15);
}

.payment-choice label {
  width: 100%;
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  font-weight: 600;
}

.donation-sidebar {
  max-width: 380px;
  width: 100%;
}

.security-note {
  font-size: 0.84rem;
  color: var(--fpa-muted);
  text-align: center;
  margin-top: 14px;
}

.donation-result {
  border: 1px solid var(--fpa-primary);
  border-radius: var(--fpa-radius);
  background: #f0fdf4;
  padding: 28px;
  animation: fpaPageFadeIn 0.3s ease;
}

.contact-card {
  border: 1px solid var(--fpa-border);
  border-radius: var(--fpa-radius);
  padding: 32px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

/* ==========================================================================
   Joyful & Premium Footer
   ========================================================================== */
#siteFooter {
  margin-top: auto;
  width: 100%;
}

.footer {
  background: #00241c;
  color: #f1f5f9;
  padding: 60px 0 30px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-joy-banner {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 28px 32px;
  margin-bottom: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.footer-joy-banner h3 {
  color: #ffffff;
  font-weight: 750;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.footer-joy-banner p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.footer .brand {
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #10b981;
  margin-top: 6px;
  border-radius: 2px;
}

.footer a.footer-link {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.footer a.footer-link:hover {
  color: #34d399;
  transform: translateX(4px);
}

.footer-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 30px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.25s ease;
  margin-bottom: 10px;
}

.footer-contact-pill:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-contact-pill.whatsapp {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.footer-contact-pill.whatsapp:hover {
  background: #20ba5a;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 40px;
  font-size: 0.84rem;
  color: #94a3b8;
}

.back-to-top-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.back-to-top-btn:hover {
  background: var(--fpa-primary);
  color: #ffffff;
  border-color: var(--fpa-primary);
}

/* ==========================================================================
   Miscellaneous Components
   ========================================================================== */
.app-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  color: var(--fpa-muted);
  font-weight: 600;
}

.action-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--fpa-border);
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.action-gallery img:hover {
  transform: scale(1.02);
}

.legal-box {
  font-size: 0.92rem;
  color: var(--fpa-muted);
  border-left: 2px solid #cbd5e1;
  padding-left: 18px;
  line-height: 1.7;
}

.toast {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  border: 1px solid var(--fpa-border);
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.leaflet-popup-content {
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

.empty-state {
  padding: 48px 24px;
  border: 2px dashed #cbd5e1;
  border-radius: var(--fpa-radius);
  text-align: center;
  color: var(--fpa-muted);
  background: var(--fpa-soft);
}

/* ==========================================================================
   Zakat Module & Interactive Calculator
   ========================================================================== */
.zakat-calc-shell {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.zakat-input-row {
  margin-bottom: 16px;
}

.zakat-input-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 6px;
  display: block;
}

.zakat-result-box {
  background: #f8fafc;
  border: 1px solid var(--fpa-border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  position: sticky;
  top: 90px;
}

.zakat-result-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--fpa-primary);
  letter-spacing: -0.03em;
  margin: 10px 0;
}

.zakat-badge-eligible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #dcfce7;
  color: #166534;
}

.zakat-badge-not-eligible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: #f1f5f9;
  color: #64748b;
}

.zakat-fitr-card {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.zakat-counter-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--fpa-border);
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.zakat-counter-btn:hover {
  background: var(--fpa-primary-light);
  color: var(--fpa-primary);
  border-color: var(--fpa-primary);
}

/* ==========================================================================
   Campaigns & Solidarity Collections
   ========================================================================== */
.campaign-card {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.campaign-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.campaigns-filter-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.campaigns-filter-pill {
  border: 1px solid var(--fpa-border);
  background: #ffffff;
  color: var(--fpa-muted);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.campaigns-filter-pill:hover {
  border-color: var(--fpa-primary);
  color: var(--fpa-primary);
  background: var(--fpa-soft);
}

.campaigns-filter-pill.active {
  background: var(--fpa-primary);
  border-color: var(--fpa-primary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--fpa-primary-glow);
}

.campaign-badge-open {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.campaign-badge-closed {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.campaign-badge-upcoming {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
  font-weight: 700;
  font-size: 0.76rem;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.campaign-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--fpa-muted);
  margin-bottom: 12px;
}

.campaign-progress {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin: 12px 0 8px;
}

.campaign-progress-fill {
  height: 100%;
  background: var(--fpa-primary);
  border-radius: 4px;
  transition: width 0.6s ease;
}

.campaign-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.campaign-share-whatsapp {
  background: #25D366;
  color: #ffffff !important;
}

.campaign-share-whatsapp:hover {
  background: #20BA56;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.campaign-share-fb {
  background: #1877F2;
  color: #ffffff !important;
}

.campaign-share-fb:hover {
  background: #1565C0;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

/* ==========================================================================
   ComptabilitÃ© SÃ©parÃ©e & Transparency Filters
   ========================================================================== */
.accounting-box {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.02);
}

.trans-metric-card {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: hidden;
}

.trans-metric-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.transparency-filter-bar {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.accounting-table {
  width: 100%;
  font-size: 0.88rem;
  border-collapse: separate;
  border-spacing: 0;
}

.accounting-table th {
  background: var(--fpa-soft);
  color: var(--fpa-muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--fpa-border);
}

.accounting-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--fpa-border);
  vertical-align: middle;
}

.accounting-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   Ethical Engagement
   ========================================================================== */
.engagement-card {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 12px;
  padding: 24px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.engagement-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   Thank You & Printable Receipt Card
   ========================================================================== */
.thank-you-card {
  background: #ffffff;
  border: 1px solid var(--fpa-border);
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
  max-width: 680px;
  margin: 0 auto;
}

.receipt-ref-badge {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--fpa-soft);
  color: var(--fpa-primary);
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px dashed var(--fpa-primary);
  display: inline-block;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 991.98px) {
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
  .section {
    padding: 45px 0;
  }
  .hero {
    padding: 35px 0 50px;
  }
  .hero-photo {
    max-height: 380px;
  }
  .nav-link {
    padding: 12px 0 !important;
    border-bottom: 0;
  }
  .amount-grid {
    grid-template-columns: 1fr 1fr;
  }
  #maliMap {
    height: 380px;
    margin-top: 16px;
  }
}

/* ==========================================================================
   Responsive Donation Stepper
   ========================================================================== */
.donation-stepper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  position: relative;
}

.donation-stepper::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e2e8f0;
  z-index: 1;
}

.stepper-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #64748b;
  font-weight: 750;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: all 0.25s ease;
}

.stepper-step.active .stepper-circle {
  background: var(--fpa-primary);
  border-color: var(--fpa-primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 77, 64, 0.15);
}

.stepper-step.completed .stepper-circle {
  background: #15803d;
  border-color: #15803d;
  color: #ffffff;
}

.stepper-label {
  font-size: 0.76rem;
  font-weight: 650;
  color: #64748b;
  line-height: 1.2;
}

.stepper-step.active .stepper-label {
  color: var(--fpa-primary);
  font-weight: 750;
}

.stepper-step.completed .stepper-label {
  color: #15803d;
}

@media (max-width: 575.98px) {
  .donation-stepper {
    margin-bottom: 20px;
  }
  .donation-stepper::before {
    top: 14px;
    left: 25px;
    right: 25px;
  }
  .stepper-circle {
    width: 28px;
    height: 28px;
    font-size: 0.75rem;
  }
  .stepper-label {
    font-size: 0.68rem;
  }
  .hero-title, .hero h1 {
    font-size: 1.85rem;
    line-height: 1.25;
  }
  .hero-lead, .hero p {
    font-size: 0.98rem;
  }
  .hero-photo {
    max-height: 280px;
    border-radius: 12px;
  }
  .hero-photo-container {
    border-radius: 12px;
  }
  .trust-bar {
    padding: 10px 14px;
    border-radius: 8px;
  }
  .amount-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .donation-shell {
    padding: 18px 14px;
  }
  .section {
    padding: 30px 0;
  }
}

/* ==========================================================================
   16. V1.1 â€” Pages d'Information, Juridiques & FAQ
   ========================================================================== */
.legal-hero {
  padding: 50px 0 35px;
  background: var(--fpa-soft);
  border-bottom: 1px solid var(--fpa-border);
}

.legal-hero .section-intro {
  font-size: 1.05rem;
  line-height: 1.7;
}

.legal-updated {
  margin-top: 16px;
  font-size: 0.78rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.legal-content {
  max-width: 860px;
  margin: 0 auto;
  font-size: 1rem;
  color: #232624;
  line-height: 1.8;
}

.legal-content h2 {
  font-size: 1.45rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  margin: 40px 0 16px;
  padding-top: 6px;
  color: #0f172a;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--fpa-primary);
}

.legal-content p {
  margin: 0 0 16px;
  color: #334155;
}

.legal-content ul {
  padding-left: 1.35rem;
  margin: 0 0 22px;
}

.legal-content li {
  margin-bottom: 8px;
  color: #334155;
}

.legal-form-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 12px;
}

.legal-form-note a {
  color: var(--fpa-primary);
  font-weight: 600;
}

.faq-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.faq-group {
  margin-bottom: 36px;
}

.faq-group-title {
  font-size: 0.82rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fpa-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.accordion-item {
  border: 1px solid var(--fpa-border) !important;
  border-radius: 10px !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.accordion-button {
  font-weight: 650;
  font-size: 0.95rem;
  color: #1e293b;
  background: #ffffff;
  box-shadow: none !important;
  padding: 16px 20px;
}

.accordion-button:not(.collapsed) {
  color: var(--fpa-primary);
  background: #f0fdf4;
}

.accordion-button:focus {
  box-shadow: none !important;
}

.accordion-body {
  color: #475569;
  font-size: 0.92rem;
  line-height: 1.75;
  padding: 18px 20px;
  background: #ffffff;
}

.accordion-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 575.98px) {
  .legal-hero {
    padding: 36px 0 24px;
  }
  .legal-content h2 {
    font-size: 1.25rem;
    margin-top: 30px;
  }
}

/* ==========================================================================
   Home Hero Carousel (Max 3 Slides) â€” Images Claires & Design AÃ©rÃ©
   ========================================================================== */
.home-hero-carousel {
  position: relative;
  background: #021a15;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.home-hero-carousel .carousel-item {
  position: relative;
}

.home-hero-carousel .hero-slide-wrap {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  width: 100%;
}

.home-hero-carousel .hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.92) contrast(1.04);
  z-index: 1;
  transform: scale(1);
  transition: transform 6s ease-out;
}

.home-hero-carousel .carousel-item.active .hero-slide-bg {
  transform: scale(1.05);
}

.home-hero-carousel .hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 22, 17, 0.65) 0%, rgba(0, 22, 17, 0.38) 55%, rgba(0, 0, 0, 0.15) 100%);
  z-index: 2;
}

.home-hero-carousel .hero-slide-content {
  position: relative;
  z-index: 3;
  padding: 85px 0 95px;
}

.hero-slide-card {
  padding: 0;
  background: transparent;
}

.hero-slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 48, 38, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.80rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.hero-slide-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 4vw, 3.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.hero-slide-text {
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(0.98rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  max-width: 640px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.hero-slide-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn-fpa-slide {
  background: #ffffff;
  color: var(--fpa-primary);
  font-weight: 700;
  border-radius: 8px;
  padding: 13px 26px;
  border: none;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

.btn-fpa-slide:hover {
  background: #f0fdf4;
  color: #00362c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.32);
}

.btn-outline-fpa-slide {
  background: rgba(0, 30, 24, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-outline-fpa-slide:hover {
  background: #ffffff;
  color: var(--fpa-primary);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.carousel-control-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 30, 24, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
  font-size: 1.15rem;
}

.carousel-control-prev:hover .carousel-control-icon-circle,
.carousel-control-next:hover .carousel-control-icon-circle {
  background: #ffffff;
  color: var(--fpa-primary);
  transform: scale(1.08);
}

.home-hero-carousel .carousel-indicators {
  margin-bottom: 20px;
  z-index: 4;
}

.home-hero-carousel .carousel-indicators [data-bs-target] {
  width: 28px;
  height: 6px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.55);
  border: none;
  margin: 0 4px;
  opacity: 1;
  transition: all 0.3s ease;
}

.home-hero-carousel .carousel-indicators [data-bs-target].active {
  width: 46px;
  background-color: #ffffff;
}

/* ==========================================================================
   Mobile Display & Responsive Layout (< 768px & < 576px)
   ========================================================================== */
@media (max-width: 767.98px) {
  /* Sections & Typographie Globale */
  .section {
    padding: 34px 0 !important;
  }

  .section.section-soft {
    padding: 34px 0 !important;
  }

  .section-title {
    font-size: 1.35rem !important;
    line-height: 1.3;
    margin-bottom: 6px;
  }

  .section-intro {
    font-size: 0.84rem;
    line-height: 1.48;
    margin-bottom: 16px;
  }

  .eyebrow {
    font-size: 0.68rem;
    padding: 2px 7px;
    margin-bottom: 5px;
  }

  /* Cartes d'Impact & Chiffres ClÃ©s Mobile */
  .stat-card, .plain-card {
    padding: 12px 10px !important;
    border-radius: 10px !important;
  }

  .stat-label {
    font-size: 0.62rem !important;
    line-height: 1.2;
    letter-spacing: 0.03em;
  }

  .stat-value {
    font-size: 1.10rem !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    margin-top: 5px !important;
    letter-spacing: -0.02em;
    word-break: break-word;
  }

  .stat-card .bi {
    font-size: 0.95rem !important;
  }

  /* BoÃ®te de ComptabilitÃ© SÃ©parÃ©e & MÃ©triques */
  .accounting-box {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }

  .accounting-box h2 {
    font-size: 1.15rem !important;
  }

  .trans-metric-card {
    padding: 10px 10px !important;
    border-radius: 10px !important;
  }

  .trans-metric-card .small {
    font-size: 0.68rem !important;
    line-height: 1.2;
  }

  .trans-metric-card .h4 {
    font-size: 1.05rem !important;
    font-weight: 750 !important;
    margin-bottom: 2px !important;
    word-break: break-word;
  }

  /* Filtres par Onglets / Pilules DÃ©filables */
  .campaigns-filter-nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    gap: 6px !important;
    padding-bottom: 6px !important;
    margin-bottom: 14px !important;
    scrollbar-width: none;
  }

  .campaigns-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .campaigns-filter-pill {
    padding: 5px 11px !important;
    font-size: 0.74rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    border-radius: 18px !important;
  }

  .campaigns-filter-pill .badge {
    font-size: 0.65rem !important;
    padding: 2px 4px !important;
  }

  /* Cartes de Campagnes */
  .campaign-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  .campaign-card h3 {
    font-size: 1.02rem !important;
    line-height: 1.32;
    margin-bottom: 6px !important;
  }

  .campaign-card p {
    font-size: 0.80rem !important;
    line-height: 1.45;
    margin-bottom: 10px !important;
  }

  .campaign-meta-row {
    font-size: 0.72rem !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  .campaign-badge-open,
  .campaign-badge-upcoming,
  .campaign-badge-closed {
    font-size: 0.68rem !important;
    padding: 2px 7px !important;
  }

  .campaign-card .bg-light.p-3 {
    padding: 8px 10px !important;
    border-radius: 8px !important;
  }

  .campaign-card .bg-light.p-3 .fs-6 {
    font-size: 0.84rem !important;
  }

  .campaign-card .bg-light.p-3 .small {
    font-size: 0.70rem !important;
  }

  .campaign-progress {
    height: 5px !important;
    margin: 6px 0 5px !important;
  }

  .campaign-share-btn {
    padding: 5px 9px !important;
    font-size: 0.72rem !important;
    border-radius: 6px !important;
  }

  /* Cartes d'Actions de Terrain */
  .action-card {
    border-radius: 12px !important;
  }

  .action-card-img-wrap {
    height: 155px !important;
  }

  .action-card .content {
    padding: 12px !important;
  }

  .action-card h3 {
    font-size: 1.02rem !important;
    line-height: 1.3;
    margin-bottom: 5px !important;
  }

  .action-card p {
    font-size: 0.80rem !important;
    line-height: 1.45;
    margin-bottom: 8px !important;
  }

  .action-card .btn {
    padding: 7px 10px !important;
    font-size: 0.80rem !important;
  }

  /* Carte Interactive & Zones du Mali */
  #maliMap {
    height: 260px !important;
    border-radius: 12px !important;
  }

  .map-side {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  .map-side h2 {
    font-size: 1.15rem !important;
  }

  #zoneList {
    max-height: 180px !important;
  }

  .zone-item {
    padding: 7px 9px !important;
    font-size: 0.78rem !important;
    margin-bottom: 5px !important;
    border-radius: 6px !important;
  }

  .zone-item .zone-name {
    font-size: 0.82rem !important;
  }

  .zone-item .zone-badge {
    font-size: 0.65rem !important;
    padding: 2px 5px !important;
  }

  /* Simulateur Zakat */
  .zakat-calc-card, .zakat-fitr-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
  }

  .zakat-result-box {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    position: static !important;
    margin-top: 16px !important;
  }

  .zakat-result-value {
    font-size: 1.35rem !important;
  }

  .zakat-counter-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 1.05rem !important;
  }

  /* Formulaire de Don */
  .donation-shell {
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }

  .amount-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .amount-btn {
    padding: 9px 3px !important;
    font-size: 0.80rem !important;
    border-radius: 6px !important;
  }

  .form-control, .form-select {
    min-height: 40px !important;
    font-size: 0.86rem !important;
    padding: 7px 10px !important;
  }

  .payment-choice {
    padding: 9px 10px !important;
    border-radius: 7px !important;
    margin-bottom: 7px !important;
  }

  .payment-choice label {
    font-size: 0.82rem !important;
  }

  .donation-sidebar {
    max-width: 100% !important;
  }

  /* Piliers & Engagement */
  .about-pillar-card, .engagement-card {
    padding: 14px 12px !important;
    border-radius: 10px !important;
  }

  .about-pillar-num {
    font-size: 0.90rem !important;
    margin-bottom: 3px !important;
  }

  .about-pillar-card h3, .engagement-card h3 {
    font-size: 0.92rem !important;
  }

  .charter-icon-bubble {
    width: 32px !important;
    height: 32px !important;
    font-size: 0.95rem !important;
    border-radius: 7px !important;
  }

  /* Carrousel Hero Mobile */
  .home-hero-carousel .hero-slide-wrap {
    min-height: 460px;
    padding: 12px 0 20px;
    align-items: center;
    justify-content: center;
  }
  
  .home-hero-carousel .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(0, 15, 10, 0.25) 0%, rgba(0, 15, 10, 0.65) 100%);
  }

  .home-hero-carousel .hero-slide-content {
    padding: 8px 10px 18px;
    width: 100%;
  }

  .hero-slide-card {
    background: rgba(0, 26, 20, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 16px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    margin: 0 auto;
    max-width: 100%;
  }

  .hero-slide-badge {
    font-size: 0.68rem;
    padding: 3px 8px;
    margin-bottom: 6px;
    background: rgba(255, 255, 255, 0.16);
  }

  .hero-slide-title {
    font-size: 1.20rem !important;
    line-height: 1.25;
    margin-bottom: 6px;
  }

  .hero-slide-text {
    font-size: 0.80rem;
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .hero-slide-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 8px;
  }

  .hero-slide-buttons .btn-fpa-slide,
  .hero-slide-buttons .btn-outline-fpa-slide {
    width: 100%;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.84rem;
    border-radius: 7px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .home-hero-carousel .carousel-indicators {
    margin-bottom: 6px;
  }

  /* Pied de Page Mobile */
  .footer {
    padding: 36px 0 20px;
  }

  .footer-joy-banner {
    padding: 16px 14px;
    border-radius: 12px;
    margin-bottom: 24px;
  }

  .footer-joy-banner h3 {
    font-size: 1.08rem;
  }

  .footer-joy-banner p {
    font-size: 0.82rem;
  }

  .footer-title {
    font-size: 0.76rem;
    margin-bottom: 10px;
  }

  .footer a.footer-link {
    font-size: 0.82rem;
    margin-bottom: 7px;
  }

  .footer-bottom {
    font-size: 0.76rem;
    flex-direction: column;
    text-align: center;
    gap: 10px !important;
  }
}

/* Extra petits Ã©crans (< 380px) */
@media (max-width: 379.98px) {
  .stat-value {
    font-size: 0.98rem !important;
  }

  .trans-metric-card .h4 {
    font-size: 0.94rem !important;
  }

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

  .hero-slide-title {
    font-size: 1.10rem !important;
  }
}

/* Boutons de Retour en Haut de Page */
.back-to-top-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}

.back-to-top-btn:hover {
  background: var(--fpa-green, #10b981);
  border-color: var(--fpa-green, #10b981);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.floating-back-to-top {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 46px;
  height: 46px;
  background: var(--fpa-green, #10b981);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.85);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.floating-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.floating-back-to-top:hover {
  background: #059669;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.48);
  color: #ffffff;
}

@media (max-width: 991px) {
  .floating-back-to-top {
    bottom: 75px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}


/* ===================================================================
   Galerie Photos Publique — Styles Front-end
   =================================================================== */

/* Carte photo */
.fpa-gal-card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
}
.fpa-gal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

/* Image wrapper */
.fpa-gal-img-wrap {
  position: relative;
  padding-top: 70%;
  overflow: hidden;
  background: #f0f4f8;
}
.fpa-gal-img {
  position: absolute; top:0; left:0;
  width:100%; height:100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.fpa-gal-card:hover .fpa-gal-img {
  transform: scale(1.06);
}

/* Overlay zoom */
.fpa-gal-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.35);
  opacity: 0;
  transition: opacity .22s ease;
}
.fpa-gal-card:hover .fpa-gal-overlay {
  opacity: 1;
}
.fpa-gal-zoom {
  background: rgba(255,255,255,.2);
  border: 2px solid rgba(255,255,255,.7);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
  cursor: pointer;
}
.fpa-gal-zoom:hover {
  background: rgba(255,255,255,.35);
}

/* Badge étoile */
.fpa-gal-star {
  position: absolute; top: 10px; right: 10px;
  background: rgba(255,193,7,.9);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}

/* Légende */
.fpa-gal-caption {
  padding: 10px 12px;
  background: #fff;
}
.fpa-gal-caption-title {
  font-weight: 600;
  font-size: .85rem;
  color: #1a2332;
  margin-bottom: 2px;
}
.fpa-gal-caption-meta {
  font-size: .72rem;
  color: #7a8899;
}

/* Boutons filtres catégories */
.fpa-gal-cat-btn {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 14px;
  border-radius: 30px;
  border: 1.5px solid #dce3ec;
  background: #fff;
  color: #4a5568;
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s ease;
  line-height: 1;
}
.fpa-gal-cat-btn:hover {
  border-color: var(--fpa-primary, #004D40);
  color: var(--fpa-primary, #004D40);
}
.fpa-gal-cat-btn.active {
  background: var(--fpa-primary, #004D40);
  border-color: var(--fpa-primary, #004D40);
  color: #fff;
}
.fpa-gal-cat-count {
  background: rgba(255,255,255,.25);
  padding: 1px 6px;
  border-radius: 10px;
  font-size: .72rem;
  font-weight: 600;
}
.fpa-gal-cat-btn.active .fpa-gal-cat-count {
  background: rgba(255,255,255,.25);
}
.fpa-gal-cat-btn:not(.active) .fpa-gal-cat-count {
  background: #eef0f4;
  color: #555;
}

/* Responsive */
@media (max-width: 575px) {
  .fpa-gal-caption-title { font-size: .78rem; }
  .fpa-gal-zoom { width: 38px; height: 38px; font-size: 1rem; }
}
