/* ===================== Variables ===================== */
:root {
  --navy: #0b1f3a;
  --navy-deep: #061630;
  --navy-soft: #16305a;
  --gold: #d4af37;
  --gold-deep: #b8912a;
  --paper: #f7f8fb;
  --paper-deep: #eef1f7;
  --ink: #1c2431;
  --ink-soft: #5a6473;
  --line: #e1e5ec;
  --white: #ffffff;
  --warn-bg: #fff4e0;
  --warn-ink: #92650a;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 31, 58, 0.15);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.15; color: var(--navy); }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
.accent { color: var(--gold-deep); }

/* ===================== Barre de progression ===================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--navy));
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ===================== Barre d'annonce / Urgence psychologique ===================== */
.announcement-bar {
  background: linear-gradient(90deg, #061630, #0b1f3a, #16305a);
  color: #f7f8fb;
  font-size: 0.82rem;
  padding: 9px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 950;
}
.announcement-pulse {
  width: 8px; height: 8px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseDot 2s infinite;
  flex-shrink: 0;
}
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.announcement-tag {
  background: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.announcement-link {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
  margin-left: 4px;
}

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); background: rgba(255,255,255,0.95); }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: 'Playfair Display', serif;
}
.logo-text { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem; color: var(--navy); }

.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a:not(.btn-primary) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
  transition: color 0.2s ease;
}
.main-nav a:not(.btn-primary)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.25s var(--ease);
}
.main-nav a:not(.btn-primary):hover { color: var(--navy); }
.main-nav a:not(.btn-primary):hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; display: block; }

/* ===================== Boutons ===================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5d67b, #d4af37, #9b7a15);
  color: var(--navy-deep);
  font-weight: 800;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4), inset 0 2px 0 rgba(255,255,255,0.6);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
}
.btn-primary:hover { 
  transform: translateY(-4px); 
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5), inset 0 2px 0 rgba(255,255,255,0.8);
  filter: brightness(1.1);
}
.btn-primary:active { transform: translateY(-1px); }
.btn-small { padding: 10px 20px; font-size: 0.85rem; }
.btn-large { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; justify-content: center; margin-top: 6px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy);
  padding: 14px 6px;
  border-bottom: 2px solid var(--navy);
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}
.btn-ghost:hover { color: var(--gold-deep); border-color: var(--gold-deep); gap: 12px; }

/* ===================== Badge ===================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-deep);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ===================== Hero ===================== */
.hero {
  padding: 120px 32px 100px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-content h1 { font-size: 3.2rem; font-weight: 800; margin-bottom: 22px; letter-spacing: -0.01em; color: var(--white); }
.hero-content h1 .accent {
  background: linear-gradient(135deg, #d4af37, #f3e5ab, #b8912a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub { font-size: 1.1rem; color: #b9c3d6; max-width: 500px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 24px; flex-wrap: wrap; }
.stat-card {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  min-width: 140px;
}
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.stat-label { display: block; font-size: 0.8rem; color: #b9c3d6; margin-top: 4px; }

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
  border: 1px solid rgba(212, 175, 55, 0.35);
  position: relative;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
  pointer-events: none;
}
.hero-media img { width: 100%; height: 520px; object-fit: cover; }

/* ===================== Sections ===================== */
.section { padding: 90px 0; }
.section-tint { background: var(--paper-deep); }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow.center { text-align: center; }

h2 { font-size: 2.1rem; font-weight: 700; margin-bottom: 18px; }
.center { text-align: center; }
.section-lead { font-size: 1.02rem; color: var(--ink-soft); max-width: 640px; margin-bottom: 20px; }
.section-lead.center { margin-left: auto; margin-right: auto; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 60px; align-items: center; }
.about-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 420px; object-fit: cover; }
.about-content h2 { margin-top: 4px; }

/* Check list */
.check-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.check-list li i {
  color: var(--gold-deep);
  background: rgba(212, 175, 55, 0.12);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Programme cards */
.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.programme-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.programme-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.icon-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 20px;
}
.programme-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.programme-card p { font-size: 0.92rem; color: var(--ink-soft); }

/* Note card */
.note-card {
  margin-top: 44px;
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.note-icon { color: var(--gold-deep); font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.note-title { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.note-body p { font-size: 0.94rem; color: var(--ink-soft); }

/* Eligibility */
.eligibility-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: start; margin-top: 44px; }
.eligibility-highlight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
}
.highlight-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.highlight-icon {
  color: var(--gold-deep);
  font-size: 1.35rem;
}
.highlight-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
}
.eligibility-highlight-card p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 18px;
}
.highlight-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.highlight-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.highlight-feature-item i {
  color: #1eb954;
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.timeline-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.35s var(--ease);
}
.timeline-item:hover { transform: translateY(-6px); }
.timeline-num {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep);
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  margin-bottom: 18px;
}
.timeline-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.timeline-item p { font-size: 0.9rem; color: var(--ink-soft); }

/* ===================== Formulaire ===================== */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 50px; align-items: start; margin-top: 44px; }

.funding-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 22px; }
.field--full { margin-bottom: 22px; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.field input, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-family: 'Inter', sans-serif;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  background: var(--white);
}
.field textarea { resize: vertical; }

.attachment-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper-deep);
  border-radius: 12px;
  margin-bottom: 22px;
}
.attachment-note i { color: var(--gold-deep); margin-top: 3px; }
.attachment-note p { font-size: 0.85rem; color: var(--ink-soft); }
.attachment-note strong { color: var(--navy); }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 26px;
  cursor: pointer;
}
.check-row input { width: auto; margin-top: 3px; accent-color: var(--gold-deep); }
.check-row span { font-size: 0.84rem; color: var(--ink-soft); }

.form-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.6;
  text-align: center;
}

.contact-side { display: flex; flex-direction: column; gap: 18px; }
.side-media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.side-media-card img { width: 100%; height: 180px; object-fit: cover; }
.side-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 26px;
  box-shadow: var(--shadow);
}
.side-card--warn { background: var(--warn-bg); }
.side-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 10px;
}
.side-card--warn .side-label { color: var(--warn-ink); }
.side-value { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--navy); word-break: break-all; }
.side-card p { font-size: 0.88rem; color: var(--ink-soft); }
.side-card--warn p { color: #6b4d16; }

/* ===================== FAQ ===================== */
.faq-list { margin-top: 44px; max-width: 800px; margin-left: auto; margin-right: auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}
.faq-toggle {
  color: var(--gold-deep);
  background: rgba(212, 175, 55, 0.12);
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-answer p { padding: 0 26px 22px; font-size: 0.94rem; color: var(--ink-soft); }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-deep); color: #b9c3d6; padding: 64px 32px 28px; }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 46px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col .logo-text { color: var(--white); }
.footer-col p { font-size: 0.86rem; color: #8b96ac; max-width: 300px; margin-top: 14px; }
.footer-label {
  display: block;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col a { display: block; margin-bottom: 10px; font-size: 0.9rem; color: #b9c3d6; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1280px;
  margin: 22px auto 0;
  font-size: 0.82rem;
  color: #7683a0;
}

/* ===================== Boutons flottants persistants ===================== */
.fab-group {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.fab-top {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s ease;
}
.fab-top.visible { opacity: 1; transform: none; pointer-events: auto; }
.fab-top:hover { background: var(--navy); color: var(--gold); }

.fab-deposit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #f5d67b, #d4af37, #9b7a15);
  color: var(--navy-deep);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 16px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.5), inset 0 2px 0 rgba(255,255,255,0.6);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s ease;
  animation: fabPulse 2.6s ease-in-out infinite;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.fab-deposit:hover { 
  transform: translateY(-3px) scale(1.03); 
  box-shadow: 0 16px 34px rgba(212, 175, 55, 0.6), inset 0 2px 0 rgba(255,255,255,0.8); 
  filter: brightness(1.1);
}
.fab-deposit i { font-size: 0.95rem; }

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(212, 175, 55, 0.4), 0 0 0 0 rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 10px 26px rgba(212, 175, 55, 0.4), 0 0 0 10px rgba(212, 175, 55, 0); }
}

/* ===================== Scroll reveal ===================== */
.reveal {
  opacity: 0;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal[data-reveal="up"] { transform: translateY(30px); }
.reveal[data-reveal="left"] { transform: translateX(-40px); }
.reveal[data-reveal="right"] { transform: translateX(40px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===================== Toast ===================== */
#toast {
  position: fixed;
  bottom: 26px;
  left: 26px;
  background: var(--navy-deep);
  color: var(--white);
  padding: 16px 24px;
  border-radius: 14px;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--gold);
  max-width: 340px;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s var(--ease);
  z-index: 1100;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--navy-soft); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1080px) {
  .hero-inner, .about-grid, .eligibility-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .programme-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .hero-media img { height: 360px; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 20px; }
  .main-nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
    display: none;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 60px 20px 50px; }
  .hero-content h1 { font-size: 2.1rem; }
  .section-inner { padding: 0 20px; }
  .section { padding: 60px 0; }
  h2 { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .programme-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .funding-form { padding: 26px 22px; }
  .site-footer { padding: 44px 20px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .fab-group { right: 16px; bottom: 16px; }
  .fab-deposit span { display: none; }
  .fab-deposit { padding: 15px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .fab-deposit i { font-size: 1.1rem; }
  .fab-whatsapp span { display: none; }
  .fab-whatsapp { padding: 15px; border-radius: 50%; width: 52px; height: 52px; justify-content: center; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .modal-window { padding: 26px 20px; width: 95%; }
  .receipt-row { flex-direction: column; gap: 4px; align-items: flex-start; }
}

/* ===================== Bouton WhatsApp ===================== */
.fab-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 14px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.fab-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}
.fab-whatsapp i { font-size: 1.25rem; }

/* ===================== Origine des fonds (Bandeau de réassurance) ===================== */
.funds-origin-banner {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft));
  border-radius: var(--radius-lg);
  padding: 34px 40px;
  color: var(--white);
  margin-top: 48px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2), inset 0 0 0 1px rgba(212, 175, 55, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
}
.funds-origin-banner::before {
  content: "";
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.funds-origin-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.funds-origin-header i {
  color: var(--gold);
  font-size: 1.5rem;
}
.funds-origin-header h3 {
  color: var(--white);
  font-size: 1.35rem;
}
.funds-origin-banner p {
  font-size: 0.96rem;
  color: #cdd6e5;
  line-height: 1.7;
  max-width: 900px;
}

/* ===================== Témoignages / Projets financés ===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 4px solid var(--gold);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.testimonial-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.testimonial-badge {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-deep);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.testimonial-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.testimonial-quote {
  font-size: 0.94rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 22px;
  flex-grow: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: 'Playfair Display', serif;
  flex-shrink: 0;
}
.author-name {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
}
.author-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ===================== Zone Upload de fichier ===================== */
.file-dropzone {
  position: relative;
  border: 2px dashed var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
  margin-bottom: 22px;
}
.file-dropzone:hover, .file-dropzone.dragover {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
}
.file-input-hidden {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  cursor: pointer;
}
.dropzone-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.dropzone-prompt i {
  font-size: 1.8rem;
  color: var(--gold-deep);
}
.dropzone-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}
.dropzone-hint {
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.file-preview {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 10px;
}
.file-preview.active { display: flex; }
.file-preview-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}
.file-preview-left i {
  color: var(--navy);
  font-size: 1.3rem;
  flex-shrink: 0;
}
.file-preview-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 260px;
}
.file-preview-size {
  font-size: 0.76rem;
  color: var(--ink-soft);
  margin-left: 6px;
}
.file-remove-btn {
  background: none;
  border: none;
  color: #b3401f;
  cursor: pointer;
  padding: 6px;
  font-size: 0.95rem;
  transition: opacity 0.2s ease;
}
.file-remove-btn:hover { opacity: 0.7; }

/* Validation erreurs formulaires */
.field input.has-error, .field textarea.has-error {
  border-color: #d32f2f !important;
  background: #fff8f8;
}
.field-error-msg {
  color: #d32f2f;
  font-size: 0.78rem;
  margin-top: 5px;
  display: none;
}
.field.has-error .field-error-msg { display: block; }

/* Bouton submit chargement */
.btn-primary.is-submitting {
  opacity: 0.8;
  pointer-events: none;
}
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(11, 31, 58, 0.2);
  border-top-color: var(--navy-deep);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================== Modal de confirmation ===================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(6, 22, 48, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-window {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s var(--ease);
  position: relative;
}
.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}
.modal-icon {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.12);
  color: #1eb954;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}
.modal-window h3 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: 10px;
}
.modal-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.receipt-box {
  background: var(--paper-deep);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 26px;
  border: 1px solid var(--line);
}
.receipt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}
.receipt-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.receipt-ref {
  font-family: monospace;
  font-weight: 700;
  color: var(--gold-deep);
  background: var(--white);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.88rem;
  border: 1px solid var(--line);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
}
.receipt-label { color: var(--ink-soft); }
.receipt-value { font-weight: 600; color: var(--navy); }
.modal-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
}

/* ===================== Pages Légales ===================== */
.legal-page { background: var(--paper); }
.legal-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}
.legal-header {
  margin-bottom: 40px;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 20px;
  transition: gap 0.2s ease;
}
.back-link:hover {
  gap: 12px;
  color: var(--navy);
}
.legal-header h1 {
  font-size: 2.6rem;
  margin: 10px 0 16px;
}
.legal-intro {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.legal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
}
.legal-card h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
  color: var(--navy);
  border-bottom: 2px solid var(--paper-deep);
  padding-bottom: 10px;
}
.legal-card p {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-card p:last-child { margin-bottom: 0; }
.legal-list {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-list li {
  font-size: 0.93rem;
  color: var(--ink);
  line-height: 1.6;
  position: relative;
  padding-left: 20px;
}
.legal-list li::before {
  content: "•";
  color: var(--gold-deep);
  font-weight: 900;
  position: absolute;
  left: 4px;
}
.accent-link {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
}
.accent-link:hover { color: var(--navy); }

/* ===================== Accélérateurs psychologiques ===================== */
.form-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.form-urgency-box {
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 24px;
}
.form-urgency-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-urgency-count {
  color: var(--gold-deep);
  font-weight: 700;
}
.form-urgency-bar {
  height: 6px;
  background: var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.form-urgency-fill {
  height: 100%;
  width: 82%;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  border-radius: 999px;
}
.risk-free-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.risk-free-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.risk-free-item i {
  color: #1eb954;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ===================== Barre mobile tactile permanente ===================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 10px 16px;
  z-index: 1050;
  box-shadow: 0 -4px 20px rgba(11, 31, 58, 0.1);
  gap: 10px;
}
.mobile-bar-btn-wa {
  flex: 0 0 48px;
  height: 48px;
  background: #25d366;
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.mobile-bar-btn-cta {
  flex: 1;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: var(--navy-deep);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

@media (max-width: 768px) {
  body { padding-bottom: 74px; }
  .fab-group { display: none; }
  .mobile-bottom-bar { display: flex; }
  .risk-free-strip { grid-template-columns: 1fr; gap: 8px; }
}
