/* ============================================================
   JëL Liñu Moom — Design System
   Palette mise à jour :
     Vert foncé  : #056B36 (sections, fond, navbar, hero)
     Texte corps : #54595F
     Texte titre : #7A7A7A
     Vert clair  : #80AC4B (boutons, CTA, accents actifs)
   Fonts   : Cormorant Garamond (titres) + Outfit (corps)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  /* Design tokens */
  --color-parchment: #f7f7f1;
  --color-snow: #ffffff;
  --color-ice-wash: #e8f8ff;
  --color-pure-black: #000000;
  --color-graphite: #2b2b2b;
  --color-ash: #878787;
  --color-fog: #b0b0b0;
  --color-electric-cobalt: #244cff;

  /* Brand accent */
  --green-900: #034a26;
  --green-800: #034a26;
  --green-700: #056B36;
  --green-600: #80AC4B;
  --green-500: #90bd58;
  --green-100: #deeece;
  --green-50:  #f0f7e8;

  /* ─ Or (accent chaud) ─ */
  --gold-700:  #034a26;
  --gold-500:  #80AC4B;
  --gold-400:  #d4a843;
  --gold-300:  #80AC4B;
  --gold-100:  #f7edcc;

  --ivory:     #f8f4ed;
  --white:     #ffffff;
  --dark:      #022f18;

  /* ─ Textes ─ */
  --gray-900:  #161616;
  --gray-700:  #2b2b2b;
  --gray-500:  #54595F;
  --gray-300:  #878787;
  --gray-100:  #eaeeeb;

  --ff-head:   'Inter', sans-serif;
  --ff-body:   'Inter', sans-serif;

  /* Typography — Font Families */
  --font-sans-serif: 'sans-serif', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-inter: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-inter-variable: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-geist: 'Geist', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;


  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,.08);
  --shadow:    0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.08);

  --transition: all .22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  color: var(--gray-700);
  background: var(--color-parchment);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-margin-top: 72px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  color: var(--gray-900);
  line-height: 1.2;
  scroll-margin-top: 100px;
}
h1 { font-size: clamp(3.2rem, 5vw, 5.4rem); font-weight: 400; letter-spacing: -0.04em; }
h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 400; }
h4 { font-size: 1.05rem; font-weight: 500; }
h5 { font-size: .85rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

em { font-style: italic; color: var(--gold-500); }

p { line-height: 1.75; color: var(--gray-700); }   /* #54595F */

/* ── Container ── */
.container { width: min(100%, 1440px); max-width: 1440px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }

/* Donation layout helper */
.don-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 24px; border-radius: 100px;
  font-family: var(--ff-body); font-size: 1rem; font-weight: 500;
  cursor: pointer; border: 1px solid transparent;
  transition: var(--transition); white-space: nowrap;
}
.btn-primary, .btn-gold {
  background: var(--green-600); color: var(--white);
  border-color: transparent;
}
.btn-primary:hover, .btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(5,107,54,.18);
}

.btn-outline {
  background: var(--color-snow);
  color: var(--green-900);
  border-color: rgba(5,107,54,.12);
}
.btn-outline:hover {
  background: rgba(128,172,75,.08);
  color: var(--green-900);
}

.btn-outline-white {
  background: rgba(255,255,255,.85);
  color: var(--green-900);
  border-color: rgba(255,255,255,.9);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,1);
}

.btn-sm { padding: 10px 22px; font-size: .9rem; }
.btn-lg { padding: 14px 32px; font-size: 1.02rem; }

/* ── Badge ── */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
}
.badge-green { background: var(--green-100); color: var(--green-700); }
.badge-gold  { background: var(--gold-100); color: var(--gold-700); }

/* ── Navbar ── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(3, 74, 38, .95);   /* #034a26 ≈ green-800 */
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200,150,44,.15);
  transition: var(--transition);
}
.homepage .navbar {
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,32,17,.08);
  box-shadow: 0 18px 40px rgba(15,26,14,.06);
  backdrop-filter: none;
}
.homepage .nav-links a {
  color: rgba(23,45,25,.85);
}
.homepage .nav-links a:hover {
  color: var(--green-900);
  background: rgba(12,61,33,.05);
}
.homepage .nav-links a.active {
  color: var(--green-900);
}
.homepage .burger span {
  background: var(--green-900);
}
.homepage .dropdown-menu {
  background: #ffffff;
  border-color: rgba(16,32,17,.08);
  box-shadow: 0 20px 40px rgba(15,26,14,.08);
}
.homepage .dropdown-menu a {
  color: rgba(23,45,25,.85);
}
.homepage .dropdown-menu a:hover {
  background: rgba(12,61,33,.06);
  color: var(--green-900);
}
.homepage .navbar-logo img {
  filter: none;
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 24px;
}
.navbar-logo {
  display: flex; align-items: center; flex-shrink: 0;
  padding: 4px 0;
}
.navbar-logo img {
  display: block;
  width: auto;
  max-width: 120px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}
.logo-badge {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--green-700), var(--green-800));
  border: 1.5px solid var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-size: 1rem; font-weight: 700;
  color: var(--gold-300); letter-spacing: .04em;
}
.logo-text { line-height: 1.2; }
.logo-text strong { display: block; font-family: var(--ff-head); font-size: 1rem; font-weight: 600; color: var(--white); }
.logo-text span   { display: block; font-size: .72rem; color: var(--gold-300); font-weight: 400; letter-spacing: .03em; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: .88rem; font-weight: 500; color: rgba(255,255,255,.8);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--gold-300); }

.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: .7rem; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--green-900); border: 1px solid rgba(200,150,44,.2);
  border-radius: var(--radius); padding: 8px; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); z-index: 10;
  box-shadow: var(--shadow-lg);
}
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 9px 14px; border-radius: 6px;
  color: rgba(255,255,255,.75); font-size: .875rem; white-space: nowrap;
}
.dropdown-menu a:hover { background: rgba(200,150,44,.12); color: var(--gold-300); }

.nav-cta { margin-left: 8px; }

.burger { 
  display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; 
  background: transparent; border: none; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); transition: var(--transition);
}
.burger:hover { background: rgba(255,255,255,.08); }
.burger span { 
  display: block; width: 24px; height: 2px; background: var(--white); 
  border-radius: 2px; transition: var(--transition); 
}

/* ── Page Header ── */
.page-header {
  background: linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 100%);
  padding: 140px 0 80px;
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8962c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-header .breadcrumb { font-size: .8rem; color: var(--gold-300); margin-bottom: 16px; letter-spacing: .05em; text-transform: uppercase; }
.page-header h1 { color: var(--white); margin-bottom: 8px; }

/* ── Hero ── */
.hero {
  background: var(--color-snow);
  min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  padding: 100px 0 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at top right, rgba(128,172,75,.12), transparent 32%);
  pointer-events: none;
}
.hero-inner {
  display: grid; grid-template-columns: minmax(340px, 1fr) minmax(420px, 520px);
  gap: 72px; align-items: center; position: relative; z-index: 1;
}
.hero-content {
  max-width: 680px;
}
.hero-content .hero-logo-badge {
  position: relative;
  width: 90px;
  height: 90px;
  margin-bottom: 28px;
  border-radius: 22px;
  background: var(--color-snow);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}
.hero-content .hero-logo-badge img {
  width: 68%;
  height: auto;
}
.hero-label {
  display: inline-flex; text-transform: uppercase; letter-spacing: .24em;
  color: var(--green-900); font-weight: 700; font-size: .88rem; margin-bottom: 24px;
  font-family: var(--font-geist);
}
.hero-title {
  color: var(--gray-700); font-size: clamp(4rem, 5vw, 4rem);
  line-height: 0.94; margin: 0; font-weight: 400;
  /*font-family: var(--ff-head); letter-spacing: -0.02em;*/
  font-family: var(--font-geist); letter-spacing: -0.02em;
}
.hero-text {
  margin-top: 24px; color: var(--gray-700);
  font-size: clamp(1.65rem, 2vw, 2rem); line-height: 1.08; font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 44px; }
.hero-actions .btn { min-width: 180px; }
.hero-note {
  margin-top: 26px; color: var(--gray-500); font-size: 1rem; max-width: 560px;
}
.hero-visual {
  position: relative; display: grid; place-items: center;
  min-height: 560px;
}
.hero-visual-bg {
  position: absolute; top: 8%; left: 8%; right: 8%; bottom: 8%;
  border-radius: var(--radius-xl);
  background: var(--color-snow);
  box-shadow: var(--shadow-sm);
}
.hero-logo-badge {
  position: absolute; top: -24px; left: -24px; width: 96px; height: 96px;
  border-radius: 24px; background: var(--color-snow);
  border: 1px solid rgba(0,0,0,.06);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.hero-logo-badge img {
  width: 70%; height: auto;
}
.hero-photo-card {
  position: relative; width: 100%; max-width: 540px;
  border-radius: 24px; overflow: hidden;
  background: var(--color-snow); border: 1px solid rgba(0,0,0,.06);
  z-index: 1;
}
.hero-photo-card::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 180px; height: 180px;
  background: rgba(128,172,75,.12);
  border-radius: 50%;
  z-index: 0;
}
.hero-photo {
  width: 100%; display: block; object-fit: cover;
  aspect-ratio: 3 / 4;
}
..hero-visual .hero-photo-card {
  box-shadow: var(--shadow);
}
.hero-content .hero-logo-badge {
  position: relative;
  top: auto;
  left: auto;
  margin-bottom: 28px;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--color-snow);
  border: 1px solid rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.hero-content .hero-logo-badge img {
  width: 66%;
  height: auto;
}
.hero-actions .btn-outline {
  background: var(--color-snow);
  color: var(--green-900);
  border-color: rgba(5,107,54,.15);
}
.hero-actions .btn-outline:hover {
  background: rgba(128,172,75,.08);
}
.hero-actions .btn-gold {
  background: var(--green-600); color: var(--white);
}
.hero-actions .btn-gold:hover {
  background: #6ba541;
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 420px; }
}
@media (max-width: 768px) {
  .hero { padding: 72px 0 50px; }
  .hero-title { font-size: clamp(3.2rem, 7vw, 4.8rem); }
  .hero-text { font-size: 1.45rem; }
  .hero-visual { min-height: 380px; }
  .hero-logo-badge { position: relative; top: auto; left: auto; margin-bottom: 20px; }
  .hero-visual-bg { top: 8%; left: 8%; right: 8%; bottom: 8%; }
}
@media (max-width: 480px) {
  .hero { padding: 60px 0 36px; }
  .hero-actions { flex-direction: column; }
  .hero-inner { gap: 32px; }
  .hero-visual { min-height: 320px; }
  .hero-actions .btn { width: 100%; }
}

/* ── About Section ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3/4; object-fit: cover;
}
.about-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--green-800); color: var(--white);
  padding: 20px 24px; border-radius: var(--radius);
  text-align: center; border: 3px solid var(--gold-500);
}
.about-img-accent strong { display: block; font-family: var(--ff-head); font-size: 1.5rem; color: var(--gold-300); }
.about-img-accent span   { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }

.about-content .section-label { color: var(--gold-500); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.about-content h2 { margin-bottom: 24px; }
.about-content p  { margin-bottom: 16px; }
.about-quote {
  border-left: 3px solid var(--gold-500); padding: 16px 20px;
  background: var(--gold-100); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0; font-family: var(--ff-head); font-style: italic;
  font-size: 1.1rem; color: var(--gray-500); line-height: 1.6;  /* #7A7A7A */
}
.about-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ── Engagements ── */
.engagements { background: var(--green-900); }
.engagements .section-title { color: var(--white); margin-bottom: 8px; }
.engagements .section-sub  { color: rgba(255,255,255,.7); margin-bottom: 48px; max-width: 520px; }
.engage-panel {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 32px;
  padding: 30px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 0 0 1px rgba(255,255,255,.01);
}
.engage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 18px;
}
.engage-card {
  background: rgba(5,83,31,.35);
  padding: 26px 22px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .22s var(--transition), box-shadow .22s var(--transition), background .22s var(--transition);
}
.engage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(0,0,0,.14);
  background: rgba(255,255,255,.08);
}
.engage-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 18px;
}
.engage-card h4 { color: var(--gold-300); font-family: var(--ff-head); font-size: 1.1rem; margin-bottom: 10px; }
.engage-card p  { color: rgba(255,255,255,.75); font-size: .92rem; line-height: 1.75; }

/* ── Actions rapides ── */
.quick-actions { background: var(--white); }
.actions-grid  {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px;
}
.action-card {
  border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 36px 28px; text-align: center;
  transition: var(--transition); cursor: pointer;
}
/* Hover : contour et icone passent au vert CTA #80AC4B */
.action-card:hover { border-color: var(--green-600); box-shadow: var(--shadow); transform: translateY(-4px); }
.action-card:hover .action-icon { background: var(--green-600); color: var(--white); }
.action-icon {
  width: 60px; height: 60px; border-radius: var(--radius);
  background: var(--green-50); color: var(--green-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 20px; transition: var(--transition);
}
.action-card h4 { color: var(--gray-500); margin-bottom: 8px; font-size: 1.1rem; }  /* #7A7A7A */
.action-card p  { font-size: .875rem; color: var(--gray-700); }                       /* #54595F */

/* ── Forms ── */
.form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 48px; box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}
.form-title { font-family: var(--ff-head); font-size: 1.5rem; color: var(--gray-500); margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--gray-100); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--gray-500); }   /* #7A7A7A */
.form-group label .req { color: var(--gold-500); }
.form-control {
  padding: 12px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius);
  font-family: var(--ff-body); font-size: .95rem; color: var(--gray-700);
  background: var(--white); transition: var(--transition); outline: none;
}
/* Focus : anneau vert #056B36 */
.form-control:focus { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(5,107,54,.1); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }

.radio-group { display: flex; gap: 16px; }
.radio-option { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .9rem; }
.radio-option input { accent-color: var(--green-700); width: 16px; height: 16px; }

.checkbox-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: .875rem; line-height: 1.5; }
.checkbox-label input { accent-color: var(--green-700); width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; }

/* Steps */
.steps { display: flex; gap: 0; margin-bottom: 40px; }
.step {
  flex: 1; display: flex; align-items: center; gap: 12px; position: relative;
  padding-right: 20px;
}
.step::after {
  content: ''; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 16px; height: 1px; background: var(--gray-300);
}
.step:last-child::after { display: none; }
.step:last-child { padding-right: 0; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--gray-100); color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; font-family: var(--ff-head);
}
/* Étape active : vert principal #056B36 */
.step.done .step-num { background: var(--green-700); color: var(--white); }
.step-info strong { display: block; font-size: .85rem; color: var(--gray-500); }
.step-info span   { font-size: .75rem; color: var(--gray-700); }

/* Photo preview */
.photo-upload { cursor: pointer; }
.photo-preview {
  width: 100px; height: 100px; border-radius: var(--radius);
  border: 2px dashed var(--gray-300); object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gray-300); transition: var(--transition);
}
.photo-preview:hover { border-color: var(--green-600); }

/* ── Don amounts ── */
.amounts-grid { display: grid; grid-template-columns: repeat(3, minmax(110px, 1fr)); gap: 10px; margin-bottom: 20px; }
.amount-btn {
  padding: 12px 16px; border: 2px solid var(--gray-300); border-radius: var(--radius);
  background: var(--white); font-family: var(--ff-body); font-size: .95rem; font-weight: 600;
  cursor: pointer; transition: var(--transition); color: var(--gray-700); text-align: center;
  min-height: 66px;
}
.amount-btn:hover, .amount-btn.active {
  border-color: var(--green-600); background: var(--green-600); color: var(--white);
}
.amount-btn small { display: block; font-size: .75rem; font-weight: 400; color: inherit; opacity: .9; }

.pay-modes { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.pay-option { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pay-label {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 2px solid var(--gray-300); border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); font-size: .95rem; font-weight: 600;
  background: var(--white); color: var(--gray-700);
}
.pay-label:hover { border-color: var(--green-600); }
.pay-label.selected {
  border-color: var(--green-600); background: var(--green-50); color: var(--green-800);
}
.pay-icon { font-size: 1.3rem; width: 28px; text-align: center; }

/* Progress bar */
.progress-wrap { margin: 20px 0; }
.progress-bar-outer {
  background: var(--gray-100); border-radius: 100px;
  height: 10px; overflow: hidden; margin: 8px 0;
}
/* Dégradé : vert foncé #056B36 → vert clair #80AC4B */
.progress-bar-inner {
  height: 100%; background: linear-gradient(90deg, var(--green-700), var(--green-600));
  border-radius: 100px; transition: width 1s ease;
}
.progress-labels { display: flex; justify-content: space-between; font-size: .8rem; color: var(--gray-700); }

/* Payment modes */
.pay-modes { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.pay-option { display: none; }
.pay-label {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border: 2px solid var(--gray-300); border-radius: var(--radius);
  cursor: pointer; transition: var(--transition); font-size: .9rem; font-weight: 500;
}
/* Sélectionné : vert CTA #80AC4B */
.pay-option:checked + .pay-label { border-color: var(--green-600); background: var(--green-50); color: var(--gray-500); }
.pay-icon { font-size: 1.2rem; }

/* ── Documents ── */
.doc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px; border: 1.5px solid var(--gray-300); border-radius: 100px;
  background: var(--white); font-family: var(--ff-body); font-size: .875rem;
  cursor: pointer; transition: var(--transition); color: var(--gray-700); font-weight: 500;
}
/* Actif : vert CTA #80AC4B */
.filter-btn:hover, .filter-btn.active {
  border-color: var(--green-600); background: var(--green-600); color: var(--white);
}
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.doc-card {
  background: var(--white); border: 1.5px solid var(--gray-100); border-radius: var(--radius-lg);
  padding: 28px; transition: var(--transition);
}
.doc-card:hover { border-color: var(--green-600); box-shadow: var(--shadow); transform: translateY(-2px); }
.doc-cat { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 10px; }
.doc-card h4 { color: var(--gray-500); margin-bottom: 8px; }       /* #7A7A7A */
.doc-card p  { font-size: .875rem; color: var(--gray-700); margin-bottom: 20px; }  /* #54595F */
.doc-card-footer { display: flex; align-items: center; justify-content: space-between; }
.doc-date { font-size: .78rem; color: var(--gray-700); }

/* ── Verification card ── */
.member-card {
  background: linear-gradient(135deg, var(--green-800), var(--green-900));
  border-radius: var(--radius-lg); padding: 32px;
  border: 2px solid var(--gold-500); max-width: 420px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.member-card::before {
  content: 'JLM'; position: absolute; right: -10px; bottom: -20px;
  font-family: var(--ff-head); font-size: 8rem; font-weight: 700;
  color: rgba(200,150,44,.08); line-height: 1;
}
.member-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.member-card-photo {
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid var(--gold-400); object-fit: cover; flex-shrink: 0;
}
.member-card-photo-placeholder {
  width: 70px; height: 70px; border-radius: 50%;
  border: 2px solid var(--gold-400); background: rgba(200,150,44,.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
}
.member-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 2px; }
.member-card-role { color: var(--gold-300); font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; }
.member-card-info { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.member-info-item strong { display: block; font-size: .72rem; color: rgba(255,255,255,.45); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.member-info-item span  { color: var(--white); font-size: .9rem; font-weight: 500; }
.member-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(200,150,44,.2);
}
.member-num { font-family: var(--ff-head); font-size: 1rem; color: var(--gold-300); letter-spacing: .08em; }
.status-badge {
  padding: 4px 12px; border-radius: 100px; font-size: .75rem; font-weight: 700; letter-spacing: .05em;
}
.status-actif { background: rgba(5,107,54,.5); color: #6ee79b; border: 1px solid rgba(110,231,155,.3); }

/* ── Footer ── */
footer {
  background: linear-gradient(180deg, rgba(3,65,31,.98) 0%, rgba(2,32,18,1) 100%);
  color: rgba(255,255,255,.95);
  padding: 60px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
  align-items: start;
}
.footer-brand { padding-right: 16px; }
.footer-brand .logo-text strong { color: var(--white); font-size: 1.08rem; }
.footer-brand p { font-size: .95rem; margin: 12px 0 22px; line-height: 1.7; color: rgba(255,255,255,.78); max-width: 360px; }
.footer-cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta-row .btn { padding: 12px 18px; font-size: .85rem; }

.footer-col h5 { color: var(--gold-300); margin-bottom: 18px; letter-spacing: .12em; text-transform: uppercase; font-size: .82rem; }
.footer-col ul { padding: 0; margin: 0; list-style: none; }
.footer-col ul li + li { margin-top: 12px; }
.footer-col ul a { font-size: .92rem; color: rgba(255,255,255,.75); transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold-300); }
.footer-contact p { font-size: .95rem; color: rgba(255,255,255,.78); margin-bottom: 10px; }
.footer-contact a { color: rgba(255,255,255,.85); }
.footer-contact a:hover { color: var(--gold-300); }
.footer-contact .footer-contact-meta { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.footer-contact .footer-contact-meta p { margin: 0; font-size: .72rem; color: rgba(255,255,255,.55); }
.footer-contact .footer-contact-meta img { display: block; height: 38px; opacity: .82; transition: opacity .2s ease; }
.footer-contact .footer-contact-meta img:hover { opacity: 1; }

.footer-bottom {
  padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; font-size: .88rem; color: rgba(255,255,255,.7);
}
.footer-bottom span { color: rgba(255,255,255,.65); }
.footer-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-divider { color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.85); font-weight: 500; }
.footer-bottom a:hover { color: var(--gold-300); }
.footer-credit-link { font-size: .84rem; opacity: .75; }

.footer-brand .navbar-logo { margin-bottom: 18px; }
.footer-brand .logo-badge { width: 48px; height: 48px; margin-right: 12px; }
.footer-brand .logo-text { display: inline-block; vertical-align: middle; }

.footer-grid > .footer-col:last-child { padding-left: 12px;
}

/* ── Alerts ── */
.alert { padding: 14px 18px; border-radius: var(--radius); font-size: .9rem; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info     { background: var(--gold-100); color: var(--gold-700); border: 1px solid var(--gold-300); }

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 2000;
}
.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.modal {
  width: min(100%, 620px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform .25s ease;
}
.modal-overlay.open .modal {
  transform: translateY(0);
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.modal-head h3 {
  font-size: 1.1rem;
  color: var(--green-800);
  margin: 0;
}
.modal-body {
  padding: 24px;
}
.modal-close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  cursor: pointer;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.modal-close:hover {
  background: var(--gray-200);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .container { padding: 0 20px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { max-width: 320px; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { 
    display: none !important; 
  }
  .nav-cta { 
    display: none !important; 
  }
  
  .burger { 
    display: flex !important; 
    z-index: 1001; 
    position: relative; 
  }
  
  .nav-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--green-900);
    padding: 0;
    z-index: 1000;
    gap: 0;
    overflow-y: auto;
    width: 100%;
    height: calc(100vh - 72px);
  }
  
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 18px; }
  .amounts-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); }
  .pay-modes { grid-template-columns: 1fr; }
  .pay-label { width: 100%; }
  .form-group.full { width: 100%; }
  .section { padding: 48px 0; }
  .steps { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .engage-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4,1fr); }
}
  
  .nav-links.open li {
    display: list-item;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .nav-links.open li a {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: .95rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    border: none;
    background: transparent;
    text-align: left;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  
  .nav-links.open li a:active,
  .nav-links.open li a:hover {
    background: rgba(255,255,255,.08);
    color: var(--white);
  }
  
  .nav-links.open li a.active {
    background: rgba(128,172,75,.15);
    color: var(--gold-300);
    border-left: 3px solid var(--gold-300);
    padding-left: 17px;
  }
  
  .nav-links.open li.nav-dropdown > a::after {
    content: ' ▾';
    font-size: .7rem;
  }
  
  .nav-links.open .dropdown-menu {
    display: flex;
    flex-direction: column;
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0,0,0,.2);
    padding: 0 0 0 40px;
    min-width: auto;
    border-radius: 0;
    box-shadow: none;
    border: none;
    margin: 0;
    gap: 0;
  }
  
  .nav-links.open .dropdown-menu li {
    display: list-item;
    list-style: none;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  .nav-links.open .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    font-size: .85rem;
    font-weight: 400;
    color: rgba(255,255,255,.65);
    border-bottom: 1px solid rgba(255,255,255,.03);
    white-space: normal;
    transition: var(--transition);
  }
  
  .nav-links.open .dropdown-menu a:hover {
    background: rgba(200,150,44,.12);
    color: var(--gold-300);
  }
  
  .nav-links.open li.nav-cta {
    display: flex !important;
    padding: 12px;
    margin: 8px 0 0 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  
  .nav-links.open li.nav-cta a {
    width: 100%;
    padding: 12px 20px;
    text-align: center;
    border: none;
  }
  
  .section { padding: 64px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .steps { display: none; }
  /* .footer-grid { grid-template-columns: 1fr; gap: 32px; } */
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  /* .engage-grid { grid-template-columns: 1fr; } */
  .hero-stats { grid-template-columns: repeat(4,1fr); }

@media (max-width: 480px) {
  /* Améliorer la nav mobile sur petit écran */
  .nav-links.open {
    top: 64px;
    height: calc(100vh - 64px);
  }
  
  .nav-links.open li a {
    padding: 14px 16px;
    font-size: .9rem;
  }
  
  .nav-links.open .dropdown-menu a {
    padding: 10px 14px;
    font-size: .8rem;
  }
  
  .nav-links.open li.nav-cta a {
    padding: 11px 18px;
    font-size: .9rem;
  }
  
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .hero-actions { flex-direction: column; }
}

/* ── Animations ── */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
.anim-up { animation: fadeInUp .6s ease both; }
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }

/* ── Utils ── */
.text-center { text-align: center; }
.text-gold   { color: var(--gold-500); }
.text-green  { color: var(--green-700); }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-label { color: var(--gold-500); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.section-head p { color: var(--gray-700); max-width: 520px; margin: 12px auto 0; }

.divider-gold { width: 60px; height: 3px; background: var(--gold-500); border-radius: 2px; margin: 16px 0; }
.divider-gold.centered { margin: 16px auto; }