/* UMMANITARY — Design System Premium */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');
@import 'variables.css';

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.15; }

/* ═══════════════════════════════════════════
   LAYOUT
═══════════════════════════════════════════ */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 6rem 0; }
.section--dark { background: var(--green); color: var(--white); }
.section--dark a { color: var(--gold); }
.section--dark a:hover { color: var(--gold-light); }
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* ═══════════════════════════════════════════
   BUTTONS — Système premium
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.34,1.56,.64,1), box-shadow 0.3s ease;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.25s ease;
}
.btn:hover::after { background: rgba(255,255,255,0.1); }
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0,104,72,0.25);
}
.btn--primary:hover { box-shadow: 0 16px 48px rgba(0,104,72,0.35); color: var(--white); }

.btn--gold {
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 8px 24px rgba(202,170,119,0.3);
}
.btn--gold:hover { box-shadow: 0 16px 48px rgba(202,170,119,0.4); color: var(--black); }

.btn--outline {
  background: transparent;
  color: var(--green);
  border: 2px solid var(--green);
}
.btn--outline:hover { background: var(--green); color: var(--white); box-shadow: 0 8px 24px rgba(0,104,72,0.2); }

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

.btn--ghost {
  background: rgba(0,104,72,0.07);
  color: var(--green);
  border: none;
}
.btn--ghost:hover { background: rgba(0,104,72,0.14); }

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200;
  padding: 1.25rem 0;
  transition: padding 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
body.page-home .site-header:not(.scrolled) {
  background: transparent;
}
.site-header.scrolled,
body:not(.page-home) .site-header {
  padding: 0.6rem 0;
  background: rgba(248, 246, 242, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,104,72,0.08), 0 8px 32px rgba(0,0,0,0.04);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-logo-link { display: inline-block; }
.site-header .site-logo {
  display: block;
  width: auto; height: 48px;
  object-fit: contain;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
}
body.page-home .site-header:not(.scrolled) .site-logo-link {
  opacity: 0; visibility: hidden; width: 0; overflow: hidden; pointer-events: none;
}
body.page-home .site-header.scrolled .site-logo-link {
  opacity: 1; visibility: visible; width: auto; overflow: visible; pointer-events: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.125rem;
}
.site-nav > a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.site-nav > a::before {
  display: none;
}
/* Vague sous le lien — suit la direction du survol */
.site-nav > a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 64px;
  height: 6px;
  margin-left: -32px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q8 0 16 4 T32 4 T48 4 T64 4' fill='none' stroke='%23006848' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 64px 6px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform-origin 0s;
}
/* Quand la souris vient de droite */
.site-nav > a[data-wave-origin="right"]::after {
  transform-origin: right center;
}
.site-nav > a:hover::after,
.site-nav > a.active::after { transform: scaleX(1); }
.site-nav > a:hover,
.site-nav > a.active { color: var(--green); font-weight: 600; }
.header-cta { margin-left: 0.75rem; display: flex; align-items: center; gap: 0.5rem; }
.header-cta .btn { padding: 0.6rem 1.35rem; font-size: 0.875rem; }
.btn--login {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.1rem; font-size: 0.875rem; font-weight: 600;
  color: var(--green); border: 1.5px solid rgba(0,104,72,0.25);
  border-radius: 999px; background: transparent;
  transition: background 0.2s, border-color 0.2s;
}
.btn--login svg { width: 15px; height: 15px; }
.btn--login:hover { background: rgba(0,104,72,0.06); border-color: var(--green); }

/* ── Dropdown nav ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  position: relative;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--gray);
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-dropdown__trigger::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0.25rem;
  width: 64px;
  height: 6px;
  margin-left: -32px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 4 Q8 0 16 4 T32 4 T48 4 T64 4' fill='none' stroke='%23006848' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom;
  background-size: 64px 6px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-dropdown__trigger:hover::after,
.nav-dropdown.active .nav-dropdown__trigger::after,
.nav-dropdown.open .nav-dropdown__trigger::after { transform: scaleX(1); }
.nav-dropdown__trigger:hover,
.nav-dropdown.active .nav-dropdown__trigger,
.nav-dropdown.open .nav-dropdown__trigger {
  color: var(--green);
  font-weight: 600;
  background: rgba(0,104,72,0.06);
}
.nav-dropdown__chevron {
  width: 14px; height: 14px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.nav-dropdown.open .nav-dropdown__chevron { transform: rotate(180deg); }

.nav-dropdown__panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white, #fff);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10), 0 2px 8px rgba(0,104,72,0.08);
  border: 1px solid rgba(0,104,72,0.07);
  padding: 0.4rem;
  min-width: 160px;
  z-index: 1300;
  flex-direction: column;
}
.nav-dropdown.open .nav-dropdown__panel { display: flex; }
.nav-dropdown__panel a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  border-radius: 10px;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-dropdown__panel a:hover,
.nav-dropdown__panel a.active {
  background: rgba(0,104,72,0.07);
  color: var(--green);
  font-weight: 600;
}

/* ═══════════════════════════════════════════
   HERO — Cinématique plein écran
═══════════════════════════════════════════ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #f2f0eb;
  padding: 0;
}

/* Grain texture overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='512' height='512' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.6;
}

/* Grande forme verte décorative à droite */
.hero::after {
  content: '';
  position: absolute;
  right: -8%;
  top: -10%;
  width: 58%;
  height: 120%;
  background: radial-gradient(ellipse 80% 90% at 60% 50%, rgba(0,104,72,0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5rem;
  width: 100%;
  max-width: 1240px;
  padding: 8rem 2rem 6rem;
  margin: 0 auto;
}

.hero-content { text-align: left; }

.hero-logo {
  display: block;
  width: 160px; height: auto;
  margin-bottom: 2rem;
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0,104,72,0.08);
  border: 1px solid rgba(0,104,72,0.15);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.5); opacity: 0.5; }
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 1.5rem;
}
.hero h1 .accent {
  color: var(--green);
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in 0.8s 0.6s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes underline-in {
  to { transform: scaleX(1); }
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Image side */
.hero-image {
  position: relative;
}
.hero-image-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #111;
  box-shadow: 0 40px 100px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,104,72,0.06);
}
.hero-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transform: scale(1.02);
  transition: transform 8s ease;
  filter: brightness(0.92) contrast(1.05);
}
.hero-image-frame:hover img { transform: scale(1); }

/* Floating badge */
.hero-float-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  background: var(--white);
  border-radius: 20px;
  padding: 1.1rem 1.4rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float-badge .badge-icon {
  width: 44px; height: 44px;
  background: rgba(0,104,72,0.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.hero-float-badge .badge-num {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.hero-float-badge .badge-label {
  font-size: 0.75rem;
  color: var(--gray-light);
  line-height: 1.3;
}

/* Floating card 2 */
.hero-float-card2 {
  position: absolute;
  top: 2rem;
  right: -2rem;
  background: var(--green);
  border-radius: 16px;
  padding: 0.9rem 1.2rem;
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 16px 48px rgba(0,104,72,0.3);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 5s 1s ease-in-out infinite;
}
.hero-float-card2 svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 960px) {
  .hero-container { grid-template-columns: 1fr; gap: 3rem; padding: 7rem 2rem 5rem; text-align: center; }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 3.5rem); }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-logo { margin: 0 auto 1.5rem; }
  .hero-image { max-width: 380px; margin: 0 auto; }
  .hero-float-badge { left: -0.5rem; bottom: -0.5rem; }
  .hero-float-card2 { right: -0.5rem; top: 1rem; }
  .hero-scroll { display: none; }
  .hero-eyebrow { margin: 0 auto 1.5rem; }
}

/* ═══════════════════════════════════════════
   STATS — Compteurs architecturaux
═══════════════════════════════════════════ */
.stats-section {
  background: var(--green);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(202,170,119,0.4), transparent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.12);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

/* ═══════════════════════════════════════════
   SECTION TITLES
═══════════════════════════════════════════ */
.section-title { text-align: center; margin-bottom: 3rem; }
.overline {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
}
.section--dark .overline { color: var(--gold); }
.section-title h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.5rem);
  letter-spacing: -0.02em;
  color: inherit;
}
.section-title p {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--gray-light);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section--dark .section-title p { color: rgba(255,255,255,0.75); }

/* ═══════════════════════════════════════════
   CARDS — Redesign premium
═══════════════════════════════════════════ */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }

.card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04), 0 0 0 1px rgba(0,0,0,0.04);
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
  cursor: default;
}
.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 24px 64px rgba(0,104,72,0.12), 0 0 0 1px rgba(0,104,72,0.06);
}
a.card:hover { color: inherit; }

.card-image {
  height: 160px;
  background: linear-gradient(145deg, #003d28 0%, var(--green) 60%, #008858 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 60%, rgba(202,170,119,0.15) 0%, transparent 60%);
}
.card-image svg {
  width: 72px; height: 72px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
  color: var(--white);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
}
.card:hover .card-image svg { transform: scale(1.12) translateY(-4px); }

.card-body { padding: 1.5rem 1.75rem 1.75rem; }
.card-body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--black);
  letter-spacing: -0.01em;
}
.card-body p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.6; margin: 0; }

/* ═══════════════════════════════════════════
   ACTIVITÉS — Layout horizontal alterné
═══════════════════════════════════════════ */
.activities-list { display: flex; flex-direction: column; gap: 1px; }
.activity-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  background: var(--white);
  border-radius: 0;
  transition: background 0.25s ease;
  cursor: default;
}
.activity-row:first-child { border-radius: 24px 24px 0 0; }
.activity-row:last-child  { border-radius: 0 0 24px 24px; }
.activity-row:hover { background: rgba(0,104,72,0.03); }
.activity-row__icon {
  width: 64px; height: 64px;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
  box-shadow: 0 8px 24px rgba(0,104,72,0.2);
}
.activity-row:hover .activity-row__icon { transform: scale(1.08) rotate(-3deg); }
.activity-row__icon svg { width: 32px; height: 32px; }
.activity-row__content { flex: 1; }
.activity-row__content h3 { font-size: 1.125rem; letter-spacing: -0.01em; color: var(--black); margin-bottom: 0.3rem; }
.activity-row__content p { font-size: 0.9rem; color: var(--gray-light); line-height: 1.55; margin: 0; }
.activity-row__cta { flex-shrink: 0; }

@media (max-width: 700px) {
  .activity-row { grid-template-columns: 56px 1fr; gap: 1rem; padding: 1.5rem; }
  .activity-row__cta { display: none; }
}

/* ═══════════════════════════════════════════
   TESTIMONIALS — Grande citation typographique
═══════════════════════════════════════════ */
.testimonials { background: var(--off-white); padding: 6rem 0; }

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.05);
  position: relative;
  transition: transform 0.4s cubic-bezier(.34,1.56,.64,1), box-shadow 0.4s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.09);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.25rem; right: 1.75rem;
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
  color: rgba(0,104,72,0.07);
  pointer-events: none;
}
.testimonial-card .quote {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.75;
  margin-bottom: 1.75rem;
  font-style: normal;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--green), var(--green-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--white);
  flex-shrink: 0;
}
.testimonial-author .author { font-weight: 700; font-size: 0.9375rem; color: var(--black); }
.testimonial-author .role { font-size: 0.8125rem; color: var(--gray-light); }

@media (max-width: 860px) { .testimonials-track { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; } }

/* ═══════════════════════════════════════════
   CTA BLOCK — Immersif
═══════════════════════════════════════════ */
.cta-block {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, #003d28 0%, var(--green) 50%, #004d35 100%);
  color: var(--white);
  border-radius: 32px;
  margin: 2rem 0;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -40%; right: -10%;
  width: 50%; height: 180%;
  background: radial-gradient(ellipse, rgba(202,170,119,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.cta-block::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -5%;
  width: 40%; height: 120%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.05) 0%, transparent 65%);
  pointer-events: none;
}
.cta-block h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.cta-block p {
  opacity: 0.85;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.cta-block .btn { position: relative; z-index: 1; }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.site-footer {
  background: #0a0a0a;
  color: var(--white);
  padding: 4rem 0 2.5rem;
}
.site-footer a { color: rgba(202,170,119,0.9); }
.site-footer a:hover { color: var(--gold); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-brand .site-logo {
  height: 40px; width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.25rem;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.65); font-size: 0.9375rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { margin: 0; font-size: 0.8125rem; color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════════
   PAGE HERO (pages intérieures)
═══════════════════════════════════════════ */
.page-hero {
  padding: 9rem 0 6rem;
  background: linear-gradient(160deg, #002a1c 0%, var(--green) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 64px;
  background: var(--off-white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  color: var(--white);
  letter-spacing: -0.025em;
}
.page-hero p {
  margin: 0 auto;
  opacity: 0.85;
  max-width: 560px;
  font-size: 1.0625rem;
}
.page-hero .overline {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   FORMS
═══════════════════════════════════════════ */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.4rem; color: var(--gray); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  background: var(--white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0,104,72,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-actions { margin-top: 1.5rem; }

/* Contact page layout */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 768px) { .contact-layout { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════
   RESPONSIVE MOBILE — Global
═══════════════════════════════════════════ */

/* Bloque le scroll quand le menu mobile est ouvert */
body.nav-open { overflow: hidden; }

/* ── Hamburger button ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none; cursor: pointer;
  padding: 4px; border-radius: 10px;
  transition: background .2s;
  z-index: 1300;
  flex-shrink: 0;
  position: relative;
  isolation: isolate;
}
.hamburger:hover { background: rgba(0,104,72,.08); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--green); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* On homepage non-scrolled, hamburger bars are white */
body.page-home .site-header:not(.scrolled) .hamburger span { background: #fff; }

@media (max-width: 860px) {
  /* ── Layout de base ── */
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }

  /* ── Hamburger visible ── */
  .hamburger { display: flex; }

  /* Logo hero visible, header logo caché jusqu'au scroll (comme desktop) */
  body.page-home .site-header:not(.scrolled) .site-logo-link {
    opacity: 0; visibility: hidden; width: 0; overflow: hidden; pointer-events: none;
  }

  /* ── Nav mobile — plein écran opaque ── */
  .site-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    flex-direction: column;
    align-items: center; justify-content: center;
    gap: 0;
    background-color: #f8f6f2;
    z-index: 1160;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav > a::after { display: none; }
  .site-nav > a {
    font-size: 1.3rem; font-weight: 700;
    padding: .7rem 1.5rem; width: 100%; text-align: center;
    border-radius: 16px;
  }
  .site-nav > a::after { display: none; }

  /* ── Dropdown mobile ── */
  .nav-dropdown { width: 100%; }
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    padding: .7rem 1.5rem;
    border-radius: 16px;
  }
  .nav-dropdown__trigger::after { display: none; }
  .nav-dropdown.open .nav-dropdown__trigger {
    background: rgba(0,104,72,0.06);
    color: var(--green);
  }
  .nav-dropdown__panel {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    background: rgba(0,104,72,0.04);
    border-radius: 12px;
    padding: 0.3rem 0.5rem;
    margin-top: 0.25rem;
  }
  .nav-dropdown__panel a {
    text-align: center;
    font-size: 1.05rem;
    padding: .55rem 1rem;
  }

  .header-cta {
    margin-left: 0; margin-top: 1.25rem;
    flex-direction: column; width: 100%; gap: .75rem;
  }
  .header-cta .btn,
  .header-cta .btn--login {
    width: 100%; justify-content: center;
    padding: .85rem 1.5rem; font-size: 1rem;
  }

  /* ── Hero ── */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem; padding: 6rem 1.5rem 4rem;
    text-align: center;
  }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; flex-wrap: wrap; gap: .75rem; }
  .hero-actions .btn { width: 100%; }
  .hero-logo { margin: 0 auto 1.5rem; }
  .hero-image { max-width: 340px; margin: 0 auto; }
  .hero-scroll { display: none; }

  /* Badges repositionnés à l'intérieur du cadre sur mobile */
  .hero-float-badge {
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    gap: 0.5rem;
  }
  .hero-float-badge .badge-icon { width: 34px; height: 34px; border-radius: 9px; }
  .hero-float-badge .badge-num { font-size: 1.1rem; }
  .hero-float-badge .badge-label { font-size: 0.65rem; }

  .hero-float-card2 {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    font-size: 0.75rem;
    gap: 0.35rem;
  }
  .hero-float-card2 svg { width: 14px; height: 14px; }

  .hero-eyebrow { margin: 0 auto 1.5rem; }

  /* ── Stats ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }

  /* ── Section titles ── */
  .section-title h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); }

  /* ── Cards — une colonne, icône dans son bloc ── */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .card { overflow: hidden; width: 100%; }
  .card-image {
    height: 140px;
    border-radius: 24px 24px 0 0;
  }
  .card-body { padding: 1.25rem 1.5rem 1.5rem; }

  /* ── Activity rows ── */
  .activity-row {
    grid-template-columns: 52px 1fr;
    gap: .75rem; padding: 1.25rem;
  }
  .activity-row__icon { width: 52px; height: 52px; border-radius: 14px; }
  .activity-row__icon svg { width: 24px; height: 24px; }
  .activity-row__cta { display: none; }

  /* ── Value items (rejoindre) ── */
  .values-list { grid-template-columns: 1fr 1fr; }
  .value-item {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
    padding: 1rem;
  }
  .value-item svg { width: 24px; height: 24px; flex-shrink: 0; }

  /* ── Testimonials ── */
  .testimonials-track { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  /* ── Don page ── */
  .don-grid { grid-template-columns: 1fr; }
  .don-amounts { grid-template-columns: repeat(2, 1fr); }

  /* ── Footer ── */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-brand p { max-width: 100%; }

  /* ── Page hero intérieur ── */
  .page-hero { padding: 7rem 1.25rem 5.5rem; }
  .page-hero h1 { font-size: clamp(1.8rem, 7vw, 2.5rem); }

  /* ── Contact layout ── */
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }

  /* ── CTA block ── */
  .cta-block { padding: 3.5rem 1.5rem; border-radius: 24px; }
}

@media (max-width: 600px) {
  /* ── Values grid — 1 colonne sur petits écrans ── */
  .values-list { grid-template-columns: 1fr; }

  /* ── Poles grid (rejoindre) ── */
  .poles-grid { grid-template-columns: 1fr 1fr; }

  /* ── Steps (rejoindre) ── */
  .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .section { padding: 3rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .btn { padding: .75rem 1.5rem; font-size: .9rem; }
  .cards-grid { gap: 1rem; }
  .card-image { height: 120px; }
  .poles-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .page-hero { padding: 6rem 1rem 5rem; }
  .cta-block { padding: 2.5rem 1.25rem; border-radius: 20px; }
  .join-form-wrap { padding: 1.75rem 1.25rem 2rem !important; border-radius: 20px !important; }
}

/* ═══════════════════════════════════════════
   ANIMATIONS D'ENTRÉE (Intersection Observer)
═══════════════════════════════════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }
