/* Page « Soutenir Sourdosphère » : complète landing-association.css */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.as-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.55); }
.as-btn--ghost:hover { background: rgba(255,255,255,.1); }

/* ── Plein écran ───────────────────────────────────────────── */
.so-hero { position: relative; background: var(--as-forest); color: #fff; min-height: calc(100vh - 64px); min-height: calc(100svh - 64px); display: flex; align-items: center; padding: 56px 0 84px; overflow: hidden; }
.so-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; }
.so-hero h1 { font-family: var(--as-serif); font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 5.4rem); line-height: 1.05; letter-spacing: -.02em; margin: 0 0 26px; max-width: 11em; }
.so-hero__lead { font-size: 1.22rem; line-height: 1.6; color: #d6e9e0; margin: 0; max-width: 33em; }
.so-hero__lead strong { color: #fff; font-weight: 600; }
.so-hero .as-actions { margin-top: 34px; }
.so-hero__tax { margin: 22px 0 0; font-size: .98rem; color: #9fcdb9; }
.so-hero__down { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: #9fcdb9 !important; display: inline-flex; padding: 8px; border-radius: 50%; }
.so-hero__down:hover { color: #fff !important; }

/* Anneau : la jauge reprend le logo (cercle + point) */
.so-ring { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: center; aspect-ratio: 1; }
.so-ring__svg { width: 100%; height: 100%; display: block; overflow: visible; }
.so-ring__track { fill: none; stroke: rgba(159,225,203,.16); stroke-width: 16; }
.so-ring__fill { fill: none; stroke: var(--as-mint); stroke-width: 16; stroke-linecap: round; stroke-dasharray: var(--circ); stroke-dashoffset: var(--arc); animation: so-draw 1.4s cubic-bezier(.22,.8,.3,1) both .25s; }
.so-ring__dotwrap { transform-origin: 160px 160px; transform: rotate(var(--deg)); animation: so-turn 1.4s cubic-bezier(.22,.8,.3,1) both .25s; }
.so-ring__dot { fill: #F7F6F2; stroke: var(--as-forest); stroke-width: 4; }
@keyframes so-draw { from { stroke-dashoffset: var(--circ); } }
@keyframes so-turn { from { transform: rotate(0deg); } }
.so-ring__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px; padding: 20%; }
.so-ring__raised { font-family: var(--as-serif); font-size: clamp(3rem, 7vw, 4.6rem); font-weight: 500; line-height: 1; color: #fff; }
.so-ring__of { font-size: .98rem; color: #b5d0c3; }
.so-ring__donors { margin-top: 10px; font-size: .88rem; color: var(--as-sun); font-weight: 600; }

/* ── Financement : deux colonnes, sans cartes ──────────────── */
.so-fund { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.so-fund__surplus { color: var(--as-soft); font-size: .98rem; margin-top: 20px; }
.so-fund__list { margin: 0; }
.so-fund__row { padding: 26px 0; border-top: 1px solid var(--as-line); }
.so-fund__row:last-child { border-bottom: 1px solid var(--as-line); }
.so-fund__row dt { font-size: 1rem; color: var(--as-soft); margin-bottom: 6px; }
.so-fund__amount { font-family: var(--as-serif); font-size: 2.8rem; line-height: 1; color: var(--as-forest); margin-right: 6px; }
.so-fund__row dd { margin: 0; color: var(--as-ink); max-width: 34em; }

/* ── Formules ─────────────────────────────────────────────── */
.so-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 30px 0 24px; align-items: stretch; }
.so-tier { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--as-line); border-radius: 16px; padding: 24px 22px; }
.so-tier--pick { border: 2px solid var(--as-green); box-shadow: 0 14px 34px -18px rgba(10,60,42,.5); }
.so-tier--once { background: #fffdf4; border-color: #f0dd9a; }
.so-tier__tag { position: absolute; top: -13px; left: 20px; background: var(--as-green); color: #fff; font-size: .8rem; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.so-tier__price { font-family: var(--as-serif); font-size: 2.5rem; line-height: 1.1; color: var(--as-forest); margin: 0 0 8px; }
.so-tier__price small { font-family: var(--as-sans); font-size: .9rem; color: var(--as-soft); font-weight: 500; }
.so-tier__note { margin: 0 0 14px; color: var(--as-soft); }
.so-tier__tax { margin: auto 0 18px; font-size: .92rem; color: var(--as-green-dark); }
.so-tier .as-btn { width: 100%; padding: 0 14px; text-align: center; }
.so-other { text-align: center; margin: 8px 0 0; }
.so-fine { color: var(--as-soft); text-align: center; }

/* ── Mur des donateurs ────────────────────────────────────── */
.so-wall { background: var(--as-forest); color: #fff; padding: 88px 0 92px; }
.so-wall h2 { font-family: var(--as-serif); font-weight: 500; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 16px; color: #fff; }
.so-wall__lead { color: #b5d0c3; font-size: 1.1rem; max-width: 34em; margin: 0 0 40px; }
.so-wall__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 28px 18px; }
.so-donor { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: #fff !important; }
.so-donor img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid var(--as-mint); background: #fff; }
a.so-donor:hover img { border-color: var(--as-sun); }
a.so-donor:hover .so-donor__name { text-decoration: underline; text-underline-offset: 3px; }
.so-donor__name { font-size: .95rem; line-height: 1.3; word-break: break-word; }
.so-wall__empty { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 8px 0; }
.so-wall__empty p { margin: 0; font-size: 1.2rem; color: #d6e9e0; }

/* ── Impôts ───────────────────────────────────────────────── */
.so-tax { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.so-tax__table { width: 100%; border-collapse: collapse; background: var(--as-tint); border-radius: 16px; overflow: hidden; }
.so-tax__table th { text-align: left; font-size: .88rem; font-weight: 600; color: var(--as-soft); padding: 14px 20px; }
.so-tax__table td { padding: 12px 20px; border-top: 1px solid var(--as-line); font-size: 1.1rem; }
.so-tax__table td:last-child { font-weight: 700; color: var(--as-green-dark); }

@media (prefers-reduced-motion: reduce) {
    .so-ring__fill, .so-ring__dotwrap { animation: none; }
}
@media (max-width: 980px) {
    .so-tiers { grid-template-columns: repeat(2, 1fr); }
    .so-fund, .so-tax { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
    .so-hero { padding: 40px 0 72px; align-items: flex-start; }
    .so-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .so-ring { max-width: 300px; }
    .so-hero .as-actions .as-btn { width: 100%; }
}
@media (max-width: 560px) {
    .so-tiers { grid-template-columns: 1fr; }
    .so-wall { padding: 64px 0; }
    .so-hero__down { display: none; }
}
