/* ============================================
   Campagne Moumtez — Donation Page
   Corporate · Teal sauge + gris chaud (logo)
   ============================================ */

:root {
  /* Palette logo */
  --teal: #4FA091;
  --teal-deep: #2E7A6C;
  --teal-darker: #1F4D45;
  --teal-light: #E8F3F0;
  --teal-pale: #F4FAF8;

  --warm-gray: #7A7369;
  --warm-gray-light: #A89F93;

  --ink: #1C2025;
  --ink-soft: #424852;
  --ink-muted: #8B8F98;

  --bg: #FFFFFF;
  --surface: #FAFAF7;
  --surface-2: #F1F2EE;
  --border: #E6E7E2;
  --border-strong: #D4D6D0;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Inter Display', system-ui, sans-serif;
  --font-body: 'DM Sans', 'Inter', system-ui, sans-serif;
  --font-arabic: 'Amiri Quran', 'Scheherazade New', 'Traditional Arabic', serif;

  /* Rhythm */
  --container: 1240px;
  --section-pad: clamp(3.5rem, 6vw, 5.5rem);
  --gutter: clamp(1.25rem, 3vw, 2rem);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(28, 32, 37, 0.04), 0 1px 1px rgba(28, 32, 37, 0.03);
  --shadow-md: 0 4px 12px rgba(28, 32, 37, 0.06), 0 2px 4px rgba(28, 32, 37, 0.03);
  --shadow-lg: 0 12px 40px -8px rgba(46, 122, 108, 0.18), 0 4px 12px rgba(28, 32, 37, 0.04);
  --shadow-xl: 0 24px 60px -12px rgba(46, 122, 108, 0.25), 0 8px 20px rgba(28, 32, 37, 0.06);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv01';
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

em {
  font-style: normal;
  color: var(--teal-deep);
  background: linear-gradient(180deg, transparent 60%, rgba(79, 160, 145, 0.15) 60%);
  padding: 0 0.08em;
}

strong { font-weight: 600; color: var(--ink); }

::selection { background: var(--teal); color: white; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 4vw, 3rem);
  align-items: center;
  padding: 0.9rem clamp(1rem, 3vw, 2rem);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.3s ease;
  will-change: transform;
}

/* Cachée quand on descend (mobile) */
.site-header.is-hidden {
  transform: translateY(-110%);
}

/* Ombre douce quand la page est scrollée */
.site-header.is-scrolled {
  box-shadow: 0 4px 20px -8px rgba(28, 32, 37, 0.12);
}

.brand {
  display: flex;
  align-items: center;
  transition: opacity 0.2s ease;
}

.brand:hover { opacity: 0.8; }

.brand img {
  height: clamp(48px, 6vw, 68px);
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.5rem);
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0.25rem; right: 0.25rem; bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav a:hover { color: var(--teal-deep); }
.site-nav a:hover::after { transform: scaleX(1); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--teal-deep);
  color: white;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 12px -2px rgba(46, 122, 108, 0.3);
}

.header-cta svg {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
}

.header-cta:hover {
  background: var(--teal-darker);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px -4px rgba(46, 122, 108, 0.4);
}

.header-cta:hover svg { transform: translateX(3px); }

/* Hamburger — mobile only */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.25s ease;
}

.hamburger:hover { border-color: var(--teal); background: var(--teal-pale); }

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
  .site-nav { display: none; }
  .header-cta { display: none; }
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .hamburger { display: flex; justify-self: end; }
}

@media (max-width: 640px) {
  .site-header { padding: 0.75rem 1rem; }
}

/* ============================================
   Mobile menu overlay
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(28, 32, 37, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-nav {
  width: min(340px, 100%);
  height: 100%;
  background: white;
  padding: 5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: -20px 0 60px -20px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu-nav {
  transform: translateX(0);
}

.mobile-menu-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.25s ease;
  background: white;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
  border-color: var(--teal);
  background: var(--teal-pale);
}

.mobile-menu-link:hover .mobile-menu-num,
.mobile-menu-link:active .mobile-menu-num {
  background: var(--teal);
  color: white;
}

.mobile-menu-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--teal-deep);
  background: var(--teal-light);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.mobile-menu-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.mobile-menu-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.mobile-menu-sub {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.3;
}

.mobile-menu-link svg {
  width: 18px;
  height: 18px;
  color: var(--ink-muted);
  transition: transform 0.25s ease;
}

.mobile-menu-link:hover svg { color: var(--teal); transform: translateX(3px); }

.mobile-menu-cta {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  background: var(--teal-deep);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px -4px rgba(46, 122, 108, 0.4);
  transition: all 0.25s ease;
}

.mobile-menu-cta:hover { background: var(--teal-darker); }

.mobile-menu-cta svg { width: 18px; height: 18px; }

.mobile-menu-contact {
  margin-top: auto;
  padding: 1.25rem 0.25rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.mobile-menu-contact span {
  font-size: 0.74rem;
  color: var(--ink-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.mobile-menu-contact a {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-deep);
}

/* Empêche le scroll du body quand le menu est ouvert */
body.menu-open { overflow: hidden; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse 70% 80% at 80% 0%, var(--teal-light), transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 100%, rgba(122, 115, 105, 0.06), transparent 70%),
    var(--bg);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 160, 145, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 160, 145, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.25rem) var(--gutter) clamp(3rem, 5vw, 4.5rem);
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
}

.hero-copy { min-width: 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: white;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.eyebrow-dot {
  width: 7px; height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79, 160, 145, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(79, 160, 145, 0.2); }
  50% { box-shadow: 0 0 0 5px rgba(79, 160, 145, 0.1); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.024em;
  color: var(--ink);
  margin-bottom: 1.5rem;
  font-variation-settings: "opsz" 48;
  max-width: 640px;
  text-wrap: balance;
}

.hero-title em {
  background: linear-gradient(180deg, transparent 55%, rgba(79, 160, 145, 0.22) 55%);
  color: var(--teal-deep);
  font-weight: 500;
  padding: 0 0.05em;
}

/* Sous-titre — trait vertical teal à gauche */
.hero-subtitle {
  position: relative;
  max-width: 580px;
  margin: 0 0 1.75rem;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 3px solid var(--teal);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

.hero-subtitle strong { color: var(--teal-deep); font-weight: 600; }

.hero-lede {
  max-width: 540px;
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-lede p { margin: 0; }

.hero-lede p:last-child {
  font-weight: 600;
  color: var(--teal-deep);
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: clamp(0.5rem, 2vw, 1.25rem);
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  max-width: 620px;
}

.stat { display: flex; flex-direction: column; gap: 0.25rem; }

.stat-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  color: var(--teal-deep);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--ink-muted);
  line-height: 1.3;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 34px;
  background: var(--border);
}

@media (max-width: 540px) {
  .hero-stats { grid-template-columns: 1fr; gap: 0.9rem; padding: 1.1rem 1.3rem; }
  .stat-divider { width: 100%; height: 1px; }
}

/* Hero salam arabic */
.hero-salam {
  font-family: var(--font-arabic);
  font-size: 1.15rem;
  color: var(--teal-deep);
  line-height: 1.6;
  margin-bottom: 1rem;
  direction: rtl;
  opacity: 0.85;
}

/* Hero aside photo */
.hero-aside {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--surface-2);
  aspect-ratio: 4 / 5;
}

.hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
}

.hero-photo::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 32, 37, 0.8) 100%);
  z-index: 1;
  pointer-events: none;
}

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

.hero-photo-caption {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 500;
  width: fit-content;
  max-width: calc(100% - 0px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.caption-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(79, 160, 145, 0.3);
  flex-shrink: 0;
}

/* Decorative floating badge on photo */
.hero-aside::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: var(--teal-light);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.7;
  z-index: 0;
}

@media (max-width: 900px) {
  .hero-aside::before { display: none; }
  .hero-photo { max-width: 520px; aspect-ratio: 16 / 12; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 10px;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn svg {
  width: 18px; height: 18px;
  transition: transform 0.25s ease;
}

.btn-primary {
  background: var(--teal-deep);
  color: white;
  box-shadow: 0 6px 20px -4px rgba(46, 122, 108, 0.4);
}

.btn-primary:hover {
  background: var(--teal-darker);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -6px rgba(46, 122, 108, 0.5);
}

.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  background: white;
  color: var(--ink);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
  color: var(--teal-deep);
}

/* ============================================
   Section basics
   ============================================ */
.section-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  color: var(--teal-deep);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  background: var(--teal-light);
  border-radius: 999px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variation-settings: "opsz" 96;
}

.section-title em {
  color: var(--teal-deep);
  background: linear-gradient(180deg, transparent 60%, rgba(79, 160, 145, 0.18) 60%);
  padding: 0 0.05em;
}

/* ============================================
   Pourquoi
   ============================================ */
.pourquoi {
  padding: var(--section-pad) var(--gutter);
}

.pourquoi-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

@media (max-width: 840px) {
  .pourquoi-inner { grid-template-columns: 1fr; gap: 2rem; }
}

.pourquoi-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  padding-top: 0.5rem;
}

.accent-line {
  padding: 1.25rem 1.5rem;
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 10px 10px 0;
  color: var(--teal-darker);
  font-weight: 500;
  font-style: italic;
  font-size: 1.1rem;
}

/* ============================================
   Hadiths
   ============================================ */
.hadiths {
  padding: 0 var(--gutter) var(--section-pad);
}

.hadiths-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .hadiths-grid { grid-template-columns: 1fr; }
}

.hadith {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hadith:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.hadith-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-deep);
  background: var(--teal-light);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hadith-ar {
  font-family: var(--font-arabic);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  line-height: 1.9;
  color: var(--teal-darker);
  margin-bottom: 1.25rem;
  text-align: right;
}

.hadith-fr {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin-bottom: 1rem;
  font-style: italic;
}

.hadith-src {
  font-size: 0.78rem;
  color: var(--ink-muted);
  font-weight: 500;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ============================================
   Parrainage
   ============================================ */
.parrainage {
  padding: var(--section-pad) var(--gutter);
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.parrainage-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 840px) {
  .parrainage-inner { grid-template-columns: 1fr; }
}

.parrainage-lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 1.5rem 0;
  max-width: 480px;
}

.parrainage-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 480px;
}

.parrainage-note svg {
  width: 20px; height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Parrainage card */
.parrainage-card {
  background: linear-gradient(145deg, var(--teal-darker), var(--teal-deep));
  color: white;
  padding: 2.5rem 2.25rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(31, 77, 69, 0.45);
}

.parrainage-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}

.parrainage-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.card-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255,255,255,0.15);
  position: relative;
}

.card-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
}

.card-items li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.card-items li:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(2px);
}

.item-cover {
  display: block;
  width: 64px;
  height: 86px;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  flex-shrink: 0;
  position: relative;
}

.item-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.item-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.item-title {
  font-weight: 600;
  font-size: 1rem;
  color: white;
  line-height: 1.2;
}

.item-desc {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.4;
  margin-top: 0.15rem;
}

/* ============================================
   Ijâza — Moualim
   ============================================ */
.ijaza {
  padding: var(--section-pad) var(--gutter);
  background:
    radial-gradient(ellipse 60% 70% at 10% 0%, rgba(79, 160, 145, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 100%, rgba(122, 115, 105, 0.05), transparent 70%),
    var(--bg);
  position: relative;
}

.ijaza-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

@media (max-width: 900px) {
  .ijaza-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Bloc photos — 2 photos côte à côte, secondaire plus courte en bas-droit */
.ijaza-photos {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 0.85rem;
  align-items: end;
  position: relative;
}

.ijaza-photo {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  background: var(--surface-2);
}

/* Photo principale — Cheikh Imad */
.ijaza-photo-main {
  aspect-ratio: 4 / 5.1;
  box-shadow: var(--shadow-xl);
}

/* Photo secondaire — Moualim + Djawad, 2/3 de la hauteur, alignée en bas */
.ijaza-photo-secondary {
  aspect-ratio: 4 / 3.4;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
  .ijaza-photos {
    grid-template-columns: 1fr;
    align-items: stretch;
    max-width: 560px;
    margin: 0 auto;
  }
  .ijaza-photo-main { aspect-ratio: 4 / 4.2; }
  .ijaza-photo-secondary { aspect-ratio: 16 / 10; }
}

.ijaza-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  pointer-events: none;
  z-index: 3;
}

.ijaza-photo-main::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 55%;
  background: linear-gradient(180deg, transparent 0%, rgba(20, 40, 35, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.ijaza-photo-secondary::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 45%;
  background: linear-gradient(180deg, transparent 0%, rgba(28, 32, 37, 0.75) 100%);
  z-index: 1;
  pointer-events: none;
}

.ijaza-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.ijaza-photo-secondary img {
  object-position: center 25%;
}

/* Caption de la photo principale (Cheikh Imad) — grande */
.ijaza-caption-main {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  color: white;
}

.caption-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 0.35rem 0.75rem;
  background: rgba(79, 160, 145, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
}

.caption-eyebrow .caption-dot {
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 160, 145, 0.4);
}

.caption-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
  margin-top: 0.3rem;
}

.caption-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.005em;
}

/* Caption secondaire (pill) */
.ijaza-caption:not(.ijaza-caption-main) {
  position: absolute;
  bottom: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.8rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--ink-soft);
  font-weight: 500;
  width: fit-content;
  max-width: calc(100% - 1.7rem);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Copy */
.ijaza-copy { min-width: 0; }

/* Lien inline vers ressource Cheikh */
.cheikh-link {
  color: var(--teal-darker);
  font-weight: 600;
  background: linear-gradient(180deg, transparent 62%, rgba(79, 160, 145, 0.22) 62%);
  padding: 0 0.08em;
  transition: color 0.2s ease, background 0.2s ease;
}

.cheikh-link:hover {
  color: var(--teal-deep);
  background: linear-gradient(180deg, transparent 55%, rgba(79, 160, 145, 0.3) 55%);
}

.ijaza-lede {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  line-height: 1.65;
  color: var(--ink);
  margin: 1.25rem 0 1rem;
  max-width: 560px;
}

.ijaza-body {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.ijaza-note {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 1.1rem 1.25rem;
  background: var(--teal-pale);
  border: 1px solid rgba(79, 160, 145, 0.22);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.ijaza-note svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 1px;
}

.ijaza-note strong {
  color: var(--teal-darker);
  font-weight: 600;
}

.ijaza-cta {
  align-self: flex-start;
}

/* ============================================
   Dons
   ============================================ */
.dons {
  padding: var(--section-pad) var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}

.dons-header { margin-bottom: 2.5rem; }

/* Tabs — visibles en mobile uniquement */
.dons-tabs {
  display: none;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.don-tab {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.7rem 0.5rem;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-width: 0;
}

.don-tab .tab-label {
  line-height: 1.1;
}

.don-tab .tab-hint {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--teal-deep);
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.don-tab.is-active {
  background: white;
  color: var(--teal-darker);
  box-shadow: 0 2px 6px rgba(28, 32, 37, 0.06), 0 0 0 1px var(--border);
}

.don-tab.is-active .tab-hint { color: var(--teal-deep); opacity: 1; }

.dons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .dons-grid { grid-template-columns: 1fr; }
}

/* Tab behavior on mobile */
@media (max-width: 640px) {
  .dons-tabs { display: flex; }
  .dons-grid .don-card { display: none; }
  .dons-grid .don-card.is-active { display: flex; }
  .don-card-featured .don-badge { display: none; }
}

.don-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.don-card-featured {
  border-color: var(--teal);
  background: linear-gradient(180deg, white 0%, var(--teal-pale) 100%);
  box-shadow: var(--shadow-md);
}

.don-card-featured::before {
  content: '';
  position: absolute;
  top: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--teal);
  border-radius: 0 0 3px 3px;
}

.don-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: white;
  background: var(--teal-deep);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.don-icon {
  width: 46px;
  height: 46px;
  color: var(--teal-deep);
  background: var(--teal-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.25rem;
}

.don-icon svg { width: 26px; height: 26px; }

.don-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.don-desc {
  font-size: 0.94rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.don-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin-top: auto;
  border-top: 1px solid var(--border);
}

.don-features li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-top: 0.5rem;
}

.don-features li::before {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='7' cy='7' r='7' fill='%234FA091'/%3E%3Cpath d='M4 7.2L6 9.2L10 5.2' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.don-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  background: var(--ink);
  color: white;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.don-link svg {
  width: 16px; height: 16px;
  transition: transform 0.25s ease;
}

.don-link:hover {
  background: var(--teal-darker);
  transform: translateY(-1px);
}

.don-link:hover svg { transform: translateX(3px); }

.don-card-featured .don-link {
  background: var(--teal-deep);
  box-shadow: 0 8px 20px -4px rgba(46, 122, 108, 0.4);
}

.don-card-featured .don-link:hover {
  background: var(--teal-darker);
  box-shadow: 0 12px 28px -6px rgba(46, 122, 108, 0.5);
}

/* ============================================
   PayPal — flow de montant
   ============================================ */
.paypal-view { display: contents; }
.paypal-view[hidden] { display: none; }

/* Vue "amount" utilise grid pour structurer correctement */
.paypal-amount {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  animation: paypalFade 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.paypal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  padding: 0.3rem 0.1rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
  cursor: pointer;
  width: fit-content;
  transition: color 0.2s ease, transform 0.2s ease;
}

.paypal-back svg { width: 16px; height: 16px; }

.paypal-back:hover {
  color: var(--teal-deep);
  transform: translateX(-2px);
}

.paypal-head {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.15rem;
}

.paypal-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.paypal-amount .don-title {
  font-size: 1.25rem;
  line-height: 1.2;
}

/* Switch packages / montant libre */
.paypal-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  padding: 0.3rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.paypal-switch-btn {
  background: transparent;
  border: 0;
  padding: 0.55rem 0.6rem;
  border-radius: 9px;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-align: center;
  color: var(--ink-soft);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  min-width: 0;
}

.paypal-switch-btn .switch-label {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.1;
}

.paypal-switch-btn .switch-hint {
  font-size: 0.7rem;
  color: var(--ink-muted);
  line-height: 1.2;
}

.paypal-switch-btn.is-active {
  background: white;
  color: var(--teal-darker);
  box-shadow: 0 2px 5px rgba(28, 32, 37, 0.06), 0 0 0 1px var(--border);
}

.paypal-switch-btn.is-active .switch-hint { color: var(--teal-deep); }

/* Panneau */
.paypal-panel {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.25rem 0;
}

.paypal-panel[hidden] { display: none; }

.paypal-panel label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* Stepper */
.stepper {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: stretch;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: white;
  transition: border-color 0.2s ease;
}

.stepper:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 160, 145, 0.15);
}

.stepper-btn {
  background: var(--surface);
  border: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-deep);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  line-height: 1;
  user-select: none;
}

.stepper-btn:hover { background: var(--teal-light); }
.stepper-btn:active { background: var(--teal); color: white; }

.stepper input {
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  background: white;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  padding: 0.7rem 0.5rem;
  -moz-appearance: textfield;
  min-width: 0;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.stepper input:focus { outline: none; }

/* Amount input (free mode) */
.amount-input {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.amount-input:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(79, 160, 145, 0.15);
}

.amount-input input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.85rem 0.9rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  -moz-appearance: textfield;
  min-width: 0;
  width: 100%;
}

.amount-input input::-webkit-outer-spin-button,
.amount-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.amount-input input:focus { outline: none; }

.amount-suffix {
  padding-right: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-muted);
}

.paypal-presets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.4rem;
}

.preset {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.3rem;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 0;
}

.preset:hover {
  border-color: var(--teal);
  background: var(--teal-pale);
  color: var(--teal-deep);
}

.preset.is-active {
  background: var(--teal-deep);
  border-color: var(--teal-deep);
  color: white;
}

/* Total récap */
.paypal-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  background: var(--teal-pale);
  border: 1px solid rgba(79, 160, 145, 0.2);
  border-radius: 10px;
  margin-top: 0.15rem;
}

.total-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.total-value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--teal-darker);
  letter-spacing: -0.02em;
}

/* Erreur */
.paypal-error {
  font-size: 0.82rem;
  color: #B54B3E;
  background: #FDF3F1;
  border: 1px solid #F1D4CE;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  line-height: 1.4;
}

.paypal-error[hidden] { display: none; }

/* Confirm */
.paypal-confirm {
  background: var(--teal-deep) !important;
  box-shadow: 0 8px 20px -4px rgba(46, 122, 108, 0.4);
}

.paypal-confirm:hover { background: var(--teal-darker) !important; }

.paypal-note {
  font-size: 0.76rem;
  color: var(--ink-muted);
  line-height: 1.4;
  text-align: center;
}

.paypal-note strong { color: var(--ink-soft); font-weight: 600; }

/* ============================================
   Dua
   ============================================ */
.dua {
  padding: var(--section-pad) var(--gutter);
  background: linear-gradient(180deg, var(--teal-pale) 0%, var(--bg) 100%);
  position: relative;
}

.dua::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--border);
}

.dua-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.dua-ar {
  font-family: var(--font-arabic);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--teal-darker);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.dua-fr {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.015em;
}

.dua-amin {
  font-weight: 600;
  font-size: 1rem;
  color: var(--teal-deep);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 3rem var(--gutter);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; justify-items: center; }
}

.footer-brand img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-campaign {
  font-size: 0.95rem;
  color: white;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.footer-contact {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact a {
  color: var(--teal);
  border-bottom: 1px solid rgba(79, 160, 145, 0.3);
  transition: color 0.2s ease;
}

.footer-contact a:hover { color: white; }

.footer-baraka {
  font-family: var(--font-display);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.footer-baraka span {
  display: block;
  font-size: 0.82rem;
  color: var(--teal);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

/* ============================================
   Sticky CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.25rem;
  background: var(--teal-deep);
  color: white;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  box-shadow:
    0 12px 28px -6px rgba(46, 122, 108, 0.5),
    0 0 0 1px rgba(255,255,255,0.1) inset;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sticky-cta svg { width: 17px; height: 17px; }

.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta:hover {
  background: var(--teal-darker);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -6px rgba(46, 122, 108, 0.55);
}

/* Mobile — barre fixe pleine largeur en bas, toujours visible */
@media (max-width: 640px) {
  .sticky-cta {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    width: auto;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 14px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    box-shadow:
      0 -4px 20px rgba(28, 32, 37, 0.08),
      0 12px 28px -6px rgba(46, 122, 108, 0.45),
      0 0 0 1px rgba(255,255,255,0.1) inset;
  }

  .sticky-cta:hover { transform: none; }

  /* Laisser de la place pour que le sticky ne cache pas le bas du contenu */
  .site-footer { padding-bottom: 6rem; }
}

/* ============================================
   Reveal on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hero entry */
.hero-eyebrow,
.hero-salam,
.hero-title,
.hero-subtitle,
.hero-lede,
.hero-ctas,
.hero-stats,
.hero-photo {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-eyebrow { animation-delay: 0.05s; }
.hero-salam { animation-delay: 0.12s; }
.hero-title { animation-delay: 0.22s; }
.hero-subtitle { animation-delay: 0.32s; }
.hero-lede { animation-delay: 0.42s; }
.hero-ctas { animation-delay: 0.55s; }
.hero-stats { animation-delay: 0.7s; }
.hero-photo { animation-delay: 0.3s; }

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

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