/* ==========================================================================
   JFED — Jeune Fille Espoir de Demain — Style principal
   Palette : violet #7100B0 (principal) / #660099 (foncé) / orange #E4A37D / blanc
   Typo : Gazpacho (titres H1) — fallback Montserrat en attendant les fichiers
          de police sous licence ; Montserrat (corps de texte)
   ========================================================================== */

:root {
  --violet: #7100b0;
  --violet-dark: #660099;
  --orange: #e4a37d;
  --white: #ffffff;
  --ink: #241227;
  --ink-soft: #574560;
  --bg-soft: #faf7fc;
  --border-soft: #ece2f2;

  --font-heading: 'Gazpacho', 'Montserrat', sans-serif;
  --font-body: 'Montserrat', sans-serif;

  --radius: 16px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(102, 0, 153, 0.35);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--violet-dark); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(225, 163, 125, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-top: 14px;
}

.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

section { padding: 96px 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: var(--violet-dark);
  box-shadow: 0 12px 30px -10px rgba(228, 163, 125, 0.7);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(228, 163, 125, 0.85); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-violet {
  background: transparent;
  border-color: var(--violet);
  color: var(--violet);
}
.btn-outline-violet:hover { background: var(--violet); color: var(--white); }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 8px 30px -20px rgba(102, 0, 153, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 44px; width: 44px; object-fit: contain; }
.brand span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--violet-dark);
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
}
.nav-links a:hover { color: var(--violet); }

.nav-cta { display: flex; align-items: center; gap: 12px; }

.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(--violet-dark);
  border-radius: 2px;
}

/* ---------------------------- Hero ---------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: radial-gradient(120% 120% at 15% 10%, #8a12c9 0%, var(--violet) 45%, var(--violet-dark) 100%);
  color: var(--white);
  overflow: hidden;
}

.hero-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-decor svg { position: absolute; }
.hero-decor .star-1 { top: 14%; right: 10%; width: 70px; opacity: 0.9; animation: float 7s ease-in-out infinite; }
.hero-decor .star-2 { top: 55%; right: 22%; width: 30px; opacity: 0.6; animation: float 9s ease-in-out infinite reverse; }
.hero-decor .ring { top: -120px; right: -120px; width: 480px; opacity: 0.25; }
.hero-decor .ring-2 { bottom: -180px; left: -140px; width: 420px; opacity: 0.18; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content .eyebrow { background: rgba(255,255,255,0.15); color: var(--orange); }

.hero-content h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 22px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--orange);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-badge {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(6px);
  width: 100%;
  max-width: 380px;
}
.hero-badge-card .logo-big { width: 120px; margin: 0 auto 20px; }
.hero-badge-card p {
  text-align: center;
  font-weight: 700;
  color: var(--white);
  font-size: 1.05rem;
  line-height: 1.5;
}
.hero-pillars {
  display: flex;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-pillars div { text-align: center; }
.hero-pillars strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; color: var(--orange); }
.hero-pillars span { font-size: 0.75rem; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.05em; }

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .line { width: 1px; height: 28px; background: rgba(255,255,255,0.5); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------------------------- Le problème ---------------------------- */
.problem { background: var(--bg-soft); }
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.problem-text p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 16px; }

.stat-cards { display: grid; gap: 18px; }
.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 22px 26px;
  box-shadow: var(--shadow);
}
.stat-card .num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--violet);
  min-width: 90px;
}
.stat-card .label { color: var(--ink-soft); font-size: 0.95rem; font-weight: 600; }

/* ---------------------------- Piliers ---------------------------- */
.pillars { background: var(--white); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pillar-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.pillar-icon svg { width: 28px; height: 28px; stroke: var(--white); }
.pillar-card h3 { color: var(--violet-dark); margin-bottom: 12px; }
.pillar-card p { color: var(--ink-soft); font-size: 0.96rem; margin-bottom: 16px; }
.pillar-card ul li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.pillar-card ul li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* ---------------------------- Projets ---------------------------- */
.projects { background: var(--bg-soft); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.project-thumb {
  height: 190px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.project-thumb svg { width: 46px; height: 46px; opacity: 0.9; }
.project-thumb.g1 { background: linear-gradient(135deg, var(--violet), var(--violet-dark)); }
.project-thumb.g2 { background: linear-gradient(135deg, var(--orange), #c97b4e); }
.project-thumb.g3 { background: linear-gradient(135deg, #8a12c9, var(--violet)); }
.project-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.project-thumb img ~ svg { display: none; }
.project-status {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--violet-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.project-body { padding: 26px; }
.project-body .place { font-size: 0.82rem; color: var(--orange); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.project-body h3 { color: var(--violet-dark); margin-bottom: 10px; }
.project-body p { color: var(--ink-soft); font-size: 0.92rem; }

.center-cta { text-align: center; margin-top: 48px; }

/* ---------------------------- Portraits ---------------------------- */
.stories { background: var(--white); }
.stories-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}
.story-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow);
}
.story-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(36,18,39,0.92) 0%, rgba(36,18,39,0.15) 55%, transparent 100%);
}
.story-card.placeholder {
  background: linear-gradient(160deg, var(--violet), var(--violet-dark));
}
.story-card .avatar-initial {
  position: absolute;
  top: 30px; left: 30px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1.3rem;
  z-index: 2;
}
.story-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: var(--white);
}
.story-content .quote { font-size: 1.02rem; font-weight: 600; line-height: 1.5; margin-bottom: 14px; }
.story-content .who { font-size: 0.85rem; color: var(--orange); font-weight: 700; }

/* ---------------------------- Résultats ---------------------------- */
.impact {
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  color: var(--white);
  text-align: center;
}
.impact .section-head p { color: rgba(255,255,255,0.8); }
.impact .eyebrow { background: rgba(255,255,255,0.15); }
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.impact-stat {
  padding: 30px 20px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
}
.impact-stat .value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4vw, 3rem);
  color: var(--orange);
  display: block;
}
.impact-stat .label { font-size: 0.88rem; color: rgba(255,255,255,0.85); margin-top: 8px; }

/* ---------------------------- Formations ---------------------------- */
.trainings { background: var(--bg-soft); }
.trainings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.training-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.training-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.training-thumb { height: 160px; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.training-thumb img { width: 100%; height: 100%; object-fit: cover; }
.training-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.training-domain {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--violet);
  background: rgba(113, 0, 176, 0.08);
  padding: 5px 12px; border-radius: 999px;
}
.training-card h3 { color: var(--violet-dark); margin-bottom: 10px; }
.training-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 18px; }
.training-meta { display: flex; gap: 18px; font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 20px; }
.training-meta span { display: flex; align-items: center; gap: 6px; }

/* ---------------------------- Partenaire ---------------------------- */
.support {
  background: var(--white);
}
.support-banner {
  background: radial-gradient(120% 150% at 100% 0%, #8a12c9 0%, var(--violet) 45%, var(--violet-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.support-banner::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  top: -140px; right: -80px;
}
.support-banner h2 { color: var(--white); }
.support-banner p { color: rgba(255,255,255,0.85); margin-top: 16px; max-width: 460px; }
.support-actions { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }

/* ---------------------------- Footer ---------------------------- */
.closing {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 110px 0 60px;
}
.closing h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.closing .slogan { color: var(--orange); font-family: var(--font-heading); font-size: 1.1rem; margin-top: 14px; }
.closing-actions { display: flex; justify-content: center; gap: 16px; margin-top: 34px; flex-wrap: wrap; }

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 50px 0 30px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand img { height: 40px; }
.footer-brand span { font-family: var(--font-heading); color: var(--white); font-weight: 800; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------------------------- Page header (pages internes) ---------------------------- */
.page-hero {
  position: relative;
  padding: 180px 0 90px;
  background: radial-gradient(120% 140% at 85% 0%, #8a12c9 0%, var(--violet) 45%, var(--violet-dark) 100%);
  color: var(--white);
  text-align: center;
  overflow: hidden;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { background: rgba(255,255,255,0.15); color: var(--orange); }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto; font-size: 1.05rem; }
.page-hero .ring { position: absolute; top: -160px; left: -140px; width: 420px; opacity: 0.18; }

/* ---------------------------- Story narrative (À propos) ---------------------------- */
.narrative { background: var(--white); }
.narrative-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-soft);
}
.narrative-block:last-child { border-bottom: none; }
.narrative-block.reverse { grid-template-columns: 1.1fr 0.9fr; }
.narrative-block.reverse .narrative-visual { order: 2; }
.narrative-index {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--border-soft);
  line-height: 1;
}
.narrative-text h3 { color: var(--violet-dark); font-size: 1.5rem; margin: 10px 0 16px; }
.narrative-text p { color: var(--ink-soft); font-size: 1.02rem; }
.narrative-visual {
  border-radius: var(--radius-lg);
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--violet), var(--violet-dark));
  position: relative;
  overflow: hidden;
}
.narrative-visual.tone-orange { background: linear-gradient(150deg, var(--orange), #c97b4e); }
.narrative-visual svg { width: 56px; height: 56px; opacity: 0.9; }

/* ---------------------------- Valeurs ---------------------------- */
.values { background: var(--bg-soft); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .value-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.value-card .value-icon svg { width: 22px; height: 22px; stroke: var(--white); }
.value-card h4 { font-family: var(--font-heading); font-size: 1rem; color: var(--violet-dark); margin-bottom: 8px; }
.value-card p { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------------------------- Mot de la fondatrice ---------------------------- */
.founder-word { background: var(--white); }
.founder-card {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border-soft);
}
.founder-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow);
}
.founder-photo img { width: 100%; height: 100%; object-fit: cover; }
.founder-quote { position: relative; }
.founder-quote .mark { font-family: var(--font-heading); font-size: 4rem; color: var(--orange); line-height: 0.5; display: block; margin-bottom: 10px; }
.founder-quote p { font-size: 1.2rem; color: var(--ink); font-weight: 600; line-height: 1.55; margin-bottom: 20px; }
.founder-quote .who { color: var(--violet); font-weight: 700; font-size: 0.95rem; }
.founder-quote .role { color: var(--ink-soft); font-size: 0.85rem; }

/* ---------------------------- Mission band ---------------------------- */
.mission-band {
  background: linear-gradient(135deg, var(--violet-dark), var(--violet));
  color: var(--white);
  text-align: center;
  padding: 90px 0;
}
.mission-band .eyebrow { background: rgba(255,255,255,0.15); }
.mission-band h2 { color: var(--white); max-width: 780px; margin: 0 auto; font-size: clamp(1.7rem, 3.5vw, 2.5rem); }

/* ---------------------------- Filtres catalogue ---------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover { border-color: var(--violet); color: var(--violet); }
.filter-btn.active { background: var(--violet); border-color: var(--violet); color: var(--white); }

.training-card[hidden] { display: none; }

/* ---------------------------- Fiche formation ---------------------------- */
.fiche {
  padding: 70px 0;
  border-bottom: 1px solid var(--border-soft);
  scroll-margin-top: 100px;
}
.fiche:last-of-type { border-bottom: none; }
.fiche-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.fiche-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; }
.fiche-body h3 { color: var(--violet-dark); font-size: 1.7rem; margin: 12px 0 16px; }
.fiche-body > p.lead { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 26px; }
.fiche-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 30px;
}
.fiche-meta div {
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px 18px;
}
.fiche-meta .k { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--orange); font-weight: 700; margin-bottom: 4px; }
.fiche-meta .v { font-size: 0.92rem; font-weight: 600; color: var(--ink); }

/* ---------------------------- Formulaire inscription ---------------------------- */
.signup { background: var(--bg-soft); }
.signup-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 46px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-soft);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--violet);
  background: var(--white);
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 16px; text-align: center; }
.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  background: rgba(113,0,176,0.08);
  color: var(--violet-dark);
  font-weight: 700;
  margin-top: 20px;
}
.form-success.show { display: block; }
.form-error {
  display: none;
  text-align: center;
  padding: 16px;
  border-radius: 12px;
  background: rgba(200, 40, 40, 0.08);
  color: #b02a2a;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 16px;
}
.form-error.show { display: block; }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---------------------------- Grilles 4 colonnes réutilisables ---------------------------- */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.contact-info-grid { grid-template-columns: repeat(3, 1fr); }
.contact-orient-grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; margin: 0 auto; }

/* ---------------------------- Transparence (bande texte) ---------------------------- */
.transparency {
  background: var(--white);
}
.transparency-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.transparency-card .icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.transparency-card .icon svg { width: 28px; height: 28px; stroke: var(--white); }
.transparency-card h3 { color: var(--violet-dark); margin-bottom: 10px; }
.transparency-card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ---------------------------- Partenaires (état vide) ---------------------------- */
.partner-empty {
  text-align: center;
  padding: 56px 24px;
  border: 1.5px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  color: var(--ink-soft);
  background: var(--bg-soft);
}
.partner-empty strong { display: block; color: var(--violet-dark); font-family: var(--font-heading); margin-bottom: 8px; font-size: 1.05rem; }

/* ---------------------------- Galerie photo ---------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 14px;
}
.gallery-grid a {
  border-radius: 14px;
  overflow: hidden;
  display: block;
  position: relative;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-grid a:hover img { transform: scale(1.06); }
.gallery-grid .tall { grid-row: span 2; }
.gallery-grid .wide { grid-column: span 2; }

/* ---------------------------- Frise chronologique ---------------------------- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: '';
  position: absolute; left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: var(--border-soft);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute; left: -32px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}
.timeline-item .date { font-family: var(--font-heading); color: var(--violet); font-size: 0.95rem; margin-bottom: 6px; display: block; }
.timeline-item h3 { color: var(--violet-dark); font-size: 1.15rem; margin-bottom: 8px; }
.timeline-item p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------------------------- Report / téléchargement ---------------------------- */
.report-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-soft);
  border: 1.5px dashed var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 30px;
  color: var(--ink-soft);
}
.report-card .icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: var(--violet);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.report-card .icon svg { width: 24px; height: 24px; stroke: var(--white); }
.report-card strong { display: block; color: var(--violet-dark); font-family: var(--font-heading); margin-bottom: 4px; }

/* ---------------------------- Bouton WhatsApp flottant ---------------------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 30px -6px rgba(37, 211, 102, 0.75);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

@media (max-width: 720px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------------------------- Scroll reveal ---------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.visible .stagger-item {
  animation: revealUp 0.6s ease forwards;
}
.stagger-item { opacity: 0; }
.stagger-item:nth-child(1) { animation-delay: 0.05s; }
.stagger-item:nth-child(2) { animation-delay: 0.15s; }
.stagger-item:nth-child(3) { animation-delay: 0.25s; }
.stagger-item:nth-child(4) { animation-delay: 0.35s; }
@keyframes revealUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; text-align: left; }
  .hero-badge { display: none; }
  .problem-grid { grid-template-columns: 1fr; }
  .pillars-grid, .projects-grid, .trainings-grid { grid-template-columns: 1fr 1fr; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .stories-grid .story-card:first-child { grid-column: span 2; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .support-banner { grid-template-columns: 1fr; text-align: center; }
  .support-actions { align-items: center; }
  .narrative-block, .narrative-block.reverse { grid-template-columns: 1fr; }
  .narrative-block.reverse .narrative-visual { order: 0; }
  .narrative-visual { min-height: 260px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { grid-template-columns: 1fr; }
  .founder-photo { max-width: 280px; margin: 0 auto; }
  .fiche-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .contact-info-grid { grid-template-columns: 1fr 1fr; }
  .transparency-card { grid-template-columns: 1fr; text-align: center; }
  .transparency-card .icon { margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}

@media (max-width: 720px) {
  section { padding: 64px 0; }
  .nav-links, .nav-cta .btn-outline-violet { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    box-shadow: var(--shadow);
  }
  .pillars-grid, .projects-grid, .trainings-grid, .stories-grid, .impact-grid { grid-template-columns: 1fr; }
  .stories-grid .story-card:first-child { grid-column: span 1; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .support-banner { padding: 44px 26px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .values-grid { grid-template-columns: 1fr; }
  .fiche-meta { grid-template-columns: 1fr; }
  .signup-card { padding: 30px 22px; }
  .cards-grid-4 { grid-template-columns: 1fr; }
  .contact-info-grid, .contact-orient-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; }
  .report-card { flex-direction: column; text-align: center; }
}
