:root {
  --brand: #1f5a45;
  --brand-2: #2f7a5f;
  --accent: #c8963e;
  --ink: #142019;
  --muted: #4f5d55;
  --surface: #eef4f0;
  --line: #d9e5dd;
  --dark: #0f2c22;
  --on-dark: #f1f6f2;
  --on-dark-muted: #b9cbc0;
  --header-bg: rgba(250, 252, 250, .88);
}

.hero { background: linear-gradient(160deg, #123a2d 0%, #1f5a45 60%, #24684f 100%); color: var(--on-dark); }
.hero .lead { color: var(--on-dark-muted); }
.hero h1 em { font-style: normal; color: var(--accent); }
.shield { width: min(380px, 80%); margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
.shield .facet { animation: shine 5s ease-in-out infinite; }
.shield .facet:nth-of-type(2) { animation-delay: .6s; }
.shield .facet:nth-of-type(3) { animation-delay: 1.2s; }
@keyframes shine { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.shield .sparkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3s ease-in-out infinite; }
.shield .sparkle:nth-of-type(2) { animation-delay: 1s; }
.shield .sparkle:nth-of-type(3) { animation-delay: 2s; }
@keyframes twinkle { 0%, 100% { transform: scale(0); opacity: 0; } 50% { transform: scale(1); opacity: 1; } }

/* Gouvernance : deux entités reliées */
.gov { display: grid; gap: 20px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .gov { grid-template-columns: 1fr 200px 1fr; } }
.entity { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.entity .where { font-weight: 800; color: var(--brand); letter-spacing: .1em; text-transform: uppercase; font-size: .8rem; }
.entity h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.entity ul { list-style: none; display: grid; gap: 6px; color: var(--muted); }
.entity li::before { content: "— "; color: var(--accent); }
.link-line { position: relative; text-align: center; font-weight: 700; font-size: .9rem; color: var(--brand); }
.link-line svg { width: 100%; height: 60px; }
.link-line path { stroke-dasharray: 8 8; animation: flow 1.2s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
@media (max-width: 859px) { .link-line svg { transform: rotate(90deg); height: 80px; } }

/* Don */
.donate { background: #fff; color: var(--ink); border-radius: calc(var(--radius) * 1.2); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-lg); }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface); margin-bottom: 18px; }
.seg button { border: 0; background: transparent; border-radius: 999px; padding: 8px 16px; font-weight: 800; min-height: 40px; }
.seg button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.amounts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
.amounts button {
  border: 2px solid var(--line); background: #fff; border-radius: 14px; padding: 16px 8px; font-weight: 800; font-size: 1.1rem;
  transition: border-color .2s, transform .2s var(--ease), background .2s; font-variant-numeric: tabular-nums;
}
.amounts button:hover { transform: translateY(-2px); }
.amounts button[aria-pressed="true"] { border-color: var(--brand); background: var(--surface); color: var(--brand); }
.impact { min-height: 3em; color: var(--muted); }
.donate .btn { width: 100%; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--muted); margin-top: 12px; }

.person { display: flex; gap: 18px; align-items: center; }
.avatar { flex: 0 0 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 800; font-size: 1.4rem; box-shadow: 0 0 0 4px var(--accent); }
