/* ============================================================
   Association Andrea — Feuille de styles partagée
   Palette : blueDeep #2DA6E8 · terracotta #E07856 · cream #FBF7F0
   ============================================================ */

/* ── Variables ── */
:root {
  --blueDeep:  #2DA6E8;
  --blueSky:   #8DD3F5;
  --blueMist:  #C9E8F7;
  --bluePale:  #EAF5FB;
  --sand:      #F4E4C9;
  --warmPeach: #F9C9A8;
  --terracotta:#E07856;
  --sunYellow: #F5C24D;
  --leaf:      #7FB98C;
  --cream:     #FBF7F0;
  --ivory:     #FFFDF8;
  --charcoal:  #2C3A47;
  --stone:     #6B7A88;

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 20px rgba(44,58,71,.06);
  --shadow:    0 12px 32px rgba(44,58,71,.09);
  --shadow-lg: 0 30px 60px rgba(44,58,71,.14);
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; line-height: 1.6; }
button { cursor: pointer; font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--blueDeep);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Scroll Reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--transition), transform .65s var(--transition);
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal-delay="4"] { transition-delay: .4s; }
[data-reveal-delay="5"] { transition-delay: .5s; }

/* ── Navigation ── */
nav.top {
  position: sticky; top: 0; z-index: 100;
  /* Glass morphism */
  background: rgba(255, 253, 248, 0.68);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border-bottom: 1px solid rgba(255,255,255,.55);
  box-shadow:
    0 1px 0 rgba(0,0,0,.05),
    inset 0 1px 0 rgba(255,255,255,.85);
  transition: box-shadow var(--transition), background var(--transition);
}
nav.top.scrolled {
  background: rgba(255,253,248,.82);
  box-shadow:
    0 8px 32px rgba(44,58,71,.10),
    inset 0 1px 0 rgba(255,255,255,.85);
}
nav.top .wrap {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 0 40px; height: 72px;
}
nav.top .brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; color: var(--charcoal);
  flex-shrink: 0;
}
/* Logo — crop to heart only (text already in span) */
nav.top .brand img {
  height: 40px; width: 40px;
  object-fit: cover; object-position: top center;
  border-radius: 10px;
}
nav.top .brand:hover { color: var(--blueDeep); }
nav.top ul {
  list-style: none; display: flex; gap: 6px;
  margin: 0 auto 0 8px; padding: 0;
}
nav.top ul a {
  font-weight: 600; font-size: 14.5px; color: var(--charcoal);
  padding: 8px 14px; border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}
nav.top ul a:hover, nav.top ul a.current {
  background: var(--bluePale);
  color: var(--blueDeep);
}
nav.top .btn-nav {
  background: var(--blueDeep); color: #fff;
  padding: 11px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(45,166,232,.28);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
nav.top .btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(45,166,232,.4);
  background: #1a93d4;
}

/* Hamburger */
nav.top .hamburger {
  display: none; background: none; border: 0; padding: 8px;
  width: 44px; height: 44px; margin-left: auto;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
nav.top .hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: transform .3s ease, opacity .3s;
}
nav.top .hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.top .hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
nav.top .hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(255,253,248,.98); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,0,0,.06);
  padding: 20px 24px 40px;
  overflow-y: auto; z-index: 99;
  transform: translateY(-12px); opacity: 0;
  transition: opacity .28s ease, transform .28s ease;
}
.mobile-menu.open {
  display: block;
  animation: mobileSlideIn .28s ease forwards;
}
@keyframes mobileSlideIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: none; }
}
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  display: block; padding: 14px 16px;
  font-weight: 700; font-size: 16px; color: var(--charcoal);
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.current {
  background: var(--bluePale); color: var(--blueDeep);
}
.mobile-menu .btn-mobile-cta {
  display: block; margin-top: 16px;
  background: var(--blueDeep); color: #fff;
  padding: 16px; border-radius: 14px;
  font-weight: 700; text-align: center; font-size: 16px;
  box-shadow: 0 8px 22px rgba(45,166,232,.28);
}

/* ── Boutons ── */
.btn-primary {
  background: var(--blueDeep); color: #fff;
  padding: 16px 32px; border-radius: 999px;
  font-weight: 700; font-size: 16px;
  box-shadow: 0 10px 28px rgba(45,166,232,.3);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(45,166,232,.42);
  background: #1a93d4;
}
.btn-secondary {
  background: #fff; color: var(--charcoal);
  padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  border: 2px solid var(--charcoal);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { background: var(--charcoal); color: #fff; }
.btn-tertiary {
  padding: 15px 14px; font-weight: 700; font-size: 15px; color: var(--charcoal);
  text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 6px; text-decoration-color: var(--terracotta);
  transition: text-decoration-color var(--transition);
}
.btn-tertiary:hover { text-decoration-color: var(--blueDeep); }
.btn-outline {
  padding: 16px 28px; border-radius: 999px;
  border: 2px solid rgba(255,255,255,.5); color: #fff;
  font-weight: 700; font-size: 15px;
  transition: all var(--transition);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
}
.btn-outline:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ── Section commune ── */
.section { padding: 120px 40px; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 18px;
  display: block;
}

/* ── HERO ── */
section.hero {
  position: relative; overflow: hidden;
  padding: 80px 40px 120px;
}
section.hero.cream  { background: linear-gradient(135deg, var(--cream) 0%, var(--bluePale) 100%); }
section.hero.blue   { background: linear-gradient(120deg, var(--blueDeep) 0%, #5BBAEC 60%, var(--blueSky) 100%); color: #fff; }
section.hero.blue .hero-eyebrow { color: var(--sunYellow); }
section.hero.blue .hero-title .accent { color: var(--sunYellow); }
section.hero.blue .hero-sub { color: rgba(255,255,255,.92); }
section.hero.blue .btn-secondary { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); }
section.hero.blue .btn-tertiary { color: #fff; }
section.hero.warm   { background: linear-gradient(135deg, var(--ivory) 0%, var(--sand) 100%); }

.hero-wrap {
  max-width: 1280px; margin: 0 auto; position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center;
}
.hero-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 24px; display: block;
}
.hero-title {
  font-size: 68px; font-weight: 800; line-height: 1.03;
  letter-spacing: -.035em; margin-bottom: 28px;
  /* Hero load animation */
  animation: heroTitle .8s .1s cubic-bezier(.2,0,.2,1) both;
}
.hero-sub {
  font-size: 19px; color: var(--stone); line-height: 1.58;
  margin-bottom: 40px; max-width: 560px; font-weight: 500;
  animation: heroSub .8s .25s cubic-bezier(.2,0,.2,1) both;
}
.hero-title .accent { color: var(--blueDeep); }
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center;
  animation: heroSub .8s .35s cubic-bezier(.2,0,.2,1) both;
}
@keyframes heroTitle {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroSub {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* Hero photo side */
.hero-visual { position: relative; height: 560px; }
.hero-photo-frame {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--blueMist); border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
}
.hero-photo-frame.a { top: 0; right: 0; width: 68%; height: 72%; }
.hero-photo-frame.b { bottom: 0; left: 0; width: 55%; height: 50%; z-index: 2; }
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Decorative */
.deco { position: absolute; pointer-events: none; }
.deco-sun { top: -80px; right: -60px; opacity: .3; animation: deco-spin 40s linear infinite; }
@keyframes deco-spin { to { transform: rotate(360deg); } }
.deco-waves { position: absolute; bottom: 0; left: 0; right: 0; height: 120px; }

/* ── FIGURES ── */
section.figures { background: #fff; padding: 100px 40px; }
.figures-wrap { max-width: 1280px; margin: 0 auto; }
.figures-title { text-align: center; max-width: 780px; margin: 0 auto 72px; }
.figures-title h2 { font-size: 44px; font-weight: 800; line-height: 1.1; letter-spacing: -.025em; margin-top: 14px; }
.figures-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.figure-card { text-align: center; padding: 28px 16px; }
.figure-card .num {
  font-size: 80px; font-weight: 900; line-height: .9;
  color: var(--blueDeep); letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
}
.figure-card .unit { font-size: 26px; font-weight: 800; color: var(--blueDeep); vertical-align: top; }
.figure-card .label { font-size: 14.5px; font-weight: 600; color: var(--charcoal); margin-top: 14px; line-height: 1.4; }
.figure-card.alt  .num, .figure-card.alt  .unit { color: var(--terracotta); }
.figure-card.alt2 .num, .figure-card.alt2 .unit { color: var(--leaf); }

/* ── FONDATRICE ── */
section.fondatrice {
  padding: 120px 40px;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--bluePale) 100%);
  position: relative; overflow: hidden;
}
section.fondatrice .bg-blob {
  position: absolute; top: -180px; left: -180px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, var(--blueMist) 0%, transparent 70%);
  opacity: .6; pointer-events: none;
}
.fondatrice-wrap {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center; position: relative; z-index: 2;
}
.fondatrice-text .eyebrow { margin-bottom: 18px; }
.fondatrice-text h2 {
  font-size: 60px; font-weight: 800; line-height: 1.03;
  letter-spacing: -.028em; color: var(--blueDeep); margin-bottom: 28px;
}
.fondatrice-text p { font-size: 18px; line-height: 1.65; color: var(--charcoal); font-weight: 500; max-width: 520px; opacity: .85; }
.fondatrice-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 30px 60px -20px rgba(45,58,71,.28);
  background: var(--bluePale);
}
.fondatrice-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fondatrice-caption { margin-top: 22px; }
.fondatrice-caption strong { display: block; font-size: 24px; font-weight: 800; color: var(--blueDeep); letter-spacing: -.01em; }
.fondatrice-caption span { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; color: var(--blueDeep); opacity: .75; }

/* ── MISSION ── */
section.mission {
  padding: 120px 40px; background: var(--cream);
  position: relative; overflow: hidden;
}
section.mission .bg-blob {
  position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--blueMist) 0%, transparent 70%);
  opacity: .7; pointer-events: none;
}
.mission-wrap { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.mission-intro {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px;
  align-items: end; margin-bottom: 72px;
}
.mission-intro h2 { font-size: 52px; font-weight: 800; line-height: 1.03; letter-spacing: -.03em; color: var(--charcoal); }
.mission-intro h2 .accent { color: var(--blueDeep); }
.mission-intro p { font-size: 18px; color: var(--stone); font-weight: 500; max-width: 560px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.pillar {
  background: #fff; border-radius: 24px; padding: 40px 36px;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pillar .icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
}
.pillar.p1 .icon { background: var(--bluePale); }
.pillar.p2 .icon { background: #FEEEDA; }
.pillar.p3 .icon { background: #E7F3EA; }
.pillar h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; color: var(--charcoal); letter-spacing: -.015em; }
.pillar p { font-size: 15px; color: var(--stone); font-weight: 500; line-height: 1.62; }
.pillar .tag { position: absolute; top: 32px; right: 32px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--stone); }

/* ── TERRAIN ── */
section.terrain { padding: 120px 40px; background: var(--ivory); }
.terrain-wrap {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.terrain-text h2 { font-size: 50px; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; margin-bottom: 24px; color: var(--charcoal); }
.terrain-text h2 .accent { color: var(--blueDeep); }
.terrain-text p { font-size: 17px; color: var(--stone); font-weight: 500; margin-bottom: 16px; }
.terrain-text .markers { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.markers-intro { font-size: 11px; font-weight: 800; letter-spacing: .10em; text-transform: uppercase; color: var(--stone); margin: 0; }
.markers-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.markers-caption { font-size: 13px; font-weight: 500; color: var(--stone); margin: 0; font-style: italic; }
.marker { padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #fff; border: 2px solid var(--blueMist); color: var(--charcoal); }
.marker.accent { background: var(--blueDeep); color: #fff; border-color: var(--blueDeep); }
.terrain-map { position: relative; aspect-ratio: 1/1; max-width: 520px; justify-self: end; width: 100%; }

/* ── GALLERY ── */
section.gallery { padding: 120px 40px; background: #fff; }
.gallery-wrap { max-width: 1280px; margin: 0 auto; }
.gallery-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 56px;
}
.gallery-head h2 { font-size: 46px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; color: var(--charcoal); }
.gallery-head h2 .accent { color: var(--blueDeep); }
.gallery-head p { font-size: 16.5px; color: var(--stone); line-height: 1.6; font-weight: 500; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px; gap: 16px;
}
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: var(--blueMist); box-shadow: 0 10px 26px rgba(44,58,71,.08);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(44,58,71,.15); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 18px 16px; color: #fff;
  font-size: 12.5px; font-weight: 500; line-height: 1.45;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.55) 50%, transparent 100%);
  transform: translateY(4px); opacity: 0; transition: all .3s ease;
}
.gallery-item:hover .caption { opacity: 1; transform: none; }
.gallery-item .caption strong { display: block; font-size: 14.5px; font-weight: 800; margin-bottom: 3px; }
.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,15,20,.92); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; animation: lbIn .22s ease both; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 90vw; max-height: 86vh; border-radius: var(--radius);
  object-fit: contain; box-shadow: 0 40px 80px rgba(0,0,0,.5);
}
.lightbox-close {
  position: fixed; top: 20px; right: 24px;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ── TÉMOIGNAGE ── */
section.testimony {
  padding: 110px 40px; background: var(--cream);
  position: relative; overflow: hidden;
}
.testimony-wrap {
  max-width: 860px; margin: 0 auto; text-align: center; position: relative; z-index: 2;
}
.testimony-wrap .quote-mark {
  font-size: 120px; line-height: .6; color: var(--blueSky);
  font-family: Georgia, serif; font-weight: 700; height: 72px;
}
.testimony-wrap blockquote {
  font-size: 28px; font-weight: 600; line-height: 1.38;
  letter-spacing: -.015em; color: var(--charcoal); margin: 0 0 32px;
  text-wrap: balance;
}
.testimony-author { display: inline-flex; align-items: center; gap: 16px; }
.testimony-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--warmPeach), var(--sand));
  border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.08); overflow: hidden;
}
.testimony-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimony-name { text-align: left; }
.testimony-name strong { font-size: 15px; font-weight: 800; color: var(--charcoal); display: block; }
.testimony-name span  { font-size: 13.5px; color: var(--stone); font-weight: 500; }

/* ── RAPPORTS ── */
section.rapports { padding: 110px 40px; background: #fff; }
.rapports-wrap  { max-width: 1280px; margin: 0 auto; }
.rapports-head  { text-align: center; margin: 0 auto 56px; max-width: 720px; }
.rapports-head h2 { font-size: 44px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin-top: 14px; }
.rapports-head h2 .accent { color: var(--blueDeep); }
.rapports-head p { font-size: 16.5px; color: var(--stone); font-weight: 500; max-width: 560px; margin: 14px auto 0; }
.rapports-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rapport-card {
  background: var(--bluePale); border-radius: 24px; padding: 36px 32px 32px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative; overflow: hidden; min-height: 230px;
}
.rapport-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(45,166,232,.18); background: #fff; }
.rapport-card .rapport-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: #fff; color: var(--blueDeep);
  display: flex; align-items: center; justify-content: center;
}
.rapport-card .rapport-year {
  position: absolute; top: 24px; right: 28px;
  font-size: 36px; font-weight: 800; color: var(--blueDeep);
  opacity: .3; letter-spacing: -.025em;
}
.rapport-card h3 { font-size: 21px; font-weight: 800; color: var(--charcoal); letter-spacing: -.018em; }
.rapport-card p  { font-size: 14.5px; color: var(--stone); line-height: 1.55; font-weight: 500; }
.rapport-card .rapport-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 14.5px; color: var(--blueDeep);
}
.rapport-card.upcoming { background: var(--cream); cursor: default; }
.rapport-card.upcoming:hover { transform: none; box-shadow: none; background: var(--cream); }
.rapport-card.upcoming .rapport-cta { color: var(--stone); }

/* ── REJOINDRE ── */
section.rejoindre { padding: 120px 40px; background: var(--cream); }
.rej-wrap { max-width: 1280px; margin: 0 auto; }
.rej-head { text-align: center; margin-bottom: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.rej-head h2 { font-size: 50px; font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin-top: 14px; }
.rej-head h2 .accent { color: var(--blueDeep); }
.rej-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 20px; }
.rej-card {
  background: #fff; border-radius: var(--radius-lg); padding: 40px 34px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.rej-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.rej-card.light { background: var(--bluePale); }
.rej-card h3 { font-size: 30px; font-weight: 800; line-height: 1.06; letter-spacing: -.022em; color: var(--blueDeep); }
.rej-card p  { font-size: 15px; color: var(--charcoal); line-height: 1.58; font-weight: 500; opacity: .85; }
.rej-card .rej-btn {
  margin-top: auto; background: var(--blueDeep); color: #fff;
  padding: 14px 22px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 14.5px; text-align: center; display: inline-block;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.rej-card .rej-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,166,232,.38); background: #1a93d4; }

.rej-don {
  background: var(--blueDeep); color: #fff;
  border-radius: var(--radius-lg); padding: 40px 34px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--transition);
}
.rej-don:hover { transform: translateY(-4px); }
.rej-don h3 { font-size: 36px; font-weight: 800; line-height: 1; letter-spacing: -.03em; margin: 0 0 4px; }
.rej-don > p { font-size: 15px; opacity: .93; line-height: 1.58; font-weight: 500; }
.rej-don .fiscal {
  background: rgba(255,255,255,.96); color: var(--charcoal);
  border-radius: 18px; padding: 24px 22px; text-align: center; margin-top: 8px;
}
.rej-don .fiscal .fiscal-title { font-size: 13px; font-weight: 700; color: var(--blueDeep); line-height: 1.4; margin-bottom: 10px; }
.rej-don .fiscal .fiscal-sub   { font-size: 11.5px; color: var(--stone); font-weight: 500; margin-bottom: 16px; }
.rej-don .fiscal .amounts { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-bottom: 4px; }
.rej-don .fiscal .amt-was { font-size: 18px; color: var(--stone); text-decoration: line-through; font-weight: 600; }
.rej-don .fiscal .amt-now { font-size: 30px; color: var(--blueDeep); font-weight: 800; letter-spacing: -.02em; }
.rej-don .fiscal .after   { font-size: 11px; color: var(--stone); font-weight: 500; margin-bottom: 16px; }
.rej-don .fiscal .btn-donate {
  display: inline-block; background: var(--blueDeep); color: #fff;
  padding: 13px 36px; border-radius: var(--radius-sm);
  font-weight: 700; font-size: 15px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.rej-don .fiscal .btn-donate:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(45,166,232,.4); }

/* ── BOÎTE À IDÉES ── */
section.idea-box { padding: 110px 40px; background: #fff; }
.idea-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.idea-wrap h2 { font-size: 42px; font-weight: 800; color: var(--blueDeep); letter-spacing: -.025em; margin: 14px 0 12px; }
.idea-sub { font-size: 17px; color: var(--stone); font-weight: 500; margin-bottom: 36px; display: block; }
.idea-form { display: flex; flex-direction: column; gap: 14px; max-width: 560px; margin: 0 auto; text-align: left; }
.idea-form textarea, .idea-form input[type=email] {
  border: 2px solid var(--blueMist); background: #fff; border-radius: 14px;
  padding: 16px 18px; font-family: inherit; font-size: 15px; color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.idea-form textarea { resize: vertical; min-height: 110px; }
.idea-form textarea::placeholder, .idea-form input::placeholder { color: #A8B4BF; font-style: italic; }
.idea-form textarea:focus, .idea-form input:focus { outline: none; border-color: var(--blueDeep); box-shadow: 0 0 0 3px rgba(45,166,232,.12); }
.idea-form .submit {
  background: var(--blueDeep); color: #fff; border: 0;
  padding: 16px 28px; border-radius: 14px;
  font-weight: 700; font-size: 15px; font-family: inherit; margin-top: 4px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.idea-form .submit:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(45,166,232,.35); background: #1a93d4; }
.idea-form .submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* ── FAQ ── */
section.faq { padding: 110px 40px; background: var(--cream); }
.faq-wrap { max-width: 880px; margin: 0 auto; }
.faq-head { text-align: center; margin-bottom: 50px; }
.faq-head h2 { font-size: 44px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; margin-top: 14px; }
.faq-head h2 .accent { color: var(--blueDeep); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: #fff; border-radius: 18px; box-shadow: var(--shadow-sm);
  overflow: hidden; transition: box-shadow var(--transition);
}
details.faq-item[open] { box-shadow: var(--shadow); }
details.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 22px 28px; font-size: 16.5px; font-weight: 700; color: var(--charcoal);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  transition: color var(--transition);
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; font-size: 26px; font-weight: 300; color: var(--blueDeep);
  transition: transform .25s; line-height: 1; flex-shrink: 0;
}
details.faq-item[open] summary { color: var(--blueDeep); }
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body {
  padding: 0 28px 24px; font-size: 15px; color: var(--stone);
  line-height: 1.68; font-weight: 500;
}
details.faq-item .faq-body a { color: var(--blueDeep); font-weight: 700; text-decoration: underline; }

/* ── CTA BAND ── */
section.cta-band {
  padding: 100px 40px;
  background: linear-gradient(135deg, var(--blueDeep) 0%, #5BBAEC 100%);
  position: relative; overflow: hidden;
}
section.cta-band::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: rgba(255,255,255,.07); pointer-events: none;
}
.cta-wrap {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px;
  align-items: center; position: relative; z-index: 2; color: #fff;
}
.cta-wrap h2 { font-size: 52px; font-weight: 800; line-height: 1.03; letter-spacing: -.03em; margin-bottom: 18px; }
.cta-wrap p  { font-size: 18px; opacity: .92; font-weight: 500; line-height: 1.55; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-actions .btn-primary { background: #fff; color: var(--blueDeep); box-shadow: 0 14px 32px rgba(0,0,0,.15); justify-content: center; font-size: 16.5px; }
.cta-actions .btn-primary:hover { background: var(--sunYellow); color: var(--charcoal); }

/* ── FOOTER ── */
footer.site-footer {
  background: var(--charcoal); color: #B8C3CD; padding: 80px 40px 40px;
}
.footer-wrap { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 60px; margin-bottom: 60px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.footer-brand img {
  height: 46px; width: 46px;
  object-fit: cover; object-position: top center;
  border-radius: 10px;
  filter: brightness(0) invert(1); opacity: .9;
}
.footer-brand strong { font-size: 21px; color: #fff; font-weight: 800; }
footer.site-footer p { font-size: 14px; line-height: 1.62; max-width: 340px; }
footer.site-footer h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer.site-footer a { font-size: 14px; transition: color var(--transition); }
footer.site-footer a:hover { color: var(--blueSky); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between;
  font-size: 13px; color: #7B8A96;
}
.footer-bottom a { text-decoration: underline; text-decoration-color: transparent; transition: text-decoration-color var(--transition), color var(--transition); }
.footer-bottom a:hover { color: var(--blueSky); text-decoration-color: var(--blueSky); }

/* ── PAGES INTERNES (hero simplifié) ── */
.page-hero {
  padding: 80px 40px 70px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--bluePale) 100%);
  position: relative; overflow: hidden;
}
.page-hero .page-hero-wrap { max-width: 1280px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero .breadcrumb { font-size: 13px; font-weight: 600; color: var(--stone); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; }
.page-hero .breadcrumb a { color: var(--blueDeep); }
.page-hero .breadcrumb span { color: var(--stone); }
.page-hero h1 { font-size: 56px; font-weight: 800; line-height: 1.04; letter-spacing: -.03em; max-width: 700px; }
.page-hero .page-hero-sub { font-size: 18px; color: var(--stone); max-width: 580px; margin-top: 18px; font-weight: 500; line-height: 1.58; }

/* Page content */
.page-content { max-width: 1280px; margin: 0 auto; padding: 80px 40px; }
.prose h2 { font-size: 32px; font-weight: 800; color: var(--charcoal); margin: 48px 0 18px; letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 22px; font-weight: 700; color: var(--charcoal); margin: 32px 0 12px; letter-spacing: -.015em; }
.prose p  { font-size: 16px; color: var(--stone); line-height: 1.72; margin-bottom: 18px; font-weight: 500; }
.prose a  { color: var(--blueDeep); font-weight: 600; text-decoration: underline; }
.prose ul { padding-left: 24px; margin-bottom: 18px; }
.prose ul li { font-size: 16px; color: var(--stone); font-weight: 500; line-height: 1.65; margin-bottom: 8px; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info h2 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; color: var(--blueDeep); margin-bottom: 18px; }
.contact-info p  { font-size: 16px; color: var(--stone); font-weight: 500; line-height: 1.65; margin-bottom: 28px; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--bluePale); color: var(--blueDeep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-detail strong { display: block; font-size: 13px; color: var(--stone); font-weight: 600; letter-spacing: .5px; margin-bottom: 2px; }
.contact-detail span { font-size: 15px; font-weight: 600; color: var(--charcoal); }
.contact-detail a { color: var(--blueDeep); }

.form-card { background: #fff; border-radius: var(--radius-lg); padding: 48px 44px; box-shadow: var(--shadow); }
.form-card h3 { font-size: 24px; font-weight: 800; color: var(--charcoal); margin-bottom: 32px; letter-spacing: -.018em; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; letter-spacing: .3px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: 2px solid #E5EDF2; background: #FAFCFE;
  border-radius: 12px; padding: 14px 16px;
  font-family: inherit; font-size: 15px; color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #A8B4BF; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--blueDeep); background: #fff;
  box-shadow: 0 0 0 3px rgba(45,166,232,.12);
}
.form-group input.error, .form-group textarea.error { border-color: #E07856; box-shadow: 0 0 0 3px rgba(224,120,86,.1); }
.form-group .field-error { font-size: 12.5px; color: var(--terracotta); font-weight: 600; margin-top: 6px; display: none; }
.form-group.has-error .field-error { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.form-submit { width: 100%; padding: 16px; border-radius: 14px; border: none; font-weight: 700; font-size: 16px; font-family: inherit; background: var(--blueDeep); color: #fff; cursor: pointer; transition: all var(--transition); }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(45,166,232,.38); background: #1a93d4; }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; box-shadow: none; }

.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success .success-icon { width: 64px; height: 64px; background: #E7F5EE; border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.form-success h4 { font-size: 22px; font-weight: 800; color: var(--charcoal); margin-bottom: 10px; }
.form-success p  { font-size: 15px; color: var(--stone); font-weight: 500; }

/* ── ENGAGEMENT ── */
section.engagement { padding: 120px 40px; background: #fff; }
.eng-wrap { max-width: 1280px; margin: 0 auto; }
.eng-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.eng-head h2 { font-size: 48px; font-weight: 800; line-height: 1.05; letter-spacing: -.025em; color: var(--blueDeep); margin-top: 14px; }
.eng-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.eng-card {
  background: var(--blueDeep); border-radius: var(--radius-lg); padding: 34px 30px 36px;
  color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between;
  transition: transform var(--transition), box-shadow var(--transition);
}
.eng-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(45,166,232,.35); }
.eng-card h3 { font-size: 28px; font-weight: 800; line-height: 1.06; letter-spacing: -.022em; margin-bottom: 14px; }
.eng-card p  { font-size: 14.5px; line-height: 1.5; opacity: .94; font-weight: 500; }

/* ── BÉNÉVOLE / PARTENAIRE pages ── */
.page-form-section { padding: 80px 40px; background: #fff; }
.page-form-section > .inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.page-intro h2 { font-size: 40px; font-weight: 800; letter-spacing: -.022em; color: var(--blueDeep); margin-bottom: 20px; }
.page-intro p  { font-size: 16px; color: var(--stone); font-weight: 500; line-height: 1.68; margin-bottom: 18px; }
.benefits-list { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.benefits-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; font-weight: 600; color: var(--charcoal); }
.benefits-list li .check { width: 26px; height: 26px; border-radius: 8px; background: var(--bluePale); color: var(--blueDeep); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── MENTIONS LÉGALES ── */
.mentions-content { max-width: 860px; margin: 0 auto; padding: 80px 40px; }

/* ── 404 ── */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 80px 40px; }
.error-page h1 { font-size: 120px; font-weight: 900; color: var(--blueMist); letter-spacing: -.04em; line-height: 1; margin-bottom: 24px; }
.error-page h2 { font-size: 30px; font-weight: 800; color: var(--charcoal); margin-bottom: 16px; }
.error-page p  { font-size: 16px; color: var(--stone); max-width: 440px; margin: 0 auto 36px; }

/* ── RESPONSIVE — Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  nav.top ul, nav.top .btn-nav { display: none; }
  nav.top .hamburger { display: flex; }

  section.hero, section.figures, section.engagement, section.fondatrice,
  section.mission, section.terrain, section.gallery, section.testimony,
  section.rejoindre, section.idea-box, section.cta-band, section.faq,
  section.rapports, .section { padding-left: 32px; padding-right: 32px; }

  .hero-wrap, .terrain-wrap, .fondatrice-wrap { grid-template-columns: 1fr; gap: 50px; }
  .mission-intro { grid-template-columns: 1fr; gap: 28px; }
  .gallery-head  { grid-template-columns: 1fr; gap: 28px; }
  .figures-grid, .eng-grid, .footer-top { grid-template-columns: repeat(2, 1fr); }
  .pillars  { grid-template-columns: 1fr; gap: 20px; }
  .rej-grid { grid-template-columns: 1fr; }
  .cta-wrap { grid-template-columns: 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 230px; }
  .hero-title { font-size: 52px; }
  .hero-visual { height: 480px; max-width: 580px; margin: 0 auto; }
  .terrain-map { justify-self: center; max-width: 420px; }
  .page-hero h1 { font-size: 44px; }
  .fondatrice-text h2 { font-size: 48px; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-form-section > .inner { grid-template-columns: 1fr; gap: 40px; }
  .rapports-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── RESPONSIVE — Mobile (≤ 720px) ── */
@media (max-width: 720px) {
  nav.top .wrap { padding: 0 20px; height: 64px; }
  nav.top .brand img { height: 36px; width: 36px; }
  nav.top .brand { font-size: 18px; }
  .mobile-menu { top: 64px; }

  section.hero { padding: 48px 20px 60px; }
  section.figures, section.engagement, section.fondatrice, section.mission,
  section.terrain, section.gallery, section.testimony, section.rejoindre,
  section.idea-box, section.cta-band, section.faq, section.rapports,
  .section { padding: 70px 20px; }

  .hero-eyebrow { font-size: 11px; letter-spacing: 2.5px; margin-bottom: 16px; }
  .hero-title   { font-size: 36px; line-height: 1.1; margin-bottom: 20px; }
  .hero-sub     { font-size: 16px; margin-bottom: 28px; }
  .hero-ctas    { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; padding: 15px 20px; font-size: 15px; }
  .hero-ctas .btn-tertiary { text-align: center; }
  .hero-visual  { height: 360px; }
  .hero-photo-frame.a { width: 78%; height: 70%; }
  .hero-photo-frame.b { width: 62%; height: 50%; }

  .figures-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .figure-card  { padding: 16px 8px; }
  .figure-card .num  { font-size: 52px; }
  .figure-card .unit { font-size: 20px; }
  .figure-card .label { font-size: 13px; }
  .eng-grid  { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-item.tall, .gallery-item.wide { grid-row: auto; grid-column: auto; }
  .rapports-grid { grid-template-columns: 1fr; }
  .footer-top   { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .pillar { padding: 30px 22px; }
  .pillar h3 { font-size: 20px; }
  .rej-card, .rej-don { padding: 32px 24px; }
  .rej-card h3, .rej-don h3 { font-size: 26px; }
  .mission-intro { margin-bottom: 40px; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn-primary, .cta-actions .btn-outline { width: 100%; justify-content: center; }
  .testimony-wrap blockquote { font-size: 21px; }
  .page-hero { padding: 60px 20px 50px; }
  .page-hero h1 { font-size: 34px; }
  .page-content { padding: 56px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }
  .cta-wrap h2 { font-size: 36px; }
  .fondatrice-text h2 { font-size: 38px; }
  .fondatrice-wrap { gap: 32px; }
  .mentions-content { padding: 60px 20px; }
  .error-page h1 { font-size: 80px; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
}

@media (max-width: 380px) {
  .hero-title { font-size: 30px; }
  .figures-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   Andrea — UX Premium v2
   Heart loader · Progress bar · Directional reveals
   Split text · Active nav · Parallax · Floating CTA
   ══════════════════════════════════════════════════════════════ */

/* ── Heart Loader ── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #fff;
  display: flex;
  align-items: center; justify-content: center;
  will-change: opacity;
  /* Failsafe : si main.js ne se charge pas, le loader disparaît au bout de 6s */
  animation: loaderFailsafe .5s 6s forwards;
}
@keyframes loaderFailsafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}
#loader.exit {
  opacity: 0; pointer-events: none;
  transition: opacity .52s ease;
}
.loader-heart-wrap {
  position: relative;
  width: min(280px, 70vw);
  aspect-ratio: 1 / 1;
}
.loader-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  opacity: 0;
  user-select: none; pointer-events: none;
}
/* Phase 1 : cœur vide fade in + légère montée */
.loader-heart-empty {
  animation: loaderHeartIn .65s cubic-bezier(.16,1,.3,1) forwards;
}
@keyframes loaderHeartIn {
  from { opacity: 0; transform: scale(.88) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
/* Phase 2 : texte fade in après que le cœur soit visible */
.loader-heart-text {
  animation: loaderTextIn .55s ease 1.05s forwards;
}
@keyframes loaderTextIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll progress bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 101;
  height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--blueDeep) 0%, var(--terracotta) 100%);
  pointer-events: none; will-change: width;
  border-radius: 0 2px 2px 0;
  transition: width .08s linear;
}

/* ── Floating don (mobile) ── */
.floating-don {
  display: none;
  position: fixed; bottom: 22px; right: 22px; z-index: 90;
  background: var(--blueDeep); color: #fff;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 14px; letter-spacing: -.01em;
  box-shadow: 0 8px 24px rgba(45,166,232,.42);
  transform: translateY(80px); opacity: 0;
  transition: transform .48s cubic-bezier(.16,1,.3,1), opacity .36s ease,
              background var(--transition), box-shadow var(--transition);
}
.floating-don.visible  { transform: none; opacity: 1; }
.floating-don:hover    { background: #1a93d4; box-shadow: 0 12px 32px rgba(45,166,232,.52); }
@media (max-width: 1024px) { .floating-don { display: block; } }

/* ── Directional Scroll Reveals ── */
[data-reveal="left"] {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1);
}
[data-reveal="right"] {
  opacity: 0; transform: translateX(40px);
  transition: opacity .72s cubic-bezier(.22,1,.36,1), transform .72s cubic-bezier(.22,1,.36,1);
}
[data-reveal="scale"] {
  opacity: 0; transform: scale(0.93) translateY(14px);
  transition: opacity .62s cubic-bezier(.22,1,.36,1), transform .62s cubic-bezier(.22,1,.36,1);
}
[data-reveal="left"].revealed,
[data-reveal="right"].revealed,
[data-reveal="scale"].revealed {
  opacity: 1; transform: none;
}

/* ── Hero split text ── */
.hero-title.split-active {
  animation: none !important;
  opacity: 1 !important; transform: none !important;
}
.hero-title .word {
  display: inline-block; overflow: hidden;
  line-height: 1.05; vertical-align: bottom;
  margin-right: .25em; /* espacement inter-mots (invisible en fin de
     ligne → pas d'indentation parasite quand un mot passe à la ligne) */
}
.hero-title .word-inner {
  display: inline-block;
  animation: wordUp .74s both cubic-bezier(.16,1,.3,1);
}
@keyframes wordUp {
  from { opacity: 0; transform: translateY(108%); }
  to   { opacity: 1; transform: none; }
}

/* ── Nav active section ── */
nav.top ul a.active-section,
.mobile-menu a.active-section {
  background: var(--bluePale);
  color: var(--blueDeep);
}

/* ── Btn-nav don · subtle heartbeat ── */
@keyframes donHeartbeat {
  0%, 70%, 100% { box-shadow: 0 6px 18px rgba(45,166,232,.28); }
  40%           { box-shadow: 0 8px 26px rgba(45,166,232,.48), 0 0 0 6px rgba(45,166,232,.09); }
}
nav.top .btn-nav { animation: donHeartbeat 4s ease-in-out infinite; }
nav.top .btn-nav:hover { animation: none; }

/* ── Gallery caption visible on touch (mobile) ── */
@media (hover: none) {
  .gallery-item .caption { opacity: 1; transform: none; }
}

/* ── Scroll-to-top ── */
.back-to-top {
  display: none;
  position: fixed; bottom: 88px; right: 22px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--charcoal);
  border: 2px solid var(--blueMist);
  box-shadow: 0 4px 16px rgba(44,58,71,.12);
  align-items: center; justify-content: center;
  font-size: 18px;
  opacity: 0; transform: translateY(16px);
  visibility: hidden;
  transition: opacity .3s ease, transform .3s ease, visibility .3s,
              background var(--transition), color var(--transition);
  cursor: pointer; font-family: inherit;
}
.back-to-top.visible { opacity: 1; transform: none; visibility: visible; }
.back-to-top:hover { background: var(--blueDeep); color: #fff; border-color: var(--blueDeep); }
@media (max-width: 1024px) { .back-to-top { display: flex; } }

/* ── will-change for smoother animations ── */
.pillar, .rapport-card, .rej-card, .eng-card, .gallery-item,
.hero-photo-frame { will-change: transform; }

/* ──────────────────────────────────────────
   MICRO-INTERACTIONS & REFINED DETAILS
   ──────────────────────────────────────── */

/* Eyebrow — pill style (inline-block = shrink-to-fit qui wrappe
   dans la largeur dispo plutôt que de déborder sur petit écran) */
.eyebrow, .hero-eyebrow {
  display: inline-block;
  background: rgba(224,120,86,.1);
  border: 1px solid rgba(224,120,86,.22);
  color: var(--terracotta);
  padding: 6px 15px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 2.8px;
  line-height: 1.4; text-transform: uppercase;
  max-width: 100%; margin-bottom: 20px;
}

/* Refined pillar hover */
.pillar {
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition),
              border-color var(--transition);
}
.pillar:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(44,58,71,.11);
  border-color: var(--blueMist);
}

/* Gallery item — refined zoom + overlay */
.gallery-item { border-radius: var(--radius); }
.gallery-item::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0);
  transition: border-color .3s ease;
  pointer-events: none; z-index: 2;
}
.gallery-item:hover::after { border-color: rgba(255,255,255,.4); }

/* CTA band — add more prominent visual separator */
section.cta-band::after {
  content: '';
  position: absolute; bottom: -80px; right: -80px;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.05); pointer-events: none;
}

/* Rapport card — refined icon ring */
.rapport-card .rapport-icon {
  box-shadow: 0 2px 8px rgba(45,166,232,.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.rapport-card:hover .rapport-icon {
  transform: rotate(-6deg) scale(1.06);
  box-shadow: 0 6px 16px rgba(45,166,232,.22);
}

/* Figure cards — number glow on reveal */
.figure-card .num { letter-spacing: -.05em; }

/* Testimony — refined quote mark */
.testimony-wrap .quote-mark {
  opacity: .25;
  background: linear-gradient(135deg, var(--blueDeep), var(--terracotta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Rej-card border accent */
.rej-card.light {
  border: 1.5px solid var(--blueMist);
}
.rej-card.light:hover {
  border-color: var(--blueDeep);
  background: #fff;
}

/* Smooth page transitions — body fade-in */
body { animation: pageFadeIn .4s ease both; }
@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Btn-primary — icon nudge on hover */
.btn-primary span { display: inline-block; transition: transform .22s ease; }
.btn-primary:hover span { transform: translateX(4px); }

/* Form focus ring refinement */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px rgba(45,166,232,.14), 0 2px 8px rgba(45,166,232,.08);
}

/* Marker pill hover */
.marker { transition: all var(--transition); cursor: default; }
.marker:not(.accent):hover {
  background: var(--bluePale); border-color: var(--blueDeep); color: var(--blueDeep);
}

/* FAQ — smooth answer expand */
details.faq-item .faq-body {
  animation: faqOpen .25s ease;
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

/* Footer — brand logo gentle glow */
.footer-brand img { transition: filter var(--transition); }
.footer-brand:hover img { filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(141,211,245,.6)); }

/* Globe terrain — pulsation douce des marqueurs */
.globe-ping {
  transform-box: fill-box; transform-origin: center;
  animation: globePing 3s ease-out infinite;
}
.globe-ping.b { animation-delay: 1.5s; }
@keyframes globePing {
  0%   { transform: scale(.55); opacity: .5; }
  70%  { opacity: 0; }
  100% { transform: scale(2.3); opacity: 0; }
}

/* ──────────────────────────────────────────
   ACCESSIBILITÉ — prefers-reduced-motion
   Respecte les réglages système (confort visuel,
   vestibulaire). Tout reste lisible, sans mouvement.
   ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-title .word-inner { animation: none !important; transform: none !important; opacity: 1 !important; }
  .hero-title, .hero-sub, .hero-ctas { animation: none !important; opacity: 1 !important; transform: none !important; }
  .deco-sun { animation: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   NEWSLETTER · Glassmorphism
   ══════════════════════════════════════════════════════════════ */
.newsletter-section {
  position: relative; overflow: hidden;
  padding: 100px 40px;
  background: linear-gradient(135deg, #1a2d3e 0%, var(--blueDeep) 48%, #c0604a 100%);
}
.nl-deco {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(80px); opacity: .35;
}
.nl-deco-a {
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--terracotta), transparent 70%);
  top: -120px; right: -100px;
}
.nl-deco-b {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--blueSky), transparent 70%);
  bottom: -100px; left: -80px;
}
.newsletter-wrap {
  max-width: 640px; margin: 0 auto; position: relative; z-index: 2;
}
.newsletter-glass {
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 28px;
  padding: 52px 48px;
  box-shadow: 0 32px 64px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.18);
  text-align: center; color: #fff;
}
.newsletter-glass h2 {
  font-size: 38px; font-weight: 800; line-height: 1.12;
  letter-spacing: -.03em; margin: 16px 0 14px; color: #fff;
}
.newsletter-glass > p {
  font-size: 17px; font-weight: 500; opacity: .88; margin-bottom: 36px; line-height: 1.55;
}
.nl-form { display: flex; flex-direction: column; gap: 14px; }
.nl-input-wrap {
  display: flex; gap: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px; padding: 6px 6px 6px 20px;
  transition: border-color .25s, background .25s;
}
.nl-input-wrap:focus-within {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.20);
}
.nl-input-wrap input {
  flex: 1; background: none; border: none; outline: none;
  font-family: inherit; font-size: 15px; font-weight: 500;
  color: #fff; min-width: 0;
}
.nl-input-wrap input::placeholder { color: rgba(255,255,255,.55); }
.nl-btn {
  background: #fff; color: var(--blueDeep);
  border: none; border-radius: 999px;
  padding: 13px 24px; font-weight: 700; font-size: 14.5px;
  font-family: inherit; cursor: pointer; flex-shrink: 0;
  transition: transform .22s ease, box-shadow .22s ease, background .22s;
  display: inline-flex; align-items: center; gap: 6px;
}
.nl-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(0,0,0,.18); background: var(--sunYellow); }
.nl-btn span { transition: transform .22s ease; }
.nl-btn:hover span { transform: translateX(3px); }
.nl-legal {
  font-size: 12px; opacity: .58; font-weight: 500; margin: 0;
}
.nl-success {
  display: none; flex-direction: column; align-items: center; gap: 10px;
}
.nl-success.visible { display: flex; }
.nl-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 4px;
}
.nl-success strong { font-size: 22px; font-weight: 800; }
.nl-success p { opacity: .82; font-size: 15px; margin: 0; }

@media (max-width: 720px) {
  .newsletter-section { padding: 70px 20px; }
  .newsletter-glass { padding: 36px 24px; }
  .newsletter-glass h2 { font-size: 28px; }
  .nl-input-wrap { flex-direction: column; border-radius: 18px; padding: 14px 16px; gap: 10px; }
  .nl-btn { border-radius: 14px; padding: 14px; width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════════
   COOKIE BANNER
   ══════════════════════════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  padding: 0 24px 24px;
  pointer-events: none;
  transform: translateY(110%);
  transition: transform .48s cubic-bezier(.16,1,.3,1);
}
.cookie-banner.visible {
  transform: none;
  pointer-events: auto;
}
.cookie-inner {
  max-width: 960px; margin: 0 auto;
  background: rgba(255,253,248,.95);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 20px;
  box-shadow: 0 8px 40px rgba(44,58,71,.18), inset 0 1px 0 rgba(255,255,255,.9);
  padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cookie-text {
  display: flex; align-items: flex-start; gap: 14px; flex: 1; min-width: 0;
  color: var(--charcoal);
}
.cookie-text svg { flex-shrink: 0; margin-top: 2px; color: var(--blueDeep); }
.cookie-text strong { display: block; font-size: 14.5px; font-weight: 800; margin-bottom: 3px; }
.cookie-text p { font-size: 13px; color: var(--stone); font-weight: 500; line-height: 1.5; margin: 0; }
.cookie-text a { color: var(--blueDeep); font-weight: 700; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 10px 20px; border-radius: 999px; font-family: inherit;
  font-size: 13.5px; font-weight: 700; cursor: pointer; border: none;
  transition: all var(--transition);
}
.cookie-btn.primary { background: var(--blueDeep); color: #fff; }
.cookie-btn.primary:hover { background: #1a93d4; transform: translateY(-1px); }
.cookie-btn.secondary { background: transparent; color: var(--stone); border: 1.5px solid var(--blueMist); }
.cookie-btn.secondary:hover { background: var(--bluePale); color: var(--charcoal); border-color: var(--blueDeep); }

@media (max-width: 600px) {
  .cookie-inner { flex-direction: column; gap: 16px; }
  .cookie-btns { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
